AutomationScheduleCollection.GetAllAsync(CancellationToken) Method

Definition

Retrieve a list of schedules.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/schedules
  • Operation Id: Schedule_ListByAutomationAccount
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automation.AutomationScheduleResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.AutomationScheduleResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.AutomationScheduleResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomationScheduleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AutomationScheduleResource that may take multiple service requests to iterate over.

Applies to