Skip to content

Commit e75a575

Browse files
ravgillMeha Kaushik
authored andcommitted
[CosmosDB] Migration support of existing containers/databases to autoscale (Azure#9258)
* initial changes * update 2020-04-01 * update example * add default response * fixing ErrorResponse * updated the DefaultErrorResponse * Revert "updated the DefaultErrorResponse" This reverts commit 78c90b5. * Revert "fixing ErrorResponse" This reverts commit cab5d0f. * Revert "add default response" This reverts commit 18d8799. Co-authored-by: Meha Kaushik <[email protected]>
1 parent d35c7b2 commit e75a575

File tree

38 files changed

+2544
-50
lines changed

38 files changed

+2544
-50
lines changed

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2020-03-01/cosmos-db.json

Lines changed: 769 additions & 25 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"resource": {
14+
"throughput": 400,
15+
"provisionedThroughputSettings": {
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": "2020-03-01",
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": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName",
8+
"tableName": "tableName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"resource": {
15+
"throughput": 400,
16+
"provisionedThroughputSettings": {
17+
"maxThroughput": 4000
18+
},
19+
"minimumThroughput": "4000",
20+
"offerReplacePending": "false",
21+
"_rid": "PD5DALigDgw=",
22+
"_ts": 1459200611,
23+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
24+
}
25+
}
26+
}
27+
},
28+
"202": {}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"keyspaceName": "keyspaceName",
8+
"tableName": "tableName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"resource": {
15+
"throughput": 400,
16+
"minimumThroughput": "400",
17+
"offerReplacePending": "false",
18+
"_rid": "PD5DALigDgw=",
19+
"_ts": 1459200611,
20+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
21+
}
22+
}
23+
}
24+
},
25+
"202": {}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"databaseName": "databaseName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"resource": {
14+
"throughput": 400,
15+
"provisionedThroughputSettings": {
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": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"databaseName": "databaseName"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"resource": {
14+
"throughput": 400,
15+
"minimumThroughput": "400",
16+
"offerReplacePending": "true",
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": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"databaseName": "databaseName",
8+
"graphName": "graphName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"resource": {
15+
"throughput": 400,
16+
"provisionedThroughputSettings": {
17+
"maxThroughput": 4000
18+
},
19+
"minimumThroughput": "4000",
20+
"offerReplacePending": "false",
21+
"_rid": "PD5DALigDgw=",
22+
"_ts": 1459200611,
23+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
24+
}
25+
}
26+
}
27+
},
28+
"202": {}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"databaseName": "databaseName",
8+
"graphName": "graphName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"resource": {
15+
"throughput": 400,
16+
"minimumThroughput": "400",
17+
"offerReplacePending": "true",
18+
"_rid": "PD5DALigDgw=",
19+
"_ts": 1459200611,
20+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
21+
}
22+
}
23+
}
24+
},
25+
"202": {}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2020-03-01",
6+
"subscriptionId": "subid",
7+
"databaseName": "databaseName",
8+
"collectionName": "collectionName"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"properties": {
14+
"resource": {
15+
"throughput": 400,
16+
"provisionedThroughputSettings": {
17+
"maxThroughput": 4000
18+
},
19+
"minimumThroughput": "4000",
20+
"offerReplacePending": "false",
21+
"_rid": "PD5DALigDgw=",
22+
"_ts": 1459200611,
23+
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
24+
}
25+
}
26+
}
27+
},
28+
"202": {}
29+
}
30+
}

0 commit comments

Comments
 (0)