Compartilhar via


CosmosDBSqlClientEncryptionKeyCollection.Get Método

Definição

Obtém o ClientEncryptionKey em um banco de dados SQL existente do Azure Cosmos DB.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}
  • IdSqlResources_GetClientEncryptionKey de operação
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource> Get (string clientEncryptionKeyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource>
Public Overridable Function Get (clientEncryptionKeyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBSqlClientEncryptionKeyResource)

Parâmetros

clientEncryptionKeyName
String

Nome clientEncryptionKey do Cosmos DB.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

clientEncryptionKeyName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

clientEncryptionKeyName é nulo.

Aplica-se a