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 preview/2021-04-01-preview #13710

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
f4b7cca
Adds base for updating Microsoft.DocumentDB from version preview/2021…
amisi01 Mar 9, 2021
267708c
Updates readme
amisi01 Mar 9, 2021
034bbf1
Updates API version in new specs and examples
amisi01 Mar 9, 2021
f09f50e
Adding new API for fetching backup information(such as latest restora…
amisi01 Mar 9, 2021
5dd69c0
Adding new API for fetching backup information(such as latest restora…
amisi01 Mar 9, 2021
af5f907
Adding new API for fetching backup information(such as latest restora…
amisi01 Mar 9, 2021
3835ba7
Merge branch 'master' into users/amisi/latestrestorablets/dev-cosmos-…
amisi01 Mar 29, 2021
224c483
Merge pull request #8 from Azure/master
MehaKaushik Apr 12, 2021
8cc1ec7
adding Services APIs
Apr 12, 2021
3526fb3
more changes
Apr 13, 2021
07527d1
updated examples
Apr 13, 2021
6dc058d
Merge pull request #3 from Azure/master
amisi01 Apr 13, 2021
95a5c6b
Merge branch 'master' into users/amisi/latestrestorablets/dev-cosmos-…
amisi01 Apr 13, 2021
dabf5af
Merge branch 'users/amisi/latestrestorablets/dev-cosmos-db-Microsoft.…
MehaKaushik Apr 13, 2021
6fde659
Merge pull request #4 from MehaKaushik/master
MehaKaushik Apr 13, 2021
7ef1161
prettier and readme updates
Apr 14, 2021
da5099c
Merge pull request #5 from MehaKaushik/master
MehaKaushik Apr 14, 2021
78e53e1
importing changes missed from old versions
Apr 15, 2021
086ee33
Merge pull request #6 from MehaKaushik/master
MehaKaushik Apr 15, 2021
2ec5d18
nits
Apr 15, 2021
ac11680
Merge pull request #7 from MehaKaushik/master
MehaKaushik Apr 15, 2021
c73efb7
fixing semantic validation
Apr 16, 2021
c8b77e5
Merge pull request #8 from MehaKaushik/master
MehaKaushik Apr 16, 2021
fcaa5fa
fixing linter
Apr 19, 2021
e9be3ab
Merge pull request #9 from MehaKaushik/master
MehaKaushik Apr 19, 2021
5d6d60c
fix
Apr 19, 2021
6290dca
Merge pull request #10 from MehaKaushik/master
MehaKaushik Apr 19, 2021
13c13ed
more fixes
Apr 19, 2021
b9851f1
Merge pull request #11 from MehaKaushik/master
MehaKaushik Apr 19, 2021
281a780
adding list operation and default error response
Apr 19, 2021
706ca85
specifying format integer
Apr 19, 2021
f8eb88e
Merge pull request #12 from MehaKaushik/master
MehaKaushik Apr 19, 2021
d54ec66
attempt to fix sdks
Apr 19, 2021
1931564
Merge pull request #13 from MehaKaushik/master
MehaKaushik Apr 19, 2021
cebd1b7
address arm comments and fix ci
Apr 21, 2021
5caa17b
Merge pull request #14 from MehaKaushik/master
MehaKaushik Apr 21, 2021
f7f68be
fixes
Apr 21, 2021
2ae38d0
Merge pull request #15 from MehaKaushik/master
MehaKaushik Apr 21, 2021
8e463ec
fix
Apr 21, 2021
1b5a076
Merge pull request #16 from MehaKaushik/master
MehaKaushik Apr 21, 2021
9b53b61
try to fix ci
Apr 21, 2021
546e712
Merge pull request #17 from MehaKaushik/master
MehaKaushik Apr 21, 2021
47eb5e2
fix examples
Apr 21, 2021
4b5eaf4
Merge pull request #18 from MehaKaushik/master
MehaKaushik Apr 21, 2021
19e57cd
.\services.json
Apr 22, 2021
4fb56a9
Merge pull request #19 from MehaKaushik/master
MehaKaushik Apr 22, 2021
15d323c
adding additionalProperties back to ServiceResouce
Apr 22, 2021
518b02e
Merge pull request #20 from MehaKaushik/master
MehaKaushik Apr 22, 2021
981632a
adding additionalProperties back to ServiceResouce
Apr 22, 2021
a13b527
Merge pull request #21 from MehaKaushik/master
MehaKaushik Apr 22, 2021
1b6ef2d
fix
Apr 22, 2021
d52b0f9
Merge pull request #22 from MehaKaushik/master
MehaKaushik Apr 22, 2021
8f35a00
fix sdks
Apr 22, 2021
1799963
Merge pull request #23 from MehaKaushik/master
MehaKaushik Apr 22, 2021
032c56d
fix linter
Apr 22, 2021
8c25d4b
Merge pull request #24 from MehaKaushik/master
MehaKaushik Apr 22, 2021
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,23 @@
{
"parameters": {
"api-version": "2014-04-01",
"subscriptionId": "subid",
"resourceGroupName": "rgName",
"accountName": "ddb1",
"databaseName": "databaseName",
"containerName": "containerName",
"location": {
"location": "North Europe"
}
},
"responses": {
"200": {
"body": {
"continuousBackupInformation": {
"latestRestorableTimestamp": "2021-02-05T02:40:50Z"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-01-preview",
"subscriptionId": "subid",
"keyspaceName": "keyspaceName"
},
"responses": {
"204": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-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\""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2021-04-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"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-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\""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-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": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"accountName": "ddb1",
"resourceGroupName": "rg1",
"api-version": "2021-04-01-preview",
"subscriptionId": "subid",
"keyspaceName": "keyspaceName",
"tableName": "tableName"
},
"responses": {
"204": {},
"202": {}
}
}
Loading