Compartir a través de


AutomationVariableResource.UpdateAsync Método

Definición

Actualizar una variable.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/variables/{variableName}
  • IdVariable_Update de operaciones
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))

Parámetros

patch
AutomationVariablePatch

Parámetros proporcionados a la operación de la variable de actualización.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a