Partager via


DeploymentsOperationsExtensions.ValidateAtScopeAsync 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> ValidateAtScopeAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations operations, string scope, string deploymentName, Microsoft.Azure.Management.ResourceManager.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAtScopeAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.Deployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentValidateResult>
<Extension()>
Public Function ValidateAtScopeAsync (operations As IDeploymentsOperations, scope As String, 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.

scope
String

Étendue des ressources.

deploymentName
String

Le nom du déploiement.

parameters
Deployment

Paramètres à valider.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à