Skip to content

Commit 261d0e3

Browse files
PostgreSQL Flexible Server GA Swagger API changes (Azure#14653)
* Copy existing files from 2020-02-14-preview to 2021-06-01-preview and 2021-06-01 * Copy existing Databases API files from 2020-11-05-preview to 2021-06-01 * Copy existing VNET API files from 2021-03-31-privatepreview to 2021-06-01 * Copy existing ServerRestartWithFailover.json file from Azure@905c382 to 2021-06-01-preview and 2021-06-01 * Copy remaining existing change of restartWithFailover * Update files of 2021-06-01 and 2021-06-01-preview to the latest API * Revert readme.md's PostgreSQLManagementClient default version back to package-2020-01-01. Reason is that the CSharp md file hasn't support flexible server yet, so the CSharp build will fail in latest version. * As customer requested, add PUT to configurations API * Fixed 2021-06-01-preview some examples use 2020-02-14-preview
1 parent a71207a commit 261d0e3

File tree

60 files changed

+10965
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+10965
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01-preview",
4+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
5+
"locationName": "WestUS"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"zone": "none",
13+
"supportedFlexibleServerEditions": [
14+
{
15+
"name": "Burstable",
16+
"supportedStorageEditions": [
17+
{
18+
"name": "ManagedDisk",
19+
"supportedStorageMB": [
20+
{
21+
"name": "32768",
22+
"supportedIops": 120,
23+
"storageSizeMB": 32768
24+
},
25+
{
26+
"name": "65536",
27+
"supportedIops": 240,
28+
"storageSizeMB": 65536
29+
},
30+
{
31+
"name": "131072",
32+
"supportedIops": 500,
33+
"storageSizeMB": 131072
34+
}
35+
]
36+
}
37+
],
38+
"supportedServerVersions": [
39+
{
40+
"name": "12",
41+
"supportedVcores": [
42+
{
43+
"name": "Standard_B1s",
44+
"vCores": 1,
45+
"supportedIops": 320,
46+
"supportedMemoryPerVcoreMB": 1024
47+
},
48+
{
49+
"name": "Standard_B1ms",
50+
"vCores": 1,
51+
"supportedIops": 640,
52+
"supportedMemoryPerVcoreMB": 2048
53+
},
54+
{
55+
"name": "Standard_B2s",
56+
"vCores": 2,
57+
"supportedIops": 1280,
58+
"supportedMemoryPerVcoreMB": 2048
59+
}
60+
]
61+
}
62+
]
63+
}
64+
]
65+
},
66+
{
67+
"zone": "1",
68+
"supportedFlexibleServerEditions": [
69+
{
70+
"name": "Burstable",
71+
"supportedStorageEditions": [
72+
{
73+
"name": "ManagedDisk",
74+
"supportedStorageMB": [
75+
{
76+
"name": "32768",
77+
"supportedIops": 120,
78+
"storageSizeMB": 32768
79+
},
80+
{
81+
"name": "65536",
82+
"supportedIops": 240,
83+
"storageSizeMB": 65536
84+
},
85+
{
86+
"name": "131072",
87+
"supportedIops": 500,
88+
"storageSizeMB": 131072
89+
}
90+
]
91+
}
92+
],
93+
"supportedServerVersions": [
94+
{
95+
"name": "12",
96+
"supportedVcores": [
97+
{
98+
"name": "Standard_B1s",
99+
"vCores": 1,
100+
"supportedIops": 320,
101+
"supportedMemoryPerVcoreMB": 1024
102+
},
103+
{
104+
"name": "Standard_B1ms",
105+
"vCores": 1,
106+
"supportedIops": 640,
107+
"supportedMemoryPerVcoreMB": 2048
108+
},
109+
{
110+
"name": "Standard_B2s",
111+
"vCores": 2,
112+
"supportedIops": 1280,
113+
"supportedMemoryPerVcoreMB": 2048
114+
}
115+
]
116+
}
117+
]
118+
}
119+
]
120+
},
121+
{
122+
"zone": "2",
123+
"supportedFlexibleServerEditions": [
124+
{
125+
"name": "Burstable",
126+
"supportedStorageEditions": [
127+
{
128+
"name": "ManagedDisk",
129+
"supportedStorageMB": [
130+
{
131+
"name": "32768",
132+
"supportedIops": 120,
133+
"storageSizeMB": 32768
134+
},
135+
{
136+
"name": "65536",
137+
"supportedIops": 240,
138+
"storageSizeMB": 65536
139+
},
140+
{
141+
"name": "131072",
142+
"supportedIops": 500,
143+
"storageSizeMB": 131072
144+
}
145+
]
146+
}
147+
],
148+
"supportedServerVersions": [
149+
{
150+
"name": "12",
151+
"supportedVcores": [
152+
{
153+
"name": "Standard_B1s",
154+
"vCores": 1,
155+
"supportedIops": 320,
156+
"supportedMemoryPerVcoreMB": 1024
157+
},
158+
{
159+
"name": "Standard_B1ms",
160+
"vCores": 1,
161+
"supportedIops": 640,
162+
"supportedMemoryPerVcoreMB": 2048
163+
},
164+
{
165+
"name": "Standard_B2s",
166+
"vCores": 2,
167+
"supportedIops": 1280,
168+
"supportedMemoryPerVcoreMB": 2048
169+
}
170+
]
171+
}
172+
]
173+
}
174+
]
175+
}
176+
]
177+
}
178+
}
179+
}
180+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-06-01-preview",
4+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
5+
"nameAvailabilityRequest": {
6+
"name": "name1",
7+
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"nameAvailable": true,
14+
"message": "",
15+
"name": "name1",
16+
"type": "Microsoft.DBforPostgreSQL/flexibleServers"
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"configurationName": "array_nulls",
4+
"serverName": "testserver",
5+
"resourceGroupName": "testrg",
6+
"api-version": "2021-06-01-preview",
7+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"properties": {
13+
"value": "on",
14+
"description": "Enable input of NULL elements in arrays.",
15+
"defaultValue": "on",
16+
"dataType": "Boolean",
17+
"allowedValues": "on,off",
18+
"source": "system-default"
19+
},
20+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforPostgreSQL/flexibleServers/testserver/configurations/array_nulls",
21+
"name": "array_nulls",
22+
"type": "Microsoft.DBforPostgreSQL/flexibleServers/configurations"
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)