Skip to content

Commit

Permalink
add new API version 2021-05-12-privatepreview
Browse files Browse the repository at this point in the history
  • Loading branch information
zhj committed May 12, 2021
1 parent 68a4a97 commit 35cb543
Show file tree
Hide file tree
Showing 24 changed files with 5,011 additions and 0 deletions.
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
}
]
}
]
}
]
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit 35cb543

Please sign in to comment.