Skip to content

Commit

Permalink
Fix Swagger - Add "resource" layer in the throughput read response (A…
Browse files Browse the repository at this point in the history
…zure#7885)

* Add new properties and fix CI

* Remove unrelated properties

* Remove unrelated properties

* revert unrelated change

* Add resource layer in the throughput read response
  • Loading branch information
bizarreWizard authored and AnuTalluri committed Dec 11, 2019
1 parent de94de1 commit 21be104
Show file tree
Hide file tree
Showing 19 changed files with 155 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4566,11 +4566,18 @@
"ThroughputSettingsGetProperties": {
"description": "The properties of an Azure Cosmos DB resource throughput",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ThroughputSettingsResource"
"properties": {
"resource": {
"allOf": [
{
"$ref": "#/definitions/ThroughputSettingsResource"
},
{
"$ref": "#/definitions/ExtendedResourceProperties"
}
]
}
]
}
},
"SqlDatabaseGetResults": {
"description": "An Azure Cosmos DB SQL database.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@
"name": "default",
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/cassandraTables/throughputSettings",
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@
"location": "West US",
"tags": {},
"properties": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true"
"resource": {
"throughput": 400,
"minimumThroughput": "400",
"offerReplacePending": "true",
"_rid": "PD5DALigDgw=",
"_ts": 1459200611,
"_etag": "\"00005900-0000-0000-0000-56f9a2630000\""
}
}
}
},
Expand Down

0 comments on commit 21be104

Please sign in to comment.