Compartir a través de


ArmDeploymentResource.GetDeploymentOperationAsync Método

Definición

Obtiene una operación de implementación.

  • Ruta de acceso de solicitud/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
  • IdDeploymentOperations_GetAtScope de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation>> GetDeploymentOperationAsync (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeploymentOperationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation>>
override this.GetDeploymentOperationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation>>
Public Overridable Function GetDeploymentOperationAsync (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentOperation))

Parámetros

operationId
String

Identificador de la operación que se va a obtener.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

operationId es una cadena vacía y se esperaba que no estuviera vacía.

operationId es null.

Se aplica a