你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeploymentOperationsExtensions.ValidateAsync 方法

定义

验证部署模板。

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)

参数

operations
IDeploymentOperations

对 Microsoft.Azure.Management.Resources.IDeploymentOperations 的引用。

resourceGroupName
String

必需。 资源组的名称。 此名称不区分大小写。

deploymentName
String

必需。 部署的名称。

parameters
Deployment

必需。 要验证的部署。

返回

验证模板部署响应中的信息。

适用于