forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swagger Changes for Get Recoverable Servers and create server with Ge…
…o-Restore. (Azure#14013) * Added Recoverable Servers API and GeoRestore API. * Fixed spell check and prettier * Fixed readme.md file issue and changed the postgreSQL to restore. * Fixed duplicate schema issue. * Fixed the mismatch with namespace names. * change the tag name from georestore to servers * Fixed the SDK validation issues. * Fixed objects w.r.t preview version * Fixed operation required properties. * Included 2020-04-10 in the SDK versions * Change the folder path.
- Loading branch information
1 parent
e9f1346
commit 732b133
Showing
27 changed files
with
5,249 additions
and
0 deletions.
There are no files selected for viewing
180 changes: 180 additions & 0 deletions
180
...ft.DBforPostgreSQL/preview/2021-04-10-privatepreview/examples/CapabilitiesByLocation.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,180 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-04-10-privatepreview", | ||
"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
...oft.DBforPostgreSQL/preview/2021-04-10-privatepreview/examples/CheckNameAvailability.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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-04-10-privatepreview", | ||
"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
...icrosoft.DBforPostgreSQL/preview/2021-04-10-privatepreview/examples/ConfigurationGet.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": { | ||
"configurationName": "array_nulls", | ||
"serverName": "testserver", | ||
"resourceGroupName": "TestGroup", | ||
"api-version": "2021-04-10-privatepreview", | ||
"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/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", | ||
"name": "array_nulls", | ||
"type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.