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

DeploymentOperationsExtensions.CreateOrUpdateAsync 方法

定义

使用模板创建命名的模板部署。

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

参数

operations
IDeploymentOperations

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

resourceGroupName
String

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

deploymentName
String

必需。 部署的名称。

parameters
Deployment

必需。 提供给操作的附加参数。

返回

模板部署操作创建结果。

适用于