Freigeben über


VariableOperationsExtensions.UpdateAsync Methode

Definition

Aktualisieren sie eine Variable. http://aka.ms/azureautomationsdk/variableoperations

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)

Parameter

operations
IVariableOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name einer Azure-Ressourcengruppe.

automationAccountName
String

Der Name des Automation-Kontos.

variableName
String

Der Variablenname.

parameters
VariableUpdateParameters

Die Parameter, die für den Aktualisierungsvariablenvorgang bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: