Share via


DeploymentStacksOperationsExtensions.ValidateStackAtSubscriptionAsync Method

Definition

Runs preflight validation on the Subscription scoped Deployment stack template to verify its acceptance to Azure Resource Manager.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStackValidateResult> ValidateStackAtSubscriptionAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string deploymentStackName, Microsoft.Azure.Management.Resources.Models.DeploymentStack deploymentStack, System.Threading.CancellationToken cancellationToken = default);
static member ValidateStackAtSubscriptionAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * Microsoft.Azure.Management.Resources.Models.DeploymentStack * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStackValidateResult>
<Extension()>
Public Function ValidateStackAtSubscriptionAsync (operations As IDeploymentStacksOperations, deploymentStackName As String, deploymentStack As DeploymentStack, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentStackValidateResult)

Parameters

operations
IDeploymentStacksOperations

The operations group for this extension method.

deploymentStackName
String

Name of the deployment stack.

deploymentStack
DeploymentStack
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to