MockableAutomationSubscriptionResource.GetAutomationAccounts Method

Definition

Retrieve a list of accounts within a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Automation/automationAccounts
  • Operation Id: AutomationAccount_List
public virtual Azure.Pageable<Azure.ResourceManager.Automation.AutomationAccountResource> GetAutomationAccounts (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAutomationAccounts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationAccountResource>
override this.GetAutomationAccounts : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Automation.AutomationAccountResource>
Public Overridable Function GetAutomationAccounts (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