Share via


CosmosDBSqlClientEncryptionKeyCollection.GetAll(CancellationToken) 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.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBSqlClientEncryptionKeyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to