IDeploymentOperations.ValidateAsync 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.
Validate a deployment template.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentValidateResponse> ValidateAsync (string resourceGroupName, string deploymentName, Microsoft.Azure.Management.Resources.Models.Deployment parameters, System.Threading.CancellationToken cancellationToken);
abstract member ValidateAsync : string * string * Microsoft.Azure.Management.Resources.Models.Deployment * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentValidateResponse>
Public Function ValidateAsync (resourceGroupName As String, deploymentName As String, parameters As Deployment, cancellationToken As CancellationToken) As Task(Of DeploymentValidateResponse)
Parameters
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- deploymentName
- String
The name of the deployment.
- parameters
- Deployment
Deployment to validate.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Information from validate template deployment response.