Skip to content

Commit 44e8334

Browse files
SrinikhilReddyvivek-microsoftChandrasekhar Gunturicjmsfttadelesh
authored
[Hub Generated] Review request for Microsoft.DocumentDB to add version preview/2023-03-15-preview (#23327)
* Adds base for updating Microsoft.DocumentDB from version preview/2023-03-01-preview to version 2023-03-15-preview * Updates readme * Updates API version in new specs and examples * combined changes for managed cassandra preview swagger. * materializedview swagger changes * changing preview release version * Reverting changes to 2023-03-01-preview * preview changes for nova. * Pretty check. * Add files via upload * Update cosmos-db.json adds database partition merge api. * saving work * saving work * saving work * Add example for swagger apis. * fix cluster name and rg values in example. * Add cassandraProcessStatus property. * format example. * Fixing model validation errors. * Resolving model validation errors. * resolve Lint Diff issues. * removing duplicate entry for package-preview-2023-03 * Fixing spelling. * Fix pretty validation. * try removing modelerfour: * update readme to 2023-01-15-preview * bring back both 2023-03-01 and 2023-03-15 preview in readme.md * update tag to generate for package-preview-2023-03-15 * ring back CassandraClusterRepairPublicProperties. * merge conflict resolution * port listconnectionstrings changes from 03-15-stable * backport stable to preview swagger. * port location api updates from 3-15-stable to preview version * Fix model validation error :-). * remove duplicate status property * Undo Vivek's changes. * saving work * saving work * local changes * local changes * local changes * local changes * temporally resolve duplicate schema issue --------- Co-authored-by: Vivek Sundararajan <[email protected]> Co-authored-by: Chandrasekhar Gunturi <[email protected]> Co-authored-by: Carolyn Jackson <[email protected]> Co-authored-by: Chenjie Shi <[email protected]>
1 parent d0d161e commit 44e8334

File tree

266 files changed

+31409
-2
lines changed

Some content is hidden

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

266 files changed

+31409
-2
lines changed

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/cosmos-db.json

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

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-15-preview/dataTransferService.json

Lines changed: 529 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-03-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName",
8+
"createUpdateCassandraKeyspaceParameters": {
9+
"location": "West US",
10+
"tags": {},
11+
"properties": {
12+
"resource": {
13+
"id": "keyspaceName"
14+
},
15+
"options": {}
16+
}
17+
}
18+
},
19+
"responses": {
20+
"200": {
21+
"body": {
22+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName",
23+
"name": "keyspaceName",
24+
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces",
25+
"location": "West US",
26+
"tags": {},
27+
"properties": {
28+
"resource": {
29+
"id": "keyspaceName"
30+
}
31+
}
32+
}
33+
},
34+
"202": {
35+
"headers": {
36+
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview",
37+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview"
38+
}
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-03-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName"
8+
},
9+
"responses": {
10+
"204": {},
11+
"202": {
12+
"headers": {
13+
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview",
14+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview"
15+
}
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-03-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName",
13+
"name": "keyspaceName",
14+
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces",
15+
"location": "West US",
16+
"tags": {},
17+
"properties": {
18+
"resource": {
19+
"id": "keyspaceName",
20+
"_rid": "PD5DALigDgw=",
21+
"_ts": 1459200611,
22+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-15-preview",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "rgName",
6+
"accountName": "ddb1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName",
14+
"name": "keyspaceName",
15+
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces",
16+
"location": "West US",
17+
"tags": {},
18+
"properties": {
19+
"resource": {
20+
"id": "keyspaceName"
21+
}
22+
}
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-03-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"resource": {
14+
"throughput": 400,
15+
"autoscaleSettings": {
16+
"maxThroughput": 4000
17+
},
18+
"minimumThroughput": "4000",
19+
"offerReplacePending": "false",
20+
"_rid": "PD5DALigDgw=",
21+
"_ts": 1459200611,
22+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
23+
}
24+
}
25+
}
26+
},
27+
"202": {
28+
"headers": {
29+
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview",
30+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview"
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-03-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"resource": {
14+
"throughput": 400,
15+
"minimumThroughput": "400",
16+
"offerReplacePending": "false",
17+
"_rid": "PD5DALigDgw=",
18+
"_ts": 1459200611,
19+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
20+
}
21+
}
22+
}
23+
},
24+
"202": {
25+
"headers": {
26+
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview",
27+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview"
28+
}
29+
}
30+
}
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-03-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/throughputSettings/default",
13+
"name": "default",
14+
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings",
15+
"location": "West US",
16+
"tags": {},
17+
"properties": {
18+
"resource": {
19+
"throughput": 400,
20+
"minimumThroughput": "400",
21+
"offerReplacePending": "true",
22+
"_rid": "PD5DALigDgw=",
23+
"_ts": 1459200611,
24+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
25+
}
26+
}
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-03-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName",
8+
"updateThroughputParameters": {
9+
"location": "West US",
10+
"tags": {},
11+
"properties": {
12+
"resource": {
13+
"throughput": 400
14+
}
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/throughputSettings/default",
22+
"name": "default",
23+
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings",
24+
"location": "West US",
25+
"tags": {},
26+
"properties": {
27+
"resource": {
28+
"throughput": 400,
29+
"minimumThroughput": "400",
30+
"offerReplacePending": "true",
31+
"_rid": "PD5DALigDgw=",
32+
"_ts": 1459200611,
33+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
34+
}
35+
}
36+
}
37+
},
38+
"202": {
39+
"headers": {
40+
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview",
41+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-15-preview"
42+
}
43+
}
44+
}
45+
}

0 commit comments

Comments
 (0)