Share via


CosmosDBSqlClientEncryptionKeyCollection.GetAllAsync Method

Definition

Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to