Compartir a través de


HDInsightClusterResource.GetScriptActionExecutionAsyncOperationStatus 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 Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult> GetScriptActionExecutionAsyncOperationStatus (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetScriptActionExecutionAsyncOperationStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
override this.GetScriptActionExecutionAsyncOperationStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
Public Overridable Function GetScriptActionExecutionAsyncOperationStatus (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As 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