Freigeben über


HDInsightClusterResource.GetScriptActionExecutionAsyncOperationStatusAsync Methode

Definition

Ruft den asynchronen Vorgang status des Ausführungsvorgangs ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions/azureasyncoperations/{operationId}
  • Vorgang IdScriptActions_GetExecutionAsyncOperationStatus
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))

Parameter

operationId
String

Die ID des lang andauernden Vorgangs.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

operationId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

operationId ist NULL.

Gilt für: