Partager via


ClientEncryptionKey.ReplaceAsync Méthode

Définition

Remplacez un ClientEncryptionKeyProperties à partir du service Azure Cosmos en tant qu’opération asynchrone. Cette méthode n’est pas destinée à être appelée directement. Consultez https://aka.ms/CosmosClientEncryption pour utiliser le chiffrement côté client.

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

Paramètres

clientEncryptionKeyProperties
ClientEncryptionKeyProperties

Objet ClientEncryptionKeyProperties.

requestOptions
RequestOptions

(Facultatif) Options de la demande.

cancellationToken
CancellationToken

(Facultatif) CancellationToken représentant l’annulation de la demande.

Retours

Task contenant un ClientEncryptionKeyResponse qui encapsule un ClientEncryptionKeyProperties contenant l’enregistrement de ressource de remplacement.

S’applique à