Partager via


DeploymentsOperationsExtensions.ValidateAtSubscriptionScopeAsync Méthode

Définition

Vérifie si le modèle spécifié est correct du point de vue syntaxique et sera accepté par Azure Resource Manager..

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentValidateResult> ValidateAtSubscriptionScopeAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations operations, string deploymentName, Microsoft.Azure.Management.ResourceManager.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAtSubscriptionScopeAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations * string * Microsoft.Azure.Management.ResourceManager.Models.Deployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentValidateResult>
<Extension()>
Public Function ValidateAtSubscriptionScopeAsync (operations As IDeploymentsOperations, deploymentName As String, parameters As Deployment, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentValidateResult)

Paramètres

operations
IDeploymentsOperations

Groupe d’opérations pour cette méthode d’extension.

deploymentName
String

Le nom du déploiement.

parameters
Deployment

Paramètres à valider.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à