Skip to content

Commit c6fb89c

Browse files
pjohari-mshimanshudhawaleddhamotharan
authored
[CosmosDB] Review request for Microsoft.DocumentDB to add version preview/2022-08-15-preview (#20419)
* Adds base for updating Microsoft.DocumentDB from version preview/2022-05-15-preview to version 2022-08-15-preview * Updates readme * Updates API version in new specs and examples * adaptive RU sharedthroughput changes * add mongodb database redistribute throughput * InAccount Restore Examples for SQL database and container and MongoDB database and collection * fix example references for inaccount restore and pretify all example files * InAccount Restore fix example references * InAccount Restore fix createMode case in examples * InAccount Restore for SQL and MongoDB changes * Added keysMetadata readonly field changes and added EnablePartitionMerge changes Co-authored-by: Himanshu Sunil Dhawale <[email protected]> Co-authored-by: Dinesh Kumar Dhamotharan <[email protected]>
1 parent 0507c3d commit c6fb89c

File tree

246 files changed

+27816
-1
lines changed

Some content is hidden

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

246 files changed

+27816
-1
lines changed

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-08-15-preview/cosmos-db.json

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

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-08-15-preview/dataTransferService.json

Lines changed: 506 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-08-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+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-08-15-preview",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName"
8+
},
9+
"responses": {
10+
"204": {},
11+
"202": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-08-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": "2022-08-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,29 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-08-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+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-08-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+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-08-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,40 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-08-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+
}
40+
}

0 commit comments

Comments
 (0)