Partilhar via


HDInsightClusterResource.GetExtensionAsyncOperationStatusAsync Método

Definição

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

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

Parâmetros

extensionName
String

O nome da extensão do cluster.

operationId
String

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

extensionName ou operationId é nulo.

Aplica-se a