diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml
index 3897c2a11d06..7c54e59fbc21 100644
--- a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml
@@ -43,7 +43,6 @@
--add-opens com.azure.resourcemanager.cosmos/com.azure.resourcemanager.cosmos=ALL-UNNAMED
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
- -
diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/CosmosManager.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/CosmosManager.java
index 0e55dca0b05c..6da96da1910d 100644
--- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/CosmosManager.java
+++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/CosmosManager.java
@@ -84,7 +84,11 @@ private CosmosManager(HttpPipeline httpPipeline, AzureProfile profile) {
.buildClient());
}
- /** @return the cosmos db database account resource management API entry point */
+ /**
+ * Gets the cosmos db database account resource management API entry point.
+ *
+ * @return the cosmos db database account resource management API entry point
+ */
public CosmosDBAccounts databaseAccounts() {
if (databaseAccounts == null) {
databaseAccounts = new CosmosDBAccountsImpl(this);
diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java
index 5b3ad2973452..7064a5716d11 100644
--- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java
+++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CosmosDBAccount.java
@@ -24,13 +24,25 @@
public interface CosmosDBAccount extends GroupableResource,
Refreshable, Updatable, SupportsUpdatingPrivateEndpointConnection {
- /** @return indicates the type of database account */
+ /**
+ * Gets the type of database account.
+ *
+ * @return indicates the type of database account
+ */
DatabaseAccountKind kind();
- /** @return the connection endpoint for the CosmosDB database account */
+ /**
+ * Gets the connection endpoint for the CosmosDB database account.
+ *
+ * @return the connection endpoint for the CosmosDB database account
+ */
String documentEndpoint();
- /** @return the offer type for the CosmosDB database account */
+ /**
+ * Gets the offer type for the CosmosDB database account.
+ *
+ * @return the offer type for the CosmosDB database account
+ */
DatabaseAccountOfferType databaseAccountOfferType();
/**
@@ -41,103 +53,205 @@ public interface CosmosDBAccount extends GroupableResource ipRules();
- /** @return the consistency policy for the CosmosDB database account */
+ /**
+ * Gets the consistency policy for the CosmosDB database account.
+ *
+ * @return the consistency policy for the CosmosDB database account
+ */
ConsistencyPolicy consistencyPolicy();
- /** @return the default consistency level for the CosmosDB database account */
+ /**
+ * Gets the default consistency level for the CosmosDB database account.
+ *
+ * @return the default consistency level for the CosmosDB database account
+ */
DefaultConsistencyLevel defaultConsistencyLevel();
- /** @return an array that contains the writable georeplication locations enabled for the CosmosDB account */
+ /**
+ * Gets an array that contains the writable georeplication locations enabled for the CosmosDB account.
+ *
+ * @return an array that contains the writable georeplication locations enabled for the CosmosDB account
+ */
List writableReplications();
- /** @return an array that contains the readable georeplication locations enabled for the CosmosDB account */
+ /**
+ * Gets an array that contains the readable georeplication locations enabled for the CosmosDB account.
+ *
+ * @return an array that contains the readable georeplication locations enabled for the CosmosDB account
+ */
List readableReplications();
- /** @return the access keys for the specified Azure CosmosDB database account */
+ /**
+ * Gets the access keys for the specified Azure CosmosDB database account.
+ *
+ * @return the access keys for the specified Azure CosmosDB database account
+ */
DatabaseAccountListKeysResult listKeys();
- /** @return the access keys for the specified Azure CosmosDB database account */
+ /**
+ * Gets the access keys for the specified Azure CosmosDB database account.
+ *
+ * @return the access keys for the specified Azure CosmosDB database account
+ */
Mono listKeysAsync();
- /** @return the read-only access keys for the specified Azure CosmosDB database account */
+ /**
+ * Gets the read-only access keys for the specified Azure CosmosDB database account.
+ *
+ * @return the read-only access keys for the specified Azure CosmosDB database account
+ */
DatabaseAccountListReadOnlyKeysResult listReadOnlyKeys();
- /** @return the read-only access keys for the specified Azure CosmosDB database account */
+ /**
+ * Gets the read-only access keys for the specified Azure CosmosDB database account.
+ *
+ * @return the read-only access keys for the specified Azure CosmosDB database account
+ */
Mono listReadOnlyKeysAsync();
- /** @return the connection strings for the specified Azure CosmosDB database account */
+ /**
+ * Gets the connection strings for the specified Azure CosmosDB database account.
+ *
+ * @return the connection strings for the specified Azure CosmosDB database account
+ */
DatabaseAccountListConnectionStringsResult listConnectionStrings();
- /** @return the connection strings for the specified Azure CosmosDB database account */
+ /**
+ * Gets the connection strings for the specified Azure CosmosDB database account.
+ *
+ * @return the connection strings for the specified Azure CosmosDB database account
+ */
Mono listConnectionStringsAsync();
- /** @return the list of Azure Cosmos DB SQL databases */
+ /**
+ * Gets the list of Azure Cosmos DB SQL databases.
+ *
+ * @return the list of Azure Cosmos DB SQL databases
+ */
List listSqlDatabases();
- /** @return the list of Azure Cosmos DB SQL databases */
+ /**
+ * Gets the list of Azure Cosmos DB SQL databases.
+ *
+ * @return the list of Azure Cosmos DB SQL databases
+ */
PagedFlux listSqlDatabasesAsync();
- /** @return whether write is enabled for multiple locations or not */
+ /**
+ * Checks whether write is enabled for multiple locations.
+ *
+ * @return whether write is enabled for multiple locations or not
+ */
boolean multipleWriteLocationsEnabled();
- /** @return whether cassandra connector is enabled or not. */
+ /**
+ * Checks whether cassandra connector is enabled.
+ *
+ * @return whether cassandra connector is enabled or not.
+ */
boolean cassandraConnectorEnabled();
- /** @return the current cassandra connector offer. */
+ /**
+ * Gets the current cassandra connector offer.
+ *
+ * @return the current cassandra connector offer.
+ */
ConnectorOffer cassandraConnectorOffer();
- /** @return whether metadata write access is disabled or not. */
+ /**
+ * Checks whether metadata write access is disabled.
+ *
+ * @return whether metadata write access is disabled or not.
+ */
boolean keyBasedMetadataWriteAccessDisabled();
- /** @return all private link resources in the account. */
+ /**
+ * Gets all private link resources in the account.
+ *
+ * @return all private link resources in the account.
+ */
PagedFlux listPrivateLinkResourcesAsync();
- /** @return all private link resources in the account. */
+ /**
+ * Gets all private link resources in the account.
+ *
+ * @return all private link resources in the account.
+ */
List listPrivateLinkResources();
/**
+ * Gets the specific private link resource.
+ *
* @param groupName group name of private link resource
- * @return the specific private link resource group
+ * @return the specific private link resource
*/
Mono getPrivateLinkResourceAsync(String groupName);
/**
+ * Gets the specific private link resource.
+ *
* @param groupName group name of private link resource
- * @return the specific private link resource group
+ * @return the specific private link resource
*/
PrivateLinkResource getPrivateLinkResource(String groupName);
- /** @return all private endpoint connection in the account. */
+ /**
+ * Gets all private endpoint connection in the account.
+ *
+ * @return all private endpoint connection in the account.
+ */
Mono