Share via


VmInsightsOnboardingStatusResource.GetAsync(CancellationToken) Method

Definition

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

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default
  • Operation Id: VMInsights_GetOnboardingStatus
  • Default Api Version: 2018-11-27-preview
  • Resource: VmInsightsOnboardingStatusResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.VmInsightsOnboardingStatusResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.VmInsightsOnboardingStatusResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.VmInsightsOnboardingStatusResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VmInsightsOnboardingStatusResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to