Skip to content

Commit 7277cbe

Browse files
ajparulekavskalyanMeha KaushikSmahanandi
authored
[CosmosDB] Adding apiVersion 2021-07-01-preview (#14817)
* Create new folder for 2021-07-01-preview api * Adding view operations * change api version from stable 2021-06-15 to preview 2021-07-01 * Merging previous stable +preview version changes * prettier fix * Avocado fix * ModelValidation fix * resolve conflict * Update readme.md * Fixing lint diff error * fix error * Fixing the lint errors due to changes in the stable version * Fixing refs * Fix lintdiff * test commit * initial changes for GraphResources * some fixes * CI fixes * nit * nit * revert a not required change * add 200 response code for delete operation * Fix RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE * services apis * renaming graphapicompute endpoint * swagger changes for DiagnosticLogSettings * prettier and ModelValidatin changes * nit * removing throughput operations * update readmes * address arm comments * address comments Co-authored-by: Kalyan Khandrika <[email protected]> Co-authored-by: Meha Kaushik <[email protected]> Co-authored-by: Sahithya Mahanandi <[email protected]>
1 parent c800afa commit 7277cbe

File tree

202 files changed

+21899
-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.

202 files changed

+21899
-1
lines changed

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-07-01-preview/cosmos-db.json

Lines changed: 9726 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "rgName",
6+
"accountName": "ddb1",
7+
"databaseName": "databaseName",
8+
"containerName": "containerName",
9+
"location": {
10+
"location": "North Europe"
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"continuousBackupInformation": {
17+
"latestRestorableTimestamp": "2021-02-05T02:40:50Z"
18+
}
19+
}
20+
},
21+
"202": {}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2021-07-01-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": "2021-07-01-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": "2021-07-01-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": "2021-07-01-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": "2021-07-01-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": "2021-07-01-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": "2021-07-01-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": "2021-07-01-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)