-
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.
[Hub Generated] Review request for Microsoft.DocumentDB to add versio…
…n preview/2023-03-01-preview (#23081) * Adds base for updating Microsoft.DocumentDB from version preview/2022-11-15-preview to version 2023-03-01-preview * Updates readme * Updates API version in new specs and examples * Apply 2023-03-01-preview addditions * Apply mongocluster additions * Minor changes. * Fixes fo go and Lintdiff/descriptions. * Add back canceled provisioningState
- Loading branch information
1 parent
5342f41
commit ee157d6
Showing
262 changed files
with
30,860 additions
and
2 deletions.
There are no files selected for viewing
11,933 changes: 11,933 additions & 0 deletions
11,933
...cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2023-03-01-preview/cosmos-db.json
Large diffs are not rendered by default.
Oops, something went wrong.
506 changes: 506 additions & 0 deletions
506
...resource-manager/Microsoft.DocumentDB/preview/2023-03-01-preview/dataTransferService.json
Large diffs are not rendered by default.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
...DocumentDB/preview/2023-03-01-preview/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,41 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2023-03-01-preview", | ||
"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": { | ||
"headers": { | ||
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview", | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...osoft.DocumentDB/preview/2023-03-01-preview/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": "2023-03-01-preview", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": { | ||
"headers": { | ||
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview", | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...icrosoft.DocumentDB/preview/2023-03-01-preview/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": "2023-03-01-preview", | ||
"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
...crosoft.DocumentDB/preview/2023-03-01-preview/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": "2023-03-01-preview", | ||
"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
...ntDB/preview/2023-03-01-preview/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": "2023-03-01-preview", | ||
"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": { | ||
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview", | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...eview/2023-03-01-preview/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": "2023-03-01-preview", | ||
"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": { | ||
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview", | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ocumentDB/preview/2023-03-01-preview/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,30 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2023-03-01-preview", | ||
"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", | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...mentDB/preview/2023-03-01-preview/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,45 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2023-03-01-preview", | ||
"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": { | ||
"headers": { | ||
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview", | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview" | ||
} | ||
} | ||
} | ||
} |
84 changes: 84 additions & 0 deletions
84
...ft.DocumentDB/preview/2023-03-01-preview/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,84 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"tableName": "tableName", | ||
"createUpdateCassandraTableParameters": { | ||
"location": "West US", | ||
"tags": {}, | ||
"properties": { | ||
"resource": { | ||
"id": "tableName", | ||
"defaultTtl": 100, | ||
"analyticalStorageTtl": 500, | ||
"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, | ||
"analyticalStorageTtl": 500, | ||
"schema": { | ||
"columns": [ | ||
{ | ||
"name": "columnA", | ||
"type": "Ascii" | ||
} | ||
], | ||
"partitionKeys": [ | ||
{ | ||
"name": "columnA" | ||
} | ||
], | ||
"clusterKeys": [ | ||
{ | ||
"name": "columnA", | ||
"orderBy": "Asc" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview", | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview" | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...icrosoft.DocumentDB/preview/2023-03-01-preview/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": "2023-03-01-preview", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"tableName": "tableName" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": { | ||
"headers": { | ||
"azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview", | ||
"location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/operationsStatus/{operationId}?api-version=2023-03-01-preview" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.