Skip to content

Commit d494089

Browse files
mgmt, update cosmos to 2021-01 (Azure#19295)
1 parent c451395 commit d494089

File tree

60 files changed

+5193
-4670
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+5193
-4670
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"dir": "azure-resourcemanager-cosmos",
107107
"source": "specification/cosmos-db/resource-manager/readme.md",
108108
"package": "com.azure.resourcemanager.cosmos",
109-
"args": "--payload-flattening-threshold=0 --tag=package-2020-09 --rename-model:PrivateEndpointConnection:PrivateEndpointConnectionAutoGenerated,PrivateEndpointConnectionAutoGenerated:PrivateEndpointConnection,PrivateLinkServiceConnectionStateProperty:PrivateLinkServiceConnectionStatePropertyAutoGenerated,PrivateLinkServiceConnectionStatePropertyAutoGenerated:PrivateLinkServiceConnectionStateProperty"
109+
"args": "--payload-flattening-threshold=0 --tag=package-2021-01"
110110
},
111111
"customerinsights": {
112112
"dir": "azure-resourcemanager-customerinsights",

sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 2.3.0-beta.1 (Unreleased)
44

5+
- Updated `api-version` to `2021-01-15`
56

67
## 2.2.0 (2021-02-24)
78

sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java

Lines changed: 42 additions & 28 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ public interface CosmosDBManagementClient {
2323
*/
2424
String getEndpoint();
2525

26+
/**
27+
* Gets Api Version.
28+
*
29+
* @return the apiVersion value.
30+
*/
31+
String getApiVersion();
32+
2633
/**
2734
* Gets The HTTP pipeline to send requests through.
2835
*

sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DatabaseAccountsClient.java

Lines changed: 42 additions & 42 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GremlinResourcesClient.java

Lines changed: 35 additions & 28 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java

Lines changed: 42 additions & 28 deletions
Large diffs are not rendered by default.

sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NotebookWorkspacesClient.java

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ Response<NotebookWorkspaceInner> getWithResponse(
131131
* @param resourceGroupName The name of the resource group. The name is case insensitive.
132132
* @param accountName Cosmos DB database account name.
133133
* @param notebookWorkspaceName The name of the notebook workspace resource.
134-
* @param notebookCreateUpdateParameters The resource model definition for a ARM proxy resource. It will have
135-
* everything other than required location and tags.
134+
* @param notebookCreateUpdateParameters The notebook workspace to create for the current database account.
136135
* @throws IllegalArgumentException thrown if parameters fail the validation.
137136
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
138137
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -151,8 +150,7 @@ Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
151150
* @param resourceGroupName The name of the resource group. The name is case insensitive.
152151
* @param accountName Cosmos DB database account name.
153152
* @param notebookWorkspaceName The name of the notebook workspace resource.
154-
* @param notebookCreateUpdateParameters The resource model definition for a ARM proxy resource. It will have
155-
* everything other than required location and tags.
153+
* @param notebookCreateUpdateParameters The notebook workspace to create for the current database account.
156154
* @throws IllegalArgumentException thrown if parameters fail the validation.
157155
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
158156
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -171,8 +169,7 @@ PollerFlux<PollResult<NotebookWorkspaceInner>, NotebookWorkspaceInner> beginCrea
171169
* @param resourceGroupName The name of the resource group. The name is case insensitive.
172170
* @param accountName Cosmos DB database account name.
173171
* @param notebookWorkspaceName The name of the notebook workspace resource.
174-
* @param notebookCreateUpdateParameters The resource model definition for a ARM proxy resource. It will have
175-
* everything other than required location and tags.
172+
* @param notebookCreateUpdateParameters The notebook workspace to create for the current database account.
176173
* @throws IllegalArgumentException thrown if parameters fail the validation.
177174
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
178175
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -191,8 +188,7 @@ SyncPoller<PollResult<NotebookWorkspaceInner>, NotebookWorkspaceInner> beginCrea
191188
* @param resourceGroupName The name of the resource group. The name is case insensitive.
192189
* @param accountName Cosmos DB database account name.
193190
* @param notebookWorkspaceName The name of the notebook workspace resource.
194-
* @param notebookCreateUpdateParameters The resource model definition for a ARM proxy resource. It will have
195-
* everything other than required location and tags.
191+
* @param notebookCreateUpdateParameters The notebook workspace to create for the current database account.
196192
* @param context The context to associate with this operation.
197193
* @throws IllegalArgumentException thrown if parameters fail the validation.
198194
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -213,8 +209,7 @@ SyncPoller<PollResult<NotebookWorkspaceInner>, NotebookWorkspaceInner> beginCrea
213209
* @param resourceGroupName The name of the resource group. The name is case insensitive.
214210
* @param accountName Cosmos DB database account name.
215211
* @param notebookWorkspaceName The name of the notebook workspace resource.
216-
* @param notebookCreateUpdateParameters The resource model definition for a ARM proxy resource. It will have
217-
* everything other than required location and tags.
212+
* @param notebookCreateUpdateParameters The notebook workspace to create for the current database account.
218213
* @throws IllegalArgumentException thrown if parameters fail the validation.
219214
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
220215
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -233,8 +228,7 @@ Mono<NotebookWorkspaceInner> createOrUpdateAsync(
233228
* @param resourceGroupName The name of the resource group. The name is case insensitive.
234229
* @param accountName Cosmos DB database account name.
235230
* @param notebookWorkspaceName The name of the notebook workspace resource.
236-
* @param notebookCreateUpdateParameters The resource model definition for a ARM proxy resource. It will have
237-
* everything other than required location and tags.
231+
* @param notebookCreateUpdateParameters The notebook workspace to create for the current database account.
238232
* @throws IllegalArgumentException thrown if parameters fail the validation.
239233
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
240234
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -253,8 +247,7 @@ NotebookWorkspaceInner createOrUpdate(
253247
* @param resourceGroupName The name of the resource group. The name is case insensitive.
254248
* @param accountName Cosmos DB database account name.
255249
* @param notebookWorkspaceName The name of the notebook workspace resource.
256-
* @param notebookCreateUpdateParameters The resource model definition for a ARM proxy resource. It will have
257-
* everything other than required location and tags.
250+
* @param notebookCreateUpdateParameters The notebook workspace to create for the current database account.
258251
* @param context The context to associate with this operation.
259252
* @throws IllegalArgumentException thrown if parameters fail the validation.
260253
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.

0 commit comments

Comments
 (0)