Compartir a través de


HDInsightClusterResource.GetScriptActionExecutionAsyncOperationStatusAsync Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions/azureasyncoperations/{operationId}
  • IdScriptActions_GetExecutionAsyncOperationStatus de operación
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

Identificador de la operación de larga duración.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

operationId es una cadena vacía y se espera que no esté vacía.

operationId es null.

Se aplica a