Freigeben über


AutomationExtensions.GetAutomationAccountsAsync Methode

Definition

Ruft eine Liste von Konten innerhalb eines bestimmten Abonnements ab.

  • Anforderungspfad/abonnements/{subscriptionId}/providers/Microsoft.Automation/automationAccounts
  • Vorgangs-IdAutomationAccount_List
public static Azure.AsyncPageable<Azure.ResourceManager.Automation.AutomationAccountResource> GetAutomationAccountsAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAutomationAccountsAsync : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.AutomationAccountResource>
<Extension()>
Public Function GetAutomationAccountsAsync (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomationAccountResource)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von AutomationAccountResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: