共用方式為


AutomationScheduleCollection.GetAll(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.Pageable<Azure.ResourceManager.Automation.AutomationScheduleResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationScheduleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationScheduleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AutomationScheduleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to