Share via


CosmosDBThroughputPoolAccountCollection.GetAll(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-02-15-preview
  • Resource: CosmosDBThroughputPoolAccountResource
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBThroughputPoolAccountResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBThroughputPoolAccountResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to