Partilhar via


HDInsightClusterResource.GetExtensionAsyncOperationStatus 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 Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult> GetExtensionAsyncOperationStatus (string extensionName, string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetExtensionAsyncOperationStatus : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
override this.GetExtensionAsyncOperationStatus : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
Public Overridable Function GetExtensionAsyncOperationStatus (extensionName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As 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