VMInsightsOperationsExtensions.GetOnboardingStatusAsync Method

Definition

Retrieves the VM Insights onboarding status for the specified resource or resource scope.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.VMInsightsOnboardingStatus> GetOnboardingStatusAsync (this Microsoft.Azure.Management.Monitor.IVMInsightsOperations operations, string resourceUri, System.Threading.CancellationToken cancellationToken = default);
static member GetOnboardingStatusAsync : Microsoft.Azure.Management.Monitor.IVMInsightsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.VMInsightsOnboardingStatus>
<Extension()>
Public Function GetOnboardingStatusAsync (operations As IVMInsightsOperations, resourceUri As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VMInsightsOnboardingStatus)

Parameters

operations
IVMInsightsOperations

The operations group for this extension method.

resourceUri
String

The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to