Skip to content

Commit 877e69b

Browse files
authored
OSSRDBMS Swagger completeness related changes (#11685)
* OSSRDBMS Swagger completeness related changes * OSSRDBMS Swagger completeness related changes * OSSRDBMS Swagger completeness related changes * OSSRDBMS Swagger completeness related changes
1 parent 8d9a734 commit 877e69b

32 files changed

+3511
-81
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"parameters": {
3+
"serverName": "mariadbtestsvc1",
4+
"resourceGroupName": "testrg",
5+
"api-version": "2018-06-01-preview",
6+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
7+
"value": [
8+
{
9+
"name": "event_scheduler",
10+
"properties": {
11+
"value": "OFF"
12+
}
13+
},
14+
{
15+
"name": "div_precision_increment",
16+
"properties": {
17+
"value": "4"
18+
}
19+
}
20+
]
21+
},
22+
"responses": {
23+
"200": {
24+
"body": {
25+
"value": [
26+
{
27+
"properties": {
28+
"value": "OFF",
29+
"description": "Indicates the status of the Event Scheduler.",
30+
"defaultValue": "OFF",
31+
"dataType": "Enumeration",
32+
"allowedValues": "ON,OFF,DISABLED",
33+
"source": "system-default"
34+
},
35+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/event_scheduler",
36+
"name": "event_scheduler",
37+
"type": "Microsoft.DBforMariaDB/servers/configurations"
38+
},
39+
{
40+
"properties": {
41+
"value": "4",
42+
"description": "Number of digits by which to increase the scale of the result of division operations.",
43+
"defaultValue": "4",
44+
"dataType": "Integer",
45+
"allowedValues": "0-30",
46+
"source": "system-default"
47+
},
48+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/mariadbtestsvc1/configurations/div_precision_increment",
49+
"name": "div_precision_increment",
50+
"type": "Microsoft.DBforMariaDB/servers/configurations"
51+
}
52+
]
53+
}
54+
},
55+
"202": {}
56+
}
57+
}

specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/PerformanceTiersListByLocation.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
"value": [
1111
{
1212
"id": "Basic",
13+
"minStorageMB": 5120,
14+
"maxStorageMB": 2097152,
15+
"minBackupRetentionDays": 7,
16+
"maxBackupRetentionDays": 35,
17+
"minLargeStorageMB": 0,
18+
"maxLargeStorageMB": 0,
1319
"serviceLevelObjectives": [
1420
{
1521
"edition": "Basic",
@@ -35,6 +41,12 @@
3541
},
3642
{
3743
"id": "GeneralPurpose",
44+
"minStorageMB": 5120,
45+
"maxStorageMB": 16777216,
46+
"minBackupRetentionDays": 7,
47+
"maxBackupRetentionDays": 35,
48+
"minLargeStorageMB": 0,
49+
"maxLargeStorageMB": 16777216,
3850
"serviceLevelObjectives": [
3951
{
4052
"edition": "GeneralPurpose",
@@ -85,6 +97,77 @@
8597
"minBackupRetentionDays": 7,
8698
"maxBackupRetentionDays": 35,
8799
"id": "GP_Gen5_32"
100+
},
101+
{
102+
"edition": "GeneralPurpose",
103+
"vCore": 32,
104+
"hardwareGeneration": "Gen5",
105+
"minStorageMB": 5120,
106+
"maxStorageMB": 2097152,
107+
"minBackupRetentionDays": 7,
108+
"maxBackupRetentionDays": 35,
109+
"id": "GP_Gen5_64"
110+
}
111+
]
112+
},
113+
{
114+
"id": "MemoryOptimized",
115+
"minStorageMB": 5120,
116+
"maxStorageMB": 16777216,
117+
"minBackupRetentionDays": 7,
118+
"maxBackupRetentionDays": 35,
119+
"minLargeStorageMB": 0,
120+
"maxLargeStorageMB": 16777216,
121+
"serviceLevelObjectives": [
122+
{
123+
"edition": "MemoryOptimized",
124+
"vCore": 2,
125+
"hardwareGeneration": "Gen5",
126+
"minStorageMB": 5120,
127+
"maxStorageMB": 2097152,
128+
"minBackupRetentionDays": 7,
129+
"maxBackupRetentionDays": 35,
130+
"id": "MO_Gen5_2"
131+
},
132+
{
133+
"edition": "MemoryOptimized",
134+
"vCore": 4,
135+
"hardwareGeneration": "Gen5",
136+
"minStorageMB": 5120,
137+
"maxStorageMB": 2097152,
138+
"minBackupRetentionDays": 7,
139+
"maxBackupRetentionDays": 35,
140+
"id": "MO_Gen5_4"
141+
},
142+
{
143+
"edition": "MemoryOptimized",
144+
"vCore": 8,
145+
"hardwareGeneration": "Gen5",
146+
"minStorageMB": 5120,
147+
"maxStorageMB": 2097152,
148+
"minBackupRetentionDays": 7,
149+
"maxBackupRetentionDays": 35,
150+
"id": "MO_Gen5_8"
151+
},
152+
{
153+
"edition": "MemoryOptimized",
154+
"vCore": 16,
155+
"hardwareGeneration": "Gen5",
156+
"minStorageMB": 5120,
157+
"maxStorageMB": 2097152,
158+
"minBackupRetentionDays": 7,
159+
"maxBackupRetentionDays": 35,
160+
"id": "MO_Gen5_16"
161+
},
162+
{
163+
"edition": "MemoryOptimized",
164+
"vCore": 32,
165+
"hardwareGeneration": "Gen5",
166+
"minStorageMB": 5120,
167+
"maxStorageMB": 2097152,
168+
"minBackupRetentionDays": 7,
169+
"maxBackupRetentionDays": 35,
170+
"id": "MO_Gen5_32"
88171
}
89172
]
90173
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
{
2+
"parameters": {
3+
"serverName": "mariadbtestsvc1",
4+
"resourceGroupName": "testrg",
5+
"api-version": "2018-06-01-preview",
6+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "Basic",
14+
"minStorageMB": 5120,
15+
"maxStorageMB": 2097152,
16+
"minBackupRetentionDays": 7,
17+
"maxBackupRetentionDays": 35,
18+
"minLargeStorageMB": 0,
19+
"maxLargeStorageMB": 0,
20+
"serviceLevelObjectives": [
21+
{
22+
"edition": "Basic",
23+
"vCore": 1,
24+
"hardwareGeneration": "Gen5",
25+
"minStorageMB": 5120,
26+
"maxStorageMB": 1048576,
27+
"minBackupRetentionDays": 7,
28+
"maxBackupRetentionDays": 35,
29+
"id": "B_Gen5_1"
30+
},
31+
{
32+
"edition": "Basic",
33+
"vCore": 2,
34+
"hardwareGeneration": "Gen5",
35+
"minStorageMB": 5120,
36+
"maxStorageMB": 1048576,
37+
"minBackupRetentionDays": 7,
38+
"maxBackupRetentionDays": 35,
39+
"id": "B_Gen5_2"
40+
}
41+
]
42+
},
43+
{
44+
"id": "GeneralPurpose",
45+
"minStorageMB": 5120,
46+
"maxStorageMB": 16777216,
47+
"minBackupRetentionDays": 7,
48+
"maxBackupRetentionDays": 35,
49+
"minLargeStorageMB": 0,
50+
"maxLargeStorageMB": 16777216,
51+
"serviceLevelObjectives": [
52+
{
53+
"edition": "GeneralPurpose",
54+
"vCore": 2,
55+
"hardwareGeneration": "Gen5",
56+
"minStorageMB": 5120,
57+
"maxStorageMB": 2097152,
58+
"minBackupRetentionDays": 7,
59+
"maxBackupRetentionDays": 35,
60+
"id": "GP_Gen5_2"
61+
},
62+
{
63+
"edition": "GeneralPurpose",
64+
"vCore": 4,
65+
"hardwareGeneration": "Gen5",
66+
"minStorageMB": 5120,
67+
"maxStorageMB": 2097152,
68+
"minBackupRetentionDays": 7,
69+
"maxBackupRetentionDays": 35,
70+
"id": "GP_Gen5_4"
71+
},
72+
{
73+
"edition": "GeneralPurpose",
74+
"vCore": 8,
75+
"hardwareGeneration": "Gen5",
76+
"minStorageMB": 5120,
77+
"maxStorageMB": 2097152,
78+
"minBackupRetentionDays": 7,
79+
"maxBackupRetentionDays": 35,
80+
"id": "GP_Gen5_8"
81+
},
82+
{
83+
"edition": "GeneralPurpose",
84+
"vCore": 16,
85+
"hardwareGeneration": "Gen5",
86+
"minStorageMB": 5120,
87+
"maxStorageMB": 2097152,
88+
"minBackupRetentionDays": 7,
89+
"maxBackupRetentionDays": 35,
90+
"id": "GP_Gen5_16"
91+
},
92+
{
93+
"edition": "GeneralPurpose",
94+
"vCore": 32,
95+
"hardwareGeneration": "Gen5",
96+
"minStorageMB": 5120,
97+
"maxStorageMB": 2097152,
98+
"minBackupRetentionDays": 7,
99+
"maxBackupRetentionDays": 35,
100+
"id": "GP_Gen5_32"
101+
},
102+
{
103+
"edition": "GeneralPurpose",
104+
"vCore": 32,
105+
"hardwareGeneration": "Gen5",
106+
"minStorageMB": 5120,
107+
"maxStorageMB": 2097152,
108+
"minBackupRetentionDays": 7,
109+
"maxBackupRetentionDays": 35,
110+
"id": "GP_Gen5_64"
111+
}
112+
]
113+
},
114+
{
115+
"id": "MemoryOptimized",
116+
"minStorageMB": 5120,
117+
"maxStorageMB": 16777216,
118+
"minBackupRetentionDays": 7,
119+
"maxBackupRetentionDays": 35,
120+
"minLargeStorageMB": 0,
121+
"maxLargeStorageMB": 16777216,
122+
"serviceLevelObjectives": [
123+
{
124+
"edition": "MemoryOptimized",
125+
"vCore": 2,
126+
"hardwareGeneration": "Gen5",
127+
"minStorageMB": 5120,
128+
"maxStorageMB": 2097152,
129+
"minBackupRetentionDays": 7,
130+
"maxBackupRetentionDays": 35,
131+
"id": "MO_Gen5_2"
132+
},
133+
{
134+
"edition": "MemoryOptimized",
135+
"vCore": 4,
136+
"hardwareGeneration": "Gen5",
137+
"minStorageMB": 5120,
138+
"maxStorageMB": 2097152,
139+
"minBackupRetentionDays": 7,
140+
"maxBackupRetentionDays": 35,
141+
"id": "MO_Gen5_4"
142+
},
143+
{
144+
"edition": "MemoryOptimized",
145+
"vCore": 8,
146+
"hardwareGeneration": "Gen5",
147+
"minStorageMB": 5120,
148+
"maxStorageMB": 2097152,
149+
"minBackupRetentionDays": 7,
150+
"maxBackupRetentionDays": 35,
151+
"id": "MO_Gen5_8"
152+
},
153+
{
154+
"edition": "MemoryOptimized",
155+
"vCore": 16,
156+
"hardwareGeneration": "Gen5",
157+
"minStorageMB": 5120,
158+
"maxStorageMB": 2097152,
159+
"minBackupRetentionDays": 7,
160+
"maxBackupRetentionDays": 35,
161+
"id": "MO_Gen5_16"
162+
},
163+
{
164+
"edition": "MemoryOptimized",
165+
"vCore": 32,
166+
"hardwareGeneration": "Gen5",
167+
"minStorageMB": 5120,
168+
"maxStorageMB": 2097152,
169+
"minBackupRetentionDays": 7,
170+
"maxBackupRetentionDays": 35,
171+
"id": "MO_Gen5_32"
172+
}
173+
]
174+
}
175+
]
176+
}
177+
}
178+
}
179+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "ffffffff-ffff-ffff-ffff-ffffffffffff",
4+
"resourceGroupName": "testrg",
5+
"serverName": "testsvc4",
6+
"api-version": "2018-06-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/testrg/providers/Microsoft.DBforMariaDB/servers/testsvc4/recoverableServers",
12+
"name": "recoverableServers",
13+
"type": "Microsoft.DBforMariaDB/servers/recoverableServers",
14+
"properties": {
15+
"edition": "GeneralPurpose",
16+
"serviceLevelObjective": "GP_Gen5_2",
17+
"vCore": 2,
18+
"hardwareGeneration": "Gen5",
19+
"lastAvailableBackupDateTime": "2020-11-20T01:06:29.78Z",
20+
"version": "10.3"
21+
}
22+
}
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)