VMInsightsOperations.GetOnboardingStatusAsync Method

Definition

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

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Insights.Models.VMInsightsOnboardingStatus>> GetOnboardingStatusAsync (string resourceUri, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOnboardingStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Insights.Models.VMInsightsOnboardingStatus>>
override this.GetOnboardingStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Insights.Models.VMInsightsOnboardingStatus>>
Public Overridable Function GetOnboardingStatusAsync (resourceUri As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VMInsightsOnboardingStatus))

Parameters

resourceUri
System.String

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

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<VMInsightsOnboardingStatus>>

Applies to