2424public interface CosmosDBAccount extends GroupableResource <CosmosManager , DatabaseAccountGetResultsInner >,
2525 Refreshable <CosmosDBAccount >, Updatable <CosmosDBAccount .Update >, SupportsUpdatingPrivateEndpointConnection {
2626
27- /** @return indicates the type of database account */
27+ /**
28+ * Gets the type of database account.
29+ *
30+ * @return indicates the type of database account
31+ */
2832 DatabaseAccountKind kind ();
2933
30- /** @return the connection endpoint for the CosmosDB database account */
34+ /**
35+ * Gets the connection endpoint for the CosmosDB database account.
36+ *
37+ * @return the connection endpoint for the CosmosDB database account
38+ */
3139 String documentEndpoint ();
3240
33- /** @return the offer type for the CosmosDB database account */
41+ /**
42+ * Gets the offer type for the CosmosDB database account.
43+ *
44+ * @return the offer type for the CosmosDB database account
45+ */
3446 DatabaseAccountOfferType databaseAccountOfferType ();
3547
3648 /**
@@ -41,103 +53,205 @@ public interface CosmosDBAccount extends GroupableResource<CosmosManager, Databa
4153 PublicNetworkAccess publicNetworkAccess ();
4254
4355 /**
56+ * Gets specifies the set of IP addresses or IP address ranges in CIDR form.
57+ *
4458 * @return specifies the set of IP addresses or IP address ranges in CIDR form.
4559 * @deprecated use {@link #ipRules()}
4660 */
4761 @ Deprecated
4862 String ipRangeFilter ();
4963
50- /** @return specifies the set of IP addresses or IP address ranges in CIDR form. */
64+ /**
65+ * Gets specifies the set of IP addresses or IP address ranges in CIDR form.
66+ *
67+ * @return specifies the set of IP addresses or IP address ranges in CIDR form.
68+ */
5169 List <IpAddressOrRange > ipRules ();
5270
53- /** @return the consistency policy for the CosmosDB database account */
71+ /**
72+ * Gets the consistency policy for the CosmosDB database account.
73+ *
74+ * @return the consistency policy for the CosmosDB database account
75+ */
5476 ConsistencyPolicy consistencyPolicy ();
5577
56- /** @return the default consistency level for the CosmosDB database account */
78+ /**
79+ * Gets the default consistency level for the CosmosDB database account.
80+ *
81+ * @return the default consistency level for the CosmosDB database account
82+ */
5783 DefaultConsistencyLevel defaultConsistencyLevel ();
5884
59- /** @return an array that contains the writable georeplication locations enabled for the CosmosDB account */
85+ /**
86+ * Gets an array that contains the writable georeplication locations enabled for the CosmosDB account.
87+ *
88+ * @return an array that contains the writable georeplication locations enabled for the CosmosDB account
89+ */
6090 List <Location > writableReplications ();
6191
62- /** @return an array that contains the readable georeplication locations enabled for the CosmosDB account */
92+ /**
93+ * Gets an array that contains the readable georeplication locations enabled for the CosmosDB account.
94+ *
95+ * @return an array that contains the readable georeplication locations enabled for the CosmosDB account
96+ */
6397 List <Location > readableReplications ();
6498
65- /** @return the access keys for the specified Azure CosmosDB database account */
99+ /**
100+ * Gets the access keys for the specified Azure CosmosDB database account.
101+ *
102+ * @return the access keys for the specified Azure CosmosDB database account
103+ */
66104 DatabaseAccountListKeysResult listKeys ();
67105
68- /** @return the access keys for the specified Azure CosmosDB database account */
106+ /**
107+ * Gets the access keys for the specified Azure CosmosDB database account.
108+ *
109+ * @return the access keys for the specified Azure CosmosDB database account
110+ */
69111 Mono <DatabaseAccountListKeysResult > listKeysAsync ();
70112
71- /** @return the read-only access keys for the specified Azure CosmosDB database account */
113+ /**
114+ * Gets the read-only access keys for the specified Azure CosmosDB database account.
115+ *
116+ * @return the read-only access keys for the specified Azure CosmosDB database account
117+ */
72118 DatabaseAccountListReadOnlyKeysResult listReadOnlyKeys ();
73119
74- /** @return the read-only access keys for the specified Azure CosmosDB database account */
120+ /**
121+ * Gets the read-only access keys for the specified Azure CosmosDB database account.
122+ *
123+ * @return the read-only access keys for the specified Azure CosmosDB database account
124+ */
75125 Mono <DatabaseAccountListReadOnlyKeysResult > listReadOnlyKeysAsync ();
76126
77- /** @return the connection strings for the specified Azure CosmosDB database account */
127+ /**
128+ * Gets the connection strings for the specified Azure CosmosDB database account.
129+ *
130+ * @return the connection strings for the specified Azure CosmosDB database account
131+ */
78132 DatabaseAccountListConnectionStringsResult listConnectionStrings ();
79133
80- /** @return the connection strings for the specified Azure CosmosDB database account */
134+ /**
135+ * Gets the connection strings for the specified Azure CosmosDB database account.
136+ *
137+ * @return the connection strings for the specified Azure CosmosDB database account
138+ */
81139 Mono <DatabaseAccountListConnectionStringsResult > listConnectionStringsAsync ();
82140
83- /** @return the list of Azure Cosmos DB SQL databases */
141+ /**
142+ * Gets the list of Azure Cosmos DB SQL databases.
143+ *
144+ * @return the list of Azure Cosmos DB SQL databases
145+ */
84146 List <SqlDatabase > listSqlDatabases ();
85147
86- /** @return the list of Azure Cosmos DB SQL databases */
148+ /**
149+ * Gets the list of Azure Cosmos DB SQL databases.
150+ *
151+ * @return the list of Azure Cosmos DB SQL databases
152+ */
87153 PagedFlux <SqlDatabase > listSqlDatabasesAsync ();
88154
89- /** @return whether write is enabled for multiple locations or not */
155+ /**
156+ * Checks whether write is enabled for multiple locations.
157+ *
158+ * @return whether write is enabled for multiple locations or not
159+ */
90160 boolean multipleWriteLocationsEnabled ();
91161
92- /** @return whether cassandra connector is enabled or not. */
162+ /**
163+ * Checks whether cassandra connector is enabled.
164+ *
165+ * @return whether cassandra connector is enabled or not.
166+ */
93167 boolean cassandraConnectorEnabled ();
94168
95- /** @return the current cassandra connector offer. */
169+ /**
170+ * Gets the current cassandra connector offer.
171+ *
172+ * @return the current cassandra connector offer.
173+ */
96174 ConnectorOffer cassandraConnectorOffer ();
97175
98- /** @return whether metadata write access is disabled or not. */
176+ /**
177+ * Checks whether metadata write access is disabled.
178+ *
179+ * @return whether metadata write access is disabled or not.
180+ */
99181 boolean keyBasedMetadataWriteAccessDisabled ();
100182
101- /** @return all private link resources in the account. */
183+ /**
184+ * Gets all private link resources in the account.
185+ *
186+ * @return all private link resources in the account.
187+ */
102188 PagedFlux <PrivateLinkResource > listPrivateLinkResourcesAsync ();
103189
104- /** @return all private link resources in the account. */
190+ /**
191+ * Gets all private link resources in the account.
192+ *
193+ * @return all private link resources in the account.
194+ */
105195 List <PrivateLinkResource > listPrivateLinkResources ();
106196
107197 /**
198+ * Gets the specific private link resource.
199+ *
108200 * @param groupName group name of private link resource
109- * @return the specific private link resource group
201+ * @return the specific private link resource
110202 */
111203 Mono <PrivateLinkResource > getPrivateLinkResourceAsync (String groupName );
112204
113205 /**
206+ * Gets the specific private link resource.
207+ *
114208 * @param groupName group name of private link resource
115- * @return the specific private link resource group
209+ * @return the specific private link resource
116210 */
117211 PrivateLinkResource getPrivateLinkResource (String groupName );
118212
119- /** @return all private endpoint connection in the account. */
213+ /**
214+ * Gets all private endpoint connection in the account.
215+ *
216+ * @return all private endpoint connection in the account.
217+ */
120218 Mono <Map <String , PrivateEndpointConnection >> listPrivateEndpointConnectionAsync ();
121219
122- /** @return all private endpoint connection in the account. */
220+ /**
221+ * Gets all private endpoint connection in the account.
222+ *
223+ * @return all private endpoint connection in the account.
224+ */
123225 Map <String , PrivateEndpointConnection > listPrivateEndpointConnection ();
124226
125227 /**
228+ * Gets the specific private endpoint connection.
229+ *
126230 * @param name name of private endpoint connection
127231 * @return the specific private endpoint connection
128232 */
129233 Mono <PrivateEndpointConnection > getPrivateEndpointConnectionAsync (String name );
130234
131235 /**
236+ * Gets the specific private endpoint connection.
237+ *
132238 * @param name name of private endpoint connection
133239 * @return the specific private endpoint connection
134240 */
135241 PrivateEndpointConnection getPrivateEndpointConnection (String name );
136242
137- /** @return a list that contains the Cosmos DB capabilities */
243+ /**
244+ * Gets a list that contains the Cosmos DB capabilities.
245+ *
246+ * @return a list that contains the Cosmos DB capabilities
247+ */
138248 List <Capability > capabilities ();
139249
140- /** @return a list that contains the Cosmos DB Virtual Network ACL Rules (empty list if none is set) */
250+ /**
251+ * Gets a list that contains the Cosmos DB Virtual Network ACL Rules.
252+ *
253+ * @return a list that contains the Cosmos DB Virtual Network ACL Rules (empty list if none is set)
254+ */
141255 List <VirtualNetworkRule > virtualNetworkRules ();
142256
143257 /**
@@ -170,10 +284,16 @@ public interface CosmosDBAccount extends GroupableResource<CosmosManager, Databa
170284 */
171285 Mono <Void > onlineRegionAsync (Region region );
172286
173- /** @param keyKind the key kind */
287+ /**
288+ * Regenerates secret keys.
289+ *
290+ * @param keyKind the key kind
291+ */
174292 void regenerateKey (KeyKind keyKind );
175293
176294 /**
295+ * A deferred emitter that regenerates secret keys.
296+ *
177297 * @param keyKind the key kind
178298 * @return a representation of the deferred computation of this call
179299 */
0 commit comments