DeploymentStacksOperationsExtensions.ValidateStackAtManagementGroupAsync 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 Management Group scoped Deployment stack template to verify its acceptance to Azure Resource Manager.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStackValidateResult> ValidateStackAtManagementGroupAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string managementGroupId, string deploymentStackName, Microsoft.Azure.Management.Resources.Models.DeploymentStack deploymentStack, System.Threading.CancellationToken cancellationToken = default);
static member ValidateStackAtManagementGroupAsync : Microsoft.Azure.Management.Resources.IDeploymentStacksOperations * string * string * Microsoft.Azure.Management.Resources.Models.DeploymentStack * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentStackValidateResult>
<Extension()>
Public Function ValidateStackAtManagementGroupAsync (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
Management Group id.
- deploymentStackName
- String
Name of the deployment stack.
- deploymentStack
- DeploymentStack
- cancellationToken
- CancellationToken
The cancellation token.