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

DeploymentOperationsExtensions.Validate 方法

定义

验证部署模板。

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

参数

operations
IDeploymentOperations

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

resourceGroupName
String

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

deploymentName
String

必需。 部署的名称。

parameters
Deployment

必需。 要验证的部署。

返回

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

适用于