Compartir a través de


CosmosDBSqlDatabaseResource.GetCosmosDBSqlClientEncryptionKey Método

Definición

Obtiene ClientEncryptionKey en una base de datos SQL de Azure Cosmos DB existente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys/{clientEncryptionKeyName}
  • IdSqlResources_GetClientEncryptionKey de operaciones
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource> GetCosmosDBSqlClientEncryptionKey (string clientEncryptionKeyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCosmosDBSqlClientEncryptionKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource>
override this.GetCosmosDBSqlClientEncryptionKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlClientEncryptionKeyResource>
Public Overridable Function GetCosmosDBSqlClientEncryptionKey (clientEncryptionKeyName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBSqlClientEncryptionKeyResource)

Parámetros

clientEncryptionKeyName
String

Nombre clientEncryptionKey de Cosmos DB.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

clientEncryptionKeyName es una cadena vacía y se espera que no esté vacía.

clientEncryptionKeyName es null.

Se aplica a