DeploymentStacksOperationsExtensions.ValidateStackAtSubscriptionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.