Freigeben über


BatchExtensions.GetBatchAccountsAsync Methode

Definition

Ruft Informationen zu den Batch-Konten ab, die dem Abonnement zugeordnet sind.

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

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

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

Gilt für: