Compartilhar via


ScriptActionsOperationsExtensions.GetExecutionAsyncOperationStatusAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.AsyncOperationResult> GetExecutionAsyncOperationStatusAsync (this Microsoft.Azure.Management.HDInsight.IScriptActionsOperations operations, string resourceGroupName, string clusterName, string operationId, System.Threading.CancellationToken cancellationToken = default);
static member GetExecutionAsyncOperationStatusAsync : Microsoft.Azure.Management.HDInsight.IScriptActionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.AsyncOperationResult>
<Extension()>
Public Function GetExecutionAsyncOperationStatusAsync (operations As IScriptActionsOperations, resourceGroupName As String, clusterName As String, operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AsyncOperationResult)

Parâmetros

operations
IScriptActionsOperations

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

resourceGroupName
String

O nome do grupo de recursos.

clusterName
String

O nome do cluster.

operationId
String

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a