Partilhar via


AutomationScheduleResource.UpdateAsync Método

Definição

Atualize o agendamento identificado pelo nome do agendamento.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
  • Operação IdSchedule_Update
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

Os parâmetros fornecidos para a operação de agendamento de atualização.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a