Partilhar via


RecoveryServicesDataReplicationExtensions.DeploymentPreflight 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 Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel> DeploymentPreflight (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string deploymentId, Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel body = default, System.Threading.CancellationToken cancellationToken = default);
static member DeploymentPreflight : Azure.ResourceManager.Resources.ResourceGroupResource * string * Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.Models.DeploymentPreflightModel>
<Extension()>
Public Function DeploymentPreflight (resourceGroupResource As ResourceGroupResource, deploymentId As String, Optional body As DeploymentPreflightModel = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DeploymentPreflightModel)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

deploymentId
String

ID da implantação.

body
DeploymentPreflightModel

Modelo de pré-vôo de implantação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

deploymentId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

deploymentId é nulo.

Aplica-se a