Partilhar via


HDInsightClusterResource.GetVirtualMachineAsyncOperationStatus Método

Definição

Obtém a operação assíncrona status.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts/azureasyncoperations/{operationId}
  • Operação IdVirtualMachines_GetAsyncOperationStatus
public virtual Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult> GetVirtualMachineAsyncOperationStatus (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineAsyncOperationStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
override this.GetVirtualMachineAsyncOperationStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
Public Overridable Function GetVirtualMachineAsyncOperationStatus (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HDInsightAsyncOperationResult)

Parâmetros

operationId
String

A ID da operação de execução prolongada.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

operationId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

operationId é nulo.

Aplica-se a