Package com.azure.cosmos
Class CosmosAsyncClientEncryptionKey
java.lang.Object
com.azure.cosmos.CosmosAsyncClientEncryptionKey
The type Cosmos async clientEncryptionKey. This contains methods to operate on a cosmos clientEncryptionKey asynchronously
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get the id of theCosmosAsyncClientEncryptionKey
read()
Reads a cosmos client encryption keyreplace
(CosmosClientEncryptionKeyProperties keyProperties) Replace a cosmos client encryption key.
-
Method Details
-
getId
Get the id of theCosmosAsyncClientEncryptionKey
- Returns:
- the id of the
CosmosAsyncClientEncryptionKey
-
read
Reads a cosmos client encryption key- Returns:
- a
Mono
containing the single resource response with the read client encryption key or an error.
-
replace
public Mono<CosmosClientEncryptionKeyResponse> replace(CosmosClientEncryptionKeyProperties keyProperties) Replace a cosmos client encryption key. This method is not meant to be invoked directly. It is used within CosmosEncryptionAsyncDatabase.rewrapClientEncryptionKey- Parameters:
keyProperties
- the client encryption key properties to create.- Returns:
- a
Mono
containing the single resource response with the read client encryption key or an error.
-