Partager via


RecoveryServicesDataReplicationExtensions.DeploymentPreflight Méthode

Définition

Effectue la validation du déploiement des ressources.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/deployments/{deploymentId}/preflight
  • Opération 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)

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

deploymentId
String

ID de déploiement.

body
DeploymentPreflightModel

Modèle de pré-vol de déploiement.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

deploymentId est une chaîne vide et devait être non vide.

deploymentId a la valeur null.

S’applique à