你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeploymentOperationsExtensions.Validate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
验证部署模板。
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
必需。 要验证的部署。
返回
验证模板部署响应中的信息。