Freigeben über


AutomationVariableResource.UpdateAsync Methode

Definition

Aktualisieren sie eine Variable.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
  • Vorgangs-IdVariable_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationVariableResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationVariablePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationVariablePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationVariableResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationVariablePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationVariableResource>>
Public Overridable Function UpdateAsync (patch As AutomationVariablePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationVariableResource))

Parameter

patch
AutomationVariablePatch

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

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: