-
Notifications
You must be signed in to change notification settings - Fork 5.6k
PostgreSQL Flexible Server GA Swagger API changes #14653
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c3c1f38
Copy existing files from 2020-02-14-preview to 2021-06-01-preview and…
xunsun-commits e3914c6
Copy existing Databases API files from 2020-11-05-preview to 2021-06-01
xunsun-commits d5d6614
Copy existing VNET API files from 2021-03-31-privatepreview to 2021-0…
xunsun-commits 46fbaf5
Copy existing ServerRestartWithFailover.json file from https://github…
xunsun-commits 0cd5b20
Copy remaining existing change of restartWithFailover
xunsun-commits 40127b5
Update files of 2021-06-01 and 2021-06-01-preview to the latest API
xunsun-commits 665cc11
Revert readme.md's PostgreSQLManagementClient default version back to…
xunsun-commits fbcf520
As customer requested, add PUT to configurations API
xunsun-commits b82193d
Fixed 2021-06-01-preview some examples use 2020-02-14-preview
xunsun-commits File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
180 changes: 180 additions & 0 deletions
180
...Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/examples/CapabilitiesByLocation.json
This file contains hidden or 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,180 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-02-14-preview", | ||
| "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
| "locationName": "WestUS" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "zone": "none", | ||
| "supportedFlexibleServerEditions": [ | ||
| { | ||
| "name": "Burstable", | ||
| "supportedStorageEditions": [ | ||
| { | ||
| "name": "ManagedDisk", | ||
| "supportedStorageMB": [ | ||
| { | ||
| "name": "32768", | ||
| "supportedIops": 120, | ||
| "storageSizeMB": 32768 | ||
| }, | ||
| { | ||
| "name": "65536", | ||
| "supportedIops": 240, | ||
| "storageSizeMB": 65536 | ||
| }, | ||
| { | ||
| "name": "131072", | ||
| "supportedIops": 500, | ||
| "storageSizeMB": 131072 | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "supportedServerVersions": [ | ||
| { | ||
| "name": "12", | ||
| "supportedVcores": [ | ||
| { | ||
| "name": "Standard_B1s", | ||
| "vCores": 1, | ||
| "supportedIops": 320, | ||
| "supportedMemoryPerVcoreMB": 1024 | ||
| }, | ||
| { | ||
| "name": "Standard_B1ms", | ||
| "vCores": 1, | ||
| "supportedIops": 640, | ||
| "supportedMemoryPerVcoreMB": 2048 | ||
| }, | ||
| { | ||
| "name": "Standard_B2s", | ||
| "vCores": 2, | ||
| "supportedIops": 1280, | ||
| "supportedMemoryPerVcoreMB": 2048 | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "zone": "1", | ||
| "supportedFlexibleServerEditions": [ | ||
| { | ||
| "name": "Burstable", | ||
| "supportedStorageEditions": [ | ||
| { | ||
| "name": "ManagedDisk", | ||
| "supportedStorageMB": [ | ||
| { | ||
| "name": "32768", | ||
| "supportedIops": 120, | ||
| "storageSizeMB": 32768 | ||
| }, | ||
| { | ||
| "name": "65536", | ||
| "supportedIops": 240, | ||
| "storageSizeMB": 65536 | ||
| }, | ||
| { | ||
| "name": "131072", | ||
| "supportedIops": 500, | ||
| "storageSizeMB": 131072 | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "supportedServerVersions": [ | ||
| { | ||
| "name": "12", | ||
| "supportedVcores": [ | ||
| { | ||
| "name": "Standard_B1s", | ||
| "vCores": 1, | ||
| "supportedIops": 320, | ||
| "supportedMemoryPerVcoreMB": 1024 | ||
| }, | ||
| { | ||
| "name": "Standard_B1ms", | ||
| "vCores": 1, | ||
| "supportedIops": 640, | ||
| "supportedMemoryPerVcoreMB": 2048 | ||
| }, | ||
| { | ||
| "name": "Standard_B2s", | ||
| "vCores": 2, | ||
| "supportedIops": 1280, | ||
| "supportedMemoryPerVcoreMB": 2048 | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "zone": "2", | ||
| "supportedFlexibleServerEditions": [ | ||
| { | ||
| "name": "Burstable", | ||
| "supportedStorageEditions": [ | ||
| { | ||
| "name": "ManagedDisk", | ||
| "supportedStorageMB": [ | ||
| { | ||
| "name": "32768", | ||
| "supportedIops": 120, | ||
| "storageSizeMB": 32768 | ||
| }, | ||
| { | ||
| "name": "65536", | ||
| "supportedIops": 240, | ||
| "storageSizeMB": 65536 | ||
| }, | ||
| { | ||
| "name": "131072", | ||
| "supportedIops": 500, | ||
| "storageSizeMB": 131072 | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "supportedServerVersions": [ | ||
| { | ||
| "name": "12", | ||
| "supportedVcores": [ | ||
| { | ||
| "name": "Standard_B1s", | ||
| "vCores": 1, | ||
| "supportedIops": 320, | ||
| "supportedMemoryPerVcoreMB": 1024 | ||
| }, | ||
| { | ||
| "name": "Standard_B1ms", | ||
| "vCores": 1, | ||
| "supportedIops": 640, | ||
| "supportedMemoryPerVcoreMB": 2048 | ||
| }, | ||
| { | ||
| "name": "Standard_B2s", | ||
| "vCores": 2, | ||
| "supportedIops": 1280, | ||
| "supportedMemoryPerVcoreMB": 2048 | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
20 changes: 20 additions & 0 deletions
20
.../Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/examples/CheckNameAvailability.json
This file contains hidden or 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,20 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-02-14-preview", | ||
| "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff", | ||
| "nameAvailabilityRequest": { | ||
| "name": "name1", | ||
| "type": "Microsoft.DBforPostgreSQL/flexibleServers" | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "nameAvailable": true, | ||
| "message": "", | ||
| "name": "name1", | ||
| "type": "Microsoft.DBforPostgreSQL/flexibleServers" | ||
| } | ||
| } | ||
| } | ||
| } | ||
26 changes: 26 additions & 0 deletions
26
...nager/Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/examples/ConfigurationGet.json
This file contains hidden or 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": { | ||
| "configurationName": "array_nulls", | ||
| "serverName": "testserver", | ||
| "resourceGroupName": "testrg", | ||
| "api-version": "2021-06-01-preview", | ||
| "subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "properties": { | ||
| "value": "on", | ||
| "description": "Enable input of NULL elements in arrays.", | ||
| "defaultValue": "on", | ||
| "dataType": "Boolean", | ||
| "allowedValues": "on,off", | ||
| "source": "system-default" | ||
| }, | ||
| "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", | ||
| "name": "array_nulls", | ||
| "type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.