Compartir a través de


HDInsightClusterResource.GetVirtualMachineAsyncOperationStatus Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/restartHosts/azureasyncoperations/{operationId}
  • IdVirtualMachines_GetAsyncOperationStatus de operaciones
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)

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