From bb81548a58759388cdd4cf55c3bf94a8651e8e0c Mon Sep 17 00:00:00 2001 From: Divyani Indurkhya Date: Fri, 9 Dec 2022 18:31:37 +0530 Subject: [PATCH 1/4] Updating Examples for Create flow with proper values --- .../SAPVirtualInstance.json | 32 +- ...tances_Create_DiskDetails_Distributed.json | 54 +-- ...s_Create_DiskDetails_HA_NoBackupDisk.json} | 61 ++- ...Create_DiskDetails_HA_WithBackupDisk.json} | 54 +-- ...ances_Create_DiskDetails_SingleServer.json | 18 +- ...APVirtualInstances_Create_Distributed.json | 338 ----------------- ...tances_Create_Distributed_CreateTrans.json | 54 +-- ...stances_Create_Distributed_MountTrans.json | 54 +-- ...ces_Create_Distributed_SkipTransMount.json | 54 +-- .../SAPVirtualInstances_Create_HA_AvSet.json | 347 ------------------ .../SAPVirtualInstances_Create_HA_AvZone.json | 347 ------------------ ...PVirtualInstances_Create_SingleServer.json | 170 --------- ...ances_Create_WithOSConfig_Distributed.json | 54 +-- ...nstances_Create_WithOSConfig_HA_AvSet.json | 54 +-- ...stances_Create_WithOSConfig_HA_AvZone.json | 54 +-- ...nces_Create_WithOSConfig_SingleServer.json | 18 +- .../SAPVirtualInstances_Get.json | 18 +- ...PVirtualInstances_ListByResourceGroup.json | 36 +- ...APVirtualInstances_ListBySubscription.json | 39 +- 19 files changed, 317 insertions(+), 1539 deletions(-) rename specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/{SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json => SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json} (92%) rename specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/{SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json => SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json} (93%) delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json index ef7e20c53a47..a6eefdf39faa 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json @@ -263,30 +263,18 @@ "Register existing SAP system as Virtual Instance for SAP solutions.": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json" }, - "Create Infrastructure with OS configuration for Single Server System (Recommended)": { + "Create Infrastructure for Single Server System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json" }, - "Create Infrastructure with OS configuration for Distributed System (Recommended)": { + "Create Infrastructure for Distributed System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json" }, - "Create Infrastructure with OS configuration for HA System with Availability Set (Recommended)": { + "Create Infrastructure for HA System with Availability Set": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json" }, - "Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended)": { + "Create Infrastructure for HA System with Availability Zone": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json" }, - "Create Infrastructure only for Distributed System": { - "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json" - }, - "Create Infrastructure only for HA System with Availability Set": { - "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json" - }, - "Create Infrastructure only for HA System with Availability Zone": { - "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json" - }, - "Create Infrastructure only for Single Server System": { - "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json" - }, "Create Infrastructure without SAP Trans Fileshare": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json" }, @@ -314,17 +302,17 @@ "Install SAP Software on Distributed System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json" }, - "Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)": { + "Create Infrastructure with Disk and OS configurations for Single Server System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json" }, - "Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)": { + "Create Infrastructure with Disk and OS configuration for Distributed System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json" }, - "Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended)": { - "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json" + "Create Infrastructure with Disk and OS configuration for HA System with backup disk configured": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json" }, - "Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended)": { - "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json" + "Create Infrastructure with Disk and OS configuration for HA System with no backup disk": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json" } }, "description": "Creates a Virtual Instance for SAP solutions (VIS) resource", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json index dad25d343ca2..ac7875fc556b 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json @@ -21,10 +21,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -45,10 +45,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -70,10 +70,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -173,10 +173,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -196,10 +196,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -220,10 +220,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -325,10 +325,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -348,10 +348,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -372,10 +372,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json similarity index 92% rename from specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json rename to specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json index e98ab2b35f6f..d0723c353521 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json @@ -24,10 +24,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -48,10 +48,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -73,10 +73,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -120,13 +120,6 @@ "name": "Premium_LRS" } }, - "backup": { - "count": 2, - "sizeGB": 256, - "sku": { - "name": "StandardSSD_LRS" - } - }, "os": { "count": 1, "sizeGB": 64, @@ -179,10 +172,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -202,10 +195,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -226,10 +219,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -334,10 +327,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -357,10 +350,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -381,10 +374,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json similarity index 93% rename from specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json rename to specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json index a0a73615f865..9ead2fa1b095 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json @@ -24,10 +24,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -48,10 +48,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -73,10 +73,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -179,10 +179,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -202,10 +202,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -226,10 +226,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -334,10 +334,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -357,10 +357,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -381,10 +381,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json index fc1de72381f4..9ffd05c41c66 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json @@ -24,10 +24,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -128,10 +128,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -234,10 +234,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json deleted file mode 100644 index 742fa6a6f94a..000000000000 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json +++ /dev/null @@ -1,338 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", - "resourceGroupName": "test-rg", - "sapVirtualInstanceName": "X00", - "api-version": "2021-12-01-preview", - "body": { - "tags": {}, - "location": "westcentralus", - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "deploymentType": "ThreeTier", - "appResourceGroup": "X00-RG", - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 1 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 6 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 1 - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "deploymentType": "ThreeTier", - "appResourceGroup": "X00-RG", - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 1 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 6 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 1 - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "SoftwareInstallationPending", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "deploymentType": "ThreeTier", - "appResourceGroup": "X00-RG", - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 1 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 6 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 1 - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "InfrastructureDeploymentInProgress", - "provisioningState": "Updating" - } - } - } - } -} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json index 5bd391ff2261..e47b974627fc 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json @@ -28,10 +28,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -52,10 +52,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -77,10 +77,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -141,10 +141,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -164,10 +164,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -188,10 +188,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -254,10 +254,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -277,10 +277,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -301,10 +301,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json index 5bd391ff2261..e47b974627fc 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json @@ -28,10 +28,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -52,10 +52,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -77,10 +77,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -141,10 +141,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -164,10 +164,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -188,10 +188,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -254,10 +254,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -277,10 +277,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -301,10 +301,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json index d41658b72639..0b162eb9c736 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json @@ -26,10 +26,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -50,10 +50,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -75,10 +75,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -137,10 +137,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -160,10 +160,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -184,10 +184,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -248,10 +248,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -271,10 +271,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -295,10 +295,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json deleted file mode 100644 index b5194310799f..000000000000 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json +++ /dev/null @@ -1,347 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", - "resourceGroupName": "test-rg", - "sapVirtualInstanceName": "X00", - "api-version": "2021-12-01-preview", - "body": { - "tags": {}, - "location": "westcentralus", - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "appResourceGroup": "X00-RG", - "deploymentType": "ThreeTier", - "highAvailabilityConfig": { - "highAvailabilityType": "AvailabilitySet" - }, - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 5 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "appResourceGroup": "X00-RG", - "deploymentType": "ThreeTier", - "highAvailabilityConfig": { - "highAvailabilityType": "AvailabilitySet" - }, - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 5 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "SoftwareInstallationPending", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "appResourceGroup": "X00-RG", - "deploymentType": "ThreeTier", - "highAvailabilityConfig": { - "highAvailabilityType": "AvailabilitySet" - }, - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 5 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "InfrastructureDeploymentInProgress", - "provisioningState": "Updating" - } - } - } - } -} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json deleted file mode 100644 index 24f80d4e028c..000000000000 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json +++ /dev/null @@ -1,347 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", - "resourceGroupName": "test-rg", - "sapVirtualInstanceName": "X00", - "api-version": "2021-12-01-preview", - "body": { - "tags": {}, - "location": "westcentralus", - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "appResourceGroup": "X00-RG", - "deploymentType": "ThreeTier", - "highAvailabilityConfig": { - "highAvailabilityType": "AvailabilityZone" - }, - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 6 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "appResourceGroup": "X00-RG", - "deploymentType": "ThreeTier", - "highAvailabilityConfig": { - "highAvailabilityType": "AvailabilityZone" - }, - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 6 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "SoftwareInstallationPending", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "Prod", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "appResourceGroup": "X00-RG", - "deploymentType": "ThreeTier", - "highAvailabilityConfig": { - "highAvailabilityType": "AvailabilityZone" - }, - "centralServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E16ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - }, - "applicationServer": { - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 6 - }, - "databaseServer": { - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_M32ts", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - }, - "instanceCount": 2 - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "InfrastructureDeploymentInProgress", - "provisioningState": "Updating" - } - } - } - } -} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json deleted file mode 100644 index 1ee7273b7f6c..000000000000 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "parameters": { - "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", - "resourceGroupName": "test-rg", - "sapVirtualInstanceName": "X00", - "api-version": "2021-12-01-preview", - "body": { - "tags": {}, - "location": "westcentralus", - "properties": { - "environment": "NonProd", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "deploymentType": "SingleServer", - "appResourceGroup": "X00-RG", - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "networkConfiguration": { - "isSecondaryIpEnabled": true - }, - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "NonProd", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "deploymentType": "SingleServer", - "appResourceGroup": "X00-RG", - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "SoftwareInstallationPending", - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", - "name": "X00", - "type": "Microsoft.Workloads/sapVirtualInstances", - "tags": {}, - "location": "westcentralus", - "systemData": { - "createdBy": "user@xyz.com", - "createdByType": "User", - "createdAt": "2021-08-19T15:10:46.196Z", - "lastModifiedBy": "user@xyz.com", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-08-19T15:10:46.196Z" - }, - "properties": { - "environment": "NonProd", - "sapProduct": "S4HANA", - "configuration": { - "configurationType": "Deployment", - "appLocation": "eastus", - "infrastructureConfiguration": { - "deploymentType": "SingleServer", - "appResourceGroup": "X00-RG", - "databaseType": "HANA", - "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", - "virtualMachineConfiguration": { - "vmSize": "Standard_E32ds_v4", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" - }, - "osProfile": { - "adminUsername": "{your-username}", - "osConfiguration": { - "osType": "Linux", - "disablePasswordAuthentication": true, - "ssh": { - "publicKeys": [ - { - "keyData": "ssh-rsa public key" - } - ] - } - } - } - } - } - }, - "status": "Unknown", - "health": "Unknown", - "state": "InfrastructureDeploymentInProgress", - "provisioningState": "Updating" - } - } - } - } -} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json index 7330d562acd3..b874996965c6 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json @@ -21,10 +21,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -45,10 +45,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -70,10 +70,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -127,10 +127,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -150,10 +150,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -174,10 +174,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -233,10 +233,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -256,10 +256,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -280,10 +280,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json index 98c6db480483..fd8ed31767bc 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json @@ -24,10 +24,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -48,10 +48,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -73,10 +73,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -133,10 +133,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -156,10 +156,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -180,10 +180,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -242,10 +242,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -265,10 +265,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -289,10 +289,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json index 8d74df719a91..2227d387de83 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json @@ -24,10 +24,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -48,10 +48,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -73,10 +73,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -133,10 +133,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -156,10 +156,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -180,10 +180,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -242,10 +242,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E16ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -265,10 +265,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -289,10 +289,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_M32ts", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json index 023c120001f9..e3a54d0fdca1 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json @@ -24,10 +24,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -82,10 +82,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -142,10 +142,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_E32ds_v4", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json index 922a76865d27..d75e01c38f4d 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json @@ -35,10 +35,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -62,10 +62,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -90,10 +90,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json index d19852345e4a..404156481352 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json @@ -36,10 +36,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -63,10 +63,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -91,10 +91,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -159,10 +159,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -186,10 +186,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -214,10 +214,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json index f93c7e4407f3..0fdd4bfaccb5 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json @@ -35,10 +35,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -61,11 +61,10 @@ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", - "imageReference": { - "sku": "7.4", - "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -90,10 +89,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -158,10 +157,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -185,10 +184,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", @@ -213,10 +212,10 @@ "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", "imageReference": { - "sku": "7.4", + "sku": "84sapha-gen2", "publisher": "RedHat", - "version": "7.4.2019062505", - "offer": "RHEL-SAP" + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", From 71ee27ddd0f2a54ef9abf9cb1067394521321931 Mon Sep 17 00:00:00 2001 From: Divyani Indurkhya Date: Mon, 12 Dec 2022 12:47:14 +0530 Subject: [PATCH 2/4] Updating Examples for Create Infra --- .../preview/2021-12-01-preview/SAPVirtualInstance.json | 4 ++-- .../SAPVirtualInstances_ListBySubscription.json | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json index a6eefdf39faa..96284663d742 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json @@ -308,10 +308,10 @@ "Create Infrastructure with Disk and OS configuration for Distributed System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json" }, - "Create Infrastructure with Disk and OS configuration for HA System with backup disk configured": { + "Create Infrastructure with Disk and OS configuration for HA System with Availability Set": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json" }, - "Create Infrastructure with Disk and OS configuration for HA System with no backup disk": { + "Create Infrastructure with Disk and OS configuration for HA System with Availability Zone without backup disk": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json" } }, diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json index 0fdd4bfaccb5..31846059cdb5 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json @@ -61,10 +61,11 @@ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", "virtualMachineConfiguration": { "vmSize": "Standard_D8s_v3", - "sku": "84sapha-gen2", - "publisher": "RedHat", - "version": "8.4.2021091202", - "offer": "RHEL-SAP-HA" + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" }, "osProfile": { "adminUsername": "{your-username}", From e71e77fa1641c3303c52edeaff94d172c23cd19c Mon Sep 17 00:00:00 2001 From: Divyani Indurkhya Date: Mon, 12 Dec 2022 14:53:23 +0530 Subject: [PATCH 3/4] Adding SAP Trans and DIsk Configuration common example --- .../SAPVirtualInstance.json | 2 +- ...tances_Create_DiskDetails_Distributed.json | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json index 96284663d742..79362bc9ac93 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json @@ -305,7 +305,7 @@ "Create Infrastructure with Disk and OS configurations for Single Server System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json" }, - "Create Infrastructure with Disk and OS configuration for Distributed System": { + "Create Infrastructure with Disk, OS and Storage configuration for Distributed System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json" }, "Create Infrastructure with Disk and OS configuration for HA System with Availability Set": { diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json index ac7875fc556b..8a6e2c10fd15 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json @@ -16,6 +16,13 @@ "infrastructureConfiguration": { "deploymentType": "ThreeTier", "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "fileshareID", + "privateEndpointId": "pe-arm-id" + } + }, "centralServer": { "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", "virtualMachineConfiguration": { @@ -168,6 +175,13 @@ "infrastructureConfiguration": { "deploymentType": "ThreeTier", "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "fileshareID", + "privateEndpointId": "pe-arm-id" + } + }, "centralServer": { "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", "virtualMachineConfiguration": { @@ -320,6 +334,13 @@ "infrastructureConfiguration": { "deploymentType": "ThreeTier", "appResourceGroup": "X00-RG", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "fileshareID", + "privateEndpointId": "pe-arm-id" + } + }, "centralServer": { "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", "virtualMachineConfiguration": { From e8f8580c8cb92fe02506b40b64688eb046ecc24d Mon Sep 17 00:00:00 2001 From: Divyani Indurkhya Date: Tue, 13 Dec 2022 11:25:31 +0530 Subject: [PATCH 4/4] Adding Install Example payloads for HA systems --- .../SAPVirtualInstance.json | 6 + ...lInstances_Install_HA_AvailabilitySet.json | 359 ++++++++++++++++++ ...Instances_Install_HA_AvailabilityZone.json | 359 ++++++++++++++++++ 3 files changed, 724 insertions(+) create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json index 79362bc9ac93..4e5c127db4e3 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json @@ -302,6 +302,12 @@ "Install SAP Software on Distributed System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json" }, + "Install SAP Software on HA System with Availability Set": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json" + }, + "Install SAP Software on HA System with Availability Zone": { + "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json" + }, "Create Infrastructure with Disk and OS configurations for Single Server System": { "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json" }, diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json new file mode 100644 index 000000000000..ce5f9effe0b4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json @@ -0,0 +1,359 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2021-12-01-preview", + "body": { + "tags": { + "created by": "azureuser" + }, + "location": "eastus2", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "appResourceGroup": "{{resourcegrp}}", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "highAvailabilitySoftwareConfiguration": { + "fencingClientId": "serviceprincipalID", + "fencingClientPassword": "serviceprincipalPassword" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "highAvailabilitySoftwareConfiguration": { + "fencingClientId": "serviceprincipalID" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + }, + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "highAvailabilitySoftwareConfiguration": { + "fencingClientId": "serviceprincipalID" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json new file mode 100644 index 000000000000..b3335e074efa --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json @@ -0,0 +1,359 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "api-version": "2021-12-01-preview", + "body": { + "tags": { + "created by": "azureuser" + }, + "location": "eastus2", + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "appResourceGroup": "{{resourcegrp}}", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "8.2", + "publisher": "RedHat", + "version": "8.2.2021091201", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "{{sshkey}}", + "privateKey": "{{privateKey}}" + } + } + } + }, + "instanceCount": 2 + } + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "highAvailabilitySoftwareConfiguration": { + "fencingClientId": "serviceprincipalID", + "fencingClientPassword": "serviceprincipalPassword" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "highAvailabilitySoftwareConfiguration": { + "fencingClientId": "serviceprincipalID" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "location": "eastus2", + "tags": { + "created by": "azureuser" + }, + "systemData": { + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "createdAt": "2022-08-18T18:25:55.2406546Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z" + }, + "properties": { + "environment": "Prod", + "sapProduct": "S4HANA", + "configuration": { + "configurationType": "DeploymentWithOSConfig", + "appLocation": "eastus", + "infrastructureConfiguration": { + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + }, + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "centralServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "applicationServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_E4ds_v4", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "databaseServer": { + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "vmSize": "Standard_M32ts", + "imageReference": { + "sku": "84sapha-gen2", + "publisher": "RedHat", + "version": "8.4.2021091202", + "offer": "RHEL-SAP-HA" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "osType": "Linux", + "disablePasswordAuthentication": true, + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + } + }, + "instanceCount": 2 + }, + "appResourceGroup": "aa-rg" + }, + "softwareConfiguration": { + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "softwareVersion": "SAP S/4HANA 1909 SPS 03", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "highAvailabilitySoftwareConfiguration": { + "fencingClientId": "serviceprincipalID" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + } + }, + "state": "SoftwareInstallationInProgress", + "provisioningState": "Accepted" + } + } + } + } +}