共用方式為


AutomationAccountCollection.GetAll(CancellationToken) Method

Definition

Retrieve a list of accounts within a given resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to