Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.DocumentDB to add versio…
Browse files Browse the repository at this point in the history
…n stable/2023-09-15 (#25266)

* Adds base for updating Microsoft.DocumentDB from version stable/2023-04-15 to version 2023-09-15

* Updates readme

* Updates API version in new specs and examples

* burst capacity changes (#25116) (#25267)

* burst capacity changes

* Updated cosmos-db.json to include "type" of "Operation"

* Update cosmos-db.json to reflect customerManagedKeyStatus.

* lint fix (#25336)

* Fixed typo and removed semantic reference

* Validation fix (#25338)

* lint fix

* validation fix

* Added CustomerManagedKeyStatus enum and correspondent references.

* Update custom-words.txt

* Update cosmos-db.json

* rollback lint fix

* suppressing avocado errors

* Added space to rerun checks.

* prettier fix

* undo suppression as it is not working

* Added clarification for throughput/autoscaleSettings option

* removing added space

---------

Co-authored-by: vchske <chskelt@microsoft.com>
Co-authored-by: AdrianSibajaRetana <54075415+AdrianSibajaRetana@users.noreply.github.com>
Co-authored-by: carjackson-msft <124716637+carjackson-msft@users.noreply.github.com>
  • Loading branch information
4 people authored Sep 22, 2023
1 parent 9307ada commit 4fa739f
Show file tree
Hide file tree
Showing 211 changed files with 25,186 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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=2023-09-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=2023-09-15"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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\""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2023-09-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"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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=2023-09-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=2023-09-15"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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=2023-09-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=2023-09-15"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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\""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2023-09-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=2023-09-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=2023-09-15"
}
}
}
}
Loading

0 comments on commit 4fa739f

Please sign in to comment.