Partilhar via


ResourcesSubscriptionMockingExtension.GetArmDeploymentAsync Método

Definição

Obtém uma implantação.

  • Caminho da solicitação/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • IdDeployments_GetAtScope de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>> GetArmDeploymentAsync (string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetArmDeploymentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>>
override this.GetArmDeploymentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>>
Public Overridable Function GetArmDeploymentAsync (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArmDeploymentResource))

Parâmetros

deploymentName
String

O nome da implantação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

deploymentName é nulo.

Aplica-se a