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

[CosmosDB] Adding apiVersion 2021-07-01-preview #14817

Merged
merged 36 commits into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
12ab9a3
Create new folder for 2021-07-01-preview api
ajparule Jun 15, 2021
e5de446
Adding view operations
ajparule Jun 15, 2021
d7e1ba9
change api version from stable 2021-06-15 to preview 2021-07-01
ajparule Jun 15, 2021
a3d45b8
Merging previous stable +preview version changes
ajparule Jun 16, 2021
54376b8
prettier fix
ajparule Aug 11, 2021
919bdbe
Avocado fix
ajparule Aug 11, 2021
27f7176
ModelValidation fix
ajparule Aug 11, 2021
7c98d0e
resolve conflict
ajparule Aug 11, 2021
bfa04a8
Merge branch 'main' into cassandra_mv_final
ajparule Aug 11, 2021
dbe752e
Update readme.md
ajparule Aug 11, 2021
acff8d9
Merge branch 'cassandra_mv_final' of https://github.com/ajparule/azur…
ajparule Aug 11, 2021
c62d153
Fixing lint diff error
ajparule Aug 19, 2021
f03b007
fix error
ajparule Aug 20, 2021
9922593
Fixing the lint errors due to changes in the stable version
kavskalyan Aug 20, 2021
c9f8c50
Fixing refs
kavskalyan Aug 20, 2021
a5bcb2d
Fix lintdiff
ajparule Aug 23, 2021
a0d22ad
Merge branch 'cassandra_mv_final' of https://github.com/ajparule/azur…
ajparule Aug 23, 2021
be994fe
test commit
Aug 23, 2021
6d21dbc
initial changes for GraphResources
Aug 23, 2021
2c94af9
some fixes
Aug 23, 2021
bbeeca2
CI fixes
Aug 24, 2021
736a876
nit
Aug 24, 2021
c66cc63
nit
Aug 24, 2021
1f6db8e
revert a not required change
Aug 24, 2021
9a9381d
add 200 response code for delete operation
ajparule Aug 24, 2021
5974c14
Merge branch 'cassandra_mv_final' of https://github.com/ajparule/azur…
ajparule Aug 24, 2021
7306efd
Fix RESPONSE_STATUS_CODE_NOT_IN_EXAMPLE
ajparule Aug 24, 2021
05e8758
services apis
Aug 24, 2021
65dafe6
renaming graphapicompute endpoint
Aug 24, 2021
6d5a73f
swagger changes for DiagnosticLogSettings
samahana Aug 24, 2021
176b081
prettier and ModelValidatin changes
samahana Aug 24, 2021
1d5a198
nit
samahana Aug 24, 2021
c782265
removing throughput operations
Aug 25, 2021
6acf584
update readmes
Sep 3, 2021
b8dbf8c
address arm comments
Sep 8, 2021
bb0d240
address comments
Sep 8, 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": "2021-07-01-preview",
"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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-01-preview",
"subscriptionId": "subid",
"keyspaceName": "keyspaceName",
"tableName": "tableName"
},
"responses": {
"204": {},
"202": {}
}
}
Loading