Compartilhar via


VMInsightsOperationsExtensions.GetOnboardingStatusAsync Método

Definição

Recupera o status de integração do Insights da VM para o escopo de recurso ou recurso especificado.

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)

Parâmetros

operations
IVMInsightsOperations

O grupo de operações para esse método de extensão.

resourceUri
String

O identificador totalmente qualificado do Azure Resource Manager do recurso ou escopo, cujo status recuperar.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a