Compartilhar via


DeploymentsOperationsExtensions.ValidateAtSubscriptionScopeAsync Método

Definição

Valida se o modelo especificado está sintaticamente correto e será aceito pelo Azure Resource Manager..

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

Parâmetros

operations
IDeploymentsOperations

O grupo de operações para esse método de extensão.

deploymentName
String

O nome da implantação.

parameters
DeploymentInner

Parâmetros a serem validados.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a