Share via


CassandraKeyspaceCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to