CosmosDBThroughputPoolAccountCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the Azure Cosmos DB accounts available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts
  • Operation Id: ThroughputPoolAccounts_List
  • Default Api Version: 2024-09-01-preview
  • Resource: CosmosDBThroughputPoolAccountResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CosmosDBThroughputPoolAccountResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of CosmosDBThroughputPoolAccountResource that may take multiple service requests to iterate over.

Applies to