Compartilhar via


RecoveryServicesDataReplicationExtensions.DeploymentPreflightAsync Método

Definição

Executa a validação de implantação de recursos.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight
  • Operação IdDeploymentPreflight
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel>> DeploymentPreflightAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string deploymentId, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel body = default, System.Threading.CancellationToken cancellationToken = default);
static member DeploymentPreflightAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel>>
<Extension()>
Public Function DeploymentPreflightAsync (resourceGroupResource As ResourceGroupResource, deploymentId As String, Optional body As DeploymentPreflightModel = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DeploymentPreflightModel))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

deploymentId
String

ID da implantação.

body
DeploymentPreflightModel

Modelo de simulação de implantação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

deploymentId é nulo.

Aplica-se a