-
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.
Adding support for analytical storage schema types (#14255)
* introducing new api version 2021-05-15 * updating api versions * adding definitions & examples for AnalyticalStorageConfiguration * adding a forgotten entry to an example json file * fixing bug * adding swagger files to readme * fixing spelling error Co-authored-by: Tom Swedlund <toswedlu@microsoft.com>
- Loading branch information
1 parent
67528b3
commit 98786a3
Showing
147 changed files
with
15,687 additions
and
1 deletion.
There are no files selected for viewing
8,624 changes: 8,624 additions & 0 deletions
8,624
...fication/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-05-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/2021-05-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": "2021-05-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": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ager/Microsoft.DocumentDB/stable/2021-05-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,13 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-05-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...manager/Microsoft.DocumentDB/stable/2021-05-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": "2021-05-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/2021-05-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": "2021-05-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" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...ft.DocumentDB/stable/2021-05-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,29 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-05-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": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...mentDB/stable/2021-05-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,26 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-05-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": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...crosoft.DocumentDB/stable/2021-05-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,30 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-05-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", | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...soft.DocumentDB/stable/2021-05-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": "2021-05-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/2021-05-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": "2021-05-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": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...manager/Microsoft.DocumentDB/stable/2021-05-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,14 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-05-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"tableName": "tableName" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...ce-manager/Microsoft.DocumentDB/stable/2021-05-15/examples/CosmosDBCassandraTableGet.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,49 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "ddb1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-05-15", | ||
"subscriptionId": "subid", | ||
"keyspaceName": "keyspaceName", | ||
"tableName": "tableName" | ||
}, | ||
"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" | ||
} | ||
] | ||
}, | ||
"_rid": "PD5DALigDgw=", | ||
"_ts": 1459200611, | ||
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\"" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.