Compartilhar via


ArmDeploymentResource.GetDeploymentOperationAsync Método

Definição

Obtém uma operação de implantações.

  • Caminho da solicitação/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
  • IdDeploymentOperations_GetAtScope de operação
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

A ID da operação a ser obtido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

operationId é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

operationId é nulo.

Aplica-se a