Partilhar via


HDInsightClusterResource.GetScriptActionExecutionAsyncOperationStatusAsync Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions/azureasyncoperations/{operationId}
  • IdScriptActions_GetExecutionAsyncOperationStatus de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>> GetScriptActionExecutionAsyncOperationStatusAsync (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetScriptActionExecutionAsyncOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>>
override this.GetScriptActionExecutionAsyncOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>>
Public Overridable Function GetScriptActionExecutionAsyncOperationStatusAsync (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 era esperado que não estivesse vazio.

operationId é nulo.

Aplica-se a