-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce CosmosDB RP API 2024-08-15 Version (#29905)
* Copy files from stable/2024-05-15 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to stable/2024-08-15 Updated the API version from stable/2024-05-15 to stable/2024-08-15. * Added tag for 2024-08-15 in readme file * run npx prettier * add suppression * Removed preview from burst capacity description (#29941) * Swagger changes for Restore with TTL Disabled (#29935) * Swagger changes for Restore with TTL Disabled * Format fix * add the v7 to the swagger (#29976) * fix online/offline example to adhere to swagger spec, fixing .net sdk build error * nit run npx prettier * Revert "add suppression" This reverts commit 07e1072. * update private endpoint connection to use standard ErrorResponse * update private endpoint connections to use v5 types * Revert "update private endpoint connections to use v5 types" Causes powershell build to fail. This reverts commit 49b4257. --------- Co-authored-by: Richa Sharma <[email protected]> Co-authored-by: minhokang242 <[email protected]> Co-authored-by: Andrew Khoma <[email protected]>
- Loading branch information
1 parent
bdc14cf
commit 4d06586
Showing
211 changed files
with
25,524 additions
and
0 deletions.
There are no files selected for viewing
10,230 changes: 10,230 additions & 0 deletions
10,230
...fication/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/cosmos-db.json
Large diffs are not rendered by default.
Oops, something went wrong.
36 changes: 36 additions & 0 deletions
36
...icrosoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"createUpdateCassandraKeyspaceParameters": { | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"id": "keyspaceName" | ||
}, | ||
"options": {} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName", | ||
"name": "keyspaceName", | ||
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"id": "keyspaceName" | ||
} | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15", | ||
"Azure-AsyncOperation": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName", | ||
"name": "keyspaceName", | ||
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"id": "keyspaceName", | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...anager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"accountName": "ddb1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName", | ||
"name": "keyspaceName", | ||
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"id": "keyspaceName" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"resource": { | ||
"throughput": 400, | ||
"autoscaleSettings": { | ||
"maxThroughput": 4000 | ||
}, | ||
"minimumThroughput": "4000", | ||
"offerReplacePending": "false", | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15", | ||
"Azure-AsyncOperation": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...mentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"resource": { | ||
"throughput": 400, | ||
"minimumThroughput": "400", | ||
"offerReplacePending": "false", | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15", | ||
"Azure-AsyncOperation": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15" | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...crosoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/throughputSettings/default", | ||
"name": "default", | ||
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"throughput": 400, | ||
"minimumThroughput": "400", | ||
"offerReplacePending": "true", | ||
"instantMaximumThroughput": "10000", | ||
"softAllowedMaximumThroughput": "1000000", | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...soft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"updateThroughputParameters": { | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"throughput": 400 | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/throughputSettings/default", | ||
"name": "default", | ||
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"throughput": 400, | ||
"minimumThroughput": "400", | ||
"offerReplacePending": "true", | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
...r/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableCreateUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"tableName": "tableName", | ||
"createUpdateCassandraTableParameters": { | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"id": "tableName", | ||
"defaultTtl": 100, | ||
"schema": { | ||
"columns": [ | ||
{ | ||
"name": "columnA", | ||
"type": "Ascii" | ||
} | ||
], | ||
"partitionKeys": [ | ||
{ | ||
"name": "columnA" | ||
} | ||
], | ||
"clusterKeys": [ | ||
{ | ||
"name": "columnA", | ||
"orderBy": "Asc" | ||
} | ||
] | ||
} | ||
}, | ||
"options": {} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/ddb1/cassandraKeyspaces/keyspaceName/cassandraTables/tableName", | ||
"name": "tableName", | ||
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables", | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"id": "tableName", | ||
"defaultTtl": 100, | ||
"schema": { | ||
"columns": [ | ||
{ | ||
"name": "columnA", | ||
"type": "Ascii" | ||
} | ||
], | ||
"partitionKeys": [ | ||
{ | ||
"name": "columnA" | ||
} | ||
], | ||
"clusterKeys": [ | ||
{ | ||
"name": "columnA", | ||
"orderBy": "Asc" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBCassandraTableDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2024-08-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"tableName": "tableName" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15", | ||
"Azure-AsyncOperation": "https://centraluseuap.management.azure.com/subscriptions/d1eb41bc-1b7f-4404-bd2a-8568c222852d/providers/Microsoft.DocumentDB/locations/centraluseuap/operationsStatus/fdd04b7b-86d5-460f-b19e-386230348bcc?api-version=2024-08-15" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.