AutomationScheduleResource.UpdateAsync Method

Definition

Update the schedule identified by schedule name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules/{scheduleName}
  • Operation Id: Schedule_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))

Parameters

patch
AutomationSchedulePatch

The parameters supplied to the update schedule operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to