Partager via


HDInsightClusterResource.GetVirtualMachineAsyncOperationStatus Méthode

Définition

Obtient l’opération asynchrone status.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts/azureasyncoperations/{operationId}
  • Opération IdVirtualMachines_GetAsyncOperationStatus
public virtual Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult> GetVirtualMachineAsyncOperationStatus (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineAsyncOperationStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
override this.GetVirtualMachineAsyncOperationStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightAsyncOperationResult>
Public Overridable Function GetVirtualMachineAsyncOperationStatus (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As 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 à