Skip to content

Commit e37a57d

Browse files
authored
Updating Examples for Create flow with proper values (#21839)
* Updating Examples for Create flow with proper values * Updating Examples for Create Infra * Adding SAP Trans and DIsk Configuration common example * Adding Install Example payloads for HA systems
1 parent 289d6fd commit e37a57d

21 files changed

+1062
-1538
lines changed

specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -263,31 +263,19 @@
263263
"Register existing SAP system as Virtual Instance for SAP solutions.": {
264264
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json"
265265
},
266-
"Create Infrastructure with OS configuration for Single Server System (Recommended)": {
266+
"Create Infrastructure for Single Server System": {
267267
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json"
268268
},
269-
"Create Infrastructure with OS configuration for Distributed System (Recommended)": {
269+
"Create Infrastructure for Distributed System": {
270270
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json"
271271
},
272-
"Create Infrastructure with OS configuration for HA System with Availability Set (Recommended)": {
272+
"Create Infrastructure for HA System with Availability Set": {
273273
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json"
274274
},
275-
"Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended)": {
275+
"Create Infrastructure for HA System with Availability Zone": {
276276
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json"
277277
},
278-
"Create Infrastructure only for Distributed System": {
279-
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json"
280-
},
281-
"Create Infrastructure only for HA System with Availability Set": {
282-
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json"
283-
},
284-
"Create Infrastructure only for HA System with Availability Zone": {
285-
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json"
286-
},
287-
"Create Infrastructure only for Single Server System": {
288-
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json"
289-
},
290-
"Create Infrastructure without SAP Transport Directory Fileshare": {
278+
"Create Infrastructure without SAP Trans Fileshare": {
291279
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json"
292280
},
293281
"Create Infrastructure with a new SAP Transport Directory Fileshare": {
@@ -314,17 +302,23 @@
314302
"Install SAP Software on Distributed System": {
315303
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json"
316304
},
317-
"Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)": {
305+
"Install SAP Software on HA System with Availability Set": {
306+
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json"
307+
},
308+
"Install SAP Software on HA System with Availability Zone": {
309+
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json"
310+
},
311+
"Create Infrastructure with Disk and OS configurations for Single Server System": {
318312
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json"
319313
},
320-
"Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)": {
314+
"Create Infrastructure with Disk, OS and Storage configuration for Distributed System": {
321315
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json"
322316
},
323-
"Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended)": {
324-
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json"
317+
"Create Infrastructure with Disk and OS configuration for HA System with Availability Set": {
318+
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json"
325319
},
326-
"Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended)": {
327-
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json"
320+
"Create Infrastructure with Disk and OS configuration for HA System with Availability Zone without backup disk": {
321+
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json"
328322
}
329323
},
330324
"description": "Creates a Virtual Instance for SAP solutions (VIS) resource",

specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json

Lines changed: 48 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,22 @@
1616
"infrastructureConfiguration": {
1717
"deploymentType": "ThreeTier",
1818
"appResourceGroup": "X00-RG",
19+
"storageConfiguration": {
20+
"transportFileShareConfiguration": {
21+
"configurationType": "Mount",
22+
"id": "fileshareID",
23+
"privateEndpointId": "pe-arm-id"
24+
}
25+
},
1926
"centralServer": {
2027
"subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
2128
"virtualMachineConfiguration": {
2229
"vmSize": "Standard_E16ds_v4",
2330
"imageReference": {
24-
"sku": "7.4",
31+
"sku": "84sapha-gen2",
2532
"publisher": "RedHat",
26-
"version": "7.4.2019062505",
27-
"offer": "RHEL-SAP"
33+
"version": "8.4.2021091202",
34+
"offer": "RHEL-SAP-HA"
2835
},
2936
"osProfile": {
3037
"adminUsername": "{your-username}",
@@ -45,10 +52,10 @@
4552
"virtualMachineConfiguration": {
4653
"vmSize": "Standard_E32ds_v4",
4754
"imageReference": {
48-
"sku": "7.4",
55+
"sku": "84sapha-gen2",
4956
"publisher": "RedHat",
50-
"version": "7.4.2019062505",
51-
"offer": "RHEL-SAP"
57+
"version": "8.4.2021091202",
58+
"offer": "RHEL-SAP-HA"
5259
},
5360
"osProfile": {
5461
"adminUsername": "{your-username}",
@@ -70,10 +77,10 @@
7077
"virtualMachineConfiguration": {
7178
"vmSize": "Standard_M32ts",
7279
"imageReference": {
73-
"sku": "7.4",
80+
"sku": "84sapha-gen2",
7481
"publisher": "RedHat",
75-
"version": "7.4.2019062505",
76-
"offer": "RHEL-SAP"
82+
"version": "8.4.2021091202",
83+
"offer": "RHEL-SAP-HA"
7784
},
7885
"osProfile": {
7986
"adminUsername": "{your-username}",
@@ -168,15 +175,22 @@
168175
"infrastructureConfiguration": {
169176
"deploymentType": "ThreeTier",
170177
"appResourceGroup": "X00-RG",
178+
"storageConfiguration": {
179+
"transportFileShareConfiguration": {
180+
"configurationType": "Mount",
181+
"id": "fileshareID",
182+
"privateEndpointId": "pe-arm-id"
183+
}
184+
},
171185
"centralServer": {
172186
"subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
173187
"virtualMachineConfiguration": {
174188
"vmSize": "Standard_E16ds_v4",
175189
"imageReference": {
176-
"sku": "7.4",
190+
"sku": "84sapha-gen2",
177191
"publisher": "RedHat",
178-
"version": "7.4.2019062505",
179-
"offer": "RHEL-SAP"
192+
"version": "8.4.2021091202",
193+
"offer": "RHEL-SAP-HA"
180194
},
181195
"osProfile": {
182196
"adminUsername": "{your-username}",
@@ -196,10 +210,10 @@
196210
"virtualMachineConfiguration": {
197211
"vmSize": "Standard_E32ds_v4",
198212
"imageReference": {
199-
"sku": "7.4",
213+
"sku": "84sapha-gen2",
200214
"publisher": "RedHat",
201-
"version": "7.4.2019062505",
202-
"offer": "RHEL-SAP"
215+
"version": "8.4.2021091202",
216+
"offer": "RHEL-SAP-HA"
203217
},
204218
"osProfile": {
205219
"adminUsername": "{your-username}",
@@ -220,10 +234,10 @@
220234
"virtualMachineConfiguration": {
221235
"vmSize": "Standard_M32ts",
222236
"imageReference": {
223-
"sku": "7.4",
237+
"sku": "84sapha-gen2",
224238
"publisher": "RedHat",
225-
"version": "7.4.2019062505",
226-
"offer": "RHEL-SAP"
239+
"version": "8.4.2021091202",
240+
"offer": "RHEL-SAP-HA"
227241
},
228242
"osProfile": {
229243
"adminUsername": "{your-username}",
@@ -320,15 +334,22 @@
320334
"infrastructureConfiguration": {
321335
"deploymentType": "ThreeTier",
322336
"appResourceGroup": "X00-RG",
337+
"storageConfiguration": {
338+
"transportFileShareConfiguration": {
339+
"configurationType": "Mount",
340+
"id": "fileshareID",
341+
"privateEndpointId": "pe-arm-id"
342+
}
343+
},
323344
"centralServer": {
324345
"subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
325346
"virtualMachineConfiguration": {
326347
"vmSize": "Standard_E16ds_v4",
327348
"imageReference": {
328-
"sku": "7.4",
349+
"sku": "84sapha-gen2",
329350
"publisher": "RedHat",
330-
"version": "7.4.2019062505",
331-
"offer": "RHEL-SAP"
351+
"version": "8.4.2021091202",
352+
"offer": "RHEL-SAP-HA"
332353
},
333354
"osProfile": {
334355
"adminUsername": "{your-username}",
@@ -348,10 +369,10 @@
348369
"virtualMachineConfiguration": {
349370
"vmSize": "Standard_E32ds_v4",
350371
"imageReference": {
351-
"sku": "7.4",
372+
"sku": "84sapha-gen2",
352373
"publisher": "RedHat",
353-
"version": "7.4.2019062505",
354-
"offer": "RHEL-SAP"
374+
"version": "8.4.2021091202",
375+
"offer": "RHEL-SAP-HA"
355376
},
356377
"osProfile": {
357378
"adminUsername": "{your-username}",
@@ -372,10 +393,10 @@
372393
"virtualMachineConfiguration": {
373394
"vmSize": "Standard_M32ts",
374395
"imageReference": {
375-
"sku": "7.4",
396+
"sku": "84sapha-gen2",
376397
"publisher": "RedHat",
377-
"version": "7.4.2019062505",
378-
"offer": "RHEL-SAP"
398+
"version": "8.4.2021091202",
399+
"offer": "RHEL-SAP-HA"
379400
},
380401
"osProfile": {
381402
"adminUsername": "{your-username}",
Lines changed: 27 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"virtualMachineConfiguration": {
2525
"vmSize": "Standard_E16ds_v4",
2626
"imageReference": {
27-
"sku": "7.4",
27+
"sku": "84sapha-gen2",
2828
"publisher": "RedHat",
29-
"version": "7.4.2019062505",
30-
"offer": "RHEL-SAP"
29+
"version": "8.4.2021091202",
30+
"offer": "RHEL-SAP-HA"
3131
},
3232
"osProfile": {
3333
"adminUsername": "{your-username}",
@@ -48,10 +48,10 @@
4848
"virtualMachineConfiguration": {
4949
"vmSize": "Standard_E32ds_v4",
5050
"imageReference": {
51-
"sku": "7.4",
51+
"sku": "84sapha-gen2",
5252
"publisher": "RedHat",
53-
"version": "7.4.2019062505",
54-
"offer": "RHEL-SAP"
53+
"version": "8.4.2021091202",
54+
"offer": "RHEL-SAP-HA"
5555
},
5656
"osProfile": {
5757
"adminUsername": "{your-username}",
@@ -73,10 +73,10 @@
7373
"virtualMachineConfiguration": {
7474
"vmSize": "Standard_M32ts",
7575
"imageReference": {
76-
"sku": "7.4",
76+
"sku": "84sapha-gen2",
7777
"publisher": "RedHat",
78-
"version": "7.4.2019062505",
79-
"offer": "RHEL-SAP"
78+
"version": "8.4.2021091202",
79+
"offer": "RHEL-SAP-HA"
8080
},
8181
"osProfile": {
8282
"adminUsername": "{your-username}",
@@ -120,13 +120,6 @@
120120
"name": "Premium_LRS"
121121
}
122122
},
123-
"backup": {
124-
"count": 2,
125-
"sizeGB": 256,
126-
"sku": {
127-
"name": "StandardSSD_LRS"
128-
}
129-
},
130123
"os": {
131124
"count": 1,
132125
"sizeGB": 64,
@@ -179,10 +172,10 @@
179172
"virtualMachineConfiguration": {
180173
"vmSize": "Standard_E16ds_v4",
181174
"imageReference": {
182-
"sku": "7.4",
175+
"sku": "84sapha-gen2",
183176
"publisher": "RedHat",
184-
"version": "7.4.2019062505",
185-
"offer": "RHEL-SAP"
177+
"version": "8.4.2021091202",
178+
"offer": "RHEL-SAP-HA"
186179
},
187180
"osProfile": {
188181
"adminUsername": "{your-username}",
@@ -202,10 +195,10 @@
202195
"virtualMachineConfiguration": {
203196
"vmSize": "Standard_E32ds_v4",
204197
"imageReference": {
205-
"sku": "7.4",
198+
"sku": "84sapha-gen2",
206199
"publisher": "RedHat",
207-
"version": "7.4.2019062505",
208-
"offer": "RHEL-SAP"
200+
"version": "8.4.2021091202",
201+
"offer": "RHEL-SAP-HA"
209202
},
210203
"osProfile": {
211204
"adminUsername": "{your-username}",
@@ -226,10 +219,10 @@
226219
"virtualMachineConfiguration": {
227220
"vmSize": "Standard_M32ts",
228221
"imageReference": {
229-
"sku": "7.4",
222+
"sku": "84sapha-gen2",
230223
"publisher": "RedHat",
231-
"version": "7.4.2019062505",
232-
"offer": "RHEL-SAP"
224+
"version": "8.4.2021091202",
225+
"offer": "RHEL-SAP-HA"
233226
},
234227
"osProfile": {
235228
"adminUsername": "{your-username}",
@@ -334,10 +327,10 @@
334327
"virtualMachineConfiguration": {
335328
"vmSize": "Standard_E16ds_v4",
336329
"imageReference": {
337-
"sku": "7.4",
330+
"sku": "84sapha-gen2",
338331
"publisher": "RedHat",
339-
"version": "7.4.2019062505",
340-
"offer": "RHEL-SAP"
332+
"version": "8.4.2021091202",
333+
"offer": "RHEL-SAP-HA"
341334
},
342335
"osProfile": {
343336
"adminUsername": "{your-username}",
@@ -357,10 +350,10 @@
357350
"virtualMachineConfiguration": {
358351
"vmSize": "Standard_E32ds_v4",
359352
"imageReference": {
360-
"sku": "7.4",
353+
"sku": "84sapha-gen2",
361354
"publisher": "RedHat",
362-
"version": "7.4.2019062505",
363-
"offer": "RHEL-SAP"
355+
"version": "8.4.2021091202",
356+
"offer": "RHEL-SAP-HA"
364357
},
365358
"osProfile": {
366359
"adminUsername": "{your-username}",
@@ -381,10 +374,10 @@
381374
"virtualMachineConfiguration": {
382375
"vmSize": "Standard_M32ts",
383376
"imageReference": {
384-
"sku": "7.4",
377+
"sku": "84sapha-gen2",
385378
"publisher": "RedHat",
386-
"version": "7.4.2019062505",
387-
"offer": "RHEL-SAP"
379+
"version": "8.4.2021091202",
380+
"offer": "RHEL-SAP-HA"
388381
},
389382
"osProfile": {
390383
"adminUsername": "{your-username}",

0 commit comments

Comments
 (0)