Udostępnij za pośrednictwem


DeploymentOperationsExtensions.ValidateAsync Method

Definition

Validate a deployment template.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentValidateResponse> ValidateAsync (this Microsoft.Azure.Management.Resources.IDeploymentOperations operations, string resourceGroupName, string deploymentName, Microsoft.Azure.Management.Resources.Models.Deployment parameters);
static member ValidateAsync : Microsoft.Azure.Management.Resources.IDeploymentOperations * string * string * Microsoft.Azure.Management.Resources.Models.Deployment -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Resources.Models.DeploymentValidateResponse>
<Extension()>
Public Function ValidateAsync (operations As IDeploymentOperations, resourceGroupName As String, deploymentName As String, parameters As Deployment) As Task(Of DeploymentValidateResponse)

Parameters

operations
IDeploymentOperations

Reference to the Microsoft.Azure.Management.Resources.IDeploymentOperations.

resourceGroupName
String

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

deploymentName
String

Required. The name of the deployment.

parameters
Deployment

Required. Deployment to validate.

Returns

Information from validate template deployment response.

Applies to