Partilhar via


ArmDeploymentResource.GetDeploymentOperation Método

Definição

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

  • Caminho da Solicitação/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
  • Operação IdDeploymentOperations_GetAtScope
public virtual Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation> GetDeploymentOperation (string operationId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDeploymentOperation : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation>
override this.GetDeploymentOperation : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.Models.ArmDeploymentOperation>
Public Overridable Function GetDeploymentOperation (operationId As String, Optional cancellationToken As CancellationToken = Nothing) As 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 esperava-se que não estivesse vazia.

operationId é nulo.

Aplica-se a