From 211d57c32276ce310efda7104dbf42b4ce2b8a40 Mon Sep 17 00:00:00 2001 From: Kushagra Thapar Date: Thu, 1 Apr 2021 14:01:57 -0700 Subject: [PATCH] Updated Beta version tag on cosmos encryption APIs to V4_14_0 (#20324) --- .../CosmosAsyncClientEncryptionKey.java | 8 +++---- .../com/azure/cosmos/CosmosAsyncDatabase.java | 16 ++++++------- .../models/ClientEncryptionIncludedPath.java | 18 +++++++------- .../cosmos/models/ClientEncryptionPolicy.java | 4 ++-- .../CosmosClientEncryptionKeyProperties.java | 24 +++++++++---------- .../CosmosClientEncryptionKeyResponse.java | 4 ++-- .../models/CosmosContainerProperties.java | 4 ++-- .../models/EncryptionKeyWrapMetadata.java | 10 ++++---- 8 files changed, 44 insertions(+), 44 deletions(-) diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncClientEncryptionKey.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncClientEncryptionKey.java index c25f2329b7412..534ea0033fb54 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncClientEncryptionKey.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncClientEncryptionKey.java @@ -16,7 +16,7 @@ /** * The type Cosmos async clientEncryptionKey. This contains methods to operate on a cosmos clientEncryptionKey asynchronously */ -@Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) +@Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public final class CosmosAsyncClientEncryptionKey { private final CosmosAsyncDatabase database; private String id; @@ -31,7 +31,7 @@ public final class CosmosAsyncClientEncryptionKey { * * @return the id of the {@link CosmosAsyncUser} */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getId() { return id; } @@ -52,7 +52,7 @@ CosmosAsyncClientEncryptionKey setId(String id) { * * @return a {@link Mono} containing the single resource response with the read client encryption key or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public Mono read() { return withContext(context -> readInternal(context)); } @@ -74,7 +74,7 @@ private Mono readInternal(Context context) { * @param keyProperties the client encryption key properties to create. * @return a {@link Mono} containing the single resource response with the read client encryption key or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public Mono replace(CosmosClientEncryptionKeyProperties keyProperties) { return withContext(context -> replaceInternal(keyProperties, context)); } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncDatabase.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncDatabase.java index dfa140fe81570..c20b16706e041 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncDatabase.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/CosmosAsyncDatabase.java @@ -545,7 +545,7 @@ public Mono createUser(CosmosUserProperties userProperties) * @return an {@link Mono} containing the single resource response with the * created cosmos client encryption key or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public Mono createClientEncryptionKey(CosmosClientEncryptionKeyProperties keyProperties) { return withContext(context -> createClientEncryptionKeyInternal(keyProperties, context)); } @@ -609,7 +609,7 @@ CosmosPagedFlux readAllUsers(CosmosQueryRequestOptions opt * @param id id of the clientEncryptionKey * @return Cosmos ClientEncryptionKey */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosAsyncClientEncryptionKey getClientEncryptionKey(String id) { return new CosmosAsyncClientEncryptionKey(id, this); } @@ -624,7 +624,7 @@ public CosmosAsyncClientEncryptionKey getClientEncryptionKey(String id) { * @return a {@link CosmosPagedFlux} containing one or several feed response pages of the * read cosmos client encryption keys or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosPagedFlux readAllClientEncryptionKeys() { return readAllClientEncryptionKeys(new CosmosQueryRequestOptions()); } @@ -640,7 +640,7 @@ public CosmosPagedFlux readAllClientEncrypt * @return a {@link CosmosPagedFlux} containing one or several feed response pages of the * read cosmos client encryption keys or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosPagedFlux readAllClientEncryptionKeys(CosmosQueryRequestOptions options) { return UtilBridgeInternal.createCosmosPagedFlux(pagedFluxOptions -> { String spanName = "readAllClientEncryptionKeys." + this.getId(); @@ -665,7 +665,7 @@ public CosmosPagedFlux readAllClientEncrypt * @return a {@link CosmosPagedFlux} containing one or several feed response pages of the * obtained client encryption keys or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosPagedFlux queryClientEncryptionKeys(String query) { return queryClientEncryptionKeys(query, new CosmosQueryRequestOptions()); } @@ -682,7 +682,7 @@ public CosmosPagedFlux queryClientEncryptio * @return a {@link CosmosPagedFlux} containing one or several feed response pages of the * obtained client encryption keys or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosPagedFlux queryClientEncryptionKeys(String query, CosmosQueryRequestOptions options) { if (options == null) { options = new CosmosQueryRequestOptions(); @@ -702,7 +702,7 @@ public CosmosPagedFlux queryClientEncryptio * @return a {@link CosmosPagedFlux} containing one or several feed response pages of the * obtained client encryption keys or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosPagedFlux queryClientEncryptionKeys(SqlQuerySpec querySpec) { return queryClientEncryptionKeysInternal(querySpec, new CosmosQueryRequestOptions()); } @@ -719,7 +719,7 @@ public CosmosPagedFlux queryClientEncryptio * @return a {@link CosmosPagedFlux} containing one or several feed response pages of the * obtained client encryption keys or an error. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosPagedFlux queryClientEncryptionKeys(SqlQuerySpec querySpec, CosmosQueryRequestOptions options) { if (options == null) { options = new CosmosQueryRequestOptions(); diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionIncludedPath.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionIncludedPath.java index 66eb9d8d204f0..f4dd8fa5d74ff 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionIncludedPath.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionIncludedPath.java @@ -9,7 +9,7 @@ /** * Path that needs encryption and the associated settings within {@link ClientEncryptionPolicy}. */ -@Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) +@Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public final class ClientEncryptionIncludedPath { @JsonProperty("path") @@ -30,7 +30,7 @@ public final class ClientEncryptionIncludedPath { * * @return path */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getPath() { return path; } @@ -41,7 +41,7 @@ public String getPath() { * @param path path to be encrypted * @return ClientEncryptionIncludedPath. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public ClientEncryptionIncludedPath setPath(String path) { this.path = path; return this; @@ -52,7 +52,7 @@ public ClientEncryptionIncludedPath setPath(String path) { * * @return clientEncryptionKeyId */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getClientEncryptionKeyId() { return clientEncryptionKeyId; } @@ -63,7 +63,7 @@ public String getClientEncryptionKeyId() { * @param clientEncryptionKeyId identifier of the Data Encryption Key * @return ClientEncryptionIncludedPath. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public ClientEncryptionIncludedPath setClientEncryptionKeyId(String clientEncryptionKeyId) { this.clientEncryptionKeyId = clientEncryptionKeyId; return this; @@ -74,7 +74,7 @@ public ClientEncryptionIncludedPath setClientEncryptionKeyId(String clientEncryp * * @return encryptionType */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getEncryptionType() { return encryptionType; } @@ -85,7 +85,7 @@ public String getEncryptionType() { * @param encryptionType type of encryption * @return ClientEncryptionIncludedPath. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public ClientEncryptionIncludedPath setEncryptionType(String encryptionType) { this.encryptionType = encryptionType; return this; @@ -96,7 +96,7 @@ public ClientEncryptionIncludedPath setEncryptionType(String encryptionType) { * * @return encryptionAlgorithm */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getEncryptionAlgorithm() { return encryptionAlgorithm; } @@ -107,7 +107,7 @@ public String getEncryptionAlgorithm() { * @param encryptionAlgorithm type of encryption algorithm * @return ClientEncryptionIncludedPath. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public ClientEncryptionIncludedPath setEncryptionAlgorithm(String encryptionAlgorithm) { this.encryptionAlgorithm = encryptionAlgorithm; return this; diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionPolicy.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionPolicy.java index 0904d996004e4..ef8cdb5d26460 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionPolicy.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/ClientEncryptionPolicy.java @@ -16,7 +16,7 @@ /** * Client encryption policy. */ -@Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) +@Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public final class ClientEncryptionPolicy { private JsonSerializable jsonSerializable; @@ -35,7 +35,7 @@ public final class ClientEncryptionPolicy { * * @param paths list of path of the item that need encryption along with path-specific settings. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public ClientEncryptionPolicy(List paths) { this.validateIncludedPaths(paths); this.includedPaths = paths; diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyProperties.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyProperties.java index c7528553b984b..652e4624f4ef9 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyProperties.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyProperties.java @@ -14,7 +14,7 @@ /** * Details of an encryption key for use with the Azure Cosmos DB service. */ -@Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) +@Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public final class CosmosClientEncryptionKeyProperties { private ClientEncryptionKey clientEncryptionKey; @@ -39,7 +39,7 @@ public final class CosmosClientEncryptionKeyProperties { * @param wrappedDataEncryptionKey Wrapped (encrypted) form of the client encryption key. * @param encryptionKeyWrapMetadata Metadata used by the configured key wrapping provider in order to unwrap the key. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosClientEncryptionKeyProperties(String id, String encryptionAlgorithm, byte[] wrappedDataEncryptionKey, @@ -55,7 +55,7 @@ public CosmosClientEncryptionKeyProperties(String id, * Gets the encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data. * @return encryptionAlgorithm */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getEncryptionAlgorithm() { return this.clientEncryptionKey.getEncryptionAlgorithm(); } @@ -65,7 +65,7 @@ public String getEncryptionAlgorithm() { * @param encryptionAlgorithm the encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data. * @return CosmosClientEncryptionKeyProperties */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosClientEncryptionKeyProperties setEncryptionAlgorithm(String encryptionAlgorithm) { this.clientEncryptionKey.setEncryptionAlgorithm(encryptionAlgorithm); return this; @@ -75,7 +75,7 @@ public CosmosClientEncryptionKeyProperties setEncryptionAlgorithm(String encrypt * Gets the wrapped form of the client encryption key. * @return wrappedDataEncryptionKey */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public byte[] getWrappedDataEncryptionKey() { return this.clientEncryptionKey.getWrappedDataEncryptionKey(); } @@ -85,7 +85,7 @@ public byte[] getWrappedDataEncryptionKey() { * @param wrappedDataEncryptionKey the wrapped form of the client encryption key. * @return CosmosClientEncryptionKeyProperties */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosClientEncryptionKeyProperties setWrappedDataEncryptionKey(byte[] wrappedDataEncryptionKey) { this.clientEncryptionKey.setWrappedDataEncryptionKey(wrappedDataEncryptionKey); return this; @@ -95,7 +95,7 @@ public CosmosClientEncryptionKeyProperties setWrappedDataEncryptionKey(byte[] wr * Gets the metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key. * @return encryptionKeyWrapMetadata */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public EncryptionKeyWrapMetadata getEncryptionKeyWrapMetadata() { return this.clientEncryptionKey.getEncryptionKeyWrapMetadata(); } @@ -105,7 +105,7 @@ public EncryptionKeyWrapMetadata getEncryptionKeyWrapMetadata() { * @param encryptionKeyWrapMetadata the metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key. * @return CosmosClientEncryptionKeyProperties */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosClientEncryptionKeyProperties setEncryptionKeyWrapMetadata(EncryptionKeyWrapMetadata encryptionKeyWrapMetadata) { this.clientEncryptionKey.setEncryptionKeyWrapMetadata(encryptionKeyWrapMetadata); return this; @@ -116,7 +116,7 @@ public CosmosClientEncryptionKeyProperties setEncryptionKeyWrapMetadata(Encrypti * * @return the name of the resource. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getId() { return this.clientEncryptionKey.getId(); } @@ -127,7 +127,7 @@ public String getId() { * @param id the name of the resource. * @return the current instance of {@link CosmosContainerProperties}. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public CosmosClientEncryptionKeyProperties setId(String id) { this.clientEncryptionKey.setId(id); return this; @@ -148,7 +148,7 @@ String getResourceId() { * * @return the timestamp. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public Instant getTimestamp() { return this.clientEncryptionKey.getTimestamp(); } @@ -159,7 +159,7 @@ public Instant getTimestamp() { * * @return the e tag. */ - @Beta(value = Beta.SinceVersion.V4_13_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) + @Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public String getETag() { return this.clientEncryptionKey.getETag(); } diff --git a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyResponse.java b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyResponse.java index f2c061b4a49d9..25d5dfa9453d8 100644 --- a/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyResponse.java +++ b/sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/models/CosmosClientEncryptionKeyResponse.java @@ -11,7 +11,7 @@ /** * The type Cosmos client encryption key response. */ -@Beta(value = Beta.SinceVersion.V4_11_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) +@Beta(value = Beta.SinceVersion.V4_14_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING) public final class CosmosClientEncryptionKeyResponse extends CosmosResponse { CosmosClientEncryptionKeyResponse(ResourceResponse response) { super(response); @@ -29,7 +29,7 @@ public final class CosmosClientEncryptionKeyResponse extends CosmosResponse