VMInsightsOperations.GetOnboardingStatus(String, CancellationToken) Method

Definition

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

public virtual Azure.Response<Azure.ResourceManager.Insights.Models.VMInsightsOnboardingStatus> GetOnboardingStatus (string resourceUri, System.Threading.CancellationToken cancellationToken = default);
abstract member GetOnboardingStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Insights.Models.VMInsightsOnboardingStatus>
override this.GetOnboardingStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Insights.Models.VMInsightsOnboardingStatus>
Public Overridable Function GetOnboardingStatus (resourceUri As String, Optional cancellationToken As CancellationToken = Nothing) As 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

Response<VMInsightsOnboardingStatus>

Applies to