Language

DeploymentStacksOperationsExtensions.BeginValidateStackAtManagementGroupAsync Method

Definition

Runs preflight validation on the Deployment stack template at the specified scope to verify its acceptance to Azure Resource Manager.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStackValidateResult> BeginValidateStackAtManagementGroupAsync(this Microsoft.Azure.Management.Resources.DeploymentStacks.IDeploymentStacksOperations operations, string managementGroupId, string deploymentStackName, Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStack deploymentStack, System.Threading.CancellationToken cancellationToken = default);
static member BeginValidateStackAtManagementGroupAsync : Microsoft.Azure.Management.Resources.DeploymentStacks.IDeploymentStacksOperations * string * string * Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStack * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.DeploymentStacks.Models.DeploymentStackValidateResult>
<Extension()>
Public Function BeginValidateStackAtManagementGroupAsync (operations As IDeploymentStacksOperations, managementGroupId As String, 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.

managementGroupId
String

The management group ID.

deploymentStackName
String

Name of the deployment stack.

deploymentStack
DeploymentStack
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to