Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2023-09-15 #25266

Merged
merged 21 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
73690c8
Adds base for updating Microsoft.DocumentDB from version stable/2023-…
rsharm7 Aug 10, 2023
711912c
Updates readme
rsharm7 Aug 10, 2023
2b1e6d0
Updates API version in new specs and examples
rsharm7 Aug 10, 2023
d94d249
burst capacity changes (#25116) (#25267)
rsharm7 Aug 10, 2023
c4005b6
Updated cosmos-db.json to include "type" of "Operation"
vchske Aug 11, 2023
4d0b0bb
Update cosmos-db.json to reflect customerManagedKeyStatus.
AdrianSibajaRetana Aug 11, 2023
c24b1e3
lint fix (#25336)
rsharm7 Aug 16, 2023
6d78397
Fixed typo and removed semantic reference
AdrianSibajaRetana Aug 16, 2023
550aee4
Validation fix (#25338)
rsharm7 Aug 16, 2023
d9ce739
Added CustomerManagedKeyStatus enum and correspondent references.
AdrianSibajaRetana Aug 16, 2023
5a7e164
Update custom-words.txt
AdrianSibajaRetana Aug 17, 2023
97a80c2
Update cosmos-db.json
AdrianSibajaRetana Aug 17, 2023
51ad5ff
rollback lint fix
rsharm7 Aug 30, 2023
7dcbe10
suppressing avocado errors
rsharm7 Sep 7, 2023
5b5c652
Merge branch 'main' of github.com:Azure/azure-rest-api-specs into rsh…
rsharm7 Sep 7, 2023
c485a77
Added space to rerun checks.
AdrianSibajaRetana Sep 7, 2023
061d008
prettier fix
rsharm7 Sep 8, 2023
4e83965
undo suppression as it is not working
rsharm7 Sep 8, 2023
2f31a8a
Added clarification for throughput/autoscaleSettings option
carjackson-msft Sep 12, 2023
10400aa
Merge branch 'main' of github.com:Azure/azure-rest-api-specs into rsh…
rsharm7 Sep 21, 2023
06e5fb4
removing added space
rsharm7 Sep 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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