Compartir a través de


RecoveryServicesDataReplicationExtensions.DeploymentPreflightAsync Método

Definición

Realiza la validación de la implementación de recursos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight
  • Operation 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

Instancia ResourceGroupResource en la que se ejecutará el método.

deploymentId
String

Id. de implementación.

body
DeploymentPreflightModel

Modelo de preflight de implementación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

deploymentId es una cadena vacía y se espera que no esté vacía.

deploymentId es null.

Se aplica a