Compartir a través de


AutomationScheduleResource.UpdateAsync Método

Definición

Actualice la programación identificada por el nombre de la programación.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
  • IdSchedule_Update de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationSchedulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationSchedulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationSchedulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>>
Public Overridable Function UpdateAsync (patch As AutomationSchedulePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationScheduleResource))

Parámetros

patch
AutomationSchedulePatch

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

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a