Skip to content

Commit 2475364

Browse files
rsharm7srwshkrshnnunknownddhamotharandsapaliga
authored andcommitted
Release Cosmos db microsoft.document db 2022 11 15 preview (Azure#21555)
* Adds base for updating Microsoft.DocumentDB from version preview/2022-08-15-preview to version 2022-11-15-preview * Updates readme * Updates API version in new specs and examples * Update cosmos-db.json * Update CosmosDBDatabaseAccountCreateMax.json * Update CosmosDBDatabaseAccountGet.json * Update CosmosDBDatabaseAccountList.json * Update CosmosDBDatabaseAccountPatch.json * Initial commit for SQL MV preview * swagger changes for x region restore * Update CosmosDBDatabaseAccountPatch.json * Update cosmos-db.json * Update cosmos-db.json * Update cosmos-db.json LRO_RESPONSE_HEADER * Update cosmos-db.json LRO_RESPONSE_HEADER * InAccountRestore changes * test case update * updated cosmos-db.json * prettifier fix * Revert "test case update" This reverts commit aec121f. * example test case update * Addressed PR comments * Addressed validation errors * Updated MV collection example * fixing invalid type * location & azure-AsyncOperation headers * prettified * add location and async in examples * fix location and async in service.json * fix invalid type * x-ms-identifiers to array * x-ms-identifiers to array * add RegionalServiceResource ref in locations * moved ServiceResourceProperties down * added all prop in ServiceResourceProperties * added endpoints in RegionalServiceResource * add name as identifier in location * fix TypeFormatChanged * revert changes in services * Reverted SQL MV changes * change type of additionalProperties * minimalTlsVersion * change in managedCassandra.json * remove extra tag * Revert "remove extra tag" This reverts commit 5ed208d. * Revert "Merge branch 'main' into cosmos-db-Microsoft.DocumentDB-2022-11-15-preview" This reverts commit 59691b7, reversing changes made to 407c5c9. * manually updated readme * Revert "manually updated readme" This reverts commit 86e67e1. * Revert "Revert "Merge branch 'main' into cosmos-db-Microsoft.DocumentDB-2022-11-15-preview"" This reverts commit 0c2f12a. * Revert "Revert "remove extra tag"" This reverts commit 3c97fe4. * Added suppressions * More suppressions * adding ResourceNameRestriction suppression path * Revert "adding ResourceNameRestriction suppression path" This reverts commit 728bbd9. * added tag to CosmosDBManagementClient * add CassandraClusters repair and nodeFetchStatus * RepairPostBody and ClusterNodeStatus in definition * added examples for newly added apis * Revert "added examples for newly added apis" This reverts commit 7178823. * Revert "RepairPostBody and ClusterNodeStatus in definition" This reverts commit 6b4f5f9. * Revert "add CassandraClusters repair and nodeFetchStatus" This reverts commit 0f17db1. * ClientEncryptionPolicy breaking change * RestoreParameters backward compatibility --------- Co-authored-by: Sarwesh Krishnan <[email protected]> Co-authored-by: unknown <[email protected]> Co-authored-by: Dinesh Kumar Dhamotharan <[email protected]> Co-authored-by: ddhamotharan <[email protected]> Co-authored-by: dsapaliga <[email protected]> Co-authored-by: pjohari-ms <[email protected]>
1 parent 9983a4c commit 2475364

File tree

246 files changed

+29188
-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

+29188
-1
lines changed

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

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

specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2022-11-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,41 @@
1+
{
2+
"parameters": {
3+
"accountName": "ddb1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2022-11-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=2022-11-15-preview",
37+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-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": "2022-11-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=2022-11-15-preview",
14+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-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": "2022-11-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-11-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": "2022-11-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=2022-11-15-preview",
30+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-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": "2022-11-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=2022-11-15-preview",
27+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-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": "2022-11-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": "2022-11-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=2022-11-15-preview",
41+
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2022-11-15-preview"
42+
}
43+
}
44+
}
45+
}

0 commit comments

Comments
 (0)