Compartir a través de


HDInsightClusterResource.GetExtensionAsyncOperationStatus 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 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

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