共用方式為


VariableOperationsExtensions.UpdateAsync 方法

定義

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Variable> UpdateAsync (this Microsoft.Azure.Management.Automation.IVariableOperations operations, string resourceGroupName, string automationAccountName, string variableName, Microsoft.Azure.Management.Automation.Models.VariableUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.IVariableOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.VariableUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Variable>
<Extension()>
Public Function UpdateAsync (operations As IVariableOperations, resourceGroupName As String, automationAccountName As String, variableName As String, parameters As VariableUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Variable)

參數

operations
IVariableOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

variableName
String

變數名稱。

parameters
VariableUpdateParameters

提供給更新變數作業的參數。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於