Compartir a través de


RecoveryServicesDataReplicationExtensions.DeploymentPreflight 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 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

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 esperaba que no estuviera vacía.

deploymentId es null.

Se aplica a