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

DeploymentScriptsOperationsExtensions.UpdateAsync 方法

定义

汇报具有指定值的部署脚本标记。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript> UpdateAsync (this Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations operations, string resourceGroupName, string scriptName, Microsoft.Azure.Management.ResourceManager.Models.DeploymentScriptUpdateParameter deploymentScript = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.ResourceManager.IDeploymentScriptsOperations * string * string * Microsoft.Azure.Management.ResourceManager.Models.DeploymentScriptUpdateParameter * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Models.DeploymentScript>
<Extension()>
Public Function UpdateAsync (operations As IDeploymentScriptsOperations, resourceGroupName As String, scriptName As String, Optional deploymentScript As DeploymentScriptUpdateParameter = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeploymentScript)

参数

operations
IDeploymentScriptsOperations

此扩展方法的操作组。

resourceGroupName
String

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

scriptName
String

部署脚本的名称。

deploymentScript
DeploymentScriptUpdateParameter

包含要更新的标记的部署脚本资源。

cancellationToken
CancellationToken

取消标记。

返回

适用于