Compartilhar via


ApplicationsOperationsExtensions.GetAzureAsyncOperationStatusAsync Método

Definição

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

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

Parâmetros

operations
IApplicationsOperations

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.

applicationName
String

O valor constante do nome do aplicativo.

operationId
String

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a