-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new API version 2021-05-12-privatepreview
- Loading branch information
zhj
committed
May 12, 2021
1 parent
68a4a97
commit 35cb543
Showing
24 changed files
with
5,011 additions
and
0 deletions.
There are no files selected for viewing
180 changes: 180 additions & 0 deletions
180
...ft.DBforPostgreSQL/preview/2021-05-12-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": "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
...oft.DBforPostgreSQL/preview/2021-05-12-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": "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
...icrosoft.DBforPostgreSQL/preview/2021-05-12-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": "2020-02-14-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/TestGroup/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls", | ||
"name": "array_nulls", | ||
"type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.