Database.CreateClientEncryptionKeyAsync Método

Definição

Salva a chave de criptografia do cliente como uma operação assíncrona no serviço do Azure Cosmos. Esse método não deve ser invocado diretamente. https://aka.ms/CosmosClientEncryption Consulte para usar a criptografia do lado do cliente.

public abstract System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.ClientEncryptionKeyResponse> CreateClientEncryptionKeyAsync (Microsoft.Azure.Cosmos.ClientEncryptionKeyProperties clientEncryptionKeyProperties, Microsoft.Azure.Cosmos.RequestOptions requestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateClientEncryptionKeyAsync : Microsoft.Azure.Cosmos.ClientEncryptionKeyProperties * Microsoft.Azure.Cosmos.RequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Cosmos.ClientEncryptionKeyResponse>
Public MustOverride Function CreateClientEncryptionKeyAsync (clientEncryptionKeyProperties As ClientEncryptionKeyProperties, Optional requestOptions As RequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClientEncryptionKeyResponse)

Parâmetros

clientEncryptionKeyProperties
ClientEncryptionKeyProperties

Propriedades da chave de criptografia do cliente.

requestOptions
RequestOptions

(Opcional) As opções para a solicitação.

cancellationToken
CancellationToken

(Opcional) Token que representa o cancelamento da solicitação.

Retornos

Uma resposta aguardável que encapsula um ClientEncryptionKeyProperties que contém o registro de recurso de leitura.

Aplica-se a