Share via


AutomationScheduleResource.Update 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 Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource> Update (Azure.ResourceManager.Automation.Models.AutomationSchedulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationSchedulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationSchedulePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationScheduleResource>
Public Overridable Function Update (patch As AutomationSchedulePatch, Optional cancellationToken As CancellationToken = Nothing) As 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