Compartir a través de


HDInsightClusterResource.GetExtensionAsyncOperationStatusAsync Método

Definición

Obtiene el estado de la operación asincrónica.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/extensions/{extensionName}/azureAsyncOperations/{operationId}
  • IdExtensions_GetAzureAsyncOperationStatus de operaciones
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

Nombre de la extensión de clúster.

operationId
String

Identificador de operación de larga duración.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

extensionName o operationId es una cadena vacía y se esperaba que no estuviera vacía.

extensionName o operationId es null.

Se aplica a