Partager via


HDInsightApplicationResource.GetAzureAsyncOperationStatusAsync Méthode

Définition

Obtient l’opération asynchrone status.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/applications/{applicationName}/azureasyncoperations/{operationId}
  • IdApplications_GetAzureAsyncOperationStatus d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>> GetAzureAsyncOperationStatusAsync (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAzureAsyncOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>>
override this.GetAzureAsyncOperationStatusAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>>
Public Overridable Function GetAzureAsyncOperationStatusAsync (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightAsyncOperationResult))

Paramètres

operationId
String

ID d’opération de longue durée.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

operationId est une chaîne vide et devait être non vide.

operationId a la valeur null.

S’applique à