DeploymentsOperationsExtensions.ValidateAsync(IDeploymentsOperations, String, String, DeploymentInner, CancellationToken) Method

Definition

Validate a deployment template.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentValidateResultInner> ValidateAsync (this Microsoft.Azure.Management.ResourceManager.Fluent.IDeploymentsOperations operations, string resourceGroupName, string deploymentName, Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentInner parameters, System.Threading.CancellationToken cancellationToken = null);
static member ValidateAsync : Microsoft.Azure.Management.ResourceManager.Fluent.IDeploymentsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Models.DeploymentValidateResultInner>

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group. The name is case insensitive.

deploymentName
System.String

The name of the deployment.

parameters
DeploymentInner

Deployment to validate.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<DeploymentValidateResultInner>

Applies to