CosmosDBTableCollection.GetAllAsync(CancellationToken) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Lists the Tables under an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/tables
  • Operation Id: TableResources_ListTables
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBTableResource
C#
public virtual Azure.AsyncPageable<Azure.ResourceManager.CosmosDB.CosmosDBTableResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to

Product Versions
Azure SDK for .NET Latest, Preview