Share via


DeploymentStacksOperationsExtensions.ValidateStackAtResourceGroupAsync Method

Definition

Runs preflight validation on the Resource 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> ValidateStackAtResourceGroupAsync (this Microsoft.Azure.Management.Resources.IDeploymentStacksOperations operations, string resourceGroupName, string deploymentStackName, Microsoft.Azure.Management.Resources.Models.DeploymentStack deploymentStack, System.Threading.CancellationToken cancellationToken = default);
static member ValidateStackAtResourceGroupAsync : 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 ValidateStackAtResourceGroupAsync (operations As IDeploymentStacksOperations, resourceGroupName 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.

resourceGroupName
String

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

deploymentStackName
String

Name of the deployment stack.

deploymentStack
DeploymentStack
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to