From 9b367e11c6f5004d6f0287aedb455c7e8ecf6df5 Mon Sep 17 00:00:00 2001
From: gargankit-microsoft
<88656868+gargankit-microsoft@users.noreply.github.com>
Date: Tue, 17 Jan 2023 12:00:30 +0530
Subject: [PATCH 1/7] Adds base for updating Microsoft.Workloads from version
preview/2021-12-01-preview to version 2022-11-01-preview
---
.../SAPVirtualInstance.json | 3611 +++++++++++++++++
.../2022-11-01-preview/commonTypes.json | 41 +
.../examples/Operations_List.json | 91 +
.../examples/Skus_List.json | 152 +
.../PhpWorkloads_CreateOrUpdate.json | 375 ++
.../phpworkloads/PhpWorkloads_Delete.json | 14 +
.../phpworkloads/PhpWorkloads_Get.json | 155 +
.../PhpWorkloads_ListByResourceGroup.json | 159 +
.../PhpWorkloads_ListBySubscription.json | 158 +
.../phpworkloads/PhpWorkloads_Update.json | 166 +
.../WordpressInstances_CreateOrUpdate.json | 61 +
.../WordpressInstances_Delete.json | 13 +
.../phpworkloads/WordpressInstances_Get.json | 32 +
.../phpworkloads/WordpressInstances_List.json | 37 +
.../SAPApplicationServerInstances_Create.json | 82 +
...cationServerInstances_Create_HA_AvSet.json | 92 +
.../SAPApplicationServerInstances_Delete.json | 31 +
.../SAPApplicationServerInstances_Get.json | 44 +
.../SAPApplicationServerInstances_List.json | 78 +
.../SAPApplicationServerInstances_Update.json | 84 +
.../SAPAvailabilityZoneDetails_eastus.json | 24 +
...APAvailabilityZoneDetails_northeurope.json | 24 +
.../SAPCentralInstances_Create.json | 138 +
.../SAPCentralInstances_Create_HA_AvSet.json | 172 +
.../SAPCentralInstances_Delete.json | 31 +
.../SAPCentralInstances_Get.json | 72 +
.../SAPCentralInstances_List.json | 75 +
.../SAPCentralInstances_Update.json | 140 +
.../SAPDatabaseInstances_Create.json | 78 +
.../SAPDatabaseInstances_Create_HA_AvSet.json | 94 +
.../SAPDatabaseInstances_Delete.json | 31 +
.../SAPDatabaseInstances_Get.json | 34 +
.../SAPDatabaseInstances_List.json | 45 +
.../SAPDatabaseInstances_Update.json | 80 +
.../SAPDiskConfigurations_NonProd.json | 77 +
.../SAPDiskConfigurations_Prod.json | 77 +
...ingRecommendations_S4HANA_Distributed.json | 30 +
...SizingRecommendations_S4HANA_HA_AvSet.json | 31 +
...izingRecommendations_S4HANA_HA_AvZone.json | 31 +
...ngRecommendations_S4HANA_SingleServer.json | 25 +
.../SAPSupportedSkus_Distributed.json | 112 +
.../SAPSupportedSkus_DistributedHA_AvSet.json | 113 +
...SAPSupportedSkus_DistributedHA_AvZone.json | 93 +
.../SAPSupportedSkus_SingleServer.json | 42 +
.../SAPVirtualInstances_Create_Discover.json | 89 +
...tances_Create_DiskDetails_Distributed.json | 473 +++
...es_Create_DiskDetails_HA_NoBackupDisk.json | 454 +++
..._Create_DiskDetails_HA_WithBackupDisk.json | 461 +++
...ances_Create_DiskDetails_SingleServer.json | 312 ++
...es_Create_Distributed_CreateTransport.json | 335 ++
...ces_Create_Distributed_MountTransport.json | 335 ++
...nces_Create_Distributed_SkipTransport.json | 329 ++
...ances_Create_WithOSConfig_Distributed.json | 314 ++
...nstances_Create_WithOSConfig_HA_AvSet.json | 323 ++
...stances_Create_WithOSConfig_HA_AvZone.json | 323 ++
...nces_Create_WithOSConfig_SingleServer.json | 174 +
.../SAPVirtualInstances_Delete.json | 30 +
...tances_DetectInstallation_Distributed.json | 334 ++
...Instances_DetectInstallation_HA_AvSet.json | 331 ++
...nstances_DetectInstallation_HA_AvZone.json | 331 ++
...ances_DetectInstallation_SingleServer.json | 182 +
.../SAPVirtualInstances_Get.json | 135 +
...PVirtualInstances_Install_Distributed.json | 340 ++
...lInstances_Install_HA_AvailabilitySet.json | 359 ++
...Instances_Install_HA_AvailabilityZone.json | 359 ++
...VirtualInstances_Install_SingleServer.json | 284 ++
...PVirtualInstances_ListByResourceGroup.json | 258 ++
...APVirtualInstances_ListBySubscription.json | 257 ++
.../SAPVirtualInstances_Start.json | 25 +
.../SAPVirtualInstances_Stop.json | 28 +
.../SAPVirtualInstances_Update.json | 54 +
.../Db2ProviderInstances_Create.json | 77 +
...iderInstances_Create_Root_Certificate.json | 74 +
.../Db2ProviderInstances_Get.json | 40 +
.../MsSqlServerProviderInstance_Create.json | 72 +
...viderInstance_Create_Root_Certificate.json | 69 +
.../MsSqlServerProviderInstance_Get.json | 39 +
.../NetWeaverProviderInstances_Create.json | 89 +
...iderInstances_Create_Root_Certificate.json | 86 +
.../NetWeaverProviderInstances_Get.json | 44 +
...heusHaClusterProviderInstances_Create.json | 70 +
...iderInstances_Create_Root_Certificate.json | 67 +
...metheusHaClusterProviderInstances_Get.json | 38 +
.../PrometheusOSProviderInstances_Create.json | 61 +
...iderInstances_Create_Root_Certificate.json | 58 +
.../PrometheusOSProviderInstances_Get.json | 35 +
.../ProviderInstances_Create.json | 80 +
...iderInstances_Create_Root_Certificate.json | 77 +
.../ProviderInstances_Delete.json | 27 +
.../ProviderInstances_Get.json | 41 +
.../ProviderInstances_List.json | 126 +
.../workloadmonitor/monitors_Create.json | 98 +
.../workloadmonitor/monitors_Delete.json | 26 +
.../workloadmonitor/monitors_Get.json | 51 +
.../workloadmonitor/monitors_List.json | 75 +
.../workloadmonitor/monitors_ListByRG.json | 76 +
.../workloadmonitor/monitors_PatchTags.json | 62 +
.../monitors_PatchTags_Delete.json | 60 +
.../preview/2022-11-01-preview/monitors.json | 1296 ++++++
.../2022-11-01-preview/operations.json | 76 +
.../2022-11-01-preview/phpWorkloads.json | 1362 +++++++
.../preview/2022-11-01-preview/skus.json | 377 ++
102 files changed, 19203 insertions(+)
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
new file mode 100644
index 000000000000..0632c9b5ede2
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
@@ -0,0 +1,3611 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-12-01-preview",
+ "title": "Workloads Client",
+ "description": "Workloads client provides access to various workload operations"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations": {
+ "post": {
+ "tags": [
+ "SAPRecommendations"
+ ],
+ "description": "Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier",
+ "operationId": "SAPSizingRecommendations",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "SAPSizingRecommendation",
+ "description": "SAP Sizing Recommendation Request body",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/SAPSizingRecommendationRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "SAP Sizing Recommendation Result.",
+ "schema": {
+ "$ref": "#/definitions/SAPSizingRecommendationResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SAPSizingRecommendations_S4HANA_Distributed": {
+ "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json"
+ },
+ "SAPSizingRecommendations_S4HANA_SingleServer": {
+ "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json"
+ },
+ "SAPSizingRecommendations_S4HANA_DistributedHA_AvSet": {
+ "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json"
+ },
+ "SAPSizingRecommendations_S4HANA_DistributedHA_AvZone": {
+ "$ref": "./examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku": {
+ "post": {
+ "tags": [
+ "SAPSupportedSku"
+ ],
+ "description": "Get a list of SAP supported SKUs for ASCS, Application and Database tier.",
+ "operationId": "SAPSupportedSku",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "SAPSupportedSku",
+ "description": "SAP Supported SKU Request body",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/SAPSupportedSkusRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "SAP Supported SKU Result.",
+ "schema": {
+ "$ref": "#/definitions/SAPSupportedResourceSkusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SAPSupportedSkus_Distributed": {
+ "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json"
+ },
+ "SAPSupportedSkus_SingleServer": {
+ "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json"
+ },
+ "SAPSupportedSkus_DistributedHA_AvSet": {
+ "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json"
+ },
+ "SAPSupportedSkus_DistributedHA_AvZone": {
+ "$ref": "./examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations": {
+ "post": {
+ "tags": [
+ "SAPDiskConfigurations"
+ ],
+ "description": "Get the SAP Disk Configuration Layout prod/non-prod SAP System.",
+ "operationId": "SAPDiskConfigurations",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "SAPDiskConfigurations",
+ "description": "SAP Disk Configurations Request body",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/SAPDiskConfigurationsRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "SAP Disk Configurations Result.",
+ "schema": {
+ "$ref": "#/definitions/SAPDiskConfigurationsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SAPDiskConfigurations_Prod": {
+ "$ref": "./examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json"
+ },
+ "SAPDiskConfigurations_NonProd": {
+ "$ref": "./examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": {
+ "post": {
+ "tags": [
+ "SAPAvailabilityZoneDetails"
+ ],
+ "description": "Get the recommended SAP Availability Zone Pair Details for your region.",
+ "operationId": "SAPAvailabilityZoneDetails",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "SAPAvailabilityZoneDetails",
+ "description": "SAP Availability Zone Details Request body",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/SAPAvailabilityZoneDetailsRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "SAP Availability Zone Details Result.",
+ "schema": {
+ "$ref": "#/definitions/SAPAvailabilityZoneDetailsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "SAPAvailabilityZoneDetails_eastus": {
+ "$ref": "./examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json"
+ },
+ "SAPAvailabilityZoneDetails_northeurope": {
+ "$ref": "./examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}": {
+ "put": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_Create",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Register existing SAP system as Virtual Instance for SAP solutions.": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json"
+ },
+ "Create Infrastructure for Single Server System": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json"
+ },
+ "Create Infrastructure for Distributed System": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json"
+ },
+ "Create Infrastructure for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json"
+ },
+ "Create Infrastructure for HA System with Availability Zone": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json"
+ },
+ "Create Infrastructure without SAP Trans Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json"
+ },
+ "Create Infrastructure with a new SAP Transport Directory Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json"
+ },
+ "Create Infrastructure with an existing SAP Transport Directory Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json"
+ },
+ "Detect SAP Software Installation on a Single Server System": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json"
+ },
+ "Detect SAP Software Installation on a Distributed System": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json"
+ },
+ "Detect SAP Software Installation on an HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json"
+ },
+ "Detect SAP Software Installation on an HA System with Availability Zone": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json"
+ },
+ "Install SAP Software on Single Server System": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json"
+ },
+ "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"
+ },
+ "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": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json"
+ },
+ "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"
+ }
+ },
+ "description": "Creates a Virtual Instance for SAP solutions (VIS) resource",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "description": "Virtual Instance for SAP solutions resource request body.",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/SAPVirtualInstance"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Describes the Virtual Instance for SAP solutions resource created.",
+ "schema": {
+ "$ref": "#/definitions/SAPVirtualInstance"
+ }
+ },
+ "200": {
+ "description": "Describes the Virtual Instance for SAP solutions resource which is created successfully.",
+ "schema": {
+ "$ref": "#/definitions/SAPVirtualInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_Get",
+ "x-ms-examples": {
+ "SAPVirtualInstances_Get": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Get.json"
+ }
+ },
+ "description": "Gets a Virtual Instance for SAP solutions resource",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describes the Virtual Instance for SAP solutions resource",
+ "schema": {
+ "$ref": "#/definitions/SAPVirtualInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_Update",
+ "x-ms-examples": {
+ "SAPVirtualInstances_Update": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Update.json"
+ }
+ },
+ "description": "Updates a Virtual Instance for SAP solutions resource",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Request body to update a Virtual Instance for SAP solutions resource.",
+ "schema": {
+ "$ref": "#/definitions/UpdateSAPVirtualInstanceRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describes the Virtual Instance for SAP solutions resource which is successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/SAPVirtualInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_Delete",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPVirtualInstances_Delete": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Delete.json"
+ }
+ },
+ "description": "Deletes a Virtual Instance for SAP solutions resource and its child resources, that is the associated Central Services Instance, Application Server Instances and Database Instance.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances": {
+ "get": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_ListByResourceGroup",
+ "x-ms-examples": {
+ "SAPVirtualInstances_ListByResourceGroup": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "description": "Gets all Virtual Instances for SAP solutions resources in a Resource Group.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The list of all Virtual Instances for SAP solutions resources.",
+ "schema": {
+ "$ref": "#/definitions/SAPVirtualInstanceList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances": {
+ "get": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_ListBySubscription",
+ "x-ms-examples": {
+ "SAPVirtualInstances_ListBySubscription": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "description": "Gets all Virtual Instances for SAP solutions resources in a Subscription.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The list of all Virtual Instances for SAP solutions resources in the Subscription.",
+ "schema": {
+ "$ref": "#/definitions/SAPVirtualInstanceList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}": {
+ "get": {
+ "tags": [
+ "SAPCentralInstances"
+ ],
+ "operationId": "SAPCentralInstances_Get",
+ "x-ms-examples": {
+ "SAPCentralInstances_Get": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Get.json"
+ }
+ },
+ "description": "Gets the SAP Central Services Instance resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CentralInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describes the SAP Central Services Instance resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPCentralServerInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SAPCentralInstances"
+ ],
+ "operationId": "SAPCentralInstances_Create",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPCentralInstances_Create": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Create.json"
+ },
+ "Create SAP Central Instances for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json"
+ }
+ },
+ "description": "Creates the SAP Central Services Instance resource.
This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CentralInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "The SAP Central Services Instance request body.",
+ "schema": {
+ "$ref": "#/definitions/SAPCentralServerInstance"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Describes the SAP Central Services Instance resource created.",
+ "schema": {
+ "$ref": "#/definitions/SAPCentralServerInstance"
+ }
+ },
+ "200": {
+ "description": "Describes the SAP Central Services Instance resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPCentralServerInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SAPCentralInstances"
+ ],
+ "operationId": "SAPCentralInstances_Update",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPCentralInstances_Update": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Update.json"
+ }
+ },
+ "description": "Updates the SAP Central Services Instance resource.
This can be used to update tags on the resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CentralInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "The SAP Central Services Instance resource request body.",
+ "schema": {
+ "$ref": "#/definitions/UpdateSAPCentralInstanceRequest"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Describes the SAP Central Services Instance resource created.",
+ "schema": {
+ "$ref": "#/definitions/SAPCentralServerInstance"
+ }
+ },
+ "200": {
+ "description": "Describes the SAP Central Services Instance resource created.",
+ "schema": {
+ "$ref": "#/definitions/SAPCentralServerInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SAPCentralInstances"
+ ],
+ "operationId": "SAPCentralInstances_Delete",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPCentralInstances_Delete": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Delete.json"
+ }
+ },
+ "description": "Deletes the SAP Central Services Instance resource.
This will be used by service only. Delete operation on this resource by end user will return a Bad Request error. You can delete the parent resource, which is the Virtual Instance for SAP solutions resource, using the delete operation on it.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CentralInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances": {
+ "get": {
+ "tags": [
+ "SAPCentralInstances"
+ ],
+ "operationId": "SAPCentralInstances_List",
+ "x-ms-examples": {
+ "SAPCentralInstances_List": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "description": "Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describes the SAP Central Services Instance resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPCentralInstanceList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}": {
+ "get": {
+ "tags": [
+ "SAPDatabaseInstances"
+ ],
+ "operationId": "SAPDatabaseInstances_Get",
+ "x-ms-examples": {
+ "SAPDatabaseInstances_Get": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Get.json"
+ }
+ },
+ "description": "Gets the SAP Database Instance resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describes the Database resource associated with the SAP system.",
+ "schema": {
+ "$ref": "#/definitions/SAPDatabaseInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SAPDatabaseInstances"
+ ],
+ "operationId": "SAPDatabaseInstances_Create",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPDatabaseInstances_Create": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Create.json"
+ },
+ "Create SAP Database Instances for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json"
+ }
+ },
+ "description": "Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource.
This will be used by service only. PUT by end user will return a Bad Request error.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Request body of Database resource of a SAP system.",
+ "schema": {
+ "$ref": "#/definitions/SAPDatabaseInstance"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Describes the Database resource of the SAP system.",
+ "schema": {
+ "$ref": "#/definitions/SAPDatabaseInstance"
+ }
+ },
+ "200": {
+ "description": "Describes the Database resource of the SAP system.",
+ "schema": {
+ "$ref": "#/definitions/SAPDatabaseInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SAPDatabaseInstances"
+ ],
+ "operationId": "SAPDatabaseInstances_Update",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPDatabaseInstances_Update": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Update.json"
+ }
+ },
+ "description": "Updates the Database resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Database resource update request body.",
+ "schema": {
+ "$ref": "#/definitions/UpdateSAPDatabaseInstanceRequest"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Describes the Database resource of the SAP system.",
+ "schema": {
+ "$ref": "#/definitions/SAPDatabaseInstance"
+ }
+ },
+ "200": {
+ "description": "Describes the Database resource of the SAP system.",
+ "schema": {
+ "$ref": "#/definitions/SAPDatabaseInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SAPDatabaseInstances"
+ ],
+ "operationId": "SAPDatabaseInstances_Delete",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPDatabaseInstances_Delete": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json"
+ }
+ },
+ "description": "Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource.
This will be used by service only. Delete by end user will return a Bad Request error.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances": {
+ "get": {
+ "tags": [
+ "SAPDatabaseInstances"
+ ],
+ "operationId": "SAPDatabaseInstances_List",
+ "x-ms-examples": {
+ "SAPDatabaseInstances_List": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "description": "Lists the Database resources associated with a Virtual Instance for SAP solutions resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describes the Database resource corresponding to a Virtual Instance for SAP solutions resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPDatabaseInstanceList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}": {
+ "get": {
+ "tags": [
+ "SAPApplicationServerInstances"
+ ],
+ "operationId": "SAPApplicationServerInstances_Get",
+ "x-ms-examples": {
+ "SAPApplicationServerInstances_Get": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json"
+ }
+ },
+ "description": "Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPApplicationInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Describes the SAP Application Server Instance.",
+ "schema": {
+ "$ref": "#/definitions/SAPApplicationServerInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SAPApplicationServerInstances"
+ ],
+ "operationId": "SAPApplicationServerInstances_Create",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPApplicationServerInstances_Create": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json"
+ },
+ "Create SAP Application Server Instances for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json"
+ }
+ },
+ "description": "Puts the SAP Application Server Instance resource.
This will be used by service only. PUT by end user will return a Bad Request error.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPApplicationInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "The SAP Application Server Instance resource request body.",
+ "schema": {
+ "$ref": "#/definitions/SAPApplicationServerInstance"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Describes the SAP Application Server Instance resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPApplicationServerInstance"
+ }
+ },
+ "200": {
+ "description": "Describes the SAP Application Server Instance resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPApplicationServerInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SAPApplicationServerInstances"
+ ],
+ "operationId": "SAPApplicationServerInstances_Update",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPApplicationServerInstances_Update": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json"
+ }
+ },
+ "description": "Puts the SAP Application Server Instance resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPApplicationInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "The SAP Application Server Instance resource request body.",
+ "schema": {
+ "$ref": "#/definitions/UpdateSAPApplicationInstanceRequest"
+ }
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Describes the SAP Application Server Instance resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPApplicationServerInstance"
+ }
+ },
+ "200": {
+ "description": "Describes the SAP Application Server Instance resource.",
+ "schema": {
+ "$ref": "#/definitions/SAPApplicationServerInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SAPApplicationServerInstances"
+ ],
+ "operationId": "SAPApplicationServerInstances_Delete",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPApplicationServerInstances_Delete": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json"
+ }
+ },
+ "description": "Deletes the SAP Application Server Instance resource.
This operation will be used by service only. Delete by end user will return a Bad Request error.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPApplicationInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "NoContent"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances": {
+ "get": {
+ "tags": [
+ "SAPApplicationServerInstances"
+ ],
+ "operationId": "SAPApplicationServerInstances_List",
+ "x-ms-examples": {
+ "SAPApplicationServerInstances_List": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_List.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "description": "Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of SAP Application Server Instance resources.",
+ "schema": {
+ "$ref": "#/definitions/SAPApplicationServerInstanceList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start": {
+ "post": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_Start",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPVirtualInstances_Start": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Start.json"
+ }
+ },
+ "description": "Starts the SAP application, that is the Central Services instance and Application server instances.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/stop": {
+ "post": {
+ "tags": [
+ "SAPVirtualInstances"
+ ],
+ "operationId": "SAPVirtualInstances_Stop",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "SAPVirtualInstances_Stop": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Stop.json"
+ }
+ },
+ "description": "Stops the SAP Application, that is the Application server instances and Central Services instance.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "The Virtual Instance for SAP solutions resource stop request body.",
+ "schema": {
+ "$ref": "#/definitions/StopRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "HealthState": {
+ "description": "Defines the health of SAP Instances.",
+ "enum": [
+ "Unknown",
+ "Healthy",
+ "Unhealthy",
+ "Degraded"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPHealthState",
+ "modelAsString": true
+ }
+ },
+ "DeploymentType": {
+ "description": "The type of SAP deployment, single server or Three tier.",
+ "enum": [
+ "SingleServer",
+ "ThreeTier"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPDeploymentType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "SAPSoftwareInstallationType": {
+ "description": "The SAP software installation Type.",
+ "enum": [
+ "ServiceInitiated",
+ "SAPInstallWithoutOSConfig",
+ "External"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPSoftwareInstallationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "HighAvailabilityType": {
+ "description": "The high availability Type. AvailabilitySet guarantees 99.95% availability. Availability Zone guarantees 99.99% availability.",
+ "enum": [
+ "AvailabilitySet",
+ "AvailabilityZone"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPHighAvailabilityType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "DatabaseScaleMethod": {
+ "description": "The database scale method.",
+ "enum": [
+ "ScaleUp"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPDatabaseScaleMethod",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "ConfigurationType": {
+ "description": "The configuration Type.",
+ "enum": [
+ "Deployment",
+ "Discovery",
+ "DeploymentWithOSConfig"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPConfigurationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "SAPVirtualInstanceStatus": {
+ "description": "Defines the SAP Instance status.",
+ "enum": [
+ "Starting",
+ "Running",
+ "Stopping",
+ "Offline",
+ "PartiallyRunning",
+ "Unavailable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPVirtualInstanceStatus",
+ "modelAsString": true
+ }
+ },
+ "SAPVirtualInstanceState": {
+ "description": "Defines the Virtual Instance for SAP state.",
+ "enum": [
+ "InfrastructureDeploymentPending",
+ "InfrastructureDeploymentInProgress",
+ "InfrastructureDeploymentFailed",
+ "SoftwareInstallationPending",
+ "SoftwareInstallationInProgress",
+ "SoftwareInstallationFailed",
+ "SoftwareDetectionInProgress",
+ "SoftwareDetectionFailed",
+ "DiscoveryPending",
+ "DiscoveryInProgress",
+ "DiscoveryFailed",
+ "RegistrationComplete"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPVirtualInstanceState",
+ "modelAsString": true
+ }
+ },
+ "EnvironmentType": {
+ "description": "Defines the environment type - Production/Non Production.",
+ "enum": [
+ "NonProd",
+ "Prod"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPEnvironmentType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "CentralServerVirtualMachineType": {
+ "description": "Defines the type of central server VM.",
+ "enum": [
+ "Primary",
+ "Secondary",
+ "Unknown",
+ "ASCS",
+ "ERSInactive",
+ "ERS",
+ "Standby"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "CentralServerVirtualMachineType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read"
+ ]
+ },
+ "SAPDatabaseType": {
+ "description": "Defines the supported SAP Database types.",
+ "enum": [
+ "HANA",
+ "DB2"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPDatabaseType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "SAPProductType": {
+ "description": "Defines the SAP Product type.",
+ "enum": [
+ "ECC",
+ "S4HANA",
+ "Other"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SAPProductType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "EnqueueReplicationServerType": {
+ "description": "Defines the type of Enqueue Replication Server.",
+ "enum": [
+ "EnqueueReplicator1",
+ "EnqueueReplicator2"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "EnqueueReplicationServerType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read"
+ ]
+ },
+ "ProvisioningState": {
+ "description": "Defines the provisioning states.",
+ "enum": [
+ "Succeeded",
+ "Updating",
+ "Creating",
+ "Failed",
+ "Deleting"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "SapVirtualInstanceProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "DiskSkuName": {
+ "description": "Defines the disk sku name.",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS",
+ "Premium_ZRS",
+ "StandardSSD_ZRS",
+ "PremiumV2_LRS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DiskSkuName",
+ "modelAsString": true
+ }
+ },
+ "SAPVirtualInstanceError": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "The Virtual Instance for SAP error body.",
+ "$ref": "#/definitions/ErrorDefinition"
+ }
+ },
+ "description": "An error response from the Virtual Instance for SAP Workload service."
+ },
+ "UpdateSAPVirtualInstanceRequest": {
+ "description": "Defines the request body for updating Virtual Instance for SAP.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Gets or sets the Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "identity": {
+ "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
+ }
+ }
+ },
+ "UpdateSAPApplicationInstanceRequest": {
+ "description": "Defines the request body for updating SAP Application Instance.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Gets or sets the Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "UpdateSAPDatabaseInstanceRequest": {
+ "description": "Defines the request body for updating SAP Database Instance.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Gets or sets the Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "UpdateSAPCentralInstanceRequest": {
+ "description": "Defines the request body for updating SAP Central Instance.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Gets or sets the Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ImageReference": {
+ "type": "object",
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "description": "The image publisher."
+ },
+ "offer": {
+ "type": "string",
+ "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The image SKU."
+ },
+ "version": {
+ "type": "string",
+ "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
+ },
+ "exactVersion": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'."
+ },
+ "sharedGalleryImageId": {
+ "type": "string",
+ "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call."
+ }
+ },
+ "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set."
+ },
+ "WindowsConfiguration": {
+ "type": "object",
+ "x-ms-discriminator-value": "Windows",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OSConfiguration"
+ }
+ ],
+ "properties": {},
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ },
+ "SshPublicKey": {
+ "type": "object",
+ "properties": {
+ "keyData": {
+ "type": "string",
+ "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
+ }
+ },
+ "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed."
+ },
+ "SshConfiguration": {
+ "type": "object",
+ "properties": {
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SshPublicKey"
+ },
+ "description": "The list of SSH public keys used to authenticate with linux based VMs.",
+ "x-ms-identifiers": []
+ }
+ },
+ "description": "SSH configuration for Linux based VMs running on Azure"
+ },
+ "LinuxConfiguration": {
+ "type": "object",
+ "x-ms-discriminator-value": "Linux",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OSConfiguration"
+ }
+ ],
+ "properties": {
+ "disablePasswordAuthentication": {
+ "type": "boolean",
+ "description": "Specifies whether password authentication should be disabled."
+ },
+ "ssh": {
+ "$ref": "#/definitions/SshConfiguration",
+ "description": "Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)"
+ },
+ "sshKeyPair": {
+ "$ref": "#/definitions/SshKeyPair",
+ "description": "The SSH Key-pair used to authenticate with the VM's."
+ }
+ },
+ "description": "Specifies the Linux operating system settings on the virtual machine.
For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)."
+ },
+ "OSConfiguration": {
+ "description": "Defines the OS configuration.",
+ "type": "object",
+ "required": [
+ "osType"
+ ],
+ "properties": {
+ "osType": {
+ "description": "The OS Type",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ },
+ "discriminator": "osType"
+ },
+ "OSProfile": {
+ "type": "object",
+ "properties": {
+ "adminUsername": {
+ "type": "string",
+ "description": "Specifies the name of the administrator account.
This property cannot be updated after the VM is created.
**Windows-only restriction:** Cannot end in \".\"
**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".
**Minimum-length (Linux):** 1 character
**Max-length (Linux):** 64 characters
**Max-length (Windows):** 20 characters."
+ },
+ "adminPassword": {
+ "type": "string",
+ "x-ms-secret": true,
+ "description": "Specifies the password of the administrator account.
**Minimum-length (Windows):** 8 characters
**Minimum-length (Linux):** 6 characters
**Max-length (Windows):** 123 characters
**Max-length (Linux):** 72 characters
**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])
**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"
For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)
For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
+ },
+ "osConfiguration": {
+ "$ref": "#/definitions/OSConfiguration",
+ "description": "Specifies Windows operating system settings on the virtual machine."
+ }
+ },
+ "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned."
+ },
+ "SingleServerRecommendationResult": {
+ "x-ms-discriminator-value": "SingleServer",
+ "description": "The recommended configuration for a single server SAP system.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SAPSizingRecommendationResult"
+ }
+ ],
+ "properties": {
+ "vmSku": {
+ "description": "The recommended VM SKU for single server.",
+ "type": "string"
+ }
+ }
+ },
+ "ThreeTierRecommendationResult": {
+ "x-ms-discriminator-value": "ThreeTier",
+ "description": "The recommended configuration for a three tier SAP system.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SAPSizingRecommendationResult"
+ }
+ ],
+ "properties": {
+ "dbVmSku": {
+ "description": "The database VM SKU.",
+ "type": "string"
+ },
+ "databaseInstanceCount": {
+ "description": "The database server instance count.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "centralServerVmSku": {
+ "description": "The central server VM SKU.",
+ "type": "string"
+ },
+ "centralServerInstanceCount": {
+ "description": "The central server instance count.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "applicationServerVmSku": {
+ "description": "The application server VM SKU.",
+ "type": "string"
+ },
+ "applicationServerInstanceCount": {
+ "description": "The application server instance count.",
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ },
+ "SAPSizingRecommendationRequest": {
+ "description": "The SAP Sizing Recommendation request.",
+ "type": "object",
+ "properties": {
+ "appLocation": {
+ "type": "string",
+ "description": "The geo-location where the resource is to be created."
+ },
+ "environment": {
+ "$ref": "#/definitions/EnvironmentType"
+ },
+ "sapProduct": {
+ "$ref": "#/definitions/SAPProductType"
+ },
+ "deploymentType": {
+ "description": "The deployment type. Eg: SingleServer/ThreeTier",
+ "$ref": "#/definitions/DeploymentType"
+ },
+ "saps": {
+ "description": "The SAP Application Performance Standard measurement.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "dbMemory": {
+ "description": "The database memory configuration.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "databaseType": {
+ "description": "The database type.",
+ "$ref": "#/definitions/SAPDatabaseType"
+ },
+ "dbScaleMethod": {
+ "description": "The DB scale method.",
+ "$ref": "#/definitions/DatabaseScaleMethod"
+ },
+ "highAvailabilityType": {
+ "description": "The high availability type.",
+ "$ref": "#/definitions/HighAvailabilityType"
+ }
+ },
+ "required": [
+ "appLocation",
+ "environment",
+ "sapProduct",
+ "deploymentType",
+ "saps",
+ "dbMemory",
+ "databaseType"
+ ]
+ },
+ "SAPSizingRecommendationResult": {
+ "description": "The SAP sizing recommendation result.",
+ "type": "object",
+ "required": [
+ "deploymentType"
+ ],
+ "properties": {
+ "deploymentType": {
+ "$ref": "#/definitions/DeploymentType"
+ }
+ },
+ "discriminator": "deploymentType"
+ },
+ "SAPSupportedSkusRequest": {
+ "description": "The SAP request to get list of supported SKUs.",
+ "type": "object",
+ "properties": {
+ "appLocation": {
+ "type": "string",
+ "description": "The geo-location where the resource is to be created."
+ },
+ "environment": {
+ "$ref": "#/definitions/EnvironmentType"
+ },
+ "sapProduct": {
+ "$ref": "#/definitions/SAPProductType"
+ },
+ "deploymentType": {
+ "description": "The deployment type. Eg: SingleServer/ThreeTier",
+ "$ref": "#/definitions/DeploymentType"
+ },
+ "databaseType": {
+ "description": "The database type. Eg: HANA, DB2, etc",
+ "$ref": "#/definitions/SAPDatabaseType"
+ },
+ "highAvailabilityType": {
+ "description": "The high availability type.",
+ "$ref": "#/definitions/HighAvailabilityType"
+ }
+ },
+ "required": [
+ "appLocation",
+ "environment",
+ "sapProduct",
+ "databaseType",
+ "deploymentType"
+ ]
+ },
+ "SAPSupportedSku": {
+ "description": "The SAP supported SKU.",
+ "type": "object",
+ "properties": {
+ "vmSku": {
+ "type": "string",
+ "description": "The VM Sku."
+ },
+ "isAppServerCertified": {
+ "description": "True if the Sku is certified for App server in the SAP system.",
+ "type": "boolean"
+ },
+ "isDatabaseCertified": {
+ "description": "True if the Sku is certified for Database server in the SAP system.",
+ "type": "boolean"
+ }
+ }
+ },
+ "SAPSupportedResourceSkusResult": {
+ "description": "The list of supported SKUs for different resources which are part of SAP deployment.",
+ "type": "object",
+ "properties": {
+ "supportedSkus": {
+ "description": "Gets the list of SAP supported SKUs.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SAPSupportedSku"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "SAPDiskConfigurationsRequest": {
+ "description": "The SAP request to get list of disk configurations.",
+ "type": "object",
+ "properties": {
+ "appLocation": {
+ "type": "string",
+ "description": "The geo-location where the SAP resources will be created."
+ },
+ "environment": {
+ "$ref": "#/definitions/EnvironmentType"
+ },
+ "sapProduct": {
+ "$ref": "#/definitions/SAPProductType"
+ },
+ "databaseType": {
+ "description": "The database type. Eg: HANA, DB2, etc",
+ "$ref": "#/definitions/SAPDatabaseType"
+ },
+ "deploymentType": {
+ "description": "The deployment type. Eg: SingleServer/ThreeTier",
+ "$ref": "#/definitions/DeploymentType"
+ },
+ "dbVmSku": {
+ "description": "The VM SKU for database instance.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "appLocation",
+ "environment",
+ "sapProduct",
+ "databaseType",
+ "deploymentType",
+ "dbVmSku"
+ ]
+ },
+ "SAPDiskConfiguration": {
+ "description": "The SAP Disk Configuration.",
+ "type": "object",
+ "properties": {
+ "volume": {
+ "type": "string",
+ "description": "The volume name."
+ },
+ "diskType": {
+ "type": "string",
+ "description": "The disk type."
+ },
+ "diskCount": {
+ "description": "The disk count.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "diskSizeGB": {
+ "description": "The disk size in GB.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "diskIopsReadWrite": {
+ "description": "The disk Iops.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "diskMBpsReadWrite": {
+ "description": "The disk provisioned throughput in MBps.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "diskStorageType": {
+ "description": "The disk storage type",
+ "type": "string"
+ }
+ }
+ },
+ "SAPDiskConfigurationsResult": {
+ "description": "The list of disk configuration for vmSku which are part of SAP deployment.",
+ "type": "object",
+ "properties": {
+ "diskConfigurations": {
+ "description": "Gets the list of Disk Configurations.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SAPDiskConfiguration"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "SAPAvailabilityZoneDetailsRequest": {
+ "description": "The SAP request to get list of availability zones.",
+ "type": "object",
+ "properties": {
+ "appLocation": {
+ "type": "string",
+ "description": "The geo-location where the SAP resources will be created."
+ },
+ "sapProduct": {
+ "$ref": "#/definitions/SAPProductType"
+ },
+ "databaseType": {
+ "description": "The database type. Eg: HANA, DB2, etc",
+ "$ref": "#/definitions/SAPDatabaseType"
+ }
+ },
+ "required": [
+ "appLocation",
+ "sapProduct",
+ "databaseType"
+ ]
+ },
+ "SAPAvailabilityZonePair": {
+ "description": "The SAP Availability Zone Pair.",
+ "type": "object",
+ "properties": {
+ "zoneA": {
+ "description": "The zone A.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "zoneB": {
+ "description": "The zone B.",
+ "type": "integer",
+ "format": "int64"
+ }
+ }
+ },
+ "SAPAvailabilityZoneDetailsResult": {
+ "description": "The list of supported availability zone pairs which are part of SAP HA deployment.",
+ "type": "object",
+ "properties": {
+ "availabilityZonePairs": {
+ "description": "Gets the list of availability zone pairs.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SAPAvailabilityZonePair"
+ },
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "DiskSku": {
+ "description": "The disk sku.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/DiskSkuName"
+ }
+ }
+ },
+ "DiskVolumeConfiguration": {
+ "description": "The disk configuration required for the selected volume.",
+ "type": "object",
+ "properties": {
+ "count": {
+ "description": "The total number of disks required for the concerned volume.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "sizeGB": {
+ "description": "The disk size in GB.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "sku": {
+ "description": "The disk SKU details.",
+ "$ref": "#/definitions/DiskSku"
+ }
+ }
+ },
+ "DiskConfiguration": {
+ "description": "The Disk Configuration Details.",
+ "type": "object",
+ "properties": {
+ "diskVolumeConfigurations": {
+ "description": "The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/DiskVolumeConfiguration"
+ }
+ }
+ }
+ },
+ "VirtualMachineConfiguration": {
+ "description": "Defines the virtual machine configuration.",
+ "type": "object",
+ "properties": {
+ "vmSize": {
+ "type": "string",
+ "description": "The virtual machine size."
+ },
+ "imageReference": {
+ "description": "The image reference.",
+ "$ref": "#/definitions/ImageReference"
+ },
+ "osProfile": {
+ "description": "The OS profile.",
+ "$ref": "#/definitions/OSProfile"
+ }
+ },
+ "required": [
+ "vmSize",
+ "imageReference",
+ "osProfile"
+ ]
+ },
+ "SingleServerConfiguration": {
+ "x-ms-discriminator-value": "SingleServer",
+ "description": "Gets or sets the single server configuration.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/InfrastructureConfiguration"
+ }
+ ],
+ "properties": {
+ "networkConfiguration": {
+ "description": "Network configuration for the server",
+ "$ref": "#/definitions/NetworkConfiguration"
+ },
+ "databaseType": {
+ "description": "The database type.",
+ "$ref": "#/definitions/SAPDatabaseType"
+ },
+ "subnetId": {
+ "description": "The subnet id.",
+ "type": "string"
+ },
+ "virtualMachineConfiguration": {
+ "description": "Gets or sets the virtual machine configuration.",
+ "$ref": "#/definitions/VirtualMachineConfiguration"
+ },
+ "dbDiskConfiguration": {
+ "description": "Gets or sets the disk configuration.",
+ "$ref": "#/definitions/DiskConfiguration"
+ }
+ },
+ "required": [
+ "subnetId",
+ "virtualMachineConfiguration"
+ ]
+ },
+ "CentralServerConfiguration": {
+ "description": "Gets or sets the central server configuration.",
+ "type": "object",
+ "properties": {
+ "subnetId": {
+ "description": "The subnet id.",
+ "type": "string"
+ },
+ "virtualMachineConfiguration": {
+ "description": "Gets or sets the virtual machine configuration.",
+ "$ref": "#/definitions/VirtualMachineConfiguration"
+ },
+ "instanceCount": {
+ "description": "The number of central server VMs.",
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ "required": [
+ "subnetId",
+ "virtualMachineConfiguration",
+ "instanceCount"
+ ]
+ },
+ "DatabaseConfiguration": {
+ "description": "Gets or sets the database configuration.",
+ "type": "object",
+ "properties": {
+ "databaseType": {
+ "description": "The database type.",
+ "$ref": "#/definitions/SAPDatabaseType"
+ },
+ "subnetId": {
+ "description": "The subnet id.",
+ "type": "string"
+ },
+ "virtualMachineConfiguration": {
+ "description": "Gets or sets the virtual machine configuration.",
+ "$ref": "#/definitions/VirtualMachineConfiguration"
+ },
+ "instanceCount": {
+ "description": "The number of database VMs.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "diskConfiguration": {
+ "description": "Gets or sets the disk configuration.",
+ "$ref": "#/definitions/DiskConfiguration"
+ }
+ },
+ "required": [
+ "subnetId",
+ "virtualMachineConfiguration",
+ "instanceCount"
+ ]
+ },
+ "ApplicationServerConfiguration": {
+ "description": "Gets or sets the application server configuration.",
+ "type": "object",
+ "properties": {
+ "subnetId": {
+ "description": "The subnet id.",
+ "type": "string"
+ },
+ "virtualMachineConfiguration": {
+ "description": "Gets or sets the virtual machine configuration.",
+ "$ref": "#/definitions/VirtualMachineConfiguration"
+ },
+ "instanceCount": {
+ "description": "The number of app server instances.",
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ "required": [
+ "subnetId",
+ "virtualMachineConfiguration",
+ "instanceCount"
+ ]
+ },
+ "HighAvailabilityConfiguration": {
+ "description": "Gets or sets the high availability configuration.",
+ "type": "object",
+ "properties": {
+ "highAvailabilityType": {
+ "description": "The high availability type.",
+ "$ref": "#/definitions/HighAvailabilityType"
+ }
+ },
+ "required": [
+ "highAvailabilityType"
+ ]
+ },
+ "FileShareConfigurationType": {
+ "description": "The type of file share config.",
+ "enum": [
+ "Skip",
+ "CreateAndMount",
+ "Mount"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "configurationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "SkipFileShareConfiguration": {
+ "x-ms-discriminator-value": "Skip",
+ "description": "Gets or sets the file share configuration for scenarios where transport directory fileshare is not created or required.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ ]
+ },
+ "CreateAndMountFileShareConfiguration": {
+ "x-ms-discriminator-value": "CreateAndMount",
+ "description": "Gets or sets the file share configuration where the transport directory fileshare is created and mounted as a part of the create infra flow.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ ],
+ "properties": {
+ "resourceGroup": {
+ "type": "string",
+ "description": "The name of file share resource group. The app rg is used in case of missing input."
+ },
+ "storageAccountName": {
+ "type": "string",
+ "description": "The name of file share storage account name . A custom name is used in case of missing input."
+ }
+ }
+ },
+ "MountFileShareConfiguration": {
+ "x-ms-discriminator-value": "Mount",
+ "description": "Gets or sets the file share configuration where the transport directory fileshare already exists, and user wishes to mount the fileshare as a part of the create infra flow.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ ],
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fileshare resource ID"
+ },
+ "privateEndpointId": {
+ "type": "string",
+ "description": "The private endpoint resource ID"
+ }
+ },
+ "required": [
+ "id",
+ "privateEndpointId"
+ ]
+ },
+ "FileShareConfiguration": {
+ "description": "File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input.",
+ "type": "object",
+ "properties": {
+ "configurationType": {
+ "$ref": "#/definitions/FileShareConfigurationType"
+ }
+ },
+ "discriminator": "configurationType",
+ "required": [
+ "configurationType"
+ ]
+ },
+ "StorageConfiguration": {
+ "description": "Gets or sets the storage configuration.",
+ "type": "object",
+ "properties": {
+ "transportFileShareConfiguration": {
+ "description": "The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.",
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ }
+ },
+ "ThreeTierConfiguration": {
+ "x-ms-discriminator-value": "ThreeTier",
+ "x-ms-client-flatten": true,
+ "description": "Gets or sets the three tier SAP configuration.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/InfrastructureConfiguration"
+ }
+ ],
+ "properties": {
+ "networkConfiguration": {
+ "description": "Network configuration common to all servers",
+ "$ref": "#/definitions/NetworkConfiguration"
+ },
+ "centralServer": {
+ "description": "The central server configuration.",
+ "$ref": "#/definitions/CentralServerConfiguration"
+ },
+ "applicationServer": {
+ "description": "The application server configuration.",
+ "$ref": "#/definitions/ApplicationServerConfiguration"
+ },
+ "databaseServer": {
+ "description": "The database configuration.",
+ "$ref": "#/definitions/DatabaseConfiguration"
+ },
+ "highAvailabilityConfig": {
+ "description": "The high availability configuration.",
+ "$ref": "#/definitions/HighAvailabilityConfiguration"
+ },
+ "storageConfiguration": {
+ "description": "The storage configuration.",
+ "$ref": "#/definitions/StorageConfiguration"
+ }
+ },
+ "required": [
+ "centralServer",
+ "applicationServer",
+ "databaseServer"
+ ]
+ },
+ "InfrastructureConfiguration": {
+ "description": "Deploy SAP Infrastructure Details.",
+ "type": "object",
+ "required": [
+ "deploymentType",
+ "appResourceGroup"
+ ],
+ "properties": {
+ "deploymentType": {
+ "$ref": "#/definitions/DeploymentType"
+ },
+ "appResourceGroup": {
+ "type": "string",
+ "description": "The application resource group where SAP system resources will be deployed."
+ }
+ },
+ "discriminator": "deploymentType"
+ },
+ "SoftwareConfiguration": {
+ "description": "The SAP Software configuration Input.",
+ "type": "object",
+ "properties": {
+ "softwareInstallationType": {
+ "$ref": "#/definitions/SAPSoftwareInstallationType"
+ }
+ },
+ "required": [
+ "softwareInstallationType"
+ ],
+ "discriminator": "softwareInstallationType"
+ },
+ "ServiceInitiatedSoftwareConfiguration": {
+ "description": "The SAP Software configuration Input when the software is to be installed by service.",
+ "type": "object",
+ "x-ms-discriminator-value": "ServiceInitiated",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/SoftwareConfiguration"
+ }
+ ],
+ "properties": {
+ "bomUrl": {
+ "type": "string",
+ "description": "The URL to the SAP Build of Materials(BOM) file."
+ },
+ "softwareVersion": {
+ "type": "string",
+ "description": "The software version to install."
+ },
+ "sapBitsStorageAccountId": {
+ "type": "string",
+ "description": "The SAP bits storage account id."
+ },
+ "sapFqdn": {
+ "type": "string",
+ "description": "The FQDN to set for the SAP system during install."
+ },
+ "sshPrivateKey": {
+ "type": "string",
+ "x-ms-secret": true,
+ "description": "The SSH private key."
+ },
+ "highAvailabilitySoftwareConfiguration": {
+ "$ref": "#/definitions/HighAvailabilitySoftwareConfiguration"
+ }
+ },
+ "required": [
+ "bomUrl",
+ "softwareVersion",
+ "sapBitsStorageAccountId",
+ "sapFqdn",
+ "sshPrivateKey"
+ ]
+ },
+ "SAPInstallWithoutOSConfigSoftwareConfiguration": {
+ "description": "The SAP Software configuration Input when the software is to be installed by service without OS Configurations",
+ "type": "object",
+ "x-ms-discriminator-value": "SAPInstallWithoutOSConfig",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/SoftwareConfiguration"
+ }
+ ],
+ "properties": {
+ "bomUrl": {
+ "type": "string",
+ "description": "The URL to the SAP Build of Materials(BOM) file."
+ },
+ "sapBitsStorageAccountId": {
+ "type": "string",
+ "description": "The SAP bits storage account id."
+ },
+ "softwareVersion": {
+ "type": "string",
+ "description": "The software version to install."
+ },
+ "highAvailabilitySoftwareConfiguration": {
+ "$ref": "#/definitions/HighAvailabilitySoftwareConfiguration"
+ }
+ },
+ "required": [
+ "bomUrl",
+ "sapBitsStorageAccountId",
+ "softwareVersion"
+ ]
+ },
+ "ExternalInstallationSoftwareConfiguration": {
+ "description": "The SAP Software configuration Input when the software is installed externally outside the service.",
+ "type": "object",
+ "x-ms-discriminator-value": "External",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/SoftwareConfiguration"
+ }
+ ],
+ "properties": {
+ "centralServerVmId": {
+ "type": "string",
+ "description": "The resource ID of the virtual machine containing the central server instance."
+ }
+ }
+ },
+ "HighAvailabilitySoftwareConfiguration": {
+ "description": "Gets or sets the HA software configuration.",
+ "type": "object",
+ "properties": {
+ "fencingClientId": {
+ "description": "The fencing client id.",
+ "type": "string"
+ },
+ "fencingClientPassword": {
+ "description": "The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.",
+ "x-ms-secret": true,
+ "type": "string"
+ }
+ },
+ "required": [
+ "fencingClientId",
+ "fencingClientPassword"
+ ]
+ },
+ "StopRequest": {
+ "description": "Stop SAP Request.",
+ "type": "object",
+ "properties": {
+ "hardStop": {
+ "type": "boolean",
+ "default": false,
+ "description": "A boolean to specify if the SAP system should be hard-stopped."
+ }
+ }
+ },
+ "DiscoveryConfiguration": {
+ "x-ms-discriminator-value": "Discovery",
+ "description": "Discovery Details.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SAPConfiguration"
+ }
+ ],
+ "properties": {
+ "centralServerVmId": {
+ "type": "string",
+ "description": "The virtual machine ID of the Central Server."
+ },
+ "appLocation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The geo-location where the SAP system exists."
+ }
+ }
+ },
+ "DeploymentConfiguration": {
+ "x-ms-discriminator-value": "Deployment",
+ "description": "Deployment Configuration.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SAPConfiguration"
+ }
+ ],
+ "properties": {
+ "appLocation": {
+ "type": "string",
+ "description": "The geo-location where the SAP system is to be created."
+ },
+ "infrastructureConfiguration": {
+ "$ref": "#/definitions/InfrastructureConfiguration",
+ "description": "The infrastructure configuration."
+ },
+ "softwareConfiguration": {
+ "$ref": "#/definitions/SoftwareConfiguration",
+ "description": "The software configuration."
+ }
+ }
+ },
+ "DeploymentWithOSConfiguration": {
+ "x-ms-discriminator-value": "DeploymentWithOSConfig",
+ "description": "Deployment along with OS Configuration.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SAPConfiguration"
+ }
+ ],
+ "properties": {
+ "appLocation": {
+ "type": "string",
+ "description": "The geo-location where the SAP system is to be created."
+ },
+ "infrastructureConfiguration": {
+ "$ref": "#/definitions/InfrastructureConfiguration",
+ "description": "The infrastructure configuration."
+ },
+ "softwareConfiguration": {
+ "$ref": "#/definitions/SoftwareConfiguration",
+ "description": "The software configuration."
+ },
+ "osSapConfiguration": {
+ "$ref": "#/definitions/OsSapConfiguration",
+ "description": "The OS and SAP configuration."
+ }
+ }
+ },
+ "OsSapConfiguration": {
+ "description": "Defines the OS and SAP Configurations for Deployment",
+ "type": "object",
+ "properties": {
+ "deployerVmPackages": {
+ "$ref": "#/definitions/DeployerVmPackages",
+ "description": "The url and storage account ID where deployer VM packages are uploaded"
+ },
+ "sapFqdn": {
+ "type": "string",
+ "description": "The FQDN to set for the SAP system"
+ }
+ }
+ },
+ "DeployerVmPackages": {
+ "description": "Defines the url and storage account ID where deployer VM packages are uploaded",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL to the deployer VM packages file."
+ },
+ "storageAccountId": {
+ "type": "string",
+ "description": "The deployer VM packages storage account id"
+ }
+ }
+ },
+ "SshKeyPair": {
+ "description": "The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format.
For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).",
+ "type": "object",
+ "properties": {
+ "publicKey": {
+ "type": "string",
+ "description": "SSH public key"
+ },
+ "privateKey": {
+ "type": "string",
+ "x-ms-secret": true,
+ "description": "SSH private key."
+ }
+ }
+ },
+ "SAPConfiguration": {
+ "description": "The SAP Configuration.",
+ "type": "object",
+ "required": [
+ "configurationType"
+ ],
+ "properties": {
+ "configurationType": {
+ "$ref": "#/definitions/ConfigurationType"
+ }
+ },
+ "discriminator": "configurationType"
+ },
+ "LoadBalancerDetails": {
+ "description": "The Load Balancer details such as Load Balancer ID.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "StorageInformation": {
+ "description": "Storage details of all the Storage accounts attached to the VM. For e.g. NFS on AFS Shared Storage. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "CentralServerVmDetails": {
+ "description": "The SAP Central Services Instance VM details.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/CentralServerVirtualMachineType",
+ "readOnly": true
+ },
+ "virtualMachineId": {
+ "type": "string",
+ "readOnly": true
+ },
+ "storageDetails": {
+ "description": "Storage details of all the Storage Accounts attached to the ASCS Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageInformation"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ }
+ }
+ },
+ "DatabaseVmDetails": {
+ "description": "Database VM details.",
+ "type": "object",
+ "properties": {
+ "virtualMachineId": {
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "$ref": "#/definitions/SAPVirtualInstanceStatus",
+ "readOnly": true
+ },
+ "storageDetails": {
+ "description": "Storage details of all the Storage Accounts attached to the Database Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageInformation"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedRGConfiguration": {
+ "description": "Managed resource group configuration",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Managed resource group name"
+ }
+ }
+ },
+ "SAPVirtualInstanceProperties": {
+ "description": "Defines the Virtual Instance for SAP solutions resource properties.",
+ "type": "object",
+ "required": [
+ "environment",
+ "sapProduct",
+ "configuration"
+ ],
+ "properties": {
+ "environment": {
+ "$ref": "#/definitions/EnvironmentType",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "sapProduct": {
+ "$ref": "#/definitions/SAPProductType",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "configuration": {
+ "description": "Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS",
+ "$ref": "#/definitions/SAPConfiguration"
+ },
+ "managedResourceGroupConfiguration": {
+ "description": "Managed resource group configuration",
+ "$ref": "#/definitions/ManagedRGConfiguration"
+ },
+ "status": {
+ "$ref": "#/definitions/SAPVirtualInstanceStatus",
+ "readOnly": true
+ },
+ "health": {
+ "$ref": "#/definitions/HealthState",
+ "readOnly": true
+ },
+ "state": {
+ "$ref": "#/definitions/SAPVirtualInstanceState",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "readOnly": true
+ },
+ "errors": {
+ "description": "Indicates any errors on the Virtual Instance for SAP solutions resource.",
+ "$ref": "#/definitions/SAPVirtualInstanceError",
+ "readOnly": true
+ }
+ }
+ },
+ "SAPVirtualInstance": {
+ "description": "Define the Virtual Instance for SAP solutions resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SAPVirtualInstanceProperties"
+ }
+ },
+ "required": [
+ "properties"
+ ]
+ },
+ "SAPVirtualInstanceList": {
+ "description": "Defines the collection of Virtual Instance for SAP solutions resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets the list of Virtual Instances for SAP solutions resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SAPVirtualInstance"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "description": "Gets the value of next link.",
+ "type": "string"
+ }
+ }
+ },
+ "SAPCentralInstanceList": {
+ "description": "Defines the collection of SAP Central Services Instance resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets the list of SAP central services instance resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SAPCentralServerInstance"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "description": "Gets the value of next link.",
+ "type": "string"
+ }
+ }
+ },
+ "SAPDatabaseInstanceList": {
+ "description": "Defines the collection of SAP Database Instances.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets the list of SAP Database instances.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SAPDatabaseInstance"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "description": "Gets the value of next link.",
+ "type": "string"
+ }
+ }
+ },
+ "SAPApplicationServerInstanceList": {
+ "description": "Defines the collection of SAP Application Server Instance resources.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets the list of SAP Application Server instance resources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SAPApplicationServerInstance"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "description": "Gets the value of next link.",
+ "type": "string"
+ }
+ }
+ },
+ "SAPApplicationServerProperties": {
+ "description": "Defines the SAP Application Server instance properties.",
+ "type": "object",
+ "properties": {
+ "instanceNo": {
+ "type": "string",
+ "description": "Application server Instance Number.",
+ "readOnly": true
+ },
+ "subnet": {
+ "type": "string",
+ "description": "Application server Subnet.",
+ "readOnly": true
+ },
+ "hostname": {
+ "type": "string",
+ "description": "Application server instance SAP hostname.",
+ "readOnly": true
+ },
+ "kernelVersion": {
+ "type": "string",
+ "description": " Application server instance SAP Kernel Version.",
+ "readOnly": true
+ },
+ "kernelPatch": {
+ "type": "string",
+ "description": "Application server instance SAP Kernel Patch level.",
+ "readOnly": true
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": " Application server instance SAP IP Address.",
+ "readOnly": true
+ },
+ "gatewayPort": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Application server instance gateway Port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "icmHttpPort": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Application server instance ICM HTTP Port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "icmHttpsPort": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Application server instance ICM HTTPS Port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "virtualMachineId": {
+ "type": "string",
+ "description": "The virtual machine.",
+ "readOnly": true
+ },
+ "status": {
+ "$ref": "#/definitions/SAPVirtualInstanceStatus",
+ "readOnly": true
+ },
+ "storageDetails": {
+ "description": "Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageInformation"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ },
+ "health": {
+ "$ref": "#/definitions/HealthState",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "readOnly": true
+ },
+ "errors": {
+ "description": "Defines the Application Instance errors.",
+ "readOnly": true,
+ "$ref": "#/definitions/SAPVirtualInstanceError"
+ }
+ }
+ },
+ "SAPApplicationServerInstance": {
+ "description": "Define the SAP Application Server Instance resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SAPApplicationServerProperties"
+ }
+ }
+ },
+ "MessageServerProperties": {
+ "description": "Defines the SAP Message Server properties.",
+ "type": "object",
+ "properties": {
+ "msPort": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Message Server port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "internalMsPort": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Message Server internal MS port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "httpPort": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Message Server HTTP Port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "httpsPort": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Message Server HTTPS Port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "hostname": {
+ "type": "string",
+ "description": "Message Server SAP Hostname.",
+ "readOnly": true
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "Message server IP Address.",
+ "readOnly": true
+ },
+ "health": {
+ "$ref": "#/definitions/HealthState",
+ "readOnly": true
+ }
+ }
+ },
+ "EnqueueServerProperties": {
+ "description": "Defines the SAP Enqueue Server properties.",
+ "type": "object",
+ "properties": {
+ "hostname": {
+ "type": "string",
+ "description": "Enqueue Server SAP Hostname.",
+ "readOnly": true
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "Enqueue Server SAP IP Address.",
+ "readOnly": true
+ },
+ "port": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Enqueue Server Port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "health": {
+ "$ref": "#/definitions/HealthState",
+ "readOnly": true
+ }
+ }
+ },
+ "GatewayServerProperties": {
+ "description": "Defines the SAP Gateway Server properties.",
+ "type": "object",
+ "properties": {
+ "port": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Gateway Port.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "health": {
+ "$ref": "#/definitions/HealthState",
+ "readOnly": true
+ }
+ }
+ },
+ "EnqueueReplicationServerProperties": {
+ "description": "Defines the SAP Enqueue Replication Server (ERS) properties.",
+ "type": "object",
+ "properties": {
+ "ersVersion": {
+ "$ref": "#/definitions/EnqueueReplicationServerType",
+ "readOnly": true
+ },
+ "instanceNo": {
+ "type": "string",
+ "description": "ERS Instance Number.",
+ "readOnly": true
+ },
+ "hostname": {
+ "type": "string",
+ "description": "ERS SAP Hostname.",
+ "readOnly": true
+ },
+ "kernelVersion": {
+ "type": "string",
+ "description": "ERS SAP Kernel Version.",
+ "readOnly": true
+ },
+ "kernelPatch": {
+ "type": "string",
+ "description": "ERS SAP Kernel Patch level.",
+ "readOnly": true
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "ERS SAP IP Address.",
+ "readOnly": true
+ },
+ "health": {
+ "$ref": "#/definitions/HealthState",
+ "readOnly": true
+ }
+ }
+ },
+ "SAPCentralServerProperties": {
+ "description": "Defines the SAP Central Services Instance properties.",
+ "type": "object",
+ "properties": {
+ "instanceNo": {
+ "type": "string",
+ "description": "The central services instance number.",
+ "readOnly": true
+ },
+ "subnet": {
+ "type": "string",
+ "description": "The central services instance subnet.",
+ "readOnly": true
+ },
+ "messageServerProperties": {
+ "$ref": "#/definitions/MessageServerProperties"
+ },
+ "enqueueServerProperties": {
+ "$ref": "#/definitions/EnqueueServerProperties"
+ },
+ "gatewayServerProperties": {
+ "$ref": "#/definitions/GatewayServerProperties"
+ },
+ "enqueueReplicationServerProperties": {
+ "$ref": "#/definitions/EnqueueReplicationServerProperties"
+ },
+ "kernelVersion": {
+ "type": "string",
+ "description": "The central services instance Kernel Version.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "kernelPatch": {
+ "type": "string",
+ "description": "The central services instance Kernel Patch level.",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "loadBalancerDetails": {
+ "description": "The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines",
+ "$ref": "#/definitions/LoadBalancerDetails",
+ "readOnly": true
+ },
+ "vmDetails": {
+ "description": "The list of virtual machines corresponding to the Central Services instance.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CentralServerVmDetails"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ },
+ "status": {
+ "$ref": "#/definitions/SAPVirtualInstanceStatus",
+ "readOnly": true
+ },
+ "health": {
+ "$ref": "#/definitions/HealthState",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "readOnly": true
+ },
+ "errors": {
+ "description": "Defines the errors related to SAP Central Services Instance resource.",
+ "readOnly": true,
+ "$ref": "#/definitions/SAPVirtualInstanceError"
+ }
+ }
+ },
+ "SAPCentralServerInstance": {
+ "description": "Define the SAP Central Services Instance resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SAPCentralServerProperties"
+ }
+ }
+ },
+ "SAPDatabaseProperties": {
+ "description": "Defines the Database properties.",
+ "type": "object",
+ "properties": {
+ "subnet": {
+ "type": "string",
+ "description": "Database subnet.",
+ "readOnly": true
+ },
+ "databaseSid": {
+ "type": "string",
+ "description": "Database SID name.",
+ "readOnly": true
+ },
+ "databaseType": {
+ "type": "string",
+ "description": "Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server.",
+ "readOnly": true
+ },
+ "ipAddress": {
+ "type": "string",
+ "description": "Database IP Address.",
+ "readOnly": true
+ },
+ "loadBalancerDetails": {
+ "description": "The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines",
+ "$ref": "#/definitions/LoadBalancerDetails",
+ "readOnly": true
+ },
+ "vmDetails": {
+ "description": "The list of virtual machines corresponding to the Database resource.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseVmDetails"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ },
+ "status": {
+ "$ref": "#/definitions/SAPVirtualInstanceStatus",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "$ref": "#/definitions/ProvisioningState",
+ "readOnly": true
+ },
+ "errors": {
+ "description": "Defines the errors related to Database resource.",
+ "readOnly": true,
+ "$ref": "#/definitions/SAPVirtualInstanceError"
+ }
+ }
+ },
+ "SAPDatabaseInstance": {
+ "description": "Define the Database resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SAPDatabaseProperties"
+ }
+ }
+ },
+ "NetworkConfiguration": {
+ "description": "Defines the network configuration type for SAP system infrastructure that is being deployed ",
+ "type": "object",
+ "properties": {
+ "isSecondaryIpEnabled": {
+ "type": "boolean",
+ "description": "Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed",
+ "default": false
+ }
+ }
+ },
+ "ErrorDefinition": {
+ "type": "object",
+ "description": "Error definition.",
+ "properties": {
+ "code": {
+ "description": "Service specific error code which serves as the substatus for the HTTP error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Description of the error.",
+ "type": "string",
+ "readOnly": true
+ },
+ "details": {
+ "description": "Internal error details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDefinition"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SAPVirtualInstanceNameParameter": {
+ "name": "sapVirtualInstanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Virtual Instances for SAP solutions resource",
+ "x-ms-parameter-location": "method"
+ },
+ "SAPApplicationInstanceNameParameter": {
+ "name": "applicationInstanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of SAP Application Server instance resource.",
+ "x-ms-parameter-location": "method"
+ },
+ "DatabaseNameParameter": {
+ "name": "databaseInstanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Database resource name string modeled as parameter for auto generation to work correctly.",
+ "x-ms-parameter-location": "method"
+ },
+ "CentralInstanceNameParameter": {
+ "name": "centralInstanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
new file mode 100644
index 000000000000..48d9bb62e095
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
@@ -0,0 +1,41 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-12-01-preview",
+ "title": "Workloads Client",
+ "description": "Workloads client provides access to various workload operations"
+ },
+ "paths": {},
+ "definitions": {
+ "ManagedServiceIdentityType": {
+ "description": "Type of managed service identity (only None, UserAssigned types are allowed).",
+ "enum": [
+ "None",
+ "UserAssigned"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ManagedServiceIdentityType",
+ "modelAsString": true
+ }
+ },
+ "UserAssignedServiceIdentity": {
+ "description": "Managed service identity (user assigned identities)",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "Type of manage identity",
+ "$ref": "#/definitions/ManagedServiceIdentityType"
+ },
+ "userAssignedIdentities": {
+ "description": "User assigned identities dictionary",
+ "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/UserAssignedIdentities"
+ }
+ },
+ "required": [
+ "type"
+ ]
+ }
+ },
+ "parameters": {}
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..e2ae8f64922b
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Workloads/phpWorkloads/Write",
+ "isDataAction": false,
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "phpWorkloads",
+ "operation": "Creates or updates the phpWorkloads",
+ "description": "Set phpWorkloads"
+ }
+ },
+ {
+ "name": "Microsoft.Workloads/phpWorkloads/Delete",
+ "isDataAction": false,
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "phpWorkloads",
+ "operation": "Deletes the phpWorkloads",
+ "description": "Delete phpWorkloads"
+ }
+ },
+ {
+ "name": "Microsoft.Workloads/phpWorkloads/Read",
+ "isDataAction": false,
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "phpWorkloads",
+ "operation": "Reads the phpWorkloads",
+ "description": "Read phpWorkloads"
+ }
+ },
+ {
+ "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Write",
+ "isDataAction": false,
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "wordpressInstances",
+ "operation": "Creates or updates the wordpressInstances",
+ "description": "Set wordpressInstances"
+ }
+ },
+ {
+ "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Delete",
+ "isDataAction": false,
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "wordpressInstances",
+ "operation": "Deletes the wordpressInstances",
+ "description": "Delete wordpressInstances"
+ }
+ },
+ {
+ "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/Read",
+ "isDataAction": false,
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "wordpressInstances",
+ "operation": "Reads the wordpressInstances",
+ "description": "Read wordpressInstances"
+ }
+ },
+ {
+ "name": "Microsoft.Workloads/monitors/Read",
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "Microsoft.Workloads/monitors",
+ "operation": "Read",
+ "description": "Reads the Monitor workload."
+ }
+ },
+ {
+ "name": "Microsoft.Workloads/monitors/Write",
+ "display": {
+ "provider": "Microsoft.Workloads",
+ "resource": "Microsoft.Workloads/monitors",
+ "operation": "Read",
+ "description": "Creates or updates a Monitor workload."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
new file mode 100644
index 000000000000..57784cf262f2
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
@@ -0,0 +1,152 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "resourceType": "phpWorkloads",
+ "name": "Large",
+ "kind": "Wordpress",
+ "locations": [
+ "centralus",
+ "northeurope",
+ "westeurope"
+ ],
+ "locationInfo": [
+ {
+ "location": "centralus",
+ "zones": [],
+ "zoneDetails": []
+ },
+ {
+ "location": "northeurope",
+ "zones": [],
+ "zoneDetails": []
+ },
+ {
+ "location": "westeurope",
+ "zones": [],
+ "zoneDetails": []
+ }
+ ],
+ "capabilities": [
+ {
+ "name": "VmSizeSeries",
+ "value": "F8s"
+ },
+ {
+ "name": "VmMinRamInGB",
+ "value": "16"
+ },
+ {
+ "name": "VmOsDiskType",
+ "value": "Premium_LRS"
+ },
+ {
+ "name": "AutoScaleMinCount",
+ "value": "2"
+ },
+ {
+ "name": "AutoScaleMaxCount",
+ "value": "100"
+ },
+ {
+ "name": "LoadBalancerType",
+ "value": "LoadBalancer"
+ },
+ {
+ "name": "LoadBalancerSku",
+ "value": "Standard"
+ },
+ {
+ "name": "AzureFrontDoorEnabled",
+ "value": "TRUE"
+ },
+ {
+ "name": "AzureFrontDoorSku",
+ "value": "Premium"
+ },
+ {
+ "name": "DBTier",
+ "value": "GeneralPurpose"
+ },
+ {
+ "name": "DBCompute",
+ "value": "D16ds_v4"
+ },
+ {
+ "name": "DBMinvCores",
+ "value": "16"
+ },
+ {
+ "name": "DBMaxIOPS",
+ "value": "20000"
+ },
+ {
+ "name": "DBStorageInGB",
+ "value": "512"
+ },
+ {
+ "name": "FileShareType",
+ "value": "AzureFiles"
+ },
+ {
+ "name": "FileShareSizeInGB",
+ "value": "2048"
+ },
+ {
+ "name": "FileShareStorageType",
+ "value": "Premium_LRS"
+ },
+ {
+ "name": "DefaultApplicationVersion",
+ "value": "5.4.3"
+ },
+ {
+ "name": "SearchEnabled",
+ "value": "FALSE"
+ },
+ {
+ "name": "CacheEnabled",
+ "value": "TRUE"
+ },
+ {
+ "name": "CacheSkuName",
+ "value": "Premium"
+ },
+ {
+ "name": "CacheFamily",
+ "value": "P"
+ },
+ {
+ "name": "CacheCapacity",
+ "value": "1"
+ },
+ {
+ "name": "ControllerVmSizeSeries",
+ "value": "Ds"
+ },
+ {
+ "name": "ControllerVmRamInGB",
+ "value": "3"
+ },
+ {
+ "name": "ControllerVmOsDiskType",
+ "value": "Standard_LRS"
+ },
+ {
+ "name": "ControllerVmDataDiskType",
+ "value": "Premium_LRS"
+ }
+ ],
+ "restrictions": []
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
new file mode 100644
index 000000000000..f653cba621b1
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
@@ -0,0 +1,375 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview",
+ "phpWorkloadResource": {
+ "tags": {},
+ "location": "eastus2",
+ "kind": "WordPress",
+ "sku": {
+ "name": "Large"
+ },
+ "properties": {
+ "appLocation": "eastus",
+ "managedResourceGroupConfiguration": {
+ "name": "php-mrg-wp39"
+ },
+ "adminUserProfile": {
+ "userName": "wpadmin",
+ "sshPublicKey": "===SSH=PUBLIC=KEY==="
+ },
+ "webNodesProfile": {
+ "name": "web-server",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS"
+ },
+ "autoScaleMinCount": 1,
+ "autoScaleMaxCount": 1
+ },
+ "controllerProfile": {
+ "name": "contoller-vm",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS"
+ },
+ "dataDisks": [
+ {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 100
+ }
+ ]
+ },
+ "networkProfile": {
+ "loadBalancerType": "LoadBalancer",
+ "loadBalancerSku": "Standard",
+ "azureFrontDoorEnabled": "Enabled"
+ },
+ "databaseProfile": {
+ "type": "MySql",
+ "serverName": "wp-db-server",
+ "version": "5.7",
+ "sku": "Standard_D32s_v4",
+ "tier": "GeneralPurpose",
+ "haEnabled": "Disabled",
+ "storageSku": "Premium_LRS",
+ "storageInGB": 128,
+ "storageIops": 200,
+ "backupRetentionDays": 7,
+ "sslEnforcementEnabled": "Enabled"
+ },
+ "siteProfile": {
+ "domainName": "www.example.com"
+ },
+ "fileshareProfile": {
+ "shareType": "AzureFiles",
+ "storageType": "Premium_LRS",
+ "shareSizeInGB": 100
+ },
+ "phpProfile": {
+ "version": "7.3"
+ },
+ "searchProfile": {
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS"
+ },
+ "searchType": "Elastic"
+ },
+ "cacheProfile": {
+ "name": "wp-cache",
+ "skuName": "Basic",
+ "family": "C",
+ "capacity": 0
+ },
+ "backupProfile": {
+ "backupEnabled": "Disabled"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
+ "name": "wp39",
+ "type": "Microsot.Workloads/phpWorkloads",
+ "tags": {},
+ "location": "eastus2",
+ "kind": "WordPress",
+ "sku": {
+ "name": "Large"
+ },
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "appLocation": "eastus",
+ "managedResourceGroupConfiguration": {
+ "name": "php-mrg-wp39"
+ },
+ "provisioningState": "Succeeded",
+ "adminUserProfile": {
+ "userName": "wpadmin",
+ "sshPublicKey": "===SSH=PUBLIC=KEY==="
+ },
+ "webNodesProfile": {
+ "name": "web-server",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "autoScaleMinCount": 1,
+ "autoScaleMaxCount": 1,
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
+ ]
+ },
+ "controllerProfile": {
+ "name": "contoller-vm",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "dataDisks": [
+ {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 100
+ }
+ ],
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
+ ]
+ },
+ "networkProfile": {
+ "loadBalancerType": "LoadBalancer",
+ "loadBalancerSku": "Standard",
+ "azureFrontDoorEnabled": "Enabled",
+ "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
+ "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
+ "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
+ "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
+ "outboundPublicIpResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
+ ]
+ },
+ "databaseProfile": {
+ "type": "MySql",
+ "serverName": "wp-db-server",
+ "version": "5.7",
+ "sku": "Standard_D32s_v4",
+ "tier": "GeneralPurpose",
+ "haEnabled": "Disabled",
+ "storageSku": "Premium_LRS",
+ "storageInGB": 128,
+ "storageIops": 200,
+ "backupRetentionDays": 7,
+ "sslEnforcementEnabled": "Enabled",
+ "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
+ },
+ "siteProfile": {
+ "domainName": "www.example.com"
+ },
+ "fileshareProfile": {
+ "shareType": "AzureFiles",
+ "storageType": "Premium_LRS",
+ "shareSizeInGB": 100,
+ "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
+ "shareName": "wp"
+ },
+ "phpProfile": {
+ "version": "7.3"
+ },
+ "searchProfile": {
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 0
+ },
+ "dataDisks": [],
+ "searchType": "Elastic",
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
+ ]
+ },
+ "cacheProfile": {
+ "name": "wp-cache",
+ "skuName": "Basic",
+ "family": "C",
+ "capacity": 0,
+ "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
+ },
+ "backupProfile": {
+ "backupEnabled": "Disabled",
+ "vaultResourceId": ""
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
+ "name": "wp39",
+ "type": "Microsot.Workloads/phpWorkloads",
+ "tags": {},
+ "location": "eastus2",
+ "kind": "WordPress",
+ "sku": {
+ "name": "Large"
+ },
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "appLocation": "eastus",
+ "managedResourceGroupConfiguration": {
+ "name": "php-mrg-wp39"
+ },
+ "provisioningState": "Created",
+ "adminUserProfile": {
+ "userName": "wpadmin",
+ "sshPublicKey": "===SSH=PUBLIC=KEY==="
+ },
+ "webNodesProfile": {
+ "name": "web-server",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS"
+ },
+ "autoScaleMinCount": 1,
+ "autoScaleMaxCount": 1
+ },
+ "controllerProfile": {
+ "name": "contoller-vm",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS"
+ },
+ "dataDisks": [
+ {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 100
+ }
+ ]
+ },
+ "networkProfile": {
+ "loadBalancerType": "LoadBalancer",
+ "loadBalancerSku": "Standard",
+ "azureFrontDoorEnabled": "Enabled"
+ },
+ "databaseProfile": {
+ "type": "MySql",
+ "serverName": "wp-db-server",
+ "version": "5.7",
+ "sku": "Standard_D32s_v4",
+ "tier": "GeneralPurpose",
+ "haEnabled": "Disabled",
+ "storageSku": "Premium_LRS",
+ "storageInGB": 128,
+ "storageIops": 200,
+ "backupRetentionDays": 7,
+ "sslEnforcementEnabled": "Enabled"
+ },
+ "siteProfile": {
+ "domainName": "www.example.com"
+ },
+ "fileshareProfile": {
+ "shareType": "AzureFiles",
+ "storageType": "Premium_LRS",
+ "shareSizeInGB": 100
+ },
+ "phpProfile": {
+ "version": "7.3"
+ },
+ "searchProfile": {
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS"
+ },
+ "searchType": "Elastic"
+ },
+ "cacheProfile": {
+ "name": "wp-cache",
+ "skuName": "Basic",
+ "family": "C",
+ "capacity": 0
+ },
+ "backupProfile": {
+ "backupEnabled": "Disabled"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
new file mode 100644
index 000000000000..9af6033ec3e6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview",
+ "delete-infra": "false"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
new file mode 100644
index 000000000000..b0bdc97de92a
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
@@ -0,0 +1,155 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
+ "name": "wp39",
+ "type": "Microsot.Workloads/phpWorkloads",
+ "tags": {},
+ "location": "eastus2",
+ "kind": "WordPress",
+ "sku": {
+ "name": "Large"
+ },
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "appLocation": "eastus",
+ "managedResourceGroupConfiguration": {
+ "name": "php-mrg-wp39"
+ },
+ "provisioningState": "Succeeded",
+ "adminUserProfile": {
+ "userName": "wpadmin",
+ "sshPublicKey": "===SSH=PUBLIC=KEY==="
+ },
+ "webNodesProfile": {
+ "name": "web-server",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "autoScaleMinCount": 1,
+ "autoScaleMaxCount": 1,
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
+ ]
+ },
+ "controllerProfile": {
+ "name": "contoller-vm",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "dataDisks": [
+ {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 100
+ }
+ ],
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
+ ]
+ },
+ "networkProfile": {
+ "loadBalancerType": "LoadBalancer",
+ "loadBalancerSku": "Standard",
+ "azureFrontDoorEnabled": "Enabled",
+ "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
+ "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
+ "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
+ "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
+ "outboundPublicIpResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
+ ]
+ },
+ "databaseProfile": {
+ "type": "MySql",
+ "serverName": "wp-db-server",
+ "version": "5.7",
+ "sku": "Standard_D32s_v4",
+ "tier": "GeneralPurpose",
+ "haEnabled": "Disabled",
+ "storageSku": "Premium_LRS",
+ "storageInGB": 128,
+ "storageIops": 200,
+ "backupRetentionDays": 7,
+ "sslEnforcementEnabled": "Enabled",
+ "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
+ },
+ "siteProfile": {
+ "domainName": "www.example.com"
+ },
+ "fileshareProfile": {
+ "shareType": "AzureFiles",
+ "storageType": "Premium_LRS",
+ "shareSizeInGB": 100,
+ "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
+ "shareName": "wp"
+ },
+ "phpProfile": {
+ "version": "7.3"
+ },
+ "searchProfile": {
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 0
+ },
+ "dataDisks": [],
+ "searchType": "Elastic",
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
+ ]
+ },
+ "cacheProfile": {
+ "name": "wp-cache",
+ "skuName": "Basic",
+ "family": "C",
+ "capacity": 0,
+ "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
+ },
+ "backupProfile": {
+ "backupEnabled": "Disabled",
+ "vaultResourceId": ""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
new file mode 100644
index 000000000000..5211b96940dd
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
@@ -0,0 +1,159 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
+ "name": "wp39",
+ "type": "Microsot.Workloads/phpWorkloads",
+ "tags": {},
+ "location": "eastus2",
+ "kind": "WordPress",
+ "sku": {
+ "name": "Large"
+ },
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "appLocation": "eastus",
+ "managedResourceGroupConfiguration": {
+ "name": "php-mrg-wp39"
+ },
+ "provisioningState": "Succeeded",
+ "adminUserProfile": {
+ "userName": "wpadmin",
+ "sshPublicKey": "===SSH=PUBLIC=KEY==="
+ },
+ "webNodesProfile": {
+ "name": "web-server",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "autoScaleMinCount": 1,
+ "autoScaleMaxCount": 1,
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
+ ]
+ },
+ "controllerProfile": {
+ "name": "contoller-vm",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "dataDisks": [
+ {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 100
+ }
+ ],
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
+ ]
+ },
+ "networkProfile": {
+ "loadBalancerType": "LoadBalancer",
+ "loadBalancerSku": "Standard",
+ "azureFrontDoorEnabled": "Enabled",
+ "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
+ "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
+ "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
+ "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
+ "outboundPublicIpResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
+ ]
+ },
+ "databaseProfile": {
+ "type": "MySql",
+ "serverName": "wp-db-server",
+ "version": "5.7",
+ "sku": "Standard_D32s_v4",
+ "tier": "GeneralPurpose",
+ "haEnabled": "Disabled",
+ "storageSku": "Premium_LRS",
+ "storageInGB": 128,
+ "storageIops": 200,
+ "backupRetentionDays": 7,
+ "sslEnforcementEnabled": "Enabled",
+ "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
+ },
+ "siteProfile": {
+ "domainName": "www.example.com"
+ },
+ "fileshareProfile": {
+ "shareType": "AzureFiles",
+ "storageType": "Premium_LRS",
+ "shareSizeInGB": 100,
+ "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
+ "shareName": "wp"
+ },
+ "phpProfile": {
+ "version": "7.3"
+ },
+ "searchProfile": {
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 0
+ },
+ "dataDisks": [],
+ "searchType": "Elastic",
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
+ ]
+ },
+ "cacheProfile": {
+ "name": "wp-cache",
+ "skuName": "Basic",
+ "family": "C",
+ "capacity": 0,
+ "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
+ },
+ "backupProfile": {
+ "backupEnabled": "Disabled",
+ "vaultResourceId": ""
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": ""
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
new file mode 100644
index 000000000000..17ef284d7599
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
@@ -0,0 +1,158 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
+ "name": "wp39",
+ "type": "Microsot.Workloads/phpWorkloads",
+ "tags": {},
+ "location": "eastus2",
+ "kind": "WordPress",
+ "sku": {
+ "name": "Large"
+ },
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "appLocation": "eastus",
+ "managedResourceGroupConfiguration": {
+ "name": "php-mrg-wp39"
+ },
+ "provisioningState": "Succeeded",
+ "adminUserProfile": {
+ "userName": "wpadmin",
+ "sshPublicKey": "===SSH=PUBLIC=KEY==="
+ },
+ "webNodesProfile": {
+ "name": "web-server",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "autoScaleMinCount": 1,
+ "autoScaleMaxCount": 1,
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
+ ]
+ },
+ "controllerProfile": {
+ "name": "contoller-vm",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "dataDisks": [
+ {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 100
+ }
+ ],
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
+ ]
+ },
+ "networkProfile": {
+ "loadBalancerType": "LoadBalancer",
+ "loadBalancerSku": "Standard",
+ "azureFrontDoorEnabled": "Enabled",
+ "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
+ "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
+ "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
+ "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
+ "outboundPublicIpResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
+ ]
+ },
+ "databaseProfile": {
+ "type": "MySql",
+ "serverName": "wp-db-server",
+ "version": "5.7",
+ "sku": "Standard_D32s_v4",
+ "tier": "GeneralPurpose",
+ "haEnabled": "Disabled",
+ "storageSku": "Premium_LRS",
+ "storageInGB": 128,
+ "storageIops": 200,
+ "backupRetentionDays": 7,
+ "sslEnforcementEnabled": "Enabled",
+ "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
+ },
+ "siteProfile": {
+ "domainName": "www.example.com"
+ },
+ "fileshareProfile": {
+ "shareType": "AzureFiles",
+ "storageType": "Premium_LRS",
+ "shareSizeInGB": 100,
+ "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
+ "shareName": "wp"
+ },
+ "phpProfile": {
+ "version": "7.3"
+ },
+ "searchProfile": {
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 0
+ },
+ "dataDisks": [],
+ "searchType": "Elastic",
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
+ ]
+ },
+ "cacheProfile": {
+ "name": "wp-cache",
+ "skuName": "Basic",
+ "family": "C",
+ "capacity": 0,
+ "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
+ },
+ "backupProfile": {
+ "backupEnabled": "Disabled",
+ "vaultResourceId": ""
+ }
+ }
+ }
+ ]
+ },
+ "nextLink": ""
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
new file mode 100644
index 000000000000..26ce65dd668e
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
@@ -0,0 +1,166 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview",
+ "ResourcePatchRequestBody": {
+ "tags": {
+ "tag_name": "tag_value"
+ },
+ "identity": {
+ "type": "None"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
+ "name": "wp39",
+ "type": "Microsot.Workloads/phpWorkloads",
+ "tags": {},
+ "location": "eastus2",
+ "kind": "WordPress",
+ "sku": {
+ "name": "Large"
+ },
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "identity": {
+ "type": "None"
+ },
+ "properties": {
+ "appLocation": "eastus",
+ "managedResourceGroupConfiguration": {
+ "name": "php-mrg-wp39"
+ },
+ "provisioningState": "Succeeded",
+ "adminUserProfile": {
+ "userName": "wpadmin",
+ "sshPublicKey": "===SSH=PUBLIC=KEY==="
+ },
+ "webNodesProfile": {
+ "name": "web-server",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "autoScaleMinCount": 1,
+ "autoScaleMaxCount": 1,
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
+ ]
+ },
+ "controllerProfile": {
+ "name": "contoller-vm",
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 30
+ },
+ "dataDisks": [
+ {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 100
+ }
+ ],
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
+ ]
+ },
+ "networkProfile": {
+ "loadBalancerType": "LoadBalancer",
+ "loadBalancerSku": "Standard",
+ "azureFrontDoorEnabled": "Enabled",
+ "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
+ "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
+ "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
+ "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
+ "outboundPublicIpResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
+ ]
+ },
+ "databaseProfile": {
+ "type": "MySql",
+ "serverName": "wp-db-server",
+ "version": "5.7",
+ "sku": "Standard_D32s_v4",
+ "tier": "GeneralPurpose",
+ "haEnabled": "Disabled",
+ "storageSku": "Premium_LRS",
+ "storageInGB": 128,
+ "storageIops": 200,
+ "backupRetentionDays": 7,
+ "sslEnforcementEnabled": "Enabled",
+ "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
+ },
+ "siteProfile": {
+ "domainName": "www.example.com"
+ },
+ "fileshareProfile": {
+ "shareType": "AzureFiles",
+ "storageType": "Premium_LRS",
+ "shareSizeInGB": 100,
+ "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
+ "shareName": "wp"
+ },
+ "phpProfile": {
+ "version": "7.3"
+ },
+ "searchProfile": {
+ "nodeSku": "Standard_DS2_v2",
+ "osImage": {
+ "publisher": "Canonical",
+ "offer": "UbuntuServer",
+ "sku": "18.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "storageType": "Premium_LRS",
+ "sizeInGB": 0
+ },
+ "dataDisks": [],
+ "searchType": "Elastic",
+ "nodeResourceIds": [
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
+ "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
+ ]
+ },
+ "cacheProfile": {
+ "name": "wp-cache",
+ "skuName": "Basic",
+ "family": "C",
+ "capacity": 0,
+ "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
+ },
+ "backupProfile": {
+ "backupEnabled": "Disabled",
+ "vaultResourceId": ""
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
new file mode 100644
index 000000000000..617ade5c5722
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview",
+ "wordpressInstanceResource": {
+ "properties": {
+ "version": "5.4.2",
+ "databaseName": "wpdb",
+ "databaseUser": "wpuser"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
+ "name": "default",
+ "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "siteUrl": "https://www.example.com",
+ "version": "5.4.2",
+ "databaseName": "wpdb",
+ "databaseUser": "wpuser"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
+ "name": "default",
+ "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "provisioningState": "Created",
+ "siteUrl": "https://www.example.com",
+ "version": "5.4.2",
+ "databaseName": "wpdb",
+ "databaseUser": "wpuser"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
new file mode 100644
index 000000000000..281ee631265a
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview",
+ "delete-infra": "false"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
new file mode 100644
index 000000000000..c8dd45325f9b
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
+ "name": "default",
+ "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "siteUrl": "https://www.example.com",
+ "version": "5.4.2",
+ "databaseName": "wpdb",
+ "databaseUser": "wpuser"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
new file mode 100644
index 000000000000..1edd3774568f
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "phpWorkloadName": "wp39",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
+ "name": "default",
+ "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
+ "systemData": {
+ "createdBy": "php_user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "php_user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "siteUrl": "https://www.example.com",
+ "version": "5.4.2",
+ "databaseName": "wpdb",
+ "databaseUser": "wpuser"
+ }
+ }
+ ]
+ },
+ "nextLink": ""
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
new file mode 100644
index 000000000000..3a4e10e5de9c
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
new file mode 100644
index 000000000000..26c7c74ce941
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
new file mode 100644
index 000000000000..6f94557f38f1
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0e",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
new file mode 100644
index 000000000000..dcb0be1030d3
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "status": "Unknown",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
new file mode 100644
index 000000000000..dad4e3e2f13b
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "status": "Unknown",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app02",
+ "name": "app02",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "status": "Unknown",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
new file mode 100644
index 000000000000..6821f0d0b132
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
@@ -0,0 +1,84 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {
+ "tag1": "value1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "tags": {
+ "tag1": "value1"
+ },
+ "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": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "status": "Unknown",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "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": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "status": "Unknown",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json
new file mode 100644
index 000000000000..a332c3e2815d
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "sapProduct": "S4HANA",
+ "databaseType": "HANA"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "availabilityZonePairs": [
+ {
+ "zoneA": 1,
+ "zoneB": 2
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json
new file mode 100644
index 000000000000..ac6ab557d149
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "northeurope",
+ "sapProduct": "S4HANA",
+ "databaseType": "HANA"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "availabilityZonePairs": [
+ {
+ "zoneA": 2,
+ "zoneB": 3
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json
new file mode 100644
index 000000000000..01a4774259bc
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json
@@ -0,0 +1,138 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm",
+ "type": "Primary"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm",
+ "type": "Primary"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
new file mode 100644
index 000000000000..bbd2705ff6f9
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
@@ -0,0 +1,172 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ },
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer"
+ },
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ },
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
new file mode 100644
index 000000000000..34ffc2c9370c
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0e",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json
new file mode 100644
index 000000000000..186629b1f9f9
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Unhealthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Unknown"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Degraded"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm",
+ "type": "Primary"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json
new file mode 100644
index 000000000000..fe5b66ec6846
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm",
+ "type": "Primary"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json
new file mode 100644
index 000000000000..8dbbe10a3a42
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json
@@ -0,0 +1,140 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {
+ "tag1": "value1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "tags": {
+ "tag1": "value1"
+ },
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm",
+ "type": "Primary"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "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": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm",
+ "type": "Primary"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json
new file mode 100644
index 000000000000..7bd1dae15dfb
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json
@@ -0,0 +1,78 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "databaseServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "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": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "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": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
new file mode 100644
index 000000000000..0896f4a9f8d6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "databaseServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "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": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer"
+ },
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "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": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer"
+ },
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
new file mode 100644
index 000000000000..fb823f628156
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "databaseServer",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0e",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json
new file mode 100644
index 000000000000..a8f115810eea
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "databaseServer",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json
new file mode 100644
index 000000000000..abef8f3b6715
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "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": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json
new file mode 100644
index 000000000000..b36a70c6794d
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "databaseServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {
+ "key1": "value1"
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "tags": {
+ "key1": "value1"
+ },
+ "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": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "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": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
new file mode 100644
index 000000000000..9d2c9650e134
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "sapProduct": "S4HANA",
+ "environment": "NonProd",
+ "databaseType": "HANA",
+ "deploymentType": "SingleServer",
+ "dbVmSku": "Standard_M32ts"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "diskConfigurations": [
+ {
+ "volume": "hana/data",
+ "diskType": "P10",
+ "diskCount": 4,
+ "diskSizeGB": 128,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 100,
+ "diskStorageType": "Premium_LRS"
+ },
+ {
+ "volume": "hana/log",
+ "diskType": "P10",
+ "diskCount": 3,
+ "diskSizeGB": 128,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 100,
+ "diskStorageType": "Premium_LRS"
+ },
+ {
+ "volume": "hana/shared",
+ "diskType": "E15",
+ "diskCount": 1,
+ "diskSizeGB": 256,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 60,
+ "diskStorageType": "StandardSSD_LRS"
+ },
+ {
+ "volume": "usr/sap",
+ "diskType": "E6",
+ "diskCount": 1,
+ "diskSizeGB": 64,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 60,
+ "diskStorageType": "StandardSSD_LRS"
+ },
+ {
+ "volume": "backup",
+ "diskType": "E15",
+ "diskCount": 2,
+ "diskSizeGB": 256,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 60,
+ "diskStorageType": "StandardSSD_LRS"
+ },
+ {
+ "volume": "os",
+ "diskType": "E6",
+ "diskCount": 1,
+ "diskSizeGB": 64,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 60,
+ "diskStorageType": "StandardSSD_LRS"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
new file mode 100644
index 000000000000..cbfb7e90c61b
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "sapProduct": "S4HANA",
+ "environment": "Prod",
+ "databaseType": "HANA",
+ "deploymentType": "ThreeTier",
+ "dbVmSku": "Standard_M32ts"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "diskConfigurations": [
+ {
+ "volume": "hana/data",
+ "diskType": "P10",
+ "diskCount": 4,
+ "diskSizeGB": 128,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 100,
+ "diskStorageType": "Premium_LRS"
+ },
+ {
+ "volume": "hana/log",
+ "diskType": "P10",
+ "diskCount": 3,
+ "diskSizeGB": 128,
+ "diskIopsReadWrite": 500,
+ "diskMBpsReadWrite": 100,
+ "diskStorageType": "Premium_LRS"
+ },
+ {
+ "volume": "hana/shared",
+ "diskType": "P15",
+ "diskCount": 1,
+ "diskSizeGB": 256,
+ "diskIopsReadWrite": 1100,
+ "diskMBpsReadWrite": 125,
+ "diskStorageType": "Premium_LRS"
+ },
+ {
+ "volume": "usr/sap",
+ "diskType": "P6",
+ "diskCount": 1,
+ "diskSizeGB": 64,
+ "diskIopsReadWrite": 240,
+ "diskMBpsReadWrite": 50,
+ "diskStorageType": "Premium_LRS"
+ },
+ {
+ "volume": "backup",
+ "diskType": "P15",
+ "diskCount": 2,
+ "diskSizeGB": 256,
+ "diskIopsReadWrite": 1100,
+ "diskMBpsReadWrite": 125,
+ "diskStorageType": "Premium_LRS"
+ },
+ {
+ "volume": "os",
+ "diskType": "P6",
+ "diskCount": 1,
+ "diskSizeGB": 64,
+ "diskIopsReadWrite": 240,
+ "diskMBpsReadWrite": 50,
+ "diskStorageType": "Premium_LRS"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json
new file mode 100644
index 000000000000..e3f8b29c4755
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "deploymentType": "ThreeTier",
+ "saps": 20000,
+ "dbMemory": 1024,
+ "databaseType": "HANA",
+ "dbScaleMethod": "ScaleUp"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "deploymentType": "ThreeTier",
+ "applicationServerVmSku": "Standard_E8ds_v4",
+ "applicationServerInstanceCount": 2,
+ "centralServerVmSku": "Standard_E4ds_v4",
+ "centralServerInstanceCount": 1,
+ "dbVmSku": "Standard_M64s",
+ "databaseInstanceCount": 1
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json
new file mode 100644
index 000000000000..c01144c6645a
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "deploymentType": "ThreeTier",
+ "saps": 75000,
+ "dbMemory": 1024,
+ "databaseType": "HANA",
+ "dbScaleMethod": "ScaleUp",
+ "highAvailabilityType": "AvailabilitySet"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "deploymentType": "ThreeTier",
+ "applicationServerVmSku": "Standard_E16ds_v4",
+ "applicationServerInstanceCount": 3,
+ "centralServerVmSku": "Standard_E8ds_v4",
+ "centralServerInstanceCount": 2,
+ "dbVmSku": "Standard_M64s",
+ "databaseInstanceCount": 2
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json
new file mode 100644
index 000000000000..be8d32a7a5c5
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "deploymentType": "ThreeTier",
+ "saps": 75000,
+ "dbMemory": 1024,
+ "databaseType": "HANA",
+ "dbScaleMethod": "ScaleUp",
+ "highAvailabilityType": "AvailabilityZone"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "deploymentType": "ThreeTier",
+ "applicationServerVmSku": "Standard_E8ds_v4",
+ "applicationServerInstanceCount": 6,
+ "centralServerVmSku": "Standard_E4ds_v4",
+ "centralServerInstanceCount": 2,
+ "dbVmSku": "Standard_M64s",
+ "databaseInstanceCount": 2
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json
new file mode 100644
index 000000000000..cdfb58050bae
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "deploymentType": "SingleServer",
+ "saps": 60000,
+ "dbMemory": 2000,
+ "databaseType": "HANA",
+ "dbScaleMethod": "ScaleUp"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "vmSku": "Standard_M128s",
+ "deploymentType": "SingleServer"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json
new file mode 100644
index 000000000000..59b92e33b283
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json
@@ -0,0 +1,112 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "sapProduct": "S4HANA",
+ "environment": "Prod",
+ "databaseType": "HANA",
+ "deploymentType": "ThreeTier"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "supportedSkus": [
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E4ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E8ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E16ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E20ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E32ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E48ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E64ds_v4"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M32Is"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M32ts"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64Is"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64ms"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64s"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M128ms"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M128s"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M208ms_v2"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M208s_v2"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M416ms_v2"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M416s_v2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json
new file mode 100644
index 000000000000..b8fbea7cb884
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json
@@ -0,0 +1,113 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "sapProduct": "S4HANA",
+ "environment": "Prod",
+ "databaseType": "HANA",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityType": "AvailabilitySet"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "supportedSkus": [
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E4ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E8ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E16ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E20ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E32ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E48ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E64ds_v4"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M32Is"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M32ts"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64Is"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64ms"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64s"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M128ms"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M128s"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M208ms_v2"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M208s_v2"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M416ms_v2"
+ },
+ {
+ "isAppServerCertified": false,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M416s_v2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json
new file mode 100644
index 000000000000..1caeba047111
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json
@@ -0,0 +1,93 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "sapProduct": "S4HANA",
+ "environment": "Prod",
+ "databaseType": "HANA",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityType": "AvailabilityZone"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "supportedSkus": [
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_E32ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_E48ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_E64ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M32Is"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M32ts"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64Is"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64ms"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M64s"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M128ms"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M128s"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M208ms_v2"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M208s_v2"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M416ms_v2"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M416s_v2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json
new file mode 100644
index 000000000000..413c99974797
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "location": "centralus",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "appLocation": "eastus",
+ "sapProduct": "S4HANA",
+ "environment": "NonProd",
+ "databaseType": "HANA",
+ "deploymentType": "SingleServer"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "supportedSkus": [
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E32ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E48ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": false,
+ "vmSku": "Standard_E64ds_v4"
+ },
+ {
+ "isAppServerCertified": true,
+ "isDatabaseCertified": true,
+ "vmSku": "Standard_M32ts"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json
new file mode 100644
index 000000000000..3e1b8dcf1b2c
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "Discovery",
+ "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ }
+ },
+ "location": "northeurope",
+ "tags": {
+ "test": "abc",
+ "createdby": "abc@microsoft.com"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20",
+ "name": "Q20",
+ "type": "microsoft.workloads/sapvirtualinstances",
+ "location": "northeurope",
+ "systemData": {
+ "createdBy": "abc@microsoft.com",
+ "createdByType": "User",
+ "createdAt": "2022-07-27T08:22:52.3318907Z",
+ "lastModifiedBy": "abc@microsoft.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-07-27T11:44:17.9310503Z"
+ },
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "Discovery",
+ "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0",
+ "appLocation": "westeurope"
+ },
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded",
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-Q20-5b0097"
+ },
+ "status": "Running",
+ "health": "Healthy"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20",
+ "name": "Q20",
+ "type": "microsoft.workloads/sapvirtualinstances",
+ "location": "northeurope",
+ "systemData": {
+ "createdBy": "abc@microsoft.com",
+ "createdByType": "User",
+ "createdAt": "2022-07-27T08:22:52.3318907Z",
+ "lastModifiedBy": "abc@microsoft.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-07-27T11:44:17.9310503Z"
+ },
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "Discovery",
+ "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0",
+ "appLocation": "westeurope"
+ },
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded",
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-Q20-5b0097"
+ },
+ "status": "Running",
+ "health": "Healthy"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
new file mode 100644
index 000000000000..8a6e2c10fd15
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
@@ -0,0 +1,473 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "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": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "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": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "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": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
new file mode 100644
index 000000000000..d0723c353521
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
@@ -0,0 +1,454 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
new file mode 100644
index 000000000000..9ead2fa1b095
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
@@ -0,0 +1,461 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
new file mode 100644
index 000000000000..9ffd05c41c66
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
@@ -0,0 +1,312 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "dbDiskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "dbDiskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "dbDiskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
new file mode 100644
index 000000000000..dee15ff9fa0b
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
@@ -0,0 +1,335 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "CreateAndMount",
+ "resourceGroup": "rgName",
+ "storageAccountName": "storageName"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "CreateAndMount",
+ "resourceGroup": "rgName",
+ "storageAccountName": "storageName"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "CreateAndMount",
+ "resourceGroup": "rgName",
+ "storageAccountName": "storageName"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
new file mode 100644
index 000000000000..ff78f7404a78
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
@@ -0,0 +1,335 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
+ "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
+ "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
+ "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
new file mode 100644
index 000000000000..0b162eb9c736
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
@@ -0,0 +1,329 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Skip"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Skip"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Skip"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
new file mode 100644
index 000000000000..b874996965c6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
@@ -0,0 +1,314 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
new file mode 100644
index 000000000000..fd8ed31767bc
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
@@ -0,0 +1,323 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
new file mode 100644
index 000000000000..2227d387de83
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
@@ -0,0 +1,323 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
new file mode 100644
index 000000000000..e3a54d0fdca1
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
@@ -0,0 +1,174 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
new file mode 100644
index 000000000000..62e0ba46f78c
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0e",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json
new file mode 100644
index 000000000000..af9cabf36ff6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json
@@ -0,0 +1,334 @@
+{
+ "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",
+ "appResourceGroup": "{{resourcegrp}}",
+ "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": "{{sshkey}}",
+ "privateKey": "{{privateKey}}"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "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": "{{sshkey}}",
+ "privateKey": "{{privateKey}}"
+ }
+ }
+ }
+ },
+ "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": "{{sshkey}}",
+ "privateKey": "{{privateKey}}"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "sap.bpaas.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-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",
+ "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": 1
+ },
+ "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": 1
+ },
+ "appResourceGroup": "aa-rg"
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "sap.bpaas.com"
+ }
+ },
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "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",
+ "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": 1
+ },
+ "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": 1
+ },
+ "appResourceGroup": "aa-rg"
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "sap.bpaas.com"
+ }
+ },
+ "state": "SoftwareDetectionInProgress",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
new file mode 100644
index 000000000000..800fc47c3cad
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
@@ -0,0 +1,331 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "state": "RegistrationComplete",
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "state": "SoftwareDetectionInProgress",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
new file mode 100644
index 000000000000..fe6910e681a4
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
@@ -0,0 +1,331 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "state": "RegistrationComplete",
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "state": "SoftwareDetectionInProgress",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
new file mode 100644
index 000000000000..10d42fc35179
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
@@ -0,0 +1,182 @@
+{
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "state": "RegistrationComplete",
+ "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": "DeploymentWithOSConfig",
+ "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": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "External",
+ "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "state": "SoftwareDetectionInProgress",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
new file mode 100644
index 000000000000..d75e01c38f4d
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
@@ -0,0 +1,135 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview"
+ },
+ "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/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 10
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "ServiceInitiated",
+ "sapFqdn": "sapsystem.contoso.net",
+ "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet",
+ "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob",
+ "softwareVersion": "SAP S/4HANA 2020 FPS01"
+ }
+ },
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443"
+ },
+ "status": "Running",
+ "health": "Healthy",
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json
new file mode 100644
index 000000000000..cb43e6dfe179
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json
@@ -0,0 +1,340 @@
+{
+ "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",
+ "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": 1
+ },
+ "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": 1
+ }
+ },
+ "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"
+ },
+ "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",
+ "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": 1
+ },
+ "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": 1
+ },
+ "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"
+ },
+ "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",
+ "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": 1
+ },
+ "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": 1
+ },
+ "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"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "sap.bpaas.com"
+ }
+ },
+ "state": "SoftwareInstallationInProgress",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-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/2022-11-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/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-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/2022-11-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"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json
new file mode 100644
index 000000000000..fc2182a192ed
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json
@@ -0,0 +1,284 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "eastus2",
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "SingleServer",
+ "appResourceGroup": "test-rg",
+ "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "offer": "SLES-SAP",
+ "publisher": "SUSE",
+ "sku": "12-sp4-gen2",
+ "version": "2022.02.01"
+ },
+ "osProfile": {
+ "adminUsername": "azureappadmin",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "{{sshkey}}",
+ "privateKey": "{{privateKey}}"
+ }
+ }
+ }
+ }
+ },
+ "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"
+ },
+ "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",
+ "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": 1
+ },
+ "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": 1
+ },
+ "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"
+ },
+ "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",
+ "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": 1
+ },
+ "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": 1
+ },
+ "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"
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "sap.bpaas.com"
+ }
+ },
+ "state": "SoftwareInstallationInProgress",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
new file mode 100644
index 000000000000..404156481352
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
@@ -0,0 +1,258 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "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/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 10
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "ServiceInitiated",
+ "sapFqdn": "sapsystem.contoso.net",
+ "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet",
+ "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob",
+ "softwareVersion": "SAP S/4HANA 2020 FPS01"
+ }
+ },
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443"
+ },
+ "status": "Running",
+ "health": "Healthy",
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01",
+ "name": "X01",
+ "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/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 10
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "ServiceInitiated",
+ "sapFqdn": "sapsystem.contoso.net",
+ "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet",
+ "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob",
+ "softwareVersion": "SAP S/4HANA 2020 FPS01"
+ }
+ },
+ "status": "Running",
+ "health": "Healthy",
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
new file mode 100644
index 000000000000..31846059cdb5
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
@@ -0,0 +1,257 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "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/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 10
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "ServiceInitiated",
+ "sapFqdn": "sapsystem.contoso.net",
+ "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet",
+ "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob",
+ "softwareVersion": "SAP S/4HANA 2020 FPS01"
+ }
+ },
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443"
+ },
+ "status": "Running",
+ "health": "Healthy",
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01",
+ "name": "X01",
+ "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/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 10
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_D8s_v3",
+ "imageReference": {
+ "sku": "84sapha-gen2",
+ "publisher": "RedHat",
+ "version": "8.4.2021091202",
+ "offer": "RHEL-SAP-HA"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "ssh": {
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa public key"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "softwareConfiguration": {
+ "softwareInstallationType": "ServiceInitiated",
+ "sapFqdn": "sapsystem.contoso.net",
+ "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet",
+ "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob",
+ "softwareVersion": "SAP S/4HANA 2020 FPS01"
+ }
+ },
+ "status": "Running",
+ "health": "Healthy",
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
new file mode 100644
index 000000000000..c2d32582542d
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0e",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
new file mode 100644
index 000000000000..23c0689a457c
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "hardStop": false
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0e",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json
new file mode 100644
index 000000000000..ca263994a3c6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {
+ "key1": "svi1"
+ },
+ "identity": {
+ "type": "None"
+ }
+ }
+ },
+ "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": {
+ "key1": "svi1"
+ },
+ "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"
+ },
+ "identity": {
+ "type": "None"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "Deployment"
+ },
+ "status": "Starting",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentPending",
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443"
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json
new file mode 100644
index 000000000000..7957365f7a38
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "hostname",
+ "dbUsername": "username",
+ "dbName": "dbName",
+ "dbPassword": "password",
+ "dbPasswordUri": "",
+ "dbPort": "dbPort",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "vmname.azure.com",
+ "dbUsername": "Db2OPA",
+ "dbName": "OPA",
+ "dbPort": "5912",
+ "dbPasswordUri": "",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "vmname.azure.com",
+ "dbUsername": "Db2OPA",
+ "dbName": "OPA",
+ "dbPort": "5912",
+ "dbPasswordUri": "",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json
new file mode 100644
index 000000000000..d16e5dcc6594
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "hostname",
+ "dbUsername": "username",
+ "dbName": "dbName",
+ "dbPassword": "password",
+ "dbPasswordUri": "",
+ "dbPort": "dbPort",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "vmname.azure.com",
+ "dbUsername": "Db2OPA",
+ "dbName": "OPA",
+ "dbPort": "5912",
+ "dbPasswordUri": "",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "vmname.azure.com",
+ "dbUsername": "Db2OPA",
+ "dbName": "OPA",
+ "dbPort": "5912",
+ "dbPasswordUri": "",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json
new file mode 100644
index 000000000000..52bfda844c65
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "vmname.azure.com",
+ "dbUsername": "Db2OPA",
+ "dbName": "OPA",
+ "dbPort": "5912",
+ "dbPasswordUri": "",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json
new file mode 100644
index 000000000000..e91e6b2cafd5
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPassword": "****",
+ "dbPasswordUri": "",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "sapSid": "sid",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "sapSid": "sid",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "sapSid": "sid",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json
new file mode 100644
index 000000000000..5bf3e9deb391
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json
@@ -0,0 +1,69 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPassword": "****",
+ "dbPasswordUri": "",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "sapSid": "sid",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "sapSid": "sid",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "sapSid": "sid",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json
new file mode 100644
index 000000000000..56e52e1a1645
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "dbPasswordUri": "",
+ "sapSid": "sid",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json
new file mode 100644
index 000000000000..1a233cb03f6e
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json
@@ -0,0 +1,89 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPassword": "****",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json
new file mode 100644
index 000000000000..5d87855ac7c6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json
@@ -0,0 +1,86 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPassword": "****",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json
new file mode 100644
index 000000000000..4b65d3b257cd
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json
new file mode 100644
index 000000000000..d76b6067850f
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json
@@ -0,0 +1,70 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json
new file mode 100644
index 000000000000..13aa59009391
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json
@@ -0,0 +1,67 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json
new file mode 100644
index 000000000000..d7150266e7fb
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
new file mode 100644
index 000000000000..0acc162f354d
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
@@ -0,0 +1,61 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
new file mode 100644
index 000000000000..049ec27b1ef1
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
new file mode 100644
index 000000000000..8c7e5252b854
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
new file mode 100644
index 000000000000..25917b1a766d
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPassword": "****",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
new file mode 100644
index 000000000000..73aa2c49db7f
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
@@ -0,0 +1,77 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance",
+ "providerInstanceParameter": {
+ "properties": {
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPassword": "****",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Accepted",
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "RootCertificate"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
new file mode 100644
index 000000000000..40c7184d047a
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/operations/locations/westus/1e4193c3-206e-4916-b124-1da16175eb0f",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0f",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
new file mode 100644
index 000000000000..1df8bd85302b
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "providerInstanceName": "myProviderInstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance",
+ "name": "myProviderInstance",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "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": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
new file mode 100644
index 000000000000..573ad0690dbc
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
@@ -0,0 +1,126 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1",
+ "name": "myProviderInstance1",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapHana",
+ "hostname": "name",
+ "dbName": "db",
+ "sqlPort": "0000",
+ "instanceNumber": "00",
+ "dbUsername": "user",
+ "dbPasswordUri": "",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1",
+ "name": "myProviderInstance2",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "SapNetWeaver",
+ "sapSid": "SID",
+ "sapHostname": "name",
+ "sapInstanceNr": "00",
+ "sapHostFileEntries": [
+ "127.0.0.1 name fqdn"
+ ],
+ "sapUsername": "username",
+ "sapPasswordUri": "",
+ "sapPortNumber": "1234",
+ "sapClientId": "111",
+ "sslPreference": "ServerCertificate",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1",
+ "name": "myProviderInstance4",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "MsSqlServer",
+ "dbUsername": "user",
+ "dbPort": "5912",
+ "hostname": "hostname",
+ "sapSid": "sid",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1",
+ "name": "myProviderInstance3",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusOS",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1",
+ "name": "myProviderInstance3",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "PrometheusHaCluster",
+ "prometheusUrl": "http://192.168.0.0:9090/metrics",
+ "hostname": "hostname",
+ "sid": "sid",
+ "clusterName": "clusterName",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor/providerInstances/myProviderInstance1",
+ "name": "myProviderInstance3",
+ "type": "Microsoft.Workloads/workloads/providerInstances",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "providerSettings": {
+ "providerType": "Db2",
+ "sapSid": "SID",
+ "hostname": "vmname.azure.com",
+ "dbUsername": "Db2OPA",
+ "dbName": "OPA",
+ "dbPort": "5912",
+ "dbPasswordUri": "",
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslPreference": "ServerCertificate"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json
new file mode 100644
index 000000000000..2aedae6b66b9
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json
@@ -0,0 +1,98 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "MonitorParameter": {
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "appLocation": "westus",
+ "routingPreference": "RouteAll",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "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": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "eastus",
+ "routingPreference": "RouteAll",
+ "zoneRedundancyPreference": "ZoneRedundantApp",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Accepted",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "eastus",
+ "routingPreference": "RouteAll",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
new file mode 100644
index 000000000000..9666b61845c5
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/operations/locations/westus/1e4193c3-206e-4916-b124-1da16175eb0f",
+ "name": "1e4193c3-206e-4916-b124-1da16175eb0f",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "azure-async-operation"
+ }
+ },
+ "204": {}
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json
new file mode 100644
index 000000000000..0f048c2fa055
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor",
+ "name": "mySapMonitor1",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "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": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "eastus",
+ "routingPreference": "RouteAll",
+ "zoneRedundancyPreference": "ZoneRedundantApp",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json
new file mode 100644
index 000000000000..0564bbb96e07
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor1",
+ "name": "mySapMonitor1",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "eastus",
+ "routingPreference": "RouteAll",
+ "zoneRedundancyPreference": "ZoneRedundantApp",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg1"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor2",
+ "name": "mySapMonitor2",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "westus",
+ "routingPreference": "Default",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg2"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json
new file mode 100644
index 000000000000..ba4cfce769df
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json
@@ -0,0 +1,76 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "example-rg"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Workloads/monitors/mySapMonitor1",
+ "name": "mySapMonitor1",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "eastus",
+ "routingPreference": "RouteAll",
+ "zoneRedundancyPreference": "ZoneRedundantApp",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg1"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Workloads/workloads/mySapMonitor2",
+ "name": "mySapMonitor2",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "westus",
+ "routingPreference": "Default",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg2"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/example-rg/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json
new file mode 100644
index 000000000000..3175e26f9eec
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "body": {
+ "tags": {
+ "testkey": "testvalue"
+ },
+ "identity": {
+ "type": "None"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "testkey": "testvalue"
+ },
+ "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"
+ },
+ "identity": {
+ "type": "None"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "eastus",
+ "routingPreference": "RouteAll",
+ "zoneRedundancyPreference": "ZoneRedundantApp",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json
new file mode 100644
index 000000000000..b603d8f411b7
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "api-version": "2021-12-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "body": {
+ "tags": {},
+ "identity": {
+ "type": "None"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/workloads/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.Workloads/workloads",
+ "location": "westus",
+ "tags": {
+ "testkey": "testvalue"
+ },
+ "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"
+ },
+ "identity": {
+ "type": "None"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "errors": [
+ {
+ "code": "0000",
+ "message": "Error message",
+ "target": "",
+ "details": "Error details",
+ "innerError": "Error stack trace"
+ }
+ ],
+ "appLocation": "eastus",
+ "routingPreference": "RouteAll",
+ "zoneRedundancyPreference": "ZoneRedundantApp",
+ "managedResourceGroupConfiguration": {
+ "name": "myManagedRg"
+ },
+ "logAnalyticsWorkspaceArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/microsoft.operationalinsights/workspaces/myWorkspace",
+ "monitorSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
+ "msiArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myMsi",
+ "storageAccountArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/mystorageaccount"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
new file mode 100644
index 000000000000..e1e02c6ffe72
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
@@ -0,0 +1,1296 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Workloads Client",
+ "description": "The workload SAP monitor Client.",
+ "version": "2021-12-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/monitors": {
+ "get": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "monitors_List",
+ "summary": "Gets a list of SAP monitors in the specified subscription.",
+ "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.",
+ "x-ms-examples": {
+ "List all SAP monitors in a subscription": {
+ "$ref": "./examples/workloadmonitor/monitors_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MonitorListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors": {
+ "get": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "monitors_ListByResourceGroup",
+ "summary": "Gets a list of SAP monitors",
+ "description": "Gets a list of SAP monitors in the specified resource group.",
+ "x-ms-examples": {
+ "List all SAP monitors in a resource group": {
+ "$ref": "./examples/workloadmonitor/monitors_ListByRG.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MonitorListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}": {
+ "get": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "monitors_Get",
+ "summary": "Gets properties of a SAP monitor.",
+ "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Get properties of a SAP monitor": {
+ "$ref": "./examples/workloadmonitor/monitors_Get.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Monitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "monitors_Create",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "summary": "Creates a SAP monitor.",
+ "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Create a SAP monitor": {
+ "$ref": "./examples/workloadmonitor/monitors_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/MonitorParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Created SAP monitor",
+ "schema": {
+ "$ref": "#/definitions/Monitor"
+ }
+ },
+ "201": {
+ "description": "Creating SAP monitor",
+ "schema": {
+ "$ref": "#/definitions/Monitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "monitors_Delete",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "summary": "Deletes a SAP monitor.",
+ "description": "Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.",
+ "x-ms-examples": {
+ "Deletes a SAP monitor": {
+ "$ref": "./examples/workloadmonitor/monitors_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete SAP monitor",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "202": {
+ "description": "Deleting SAP monitor"
+ },
+ "204": {
+ "description": "No SAP monitor to delete"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Monitors"
+ ],
+ "operationId": "monitors_Update",
+ "summary": "Patches the Tags field of a SAP monitor.",
+ "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and SAP monitor name.",
+ "x-ms-examples": {
+ "Update Tags field of a SAP monitor": {
+ "$ref": "./examples/workloadmonitor/monitors_PatchTags.json"
+ },
+ "Delete Tags field of a SAP monitor": {
+ "$ref": "./examples/workloadmonitor/monitors_PatchTags_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "description": "The Update SAP workload monitor request body.",
+ "schema": {
+ "$ref": "#/definitions/UpdateMonitorRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Monitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/providerInstances": {
+ "get": {
+ "tags": [
+ "ProviderInstances"
+ ],
+ "operationId": "ProviderInstances_List",
+ "summary": "Gets a list of provider instances in the specified SAP monitor.",
+ "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances.",
+ "x-ms-examples": {
+ "List all SAP monitors providers in a subscription": {
+ "$ref": "./examples/workloadmonitor/ProviderInstances_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProviderInstanceListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/providerInstances/{providerInstanceName}": {
+ "get": {
+ "tags": [
+ "ProviderInstances"
+ ],
+ "operationId": "ProviderInstances_Get",
+ "summary": "Gets properties of a provider instance.",
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "description": "Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.",
+ "x-ms-examples": {
+ "Get properties of a SAP monitor Hana provider": {
+ "$ref": "./examples/workloadmonitor/ProviderInstances_Get.json"
+ },
+ "Get properties of a SAP monitor NetWeaver provider": {
+ "$ref": "./examples/workloadmonitor/NetWeaverProviderInstances_Get.json"
+ },
+ "Get properties of a OS provider": {
+ "$ref": "./examples/workloadmonitor/PrometheusOSProviderInstances_Get.json"
+ },
+ "Get properties of a Db2 provider": {
+ "$ref": "./examples/workloadmonitor/Db2ProviderInstances_Get.json"
+ },
+ "Get properties of a MsSqlServer provider": {
+ "$ref": "./examples/workloadmonitor/MsSqlServerProviderInstance_Get.json"
+ },
+ "Get properties of a PrometheusHaCluster provider": {
+ "$ref": "./examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProviderInstanceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ProviderInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ProviderInstances"
+ ],
+ "operationId": "ProviderInstances_Create",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "summary": "Creates a provider instance.",
+ "description": "Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.",
+ "x-ms-examples": {
+ "Create a SAP monitor Hana provider": {
+ "$ref": "./examples/workloadmonitor/ProviderInstances_Create.json"
+ },
+ "Create a SAP monitor NetWeaver provider": {
+ "$ref": "./examples/workloadmonitor/NetWeaverProviderInstances_Create.json"
+ },
+ "Create a OS provider": {
+ "$ref": "./examples/workloadmonitor/PrometheusOSProviderInstances_Create.json"
+ },
+ "Create a Db2 provider": {
+ "$ref": "./examples/workloadmonitor/Db2ProviderInstances_Create.json"
+ },
+ "Create a MsSqlServer provider": {
+ "$ref": "./examples/workloadmonitor/MsSqlServerProviderInstance_Create.json"
+ },
+ "Create a PrometheusHaCluster provider": {
+ "$ref": "./examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json"
+ },
+ "Create a SAP monitor Hana provider with Root Certificate": {
+ "$ref": "./examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json"
+ },
+ "Create a SAP monitor NetWeaver provider with Root Certificate": {
+ "$ref": "./examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json"
+ },
+ "Create a OS provider with Root Certificate": {
+ "$ref": "./examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json"
+ },
+ "Create a Db2 provider with Root Certificate": {
+ "$ref": "./examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json"
+ },
+ "Create a MsSqlServer provider with Root Certificate": {
+ "$ref": "./examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json"
+ },
+ "Create a PrometheusHaCluster provider with Root Certificate": {
+ "$ref": "./examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProviderInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProviderInstanceParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Created provider instance",
+ "schema": {
+ "$ref": "#/definitions/ProviderInstance"
+ }
+ },
+ "201": {
+ "description": "Creating provider instance",
+ "schema": {
+ "$ref": "#/definitions/ProviderInstance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ProviderInstances"
+ ],
+ "operationId": "ProviderInstances_Delete",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "summary": "Deletes a provider instance.",
+ "description": "Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.",
+ "x-ms-examples": {
+ "Deletes a SAP monitor provider": {
+ "$ref": "./examples/workloadmonitor/ProviderInstances_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ProviderInstanceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Deleted provider instance",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "202": {
+ "description": "Deleting provider instance"
+ },
+ "204": {
+ "description": "No provider instance to delete"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "SslPreference": {
+ "description": "Gets or sets certificate preference if secure communication is enabled.",
+ "type": "string",
+ "enum": [
+ "Disabled",
+ "RootCertificate",
+ "ServerCertificate"
+ ],
+ "x-ms-enum": {
+ "name": "sslPreference",
+ "modelAsString": true
+ }
+ },
+ "OperationsDisplayDefinition": {
+ "description": "Defines the workload operation.",
+ "required": [
+ "description",
+ "operation",
+ "provider",
+ "resource"
+ ],
+ "type": "object",
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Defines the workload provider."
+ },
+ "resource": {
+ "type": "string",
+ "description": "Defines the workload resource."
+ },
+ "operation": {
+ "type": "string",
+ "description": "Defines the workload operation."
+ },
+ "description": {
+ "type": "string",
+ "description": "Describes the workload operation."
+ }
+ }
+ },
+ "OperationsDefinition": {
+ "required": [
+ "display",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the operation."
+ },
+ "isDataAction": {
+ "type": "boolean",
+ "description": "Indicates whether the operation applies to data-plane."
+ },
+ "origin": {
+ "enum": [
+ "NotSpecified",
+ "User",
+ "System"
+ ],
+ "type": "string",
+ "description": "Defines the workload operation origin.",
+ "x-ms-enum": {
+ "name": "OperationProperties",
+ "modelAsString": true
+ }
+ },
+ "display": {
+ "description": "Display information of the operation.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/OperationsDisplayDefinition"
+ }
+ ]
+ },
+ "actionType": {
+ "enum": [
+ "NotSpecified",
+ "Internal"
+ ],
+ "x-ms-enum": {
+ "name": "WorkloadMonitorActionType",
+ "modelAsString": true
+ },
+ "description": "Defines the action type of workload operation.",
+ "type": "string"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "description": "Defines the workload operation properties."
+ }
+ },
+ "description": "Properties of an Operation."
+ },
+ "OperationsContent": {
+ "type": "object",
+ "description": "Defines the workload operation content.",
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "description": "Operations content.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationsDefinition"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "OperationsDefinitionArrayResponseWithContinuation": {
+ "type": "object",
+ "description": "Defines the workload operation definition response.",
+ "properties": {
+ "value": {
+ "description": "Defines the workload operation definition response properties.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/OperationsDefinition"
+ },
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "description": "The URL to get to the next set of results, if there are any.",
+ "type": "string"
+ }
+ }
+ },
+ "Error": {
+ "description": "Standard error object.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Server-defined set of error codes.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Human-readable representation of the error.",
+ "type": "string",
+ "readOnly": true
+ },
+ "target": {
+ "description": "Target of the error.",
+ "type": "string",
+ "readOnly": true
+ },
+ "details": {
+ "description": "Array of details about specific errors that led to this reported error.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Error"
+ },
+ "readOnly": true,
+ "x-ms-identifiers": []
+ },
+ "innerError": {
+ "description": "Object containing more specific information than the current object about the error.",
+ "type": "object",
+ "properties": {
+ "innerError": {
+ "$ref": "#/definitions/Error"
+ }
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ManagedRGConfiguration": {
+ "description": "Managed resource group configuration",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Managed resource group name"
+ }
+ }
+ },
+ "Tags": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Tags field of the resource."
+ }
+ },
+ "description": "Tags field of the resource."
+ },
+ "MonitorListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Monitor"
+ },
+ "description": "The list of SAP monitors."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of SAP monitors."
+ }
+ },
+ "description": "The response from the List SAP monitors operation."
+ },
+ "Monitor": {
+ "type": "object",
+ "properties": {
+ "identity": {
+ "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MonitorProperties",
+ "description": "SAP monitor properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ],
+ "description": "SAP monitor info on Azure (ARM properties and SAP monitor properties)"
+ },
+ "MonitorProperties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ],
+ "x-ms-enum": {
+ "name": "WorkloadMonitorProvisioningState",
+ "modelAsString": true
+ },
+ "description": "State of provisioning of the SAP monitor."
+ },
+ "errors": {
+ "description": "Defines the SAP monitor errors.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Error"
+ }
+ ],
+ "readOnly": true
+ },
+ "appLocation": {
+ "type": "string",
+ "description": "The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region."
+ },
+ "routingPreference": {
+ "type": "string",
+ "description": "Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.",
+ "enum": [
+ "Default",
+ "RouteAll"
+ ],
+ "x-ms-enum": {
+ "name": "RoutingPreference",
+ "modelAsString": true
+ }
+ },
+ "zoneRedundancyPreference": {
+ "type": "string",
+ "description": "Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy."
+ },
+ "managedResourceGroupConfiguration": {
+ "description": "Managed resource group configuration",
+ "$ref": "#/definitions/ManagedRGConfiguration"
+ },
+ "logAnalyticsWorkspaceArmId": {
+ "type": "string",
+ "description": "The ARM ID of the Log Analytics Workspace that is used for SAP monitoring."
+ },
+ "monitorSubnet": {
+ "type": "string",
+ "description": "The subnet which the SAP monitor will be deployed in"
+ },
+ "msiArmId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ARM ID of the MSI used for SAP monitoring."
+ },
+ "storageAccountArmId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ARM ID of the Storage account used for SAP monitoring."
+ }
+ },
+ "description": "Describes the properties of a SAP monitor."
+ },
+ "UpdateMonitorRequest": {
+ "description": "Defines the request body for updating SAP monitor resource.",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Gets or sets the Resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "identity": {
+ "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
+ }
+ }
+ },
+ "ProviderInstanceListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProviderInstance"
+ },
+ "description": "The list of provider instances."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of provider instances."
+ }
+ },
+ "description": "The response from the List provider instances operation."
+ },
+ "ProviderInstance": {
+ "type": "object",
+ "properties": {
+ "identity": {
+ "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ProviderInstanceProperties",
+ "description": "Provider Instance properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "description": "A provider instance associated with SAP monitor."
+ },
+ "HanaDbProviderInstanceProperties": {
+ "description": "Gets or sets the provider properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProviderSpecificProperties"
+ }
+ ],
+ "properties": {
+ "hostname": {
+ "description": "Gets or sets the target virtual machine size.",
+ "type": "string"
+ },
+ "dbName": {
+ "description": "Gets or sets the hana database name.",
+ "type": "string"
+ },
+ "sqlPort": {
+ "description": "Gets or sets the database sql port.",
+ "type": "string"
+ },
+ "instanceNumber": {
+ "description": "Gets or sets the database instance number.",
+ "type": "string"
+ },
+ "dbUsername": {
+ "description": "Gets or sets the database user name.",
+ "type": "string"
+ },
+ "dbPassword": {
+ "description": "Gets or sets the database password.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "dbPasswordUri": {
+ "description": "Gets or sets the key vault URI to secret with the database password.",
+ "type": "string"
+ },
+ "dbSslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the DB.",
+ "type": "string"
+ },
+ "sslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the DB.",
+ "type": "string"
+ },
+ "sslHostNameInCertificate": {
+ "description": "Gets or sets the hostname(s) in the SSL certificate.",
+ "type": "string"
+ },
+ "sslPreference": {
+ "$ref": "#/definitions/SslPreference"
+ }
+ },
+ "x-ms-discriminator-value": "SapHana"
+ },
+ "SapNetWeaverProviderInstanceProperties": {
+ "description": "Gets or sets the provider properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProviderSpecificProperties"
+ }
+ ],
+ "properties": {
+ "sapSid": {
+ "description": "Gets or sets the SAP System Identifier",
+ "type": "string"
+ },
+ "sapHostname": {
+ "description": "Gets or sets the target virtual machine IP Address/FQDN.",
+ "type": "string"
+ },
+ "sapInstanceNr": {
+ "description": "Gets or sets the instance number of SAP NetWeaver.",
+ "type": "string"
+ },
+ "sapHostFileEntries": {
+ "description": "Gets or sets the list of HostFile Entries",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sapUsername": {
+ "description": "Gets or sets the SAP user name.",
+ "type": "string"
+ },
+ "sapPassword": {
+ "description": "Sets the SAP password.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "sapPasswordUri": {
+ "description": "Gets or sets the key vault URI to secret with the SAP password.",
+ "type": "string"
+ },
+ "sapClientId": {
+ "description": "Gets or sets the SAP Client ID.",
+ "type": "string"
+ },
+ "sapPortNumber": {
+ "description": "Gets or sets the SAP HTTP port number.",
+ "type": "string"
+ },
+ "sapSslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the SAP system.",
+ "type": "string"
+ },
+ "sslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the SAP system.",
+ "type": "string"
+ },
+ "sslPreference": {
+ "$ref": "#/definitions/SslPreference"
+ }
+ },
+ "x-ms-discriminator-value": "SapNetWeaver"
+ },
+ "PrometheusOSProviderInstanceProperties": {
+ "description": "Gets or sets the PrometheusOS provider properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProviderSpecificProperties"
+ }
+ ],
+ "properties": {
+ "prometheusUrl": {
+ "description": "URL of the Node Exporter endpoint",
+ "type": "string"
+ },
+ "sslPreference": {
+ "$ref": "#/definitions/SslPreference"
+ },
+ "sslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the prometheus node exporter.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "PrometheusOS"
+ },
+ "DB2ProviderInstanceProperties": {
+ "description": "Gets or sets the DB2 provider properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProviderSpecificProperties"
+ }
+ ],
+ "properties": {
+ "hostname": {
+ "description": "Gets or sets the target virtual machine name.",
+ "type": "string"
+ },
+ "dbName": {
+ "description": "Gets or sets the db2 database name.",
+ "type": "string"
+ },
+ "dbPort": {
+ "description": "Gets or sets the db2 database sql port.",
+ "type": "string"
+ },
+ "dbUsername": {
+ "description": "Gets or sets the db2 database user name.",
+ "type": "string"
+ },
+ "dbPassword": {
+ "description": "Gets or sets the db2 database password.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "dbPasswordUri": {
+ "description": "Gets or sets the key vault URI to secret with the database password.",
+ "type": "string"
+ },
+ "sapSid": {
+ "description": "Gets or sets the SAP System Identifier",
+ "type": "string"
+ },
+ "sslPreference": {
+ "$ref": "#/definitions/SslPreference"
+ },
+ "sslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the DB2 Database.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "Db2"
+ },
+ "PrometheusHaClusterProviderInstanceProperties": {
+ "description": "Gets or sets the PrometheusHaCluster provider properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProviderSpecificProperties"
+ }
+ ],
+ "properties": {
+ "prometheusUrl": {
+ "description": "URL of the Node Exporter endpoint.",
+ "type": "string"
+ },
+ "hostname": {
+ "description": "Gets or sets the target machine name.",
+ "type": "string"
+ },
+ "sid": {
+ "description": "Gets or sets the cluster sid.",
+ "type": "string"
+ },
+ "clusterName": {
+ "description": "Gets or sets the clusterName.",
+ "type": "string"
+ },
+ "sslPreference": {
+ "$ref": "#/definitions/SslPreference"
+ },
+ "sslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the HA cluster exporter.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "PrometheusHaCluster"
+ },
+ "MsSqlServerProviderInstanceProperties": {
+ "description": "Gets or sets the SQL server provider properties.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProviderSpecificProperties"
+ }
+ ],
+ "properties": {
+ "hostname": {
+ "description": "Gets or sets the SQL server host name.",
+ "type": "string"
+ },
+ "dbPort": {
+ "description": "Gets or sets the database sql port.",
+ "type": "string"
+ },
+ "dbUsername": {
+ "description": "Gets or sets the database user name.",
+ "type": "string"
+ },
+ "dbPassword": {
+ "description": "Gets or sets the database password.",
+ "type": "string",
+ "x-ms-secret": true
+ },
+ "dbPasswordUri": {
+ "description": "Gets or sets the key vault URI to secret with the database password.",
+ "type": "string"
+ },
+ "sapSid": {
+ "description": "Gets or sets the SAP System Identifier",
+ "type": "string"
+ },
+ "sslPreference": {
+ "$ref": "#/definitions/SslPreference"
+ },
+ "sslCertificateUri": {
+ "description": "Gets or sets the blob URI to SSL certificate for the SQL Database.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "MsSqlServer"
+ },
+ "ProviderSpecificProperties": {
+ "description": "Gets or sets the provider specific properties.",
+ "type": "object",
+ "required": [
+ "providerType"
+ ],
+ "properties": {
+ "providerType": {
+ "description": "The provider type. For example, the value can be SapHana.",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ },
+ "discriminator": "providerType"
+ },
+ "ProviderInstanceProperties": {
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ],
+ "x-ms-enum": {
+ "name": "WorkloadMonitorProvisioningState",
+ "modelAsString": true
+ },
+ "description": "State of provisioning of the provider instance"
+ },
+ "errors": {
+ "description": "Defines the provider instance errors.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Error"
+ }
+ ],
+ "readOnly": true
+ },
+ "providerSettings": {
+ "description": "Defines the provider instance errors.",
+ "$ref": "#/definitions/ProviderSpecificProperties"
+ }
+ },
+ "description": "Describes the properties of a provider instance."
+ }
+ },
+ "parameters": {
+ "monitorNameParameter": {
+ "name": "monitorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the SAP monitor resource.",
+ "x-ms-parameter-location": "method"
+ },
+ "ProviderInstanceNameParameter": {
+ "name": "providerInstanceName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the provider instance.",
+ "x-ms-parameter-location": "method"
+ },
+ "MonitorParameter": {
+ "name": "MonitorParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Monitor"
+ },
+ "description": "Request body representing a SAP monitor",
+ "x-ms-parameter-location": "method"
+ },
+ "ProviderInstanceParameter": {
+ "name": "providerInstanceParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProviderInstance"
+ },
+ "description": "Request body representing a provider instance",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json
new file mode 100644
index 000000000000..cf22fe2000fc
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json
@@ -0,0 +1,76 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-12-01-preview",
+ "title": "Workloads Client",
+ "description": "Workloads client provides access to various workload operations"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Workloads/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all the available API operations under this PR",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response about the failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Operations": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {},
+ "parameters": {}
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
new file mode 100644
index 000000000000..e7092c73b1b6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
@@ -0,0 +1,1362 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-12-01-preview",
+ "title": "Workloads Client",
+ "description": "Workloads client provides access to various workload operations"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/phpWorkloads": {
+ "get": {
+ "tags": [
+ "PhpWorkloads"
+ ],
+ "description": "Lists PHP workload resources for a subscription.",
+ "operationId": "PhpWorkloads_ListBySubscription",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/phpWorkloadResourceList"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/PhpWorkloads_ListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads": {
+ "get": {
+ "tags": [
+ "PhpWorkloads"
+ ],
+ "description": "Lists PHP workload resources in a resource group.",
+ "operationId": "PhpWorkloads_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/phpWorkloadResourceList"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads/{phpWorkloadName}": {
+ "get": {
+ "tags": [
+ "PhpWorkloads"
+ ],
+ "description": "Gets the PHP workload resource.",
+ "operationId": "PhpWorkloads_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/phpWorkloadResource"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/PhpWorkloads_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "PhpWorkloads"
+ ],
+ "description": "Create or updated PHP workload resource.",
+ "operationId": "PhpWorkloads_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "phpWorkloadResource",
+ "description": "Resource create or update request payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/phpWorkloadResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource created or updated successfully.",
+ "schema": {
+ "$ref": "#/definitions/phpWorkloadResource"
+ }
+ },
+ "201": {
+ "description": "Resource create or update started.",
+ "schema": {
+ "$ref": "#/definitions/phpWorkloadResource"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "PhpWorkloads"
+ ],
+ "description": "Update PHP workload resource.",
+ "operationId": "PhpWorkloads_Update",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "ResourcePatchRequestBody",
+ "description": "Workload resource update data",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PatchResourceRequestBody"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource updated.",
+ "schema": {
+ "$ref": "#/definitions/phpWorkloadResource"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/PhpWorkloads_Update.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "PhpWorkloads"
+ ],
+ "operationId": "PhpWorkloads_Delete",
+ "description": "Delete PHP workload resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ },
+ {
+ "name": "delete-infra",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "Whether to delete infra along with workload resource.",
+ "minLength": 1
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource deleted."
+ },
+ "202": {
+ "description": "Resource deletion in progress."
+ },
+ "204": {
+ "description": "Resource not found."
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/PhpWorkloads_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads/{phpWorkloadName}/wordpressInstances": {
+ "get": {
+ "tags": [
+ "WordpressInstances"
+ ],
+ "description": "Lists WordPress instance resources under a phpWorkload resource.",
+ "operationId": "WordpressInstances_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/wordpressInstanceResourceList"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/WordpressInstances_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads/{phpWorkloadName}/wordpressInstances/default": {
+ "get": {
+ "tags": [
+ "WordpressInstances"
+ ],
+ "description": "Gets the WordPress instance resource.",
+ "operationId": "WordpressInstances_Get",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/wordpressInstanceResource"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/WordpressInstances_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "WordpressInstances"
+ ],
+ "description": "Create or updated WordPress instance resource.",
+ "operationId": "WordpressInstances_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ },
+ {
+ "in": "body",
+ "name": "wordpressInstanceResource",
+ "description": "Resource create or update request payload",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/wordpressInstanceResource"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource created or updated successfully",
+ "schema": {
+ "$ref": "#/definitions/wordpressInstanceResource"
+ }
+ },
+ "201": {
+ "description": "Resource create or update started.",
+ "schema": {
+ "$ref": "#/definitions/wordpressInstanceResource"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/WordpressInstances_CreateOrUpdate.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "WordpressInstances"
+ ],
+ "operationId": "WordpressInstances_Delete",
+ "description": "Delete WordPress instance resource.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/PhpWorkloadNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Resource deleted."
+ },
+ "204": {
+ "description": "Resource not found."
+ },
+ "default": {
+ "description": "Resource provider error response.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Workloads": {
+ "$ref": "./examples/phpworkloads/WordpressInstances_Delete.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "phpWorkloadResourceList": {
+ "description": "Php workload resource list",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of resources in current page",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/phpWorkloadResource"
+ }
+ },
+ "nextLink": {
+ "description": "Link to next page of resources",
+ "type": "string"
+ }
+ }
+ },
+ "phpWorkloadResource": {
+ "description": "Php workload resource",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Resource properties",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/phpWorkloadResourceProperties"
+ },
+ "kind": {
+ "type": "string",
+ "description": "Indicates which kind of php workload this resource represent e.g WordPress",
+ "enum": [
+ "WordPress"
+ ],
+ "x-ms-enum": {
+ "modelAsString": true,
+ "name": "WorkloadKind"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "sku": {
+ "description": "Php workloads SKU",
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku"
+ },
+ "identity": {
+ "description": "Identity for the resource. Currently not supported",
+ "allOf": [
+ {
+ "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
+ }
+ ]
+ },
+ "phpWorkloadResourceProperties": {
+ "description": "PHP workload resource properties",
+ "type": "object",
+ "properties": {
+ "appLocation": {
+ "type": "string",
+ "description": "The infra resources for PHP workload will be created in this location"
+ },
+ "managedResourceGroupConfiguration": {
+ "description": "Managed resource group configuration of the workload",
+ "$ref": "#/definitions/ManagedRGConfiguration"
+ },
+ "adminUserProfile": {
+ "description": "Admin user profile used for VM and VMSS",
+ "$ref": "#/definitions/userProfile"
+ },
+ "webNodesProfile": {
+ "description": "VMSS web nodes profile",
+ "$ref": "#/definitions/vmssNodesProfile"
+ },
+ "controllerProfile": {
+ "description": "Controller VM profile",
+ "$ref": "#/definitions/nodeProfile"
+ },
+ "networkProfile": {
+ "description": "Network profile",
+ "$ref": "#/definitions/networkProfile"
+ },
+ "databaseProfile": {
+ "description": "Database profile",
+ "$ref": "#/definitions/databaseProfile"
+ },
+ "siteProfile": {
+ "description": "Site profile",
+ "$ref": "#/definitions/siteProfile"
+ },
+ "fileshareProfile": {
+ "description": "File share profile",
+ "$ref": "#/definitions/fileshareProfile"
+ },
+ "phpProfile": {
+ "description": "PHP profile",
+ "$ref": "#/definitions/phpProfile"
+ },
+ "searchProfile": {
+ "description": "Search profile",
+ "$ref": "#/definitions/searchProfile"
+ },
+ "cacheProfile": {
+ "description": "Cache profile",
+ "$ref": "#/definitions/cacheProfile"
+ },
+ "backupProfile": {
+ "description": "Backup profile",
+ "$ref": "#/definitions/backupProfile"
+ },
+ "provisioningState": {
+ "description": "Php workload resource provisioning state",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Created",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Provisioning",
+ "Deleting"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "PhpWorkloadProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ },
+ "required": [
+ "appLocation",
+ "adminUserProfile",
+ "webNodesProfile",
+ "controllerProfile",
+ "databaseProfile"
+ ]
+ },
+ "wordpressInstanceResourceList": {
+ "description": "WordPress instance resource list",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "List of resources in current page",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/wordpressInstanceResource"
+ }
+ },
+ "nextLink": {
+ "description": "Link to next page of resources",
+ "type": "string"
+ }
+ }
+ },
+ "wordpressInstanceResource": {
+ "description": "WordPress instance resource",
+ "type": "object",
+ "properties": {
+ "properties": {
+ "description": "Resource properties",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/wordpressInstanceResourceProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ]
+ },
+ "wordpressInstanceResourceProperties": {
+ "type": "object",
+ "description": "WordPress instance properties",
+ "properties": {
+ "version": {
+ "type": "string",
+ "description": "Application version",
+ "enum": [
+ "5.4.3",
+ "5.4.2",
+ "5.4.1",
+ "5.4"
+ ],
+ "x-ms-enum": {
+ "name": "WordpressVersions",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "databaseName": {
+ "type": "string",
+ "description": "Database name used by the application",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "databaseUser": {
+ "type": "string",
+ "description": "User name used by the application to connect to database",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "siteUrl": {
+ "type": "string",
+ "description": "Site Url to access the WordPress application",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "description": "WordPress instance provisioning state",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Created",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Installing"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ApplicationProvisioningState",
+ "modelAsString": true
+ },
+ "readOnly": true
+ }
+ },
+ "required": [
+ "version"
+ ]
+ },
+ "userProfile": {
+ "type": "object",
+ "description": "User profile to configure on a compute resources such as VM, VMSS",
+ "properties": {
+ "userName": {
+ "type": "string",
+ "description": "User name"
+ },
+ "sshPublicKey": {
+ "type": "string",
+ "description": "SSH public key data"
+ }
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ],
+ "required": [
+ "userName",
+ "sshPublicKey"
+ ]
+ },
+ "vmssNodesProfile": {
+ "type": "object",
+ "description": "VMSS profile",
+ "properties": {
+ "autoScaleMinCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum number of nodes for autoscale",
+ "minimum": 1
+ },
+ "autoScaleMaxCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum number of nodes for autoscale",
+ "minimum": 1
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/nodeProfile"
+ }
+ ]
+ },
+ "nodeProfile": {
+ "type": "object",
+ "description": "VM or VMSS node profile",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "VM or VMSS name"
+ },
+ "nodeSku": {
+ "type": "string",
+ "description": "VM SKU for node(s)"
+ },
+ "osImage": {
+ "description": "OS image used for creating the nodes",
+ "$ref": "#/definitions/osImageProfile",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "osDisk": {
+ "description": "OS disk details",
+ "$ref": "#/definitions/diskInfo"
+ },
+ "dataDisks": {
+ "description": "Data disks details. This property is not in use right now",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/diskInfo"
+ },
+ "x-ms-identifiers": []
+ },
+ "nodeResourceIds": {
+ "description": "VM/VMSS resource ARM Ids",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ },
+ "required": [
+ "nodeSku",
+ "osImage",
+ "osDisk"
+ ]
+ },
+ "diskInfo": {
+ "type": "object",
+ "description": "Disk resource creation details",
+ "properties": {
+ "storageType": {
+ "description": "Storage type",
+ "type": "string",
+ "enum": [
+ "Premium_LRS",
+ "Standard_LRS",
+ "StandardSSD_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "DiskStorageType",
+ "modelAsString": false
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "sizeInGB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Disk size in GB"
+ }
+ },
+ "required": [
+ "storageType"
+ ]
+ },
+ "osImageProfile": {
+ "type": "object",
+ "description": "OS image profile",
+ "properties": {
+ "publisher": {
+ "description": "OS image publisher",
+ "type": "string",
+ "enum": [
+ "Canonical"
+ ],
+ "x-ms-enum": {
+ "name": "OSImagePublisher",
+ "modelAsString": true
+ }
+ },
+ "offer": {
+ "description": "OS image offer",
+ "type": "string",
+ "enum": [
+ "UbuntuServer"
+ ],
+ "x-ms-enum": {
+ "name": "OSImageOffer",
+ "modelAsString": true
+ }
+ },
+ "sku": {
+ "description": "OS image sku",
+ "type": "string",
+ "enum": [
+ "18.04-LTS",
+ "16.04-LTS"
+ ],
+ "x-ms-enum": {
+ "name": "OSImageSku",
+ "modelAsString": true
+ }
+ },
+ "version": {
+ "description": "OS image version",
+ "type": "string",
+ "enum": [
+ "latest"
+ ],
+ "x-ms-enum": {
+ "name": "OSImageVersion",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "networkProfile": {
+ "type": "object",
+ "description": "Network profile",
+ "properties": {
+ "loadBalancerType": {
+ "type": "string",
+ "description": "Load balancer type",
+ "enum": [
+ "ApplicationGateway",
+ "LoadBalancer"
+ ],
+ "x-ms-enum": {
+ "name": "LoadBalancerType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "loadBalancerSku": {
+ "type": "string",
+ "description": "Load balancer SKU"
+ },
+ "loadBalancerTier": {
+ "type": "string",
+ "description": "Load balancer tier"
+ },
+ "capacity": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Capacity, applicable only for Application Gateway"
+ },
+ "azureFrontDoorEnabled": {
+ "type": "string",
+ "description": "Whether to enable Azure front door",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "AzureFrontDoorEnabled",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "vNetResourceId": {
+ "description": "Virtual network resource Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "loadBalancerResourceId": {
+ "description": "Azure Loadbalancer or ApplicationGateway resource Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "azureFrontDoorResourceId": {
+ "description": "Azure front door resource id",
+ "type": "string",
+ "readOnly": true
+ },
+ "frontEndPublicIpResourceId": {
+ "description": "Loadbalancer front-end IP address resource Id",
+ "type": "string",
+ "readOnly": true
+ },
+ "outboundPublicIpResourceIds": {
+ "description": "List of outbound public IP resource IDs",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ },
+ "required": [
+ "loadBalancerType"
+ ]
+ },
+ "databaseProfile": {
+ "type": "object",
+ "description": "Workload database profile",
+ "properties": {
+ "type": {
+ "description": "Database type",
+ "type": "string",
+ "enum": [
+ "MySql"
+ ],
+ "x-ms-enum": {
+ "name": "DatabaseType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "serverName": {
+ "type": "string",
+ "description": "Database server name",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "version": {
+ "type": "string",
+ "description": "Database version"
+ },
+ "sku": {
+ "type": "string",
+ "description": "The name of the server SKU, e.g. Standard_D32s_v4"
+ },
+ "tier": {
+ "type": "string",
+ "description": "Tier of the server SKU",
+ "enum": [
+ "Burstable",
+ "GeneralPurpose",
+ "MemoryOptimized"
+ ],
+ "x-ms-enum": {
+ "name": "DatabaseTier",
+ "modelAsString": false
+ }
+ },
+ "haEnabled": {
+ "type": "string",
+ "description": "Whether to enable HA for the server",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "HAEnabled",
+ "modelAsString": true
+ }
+ },
+ "storageSku": {
+ "type": "string",
+ "description": "SKU name for database storage"
+ },
+ "storageInGB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Database storage size in GB",
+ "minimum": 1
+ },
+ "storageIops": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Storage IOPS for the server"
+ },
+ "backupRetentionDays": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Backup retention days for the server"
+ },
+ "sslEnforcementEnabled": {
+ "type": "string",
+ "description": "Whether to enable SSL enforcement on the database",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "EnableSslEnforcement",
+ "modelAsString": true
+ }
+ },
+ "serverResourceId": {
+ "description": "Azure Database Server resource Id",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "type",
+ "sku",
+ "tier"
+ ]
+ },
+ "siteProfile": {
+ "type": "object",
+ "description": "Workload website profile",
+ "properties": {
+ "domainName": {
+ "type": "string",
+ "description": "Domain name for the application site URL",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ }
+ }
+ },
+ "fileshareProfile": {
+ "type": "object",
+ "description": "File share profile",
+ "properties": {
+ "shareType": {
+ "description": "Share type",
+ "type": "string",
+ "enum": [
+ "NfsOnController",
+ "AzureFiles"
+ ],
+ "x-ms-enum": {
+ "name": "FileShareType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "storageType": {
+ "description": "File share backing storage type",
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Standard_GRS",
+ "Standard_ZRS",
+ "Premium_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "FileShareStorageType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "shareSizeInGB": {
+ "type": "integer",
+ "format": "int64",
+ "description": "File share size in GB",
+ "minimum": 1
+ },
+ "storageResourceId": {
+ "type": "string",
+ "description": "File share storage resource id",
+ "readOnly": true
+ },
+ "shareName": {
+ "type": "string",
+ "description": "File share name",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "shareType",
+ "storageType"
+ ]
+ },
+ "phpProfile": {
+ "type": "object",
+ "description": "PHP profile",
+ "properties": {
+ "version": {
+ "type": "string",
+ "description": "PHP version",
+ "enum": [
+ "7.2",
+ "7.3",
+ "7.4"
+ ],
+ "x-ms-enum": {
+ "name": "PHPVersion",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "version"
+ ]
+ },
+ "searchProfile": {
+ "type": "object",
+ "description": "Search profile",
+ "properties": {
+ "searchType": {
+ "description": "Search type",
+ "type": "string",
+ "enum": [
+ "Elastic"
+ ],
+ "x-ms-enum": {
+ "name": "SearchType",
+ "modelAsString": true
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/nodeProfile"
+ }
+ ],
+ "required": [
+ "searchType"
+ ]
+ },
+ "cacheProfile": {
+ "type": "object",
+ "description": "Cache profile",
+ "properties": {
+ "name": {
+ "description": "Cache name",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "skuName": {
+ "description": "Cache SKU name",
+ "type": "string",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "family": {
+ "description": "Cache family",
+ "type": "string",
+ "enum": [
+ "C",
+ "P"
+ ],
+ "x-ms-enum": {
+ "name": "RedisCacheFamily",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "capacity": {
+ "type": "integer",
+ "format": "int64",
+ "description": "Cache capacity",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "cacheResourceId": {
+ "description": "Cache resource Id",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "skuName",
+ "family",
+ "capacity"
+ ]
+ },
+ "backupProfile": {
+ "type": "object",
+ "description": "Backup profile",
+ "properties": {
+ "backupEnabled": {
+ "type": "string",
+ "description": "Whether to enable Azure backup for the workload",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "EnableBackup",
+ "modelAsString": true
+ }
+ },
+ "vaultResourceId": {
+ "description": "Backup vault resource Id",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "required": [
+ "backupEnabled"
+ ]
+ },
+ "ManagedRGConfiguration": {
+ "type": "object",
+ "description": "Managed resource group configuration",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Managed resource group name"
+ }
+ }
+ },
+ "PatchResourceRequestBody": {
+ "description": "Resource patch request body",
+ "type": "object",
+ "properties": {
+ "tags": {
+ "description": "Resource tags",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "identity": {
+ "allOf": [
+ {
+ "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "parameters": {
+ "PhpWorkloadNameParameter": {
+ "in": "path",
+ "name": "phpWorkloadName",
+ "description": "Php workload name",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string"
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
new file mode 100644
index 000000000000..77b3a346e95f
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
@@ -0,0 +1,377 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2021-12-01-preview",
+ "title": "Workloads Client",
+ "description": "Workloads client provides access to various workload skus"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/skus": {
+ "get": {
+ "tags": [
+ "Skus"
+ ],
+ "description": "Lists all the available SKUs under this PR",
+ "operationId": "Skus_List",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/SkusListResult"
+ }
+ },
+ "default": {
+ "description": "Resource provider error response about the failure.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Skus": {
+ "$ref": "./examples/Skus_List.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RestrictionInfo": {
+ "description": "The SKU restriction information.",
+ "type": "object",
+ "properties": {
+ "locations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The restriction locations."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The restriction zones."
+ }
+ }
+ },
+ "SkuRestriction": {
+ "description": "The SKU restriction definition.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Location",
+ "Zone"
+ ],
+ "x-ms-enum": {
+ "name": "SkuRestrictionType",
+ "modelAsString": true
+ },
+ "description": "The SKU restriction type."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Restriction values."
+ },
+ "restrictionInfo": {
+ "description": "The restriction information.",
+ "type": "object",
+ "items": {
+ "$ref": "#/definitions/RestrictionInfo"
+ }
+ },
+ "reasonCode": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "QuotaId",
+ "NotAvailableForSubscription"
+ ],
+ "x-ms-enum": {
+ "name": "SkuRestrictionReasonCode",
+ "modelAsString": true
+ },
+ "description": "The SKU restriction reason code."
+ }
+ }
+ },
+ "SkuCost": {
+ "description": "The SKU cost definition.",
+ "type": "object",
+ "properties": {
+ "meterId": {
+ "type": "string",
+ "description": "Billing meter id."
+ },
+ "quantity": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The quantity."
+ },
+ "extendedUnit": {
+ "type": "string",
+ "description": "The extended unit."
+ }
+ }
+ },
+ "SkuCapacity": {
+ "description": "The SKU capacity.",
+ "type": "object",
+ "properties": {
+ "minimum": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Minimum capacity value."
+ },
+ "maximum": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Maximum capacity value."
+ },
+ "default": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Default capacity value."
+ },
+ "scaleType": {
+ "type": "string",
+ "enum": [
+ "None",
+ "Manual",
+ "Automatic"
+ ],
+ "x-ms-enum": {
+ "name": "SkuScaleType",
+ "modelAsString": true
+ },
+ "description": "Scale type of the SKU capacity."
+ }
+ }
+ },
+ "SkuCapability": {
+ "description": "The SKU capability definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The capability name."
+ },
+ "value": {
+ "type": "string",
+ "description": "The capability value."
+ }
+ }
+ },
+ "SkuZoneDetail": {
+ "description": "The SKU zone details.",
+ "type": "object",
+ "properties": {
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The physical zones."
+ },
+ "capabilities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SkuCapability"
+ },
+ "description": "The capabilities.",
+ "x-ms-identifiers": []
+ }
+ }
+ },
+ "SkuLocationAndZones": {
+ "description": "The SKU location and zone.",
+ "type": "object",
+ "properties": {
+ "location": {
+ "type": "string",
+ "description": "The location of the SKU."
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The availability zones of SKU location."
+ },
+ "zoneDetails": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SkuZoneDetail"
+ },
+ "description": "The availability zone details of the SKU location.",
+ "x-ms-identifiers": []
+ },
+ "extendedLocations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The extended locations of SKU."
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "Region",
+ "EdgeZone"
+ ],
+ "x-ms-enum": {
+ "name": "LocationType",
+ "modelAsString": true
+ },
+ "description": "Type of the extended location."
+ }
+ }
+ },
+ "SkuDefinition": {
+ "description": "The SKU definition.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the SKU."
+ },
+ "resourceType": {
+ "type": "string",
+ "description": "Resource type the SKU applicable for."
+ },
+ "tier": {
+ "type": "string",
+ "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
+ },
+ "size": {
+ "type": "string",
+ "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
+ },
+ "family": {
+ "type": "string",
+ "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
+ },
+ "kind": {
+ "type": "string",
+ "description": "If the service has different kinds of hardware, for the same SKU, then that can be captured here."
+ },
+ "locations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of locations where this SKU is available."
+ },
+ "locationInfo": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SkuLocationAndZones"
+ },
+ "description": "List of locations where this SKU is available.",
+ "x-ms-identifiers": []
+ },
+ "capacity": {
+ "type": "object",
+ "items": {
+ "$ref": "#/definitions/SkuCapacity"
+ },
+ "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
+ },
+ "costs": {
+ "description": "The SKU costs.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SkuCost"
+ },
+ "x-ms-identifiers": []
+ },
+ "capabilities": {
+ "description": "The SKU capabilities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SkuCapability"
+ },
+ "x-ms-identifiers": []
+ },
+ "restrictions": {
+ "description": "The SKU restrictions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SkuRestriction"
+ },
+ "x-ms-identifiers": []
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "SkusListResult": {
+ "description": "A list of SKUs supported by an Azure Resource Provider.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SkuDefinition"
+ },
+ "description": "List of SKUs supported by the resource provider",
+ "readOnly": true,
+ "x-ms-identifiers": []
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of SKU list results (if there are any).",
+ "readOnly": true
+ }
+ }
+ }
+ },
+ "parameters": {}
+}
From d9e5908b039258cf8176288b9fb963ab8a6db4f0 Mon Sep 17 00:00:00 2001
From: gargankit-microsoft
<88656868+gargankit-microsoft@users.noreply.github.com>
Date: Tue, 17 Jan 2023 12:00:39 +0530
Subject: [PATCH 2/7] Updates readme
---
.../workloads/resource-manager/readme.md | 22 +++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/specification/workloads/resource-manager/readme.md b/specification/workloads/resource-manager/readme.md
index 960f8f0085f1..5f031411ac99 100644
--- a/specification/workloads/resource-manager/readme.md
+++ b/specification/workloads/resource-manager/readme.md
@@ -24,17 +24,31 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor
These are the global settings for the workloads.
-```yaml
+``` yaml
openapi-type: arm
openapi-subtype: rpaas
-tag: package-2021-12-01-preview
+tag: package-preview-2022-11
```
+
+### Tag: package-preview-2022-11
+
+These settings apply only when `--tag=package-preview-2022-11` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2022-11'
+input-file:
+ - Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
+ - Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
+ - Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
+ - Microsoft.Workloads/preview/2022-11-01-preview/operations.json
+ - Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
+ - Microsoft.Workloads/preview/2022-11-01-preview/skus.json
+```
### Tag: package-2021-12-01-preview
These settings apply only when `--tag=package-2021-12-01-preview` is specified on the command line.
-```yaml $(tag) == 'package-2021-12-01-preview'
+``` yaml $(tag) == 'package-2021-12-01-preview'
input-file:
- Microsoft.Workloads/preview/2021-12-01-preview/phpWorkloads.json
- Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json
@@ -52,7 +66,7 @@ input-file:
This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.
-```yaml $(swagger-to-sdk)
+``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
From 6f013bd1d978e4c7358a55675c7a718b8e914b9f Mon Sep 17 00:00:00 2001
From: gargankit-microsoft
<88656868+gargankit-microsoft@users.noreply.github.com>
Date: Tue, 17 Jan 2023 12:00:48 +0530
Subject: [PATCH 3/7] Updates API version in new specs and examples
---
.../preview/2022-11-01-preview/SAPVirtualInstance.json | 2 +-
.../preview/2022-11-01-preview/commonTypes.json | 2 +-
.../2022-11-01-preview/examples/Operations_List.json | 2 +-
.../preview/2022-11-01-preview/examples/Skus_List.json | 2 +-
.../examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json | 2 +-
.../examples/phpworkloads/PhpWorkloads_Delete.json | 2 +-
.../examples/phpworkloads/PhpWorkloads_Get.json | 2 +-
.../phpworkloads/PhpWorkloads_ListByResourceGroup.json | 2 +-
.../phpworkloads/PhpWorkloads_ListBySubscription.json | 2 +-
.../examples/phpworkloads/PhpWorkloads_Update.json | 2 +-
.../phpworkloads/WordpressInstances_CreateOrUpdate.json | 2 +-
.../examples/phpworkloads/WordpressInstances_Delete.json | 2 +-
.../examples/phpworkloads/WordpressInstances_Get.json | 2 +-
.../examples/phpworkloads/WordpressInstances_List.json | 2 +-
.../SAPApplicationServerInstances_Create.json | 2 +-
.../SAPApplicationServerInstances_Create_HA_AvSet.json | 2 +-
.../SAPApplicationServerInstances_Delete.json | 6 +++---
.../SAPApplicationServerInstances_Get.json | 2 +-
.../SAPApplicationServerInstances_List.json | 2 +-
.../SAPApplicationServerInstances_Update.json | 2 +-
.../SAPAvailabilityZoneDetails_eastus.json | 2 +-
.../SAPAvailabilityZoneDetails_northeurope.json | 2 +-
.../sapvirtualinstances/SAPCentralInstances_Create.json | 2 +-
.../SAPCentralInstances_Create_HA_AvSet.json | 2 +-
.../sapvirtualinstances/SAPCentralInstances_Delete.json | 6 +++---
.../sapvirtualinstances/SAPCentralInstances_Get.json | 2 +-
.../sapvirtualinstances/SAPCentralInstances_List.json | 2 +-
.../sapvirtualinstances/SAPCentralInstances_Update.json | 2 +-
.../sapvirtualinstances/SAPDatabaseInstances_Create.json | 2 +-
.../SAPDatabaseInstances_Create_HA_AvSet.json | 2 +-
.../sapvirtualinstances/SAPDatabaseInstances_Delete.json | 6 +++---
.../sapvirtualinstances/SAPDatabaseInstances_Get.json | 2 +-
.../sapvirtualinstances/SAPDatabaseInstances_List.json | 2 +-
.../sapvirtualinstances/SAPDatabaseInstances_Update.json | 2 +-
.../sapvirtualinstances/SAPDiskConfigurations_NonProd.json | 2 +-
.../sapvirtualinstances/SAPDiskConfigurations_Prod.json | 2 +-
.../SAPSizingRecommendations_S4HANA_Distributed.json | 2 +-
.../SAPSizingRecommendations_S4HANA_HA_AvSet.json | 2 +-
.../SAPSizingRecommendations_S4HANA_HA_AvZone.json | 2 +-
.../SAPSizingRecommendations_S4HANA_SingleServer.json | 2 +-
.../sapvirtualinstances/SAPSupportedSkus_Distributed.json | 2 +-
.../SAPSupportedSkus_DistributedHA_AvSet.json | 2 +-
.../SAPSupportedSkus_DistributedHA_AvZone.json | 2 +-
.../sapvirtualinstances/SAPSupportedSkus_SingleServer.json | 2 +-
.../SAPVirtualInstances_Create_Discover.json | 2 +-
.../SAPVirtualInstances_Create_DiskDetails_Distributed.json | 2 +-
...VirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json | 2 +-
...rtualInstances_Create_DiskDetails_HA_WithBackupDisk.json | 2 +-
...SAPVirtualInstances_Create_DiskDetails_SingleServer.json | 2 +-
...VirtualInstances_Create_Distributed_CreateTransport.json | 2 +-
...PVirtualInstances_Create_Distributed_MountTransport.json | 2 +-
...APVirtualInstances_Create_Distributed_SkipTransport.json | 2 +-
...SAPVirtualInstances_Create_WithOSConfig_Distributed.json | 2 +-
.../SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json | 2 +-
.../SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json | 2 +-
...APVirtualInstances_Create_WithOSConfig_SingleServer.json | 2 +-
.../sapvirtualinstances/SAPVirtualInstances_Delete.json | 6 +++---
.../SAPVirtualInstances_DetectInstallation_Distributed.json | 2 +-
.../SAPVirtualInstances_DetectInstallation_HA_AvSet.json | 2 +-
.../SAPVirtualInstances_DetectInstallation_HA_AvZone.json | 2 +-
...SAPVirtualInstances_DetectInstallation_SingleServer.json | 2 +-
.../sapvirtualinstances/SAPVirtualInstances_Get.json | 2 +-
.../SAPVirtualInstances_Install_Distributed.json | 2 +-
.../SAPVirtualInstances_Install_HA_AvailabilitySet.json | 2 +-
.../SAPVirtualInstances_Install_HA_AvailabilityZone.json | 2 +-
.../SAPVirtualInstances_Install_SingleServer.json | 2 +-
.../SAPVirtualInstances_ListByResourceGroup.json | 2 +-
.../SAPVirtualInstances_ListBySubscription.json | 2 +-
.../sapvirtualinstances/SAPVirtualInstances_Start.json | 4 ++--
.../sapvirtualinstances/SAPVirtualInstances_Stop.json | 4 ++--
.../sapvirtualinstances/SAPVirtualInstances_Update.json | 2 +-
.../workloadmonitor/Db2ProviderInstances_Create.json | 2 +-
.../Db2ProviderInstances_Create_Root_Certificate.json | 2 +-
.../examples/workloadmonitor/Db2ProviderInstances_Get.json | 2 +-
.../workloadmonitor/MsSqlServerProviderInstance_Create.json | 2 +-
...MsSqlServerProviderInstance_Create_Root_Certificate.json | 2 +-
.../workloadmonitor/MsSqlServerProviderInstance_Get.json | 2 +-
.../workloadmonitor/NetWeaverProviderInstances_Create.json | 2 +-
.../NetWeaverProviderInstances_Create_Root_Certificate.json | 2 +-
.../workloadmonitor/NetWeaverProviderInstances_Get.json | 2 +-
.../PrometheusHaClusterProviderInstances_Create.json | 2 +-
...sHaClusterProviderInstances_Create_Root_Certificate.json | 2 +-
.../PrometheusHaClusterProviderInstances_Get.json | 2 +-
.../PrometheusOSProviderInstances_Create.json | 2 +-
...ometheusOSProviderInstances_Create_Root_Certificate.json | 2 +-
.../workloadmonitor/PrometheusOSProviderInstances_Get.json | 2 +-
.../examples/workloadmonitor/ProviderInstances_Create.json | 2 +-
.../ProviderInstances_Create_Root_Certificate.json | 2 +-
.../examples/workloadmonitor/ProviderInstances_Delete.json | 4 ++--
.../examples/workloadmonitor/ProviderInstances_Get.json | 2 +-
.../examples/workloadmonitor/ProviderInstances_List.json | 2 +-
.../examples/workloadmonitor/monitors_Create.json | 2 +-
.../examples/workloadmonitor/monitors_Delete.json | 2 +-
.../examples/workloadmonitor/monitors_Get.json | 2 +-
.../examples/workloadmonitor/monitors_List.json | 2 +-
.../examples/workloadmonitor/monitors_ListByRG.json | 2 +-
.../examples/workloadmonitor/monitors_PatchTags.json | 2 +-
.../examples/workloadmonitor/monitors_PatchTags_Delete.json | 2 +-
.../preview/2022-11-01-preview/monitors.json | 2 +-
.../preview/2022-11-01-preview/operations.json | 2 +-
.../preview/2022-11-01-preview/phpWorkloads.json | 2 +-
.../preview/2022-11-01-preview/skus.json | 2 +-
102 files changed, 113 insertions(+), 113 deletions(-)
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
index 0632c9b5ede2..7daf7c1a4720 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-12-01-preview",
+ "version": "2022-11-01-preview",
"title": "Workloads Client",
"description": "Workloads client provides access to various workload operations"
},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
index 48d9bb62e095..7f6380ebfcb3 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-12-01-preview",
+ "version": "2022-11-01-preview",
"title": "Workloads Client",
"description": "Workloads client provides access to various workload operations"
},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json
index e2ae8f64922b..e641046a8eb9 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Operations_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
index 57784cf262f2..ff6e3d6f564f 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
index f653cba621b1..615e79c88f93 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"phpWorkloadResource": {
"tags": {},
"location": "eastus2",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
index 9af6033ec3e6..bef70c6e4fb6 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"delete-infra": "false"
},
"responses": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
index b0bdc97de92a..0a33c5766759 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
index 5211b96940dd..8e4beeb9fce5 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
index 17ef284d7599..33fc0228baf3 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
index 26ce65dd668e..c33738f56e72 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"ResourcePatchRequestBody": {
"tags": {
"tag_name": "tag_value"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
index 617ade5c5722..56ddea8d3f45 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"wordpressInstanceResource": {
"properties": {
"version": "5.4.2",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
index 281ee631265a..94ea1dfad284 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"delete-infra": "false"
},
"responses": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
index c8dd45325f9b..a46db9d731f5 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
index 1edd3774568f..dcd7748ed893 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"phpWorkloadName": "wp39",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
index 3a4e10e5de9c..56d96bf03505 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
index 26c7c74ce941..64a49902e095 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
index 6f94557f38f1..7174f3d6c5e7 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
@@ -19,12 +19,12 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
},
"204": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
index dcb0be1030d3..3a18d546463a 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
index dad4e3e2f13b..3b2c5e532424 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
@@ -3,7 +3,7 @@
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
index 6821f0d0b132..d3d904cf6925 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"applicationInstanceName": "app01",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"tag1": "value1"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json
index a332c3e2815d..3b1e997a87d6 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_eastus.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json
index ac6ab557d149..09559dc35d80 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPAvailabilityZoneDetails_northeurope.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "northeurope",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json
index 01a4774259bc..a5a253c49d67 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"centralInstanceName": "centralServer",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
index bbd2705ff6f9..6b7a331f1e76 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"centralInstanceName": "centralServer",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
index 34ffc2c9370c..7e636e345274 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"centralInstanceName": "centralServer",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
@@ -19,12 +19,12 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
},
"204": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json
index 186629b1f9f9..3d32513c1b51 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Get.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"centralInstanceName": "centralServer",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json
index fe5b66ec6846..2773b21f1783 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_List.json
@@ -3,7 +3,7 @@
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json
index 8dbbe10a3a42..c9dc7b505724 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Update.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"centralInstanceName": "centralServer",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"tag1": "value1"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json
index 7bd1dae15dfb..d1715e866a8d 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"databaseInstanceName": "databaseServer",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
index 0896f4a9f8d6..027fb6a4b632 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"databaseInstanceName": "databaseServer",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"location": "westcentralus",
"tags": {},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
index fb823f628156..383c50111f82 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"databaseInstanceName": "databaseServer",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
@@ -19,12 +19,12 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
},
"204": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json
index a8f115810eea..aed085080e99 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Get.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"databaseInstanceName": "databaseServer",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json
index abef8f3b6715..d1188542577a 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_List.json
@@ -3,7 +3,7 @@
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json
index b36a70c6794d..3c3597e7449a 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Update.json
@@ -4,7 +4,7 @@
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
"databaseInstanceName": "databaseServer",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"key1": "value1"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
index 9d2c9650e134..2e68bc6eb517 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
index cbfb7e90c61b..d8eb8bb9e03c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json
index e3f8b29c4755..fb65498ccfbe 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_Distributed.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"environment": "Prod",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json
index c01144c6645a..1a259f47b49e 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvSet.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"environment": "Prod",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json
index be8d32a7a5c5..e1899906776e 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_HA_AvZone.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"environment": "Prod",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json
index cdfb58050bae..019ae4628265 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSizingRecommendations_S4HANA_SingleServer.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"environment": "NonProd",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json
index 59b92e33b283..b7dc7f5711e4 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_Distributed.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json
index b8fbea7cb884..f721748ab498 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvSet.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json
index 1caeba047111..a9b95900abe3 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_DistributedHA_AvZone.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json
index 413c99974797..3157e776d48c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPSupportedSkus_SingleServer.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"location": "centralus",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"appLocation": "eastus",
"sapProduct": "S4HANA",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json
index 3e1b8dcf1b2c..98eff57af345 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"properties": {
"environment": "NonProd",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
index 8a6e2c10fd15..e98224364078 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
index d0723c353521..5d7891b6bfd7 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
index 9ead2fa1b095..fcefd122dfd2 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
index 9ffd05c41c66..c41ba4d81b37 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
index dee15ff9fa0b..43a8fe4ef71f 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
index ff78f7404a78..522dd605855f 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
index 0b162eb9c736..93810cd2556f 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
index b874996965c6..482dcc3eddca 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
index fd8ed31767bc..0f39983c72f6 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
index 2227d387de83..c701de1f3a9e 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
index e3a54d0fdca1..5254821eeef6 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
index 62e0ba46f78c..c08f4dd43fd6 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
@@ -3,7 +3,7 @@
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
@@ -18,12 +18,12 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
},
"204": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json
index af9cabf36ff6..0f89eedb2bdb 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_Distributed.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"created by": "azureuser"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
index 800fc47c3cad..2ac1a1c414f8 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
index fe6910e681a4..a648a7f06b5a 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
index 10d42fc35179..cdaa90a847d5 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "westcentralus",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
index d75e01c38f4d..6a371cf21d95 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json
index cb43e6dfe179..c43975c8264d 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"created by": "azureuser"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json
index ce5f9effe0b4..896eee05a28f 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"created by": "azureuser"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json
index b3335e074efa..0184c9b1f1b2 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"created by": "azureuser"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json
index fc2182a192ed..d9bb8c666c86 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_SingleServer.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {},
"location": "eastus2",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
index 404156481352..02c1b58732a9 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
@@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
"resourceGroupName": "test-rg",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
index 31846059cdb5..92305755b4a9 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
index c2d32582542d..adca4b2bcbc1 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview"
+ "api-version": "2022-11-01-preview"
},
"responses": {
"200": {
@@ -18,7 +18,7 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
index 23c0689a457c..12a45abf9aa1 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"hardStop": false
}
@@ -21,7 +21,7 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json
index ca263994a3c6..d8b4be362deb 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Update.json
@@ -3,7 +3,7 @@
"subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
"resourceGroupName": "test-rg",
"sapVirtualInstanceName": "X00",
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"body": {
"tags": {
"key1": "svi1"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json
index 7957365f7a38..7843890e063b 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json
index d16e5dcc6594..43bd41895421 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Create_Root_Certificate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json
index 52bfda844c65..d39cca0fd781 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/Db2ProviderInstances_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json
index e91e6b2cafd5..74e72bf4e2d4 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json
index 5bf3e9deb391..23cfec245c61 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Create_Root_Certificate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json
index 56e52e1a1645..b2cf1553139c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/MsSqlServerProviderInstance_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json
index 1a233cb03f6e..7b879cefcf6b 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json
index 5d87855ac7c6..99a6ef260146 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Create_Root_Certificate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json
index 4b65d3b257cd..d70b147bd528 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/NetWeaverProviderInstances_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json
index d76b6067850f..4fcd585fa72c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json
index 13aa59009391..c72d88460c09 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Create_Root_Certificate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json
index d7150266e7fb..28fb58e969a9 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusHaClusterProviderInstances_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
index 0acc162f354d..8d415c938a24 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
index 049ec27b1ef1..57a259d941f1 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
index 8c7e5252b854..0a7ead312b8c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
index 25917b1a766d..d1cb25890f24 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
index 73aa2c49db7f..f304d6248683 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
index 40c7184d047a..1294aac2fde4 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
@@ -19,7 +19,7 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview"
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
}
},
"204": {}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
index 1df8bd85302b..2bfcde29b928 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
index 573ad0690dbc..806906d19ac6 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json
index 2aedae6b66b9..2b858b7c58fb 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Create.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
index 9666b61845c5..f55f9462e68d 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json
index 0f048c2fa055..4f30e3de8b23 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Get.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor"
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json
index 0564bbb96e07..9053992f56a5 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_List.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json
index ba4cfce769df..15f936debb5b 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_ListByRG.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "example-rg"
},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json
index 3175e26f9eec..3c62c6ed4b44 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json
index b603d8f411b7..ed0a5bc6d6fb 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_PatchTags_Delete.json
@@ -1,6 +1,6 @@
{
"parameters": {
- "api-version": "2021-12-01-preview",
+ "api-version": "2022-11-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"monitorName": "mySapMonitor",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
index e1e02c6ffe72..aa6e6d848f24 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
@@ -3,7 +3,7 @@
"info": {
"title": "Workloads Client",
"description": "The workload SAP monitor Client.",
- "version": "2021-12-01-preview"
+ "version": "2022-11-01-preview"
},
"host": "management.azure.com",
"schemes": [
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json
index cf22fe2000fc..3d989a63840e 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/operations.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-12-01-preview",
+ "version": "2022-11-01-preview",
"title": "Workloads Client",
"description": "Workloads client provides access to various workload operations"
},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
index e7092c73b1b6..3266576ae09d 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-12-01-preview",
+ "version": "2022-11-01-preview",
"title": "Workloads Client",
"description": "Workloads client provides access to various workload operations"
},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
index 77b3a346e95f..f10369e482ec 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "version": "2021-12-01-preview",
+ "version": "2022-11-01-preview",
"title": "Workloads Client",
"description": "Workloads client provides access to various workload skus"
},
From 4d11ab4e4a33be11ac9a0607e72cde506016194c Mon Sep 17 00:00:00 2001
From: gargankit
Date: Tue, 17 Jan 2023 12:32:09 +0530
Subject: [PATCH 4/7] Changes for v2022-11-01-preview Common - Removed PHP
Resource Type files and swagger references
(https://github.com/Azure/azure-rest-api-specs-pr/pull/8858) - added security
defination to commonTypes.json
(https://github.com/Azure/azure-rest-api-specs-pr/pull/8858)
SapVirtualInstance
- Added a new supported payload for sapVirtualInstance/PUT API, for detecting the SAP Software Installation (https://github.com/Azure/azure-rest-api-specs-pr/pull/8991)
- Added support for SAP Trans Fileshare configs (https://github.com/Azure/azure-rest-api-specs-pr/pull/9200)
- Added SAP SID as property for HANA provider (https://github.com/Azure/azure-rest-api-specs-pr/pull/9462)
- Added support for LB and storage details changes (https://github.com/Azure/azure-rest-api-specs-pr/pull/9464)
- Added DiskConfiguration Optional Property (https://github.com/Azure/azure-rest-api-specs-pr/pull/9874)
- Instance level start stop support for ASCS and App Instance (https://github.com/Azure/azure-rest-api-specs-pr/pull/9105)
- Instance level start stop support for DB Instance (https://github.com/Azure/azure-rest-api-specs-pr/pull/9608)
- Added endpoint to get the details about the last execution of a particular type of operation (https://github.com/Azure/azure-rest-api-specs-pr/pull/9570)
- Added vmDetails array to SapApplicationServerProperties (https://github.com/Azure/azure-rest-api-specs-pr/pull/9873)
- Modify Output Structure to add disk customization (https://github.com/Azure/azure-rest-api-specs-pr/pull/10381)
- Added resource name customization support (https://github.com/Azure/azure-rest-api-specs-pr/pull/10550)
Monitors
- Added sapSid property in os, hana providers (https://github.com/Azure/azure-rest-api-specs-pr/pull/9085)
- Added support for secure communication (https://github.com/Azure/azure-rest-api-specs-pr/pull/9081)
- Adding new Endpoint for Storing SPOG Config (https://github.com/Azure/azure-rest-api-specs-pr/pull/9366)
---
.../SAPVirtualInstance.json | 908 ++++++++++-
.../2022-11-01-preview/commonTypes.json | 11 +
.../examples/Skus_List.json | 152 --
.../PhpWorkloads_CreateOrUpdate.json | 375 -----
.../phpworkloads/PhpWorkloads_Delete.json | 14 -
.../phpworkloads/PhpWorkloads_Get.json | 155 --
.../PhpWorkloads_ListByResourceGroup.json | 159 --
.../PhpWorkloads_ListBySubscription.json | 158 --
.../phpworkloads/PhpWorkloads_Update.json | 166 --
.../WordpressInstances_CreateOrUpdate.json | 61 -
.../WordpressInstances_Delete.json | 13 -
.../phpworkloads/WordpressInstances_Get.json | 32 -
.../phpworkloads/WordpressInstances_List.json | 37 -
.../SAPApplicationServerInstances_Create.json | 15 +-
...cationServerInstances_Create_HA_AvSet.json | 46 +-
.../SAPApplicationServerInstances_Delete.json | 4 +-
.../SAPApplicationServerInstances_Get.json | 7 +-
.../SAPApplicationServerInstances_List.json | 14 +-
...licationServerInstances_StartInstance.json | 26 +
...plicationServerInstances_StopInstance.json | 29 +
.../SAPApplicationServerInstances_Update.json | 14 +-
.../SAPCentralInstances_Delete.json | 4 +-
.../SAPCentralInstances_StartInstance.json | 26 +
.../SAPCentralInstances_StopInstance.json | 29 +
.../SAPDatabaseInstances_Delete.json | 4 +-
.../SAPDatabaseInstances_StartInstance.json | 26 +
.../SAPDatabaseInstances_StopInstance.json | 29 +
.../SAPDiskConfigurations_NonProd.json | 422 ++++-
.../SAPDiskConfigurations_Prod.json | 277 +++-
...PVirtualInstance_LastOperationDetails.json | 34 +
...e_CustomFullResourceNames_Distributed.json | 593 +++++++
...eate_CustomFullResourceNames_HA_AvSet.json | 785 ++++++++++
...ate_CustomFullResourceNames_HA_AvZone.json | 776 ++++++++++
..._CustomFullResourceNames_SingleServer.json | 236 +++
...tances_Create_DiskDetails_Distributed.json | 75 +-
...nstances_Create_DiskDetails_HA_AvSet.json} | 54 +-
...stances_Create_DiskDetails_HA_AvZone.json} | 61 +-
...ances_Create_DiskDetails_SingleServer.json | 18 +-
...APVirtualInstances_Create_Distributed.json | 338 ++++
...ances_Create_Distributed_CreateTrans.json} | 66 +-
...tances_Create_Distributed_MountTrans.json} | 66 +-
...es_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 | 72 +-
...nstances_Create_WithOSConfig_HA_AvSet.json | 72 +-
...stances_Create_WithOSConfig_HA_AvZone.json | 72 +-
...nces_Create_WithOSConfig_SingleServer.json | 24 +-
...Instances_DetectInstallation_HA_AvSet.json | 18 +-
...nstances_DetectInstallation_HA_AvZone.json | 18 +-
...ances_DetectInstallation_SingleServer.json | 6 +-
.../SAPVirtualInstances_Get.json | 18 +-
...lInstances_Install_HA_AvailabilitySet.json | 359 -----
...Instances_Install_HA_AvailabilityZone.json | 359 -----
...PVirtualInstances_ListByResourceGroup.json | 36 +-
...APVirtualInstances_ListBySubscription.json | 36 +-
.../SAPVirtualInstances_Start.json | 2 +-
.../SAPVirtualInstances_Stop.json | 4 +-
.../PrometheusOSProviderInstances_Create.json | 9 +-
...iderInstances_Create_Root_Certificate.json | 9 +-
.../PrometheusOSProviderInstances_Get.json | 3 +-
.../ProviderInstances_Create.json | 11 +-
...iderInstances_Create_Root_Certificate.json | 9 +-
.../ProviderInstances_Delete.json | 8 +-
.../ProviderInstances_Get.json | 3 +-
.../ProviderInstances_List.json | 6 +-
.../SapLandscapeMonitor_Create.json | 132 ++
.../SapLandscapeMonitor_Delete.json | 12 +
.../SapLandscapeMonitor_Get.json | 55 +
.../SapLandscapeMonitor_List.json | 102 ++
.../SapLandscapeMonitor_Update.json | 87 ++
.../workloadmonitor/monitors_Delete.json | 8 +-
.../preview/2022-11-01-preview/monitors.json | 387 ++++-
.../2022-11-01-preview/phpWorkloads.json | 1362 -----------------
.../preview/2022-11-01-preview/skus.json | 377 -----
76 files changed, 6525 insertions(+), 4384 deletions(-)
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json
rename specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/{SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json => SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json} (93%)
rename specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/{SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json => SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json} (92%)
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json
rename specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/{SAPVirtualInstances_Create_Distributed_CreateTransport.json => SAPVirtualInstances_Create_Distributed_CreateTrans.json} (88%)
rename specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/{SAPVirtualInstances_Create_Distributed_MountTransport.json => SAPVirtualInstances_Create_Distributed_MountTrans.json} (83%)
rename specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/{SAPVirtualInstances_Create_Distributed_SkipTransport.json => SAPVirtualInstances_Create_Distributed_SkipTransMount.json} (90%)
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Create.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Delete.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Get.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_List.json
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Update.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
index 7daf7c1a4720..750e879a6a01 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
@@ -263,26 +263,38 @@
"Register existing SAP system as Virtual Instance for SAP solutions.": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json"
},
- "Create Infrastructure for Single Server System": {
+ "Create Infrastructure with OS configuration for Single Server System (Recommended)": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json"
},
- "Create Infrastructure for Distributed System": {
+ "Create Infrastructure with OS configuration for Distributed System (Recommended)": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json"
},
- "Create Infrastructure for HA System with Availability Set": {
+ "Create Infrastructure with OS configuration for HA System with Availability Set (Recommended)": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json"
},
- "Create Infrastructure for HA System with Availability Zone": {
+ "Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended)": {
"$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_SkipTransport.json"
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json"
},
- "Create Infrastructure with a new SAP Transport Directory Fileshare": {
- "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json"
+ "Create Infrastructure with a new SAP Trans Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json"
},
- "Create Infrastructure with an existing SAP Transport Directory Fileshare": {
- "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json"
+ "Create Infrastructure with an existing SAP Trans Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json"
},
"Detect SAP Software Installation on a Single Server System": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json"
@@ -302,23 +314,29 @@
"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": {
+ "Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json"
},
- "Create Infrastructure with Disk, OS and Storage configuration for Distributed System": {
+ "Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json"
},
- "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 Availability Set (Recommended)": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json"
},
- "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"
+ "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 OS configuration) with custom resource names for Single Server System": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json"
+ },
+ "Create Infrastructure (with OS configuration) with custom resource names for Distributed System": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json"
+ },
+ "Create Infrastructure (with OS configuration) with custom resource names for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json"
+ },
+ "Create Infrastructure (with OS configuration) with custom resource names for HA system with Availability Zone": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json"
}
},
"description": "Creates a Virtual Instance for SAP solutions (VIS) resource",
@@ -1419,6 +1437,56 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/lastOperationDetails": {
+ "post": {
+ "tags": [
+ "LastOperations"
+ ],
+ "operationId": "SAPVirtualInstance_LastOperationDetails",
+ "x-ms-examples": {
+ "SAPVirtualInstance_LastOperationDetails": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json"
+ }
+ },
+ "description": "Gets the last operation details of the VIS. Request body contains the list of operations whose details need to be fetched.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "LastOperationDetailsRequest",
+ "description": "Get Last Operation Details Request body",
+ "in": "body",
+ "schema": {
+ "$ref": "#/definitions/LastOperationDetailsRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/LastOperationDetailsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start": {
"post": {
"tags": [
@@ -1506,7 +1574,361 @@
{
"in": "body",
"name": "body",
- "description": "The Virtual Instance for SAP solutions resource stop request body.",
+ "description": "The Virtual Instance for SAP solutions resource stop request body.",
+ "schema": {
+ "$ref": "#/definitions/StopRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}/start": {
+ "post": {
+ "tags": [
+ "SAPCentralInstances"
+ ],
+ "operationId": "SAPCentralInstances_StartInstance",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Start the SAP Central Services Instance": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json"
+ }
+ },
+ "description": "Starts the SAP Central Services Instance.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CentralInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}/stop": {
+ "post": {
+ "tags": [
+ "SAPCentralInstances"
+ ],
+ "operationId": "SAPCentralInstances_StopInstance",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Stop the SAP Central Services Instance.": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json"
+ }
+ },
+ "description": "Stops the SAP Central Services Instance.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/CentralInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "SAP Central Services instance stop request body.",
+ "schema": {
+ "$ref": "#/definitions/StopRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}/start": {
+ "post": {
+ "tags": [
+ "SAPApplicationServerInstances"
+ ],
+ "operationId": "SAPApplicationServerInstances_StartInstance",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Start the SAP Application Server Instance.": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json"
+ }
+ },
+ "description": "Starts the SAP Application Server Instance.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPApplicationInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}/stop": {
+ "post": {
+ "tags": [
+ "SAPApplicationServerInstances"
+ ],
+ "operationId": "SAPApplicationServerInstances_StopInstance",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Stop the SAP Application Server Instance": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json"
+ }
+ },
+ "description": "Stops the SAP Application Server Instance.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPApplicationInstanceNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "SAP Application server instance stop request body.",
+ "schema": {
+ "$ref": "#/definitions/StopRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}/start": {
+ "post": {
+ "tags": [
+ "SAPDatabaseInstances"
+ ],
+ "operationId": "SAPDatabaseInstances_StartInstance",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Start the database instance of the SAP system.": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json"
+ }
+ },
+ "description": "Starts the database instance of the SAP system.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted"
+ },
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}/stop": {
+ "post": {
+ "tags": [
+ "SAPDatabaseInstances"
+ ],
+ "operationId": "SAPDatabaseInstances_StopInstance",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ },
+ "produces": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Stop the database instance of the SAP system.": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json"
+ }
+ },
+ "description": "Stops the database instance of the SAP system.",
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DatabaseNameParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "in": "body",
+ "name": "body",
+ "description": "Stop request for the database instance of the SAP system.",
"schema": {
"$ref": "#/definitions/StopRequest"
}
@@ -1563,6 +1985,21 @@
"read"
]
},
+ "NamingPatternType": {
+ "description": "The pattern type to be used for resource naming.",
+ "enum": [
+ "FullResourceName"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "NamingPatternType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
"SAPSoftwareInstallationType": {
"description": "The SAP software installation Type.",
"enum": [
@@ -1636,7 +2073,8 @@
"Stopping",
"Offline",
"PartiallyRunning",
- "Unavailable"
+ "Unavailable",
+ "SoftShutdown"
],
"type": "string",
"x-ms-enum": {
@@ -1703,6 +2141,23 @@
"read"
]
},
+ "ApplicationServerVirtualMachineType": {
+ "description": "Defines the type of application server VM.",
+ "enum": [
+ "Active",
+ "Standby",
+ "Unknown"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ApplicationServerVirtualMachineType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "read"
+ ]
+ },
"SAPDatabaseType": {
"description": "Defines the supported SAP Database types.",
"enum": [
@@ -2208,58 +2663,131 @@
"dbVmSku"
]
},
- "SAPDiskConfiguration": {
- "description": "The SAP Disk Configuration.",
+ "LastOperationDetailsRequest": {
+ "description": "The SAP request to get list of last operation details.",
"type": "object",
"properties": {
- "volume": {
- "type": "string",
- "description": "The volume name."
+ "operationName": {
+ "type": "array",
+ "items": {
+ "description": "Name of the operation whose last operation details is needed",
+ "type": "string"
+ },
+ "description": "List of operation names whose last operation data is needed."
+ }
+ },
+ "required": [
+ "operationName"
+ ]
+ },
+ "LastOperationDetailsResult": {
+ "description": "The result for last operation details.",
+ "type": "object",
+ "properties": {
+ "lastOperations": {
+ "x-ms-identifiers": [],
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/LastOperationObject"
+ }
+ }
+ }
+ },
+ "LastOperationObject": {
+ "description": "Definition of the LastOperation object that is returned as an array item in the lastOperationObject endpoint's response.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the operation. Corresponds to the name of the workflow run by the service.",
+ "type": "string"
},
- "diskType": {
- "type": "string",
- "description": "The disk type."
+ "activityID": {
+ "description": "Activity ID / Correlation ID of the operation.",
+ "type": "string"
+ },
+ "trackingURL": {
+ "description": "Tracking URL to get the operation status associated with this operation.",
+ "type": "string"
+ },
+ "progressDetails": {
+ "description": "Represents upto what step the operation has executed.",
+ "type": "string"
+ },
+ "state": {
+ "description": "Shows the current state of the operation.",
+ "type": "string"
+ }
+ }
+ },
+ "DiskDetails": {
+ "description": "The supported disk size details for a disk type.",
+ "type": "object",
+ "properties": {
+ "sku": {
+ "$ref": "#/definitions/DiskSku"
+ },
+ "sizeGB": {
+ "description": "The disk size in GB.",
+ "type": "integer",
+ "format": "int64"
},
- "diskCount": {
- "description": "The disk count.",
+ "minimumSupportedDiskCount": {
+ "description": "The minimum supported disk count.",
"type": "integer",
"format": "int64"
},
- "diskSizeGB": {
- "description": "The disk size in GB.",
+ "maximumSupportedDiskCount": {
+ "description": "The maximum supported disk count.",
"type": "integer",
"format": "int64"
},
- "diskIopsReadWrite": {
+ "iopsReadWrite": {
"description": "The disk Iops.",
"type": "integer",
"format": "int64"
},
- "diskMBpsReadWrite": {
+ "mbpsReadWrite": {
"description": "The disk provisioned throughput in MBps.",
"type": "integer",
"format": "int64"
},
- "diskStorageType": {
- "description": "The disk storage type",
+ "diskTier": {
+ "description": "The disk tier, e.g. P10, E10.",
"type": "string"
}
}
},
- "SAPDiskConfigurationsResult": {
- "description": "The list of disk configuration for vmSku which are part of SAP deployment.",
+ "SAPDiskConfiguration": {
+ "description": "The SAP Disk Configuration contains 'recommended disk' details and list of supported disks detail for a volume type.",
"type": "object",
"properties": {
- "diskConfigurations": {
- "description": "Gets the list of Disk Configurations.",
+ "recommendedConfiguration": {
+ "$ref": "#/definitions/DiskVolumeConfiguration",
+ "description": "The recommended disk details for a given VM Sku."
+ },
+ "supportedConfigurations": {
+ "description": "The list of supported disks for a given VM Sku.",
"type": "array",
"items": {
- "$ref": "#/definitions/SAPDiskConfiguration"
+ "$ref": "#/definitions/DiskDetails"
},
"x-ms-identifiers": []
}
}
},
+ "SAPDiskConfigurationsResult": {
+ "description": "The list of disk configuration for vmSku which are part of SAP deployment.",
+ "type": "object",
+ "properties": {
+ "volumeConfigurations": {
+ "description": "The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/SAPDiskConfiguration"
+ }
+ }
+ }
+ },
"SAPAvailabilityZoneDetailsRequest": {
"description": "The SAP request to get list of availability zones.",
"type": "object",
@@ -2406,6 +2934,10 @@
"dbDiskConfiguration": {
"description": "Gets or sets the disk configuration.",
"$ref": "#/definitions/DiskConfiguration"
+ },
+ "customResourceNames": {
+ "description": "The set of custom names to be used for underlying azure resources that are part of the SAP system.",
+ "$ref": "#/definitions/SingleServerCustomResourceNames"
}
},
"required": [
@@ -2525,7 +3057,7 @@
},
"SkipFileShareConfiguration": {
"x-ms-discriminator-value": "Skip",
- "description": "Gets or sets the file share configuration for scenarios where transport directory fileshare is not created or required.",
+ "description": "Gets or sets the skip file share configuration",
"type": "object",
"allOf": [
{
@@ -2535,7 +3067,7 @@
},
"CreateAndMountFileShareConfiguration": {
"x-ms-discriminator-value": "CreateAndMount",
- "description": "Gets or sets the file share configuration where the transport directory fileshare is created and mounted as a part of the create infra flow.",
+ "description": "Gets or sets the file share configuration for file share created with the VIS case.",
"type": "object",
"allOf": [
{
@@ -2555,7 +3087,7 @@
},
"MountFileShareConfiguration": {
"x-ms-discriminator-value": "Mount",
- "description": "Gets or sets the file share configuration where the transport directory fileshare already exists, and user wishes to mount the fileshare as a part of the create infra flow.",
+ "description": "Gets or sets the file share configuration for externally mounted cases.",
"type": "object",
"allOf": [
{
@@ -2634,6 +3166,10 @@
"storageConfiguration": {
"description": "The storage configuration.",
"$ref": "#/definitions/StorageConfiguration"
+ },
+ "customResourceNames": {
+ "description": "The set of custom names to be used for underlying azure resources that are part of the SAP system.",
+ "$ref": "#/definitions/ThreeTierCustomResourceNames"
}
},
"required": [
@@ -2660,6 +3196,230 @@
},
"discriminator": "deploymentType"
},
+ "SingleServerCustomResourceNames": {
+ "description": "The resource-names input to specify custom names for underlying azure resources that are part of a single server SAP system.",
+ "type": "object",
+ "properties": {
+ "namingPatternType": {
+ "$ref": "#/definitions/NamingPatternType"
+ }
+ },
+ "required": [
+ "namingPatternType"
+ ],
+ "discriminator": "namingPatternType"
+ },
+ "SingleServerFullResourceNames": {
+ "description": "The resource name object where the specified values will be full resource names of the corresponding resources in a single server SAP system.",
+ "type": "object",
+ "x-ms-discriminator-value": "FullResourceName",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/SingleServerCustomResourceNames"
+ }
+ ],
+ "properties": {
+ "virtualMachine": {
+ "$ref": "#/definitions/VirtualMachineResourceNames"
+ }
+ }
+ },
+ "ThreeTierCustomResourceNames": {
+ "description": "The resource-names input to specify custom names for underlying azure resources that are part of a three tier SAP system.",
+ "type": "object",
+ "properties": {
+ "namingPatternType": {
+ "$ref": "#/definitions/NamingPatternType"
+ }
+ },
+ "required": [
+ "namingPatternType"
+ ],
+ "discriminator": "namingPatternType"
+ },
+ "ThreeTierFullResourceNames": {
+ "description": "The resource name object where the specified values will be full resource names of the corresponding resources in a three tier SAP system.",
+ "type": "object",
+ "x-ms-discriminator-value": "FullResourceName",
+ "x-ms-client-flatten": true,
+ "allOf": [
+ {
+ "$ref": "#/definitions/ThreeTierCustomResourceNames"
+ }
+ ],
+ "properties": {
+ "centralServer": {
+ "$ref": "#/definitions/CentralServerFullResourceNames"
+ },
+ "applicationServer": {
+ "$ref": "#/definitions/ApplicationServerFullResourceNames"
+ },
+ "databaseServer": {
+ "$ref": "#/definitions/DatabaseServerFullResourceNames"
+ },
+ "sharedStorage": {
+ "$ref": "#/definitions/sharedStorageResourceNames"
+ }
+ }
+ },
+ "CentralServerFullResourceNames": {
+ "description": "The full resource names object for central server layer resources.",
+ "type": "object",
+ "properties": {
+ "virtualMachines": {
+ "description": "The list of names for all ASCS virtual machines to be deployed. The number of entries in this list should be equal to the number VMs to be created for ASCS layer. At maximum, there can be two virtual machines at this layer: ASCS and ERS.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineResourceNames"
+ },
+ "maxItems": 2
+ },
+ "availabilitySetName": {
+ "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet.",
+ "type": "string"
+ },
+ "loadBalancer": {
+ "$ref": "#/definitions/LoadBalancerResourceNames"
+ }
+ }
+ },
+ "VirtualMachineResourceNames": {
+ "description": "The resource names object for virtual machine and related resources.",
+ "type": "object",
+ "properties": {
+ "vmName": {
+ "description": "The full name for virtual machine. The length of this field can be upto 64 characters. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}vm. In case of HA-AvZone systems, default name will be {SID}{app/ascs/db}z{a/b}vm with an incrementor at the end in case of more than 1 vm per layer. For distributed and HA-AvSet systems, default name will be {SID}{app/ascs/db}vm with an incrementor at the end in case of more than 1 vm per layer.",
+ "type": "string"
+ },
+ "hostName": {
+ "description": "The full name for virtual-machine's host (computer name). Currently, ACSS only supports host names which are less than or equal to 13 characters long. If this value is not provided, vmName will be used as host name.",
+ "type": "string"
+ },
+ "networkInterfaces": {
+ "description": "The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/NetworkInterfaceResourceNames"
+ },
+ "maxItems": 1
+ },
+ "osDiskName": {
+ "description": "The full name for OS disk attached to the VM. If this value is not provided, it will be named by ARM as per its default naming standards (prefixed with vm name). There is only one OS disk attached per Virtual Machine.",
+ "type": "string"
+ },
+ "dataDiskNames": {
+ "description": "The full resource names for virtual machine data disks. This is a dictionary containing list of names of data disks per volume. Currently supported volumes for database layer are ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os', 'backup']. For application and cs layers, only 'default' volume is supported",
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "description": "The full names for data disks belonging to the specific volume. If names for a volume are not provided, hana disks will be named based the volume. Application and CS layer data disks ('default' volume) will be named as {vmname}-datadisk.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "NetworkInterfaceResourceNames": {
+ "description": "The resource names object for network interface and related resources.",
+ "type": "object",
+ "properties": {
+ "networkInterfaceName": {
+ "description": "The full name for network interface. If name is not provided, service uses a default name based on the deployment type. For SingleServer, default name is {SID}-Nic. In case of HA-AvZone systems, default name will be {SID}-{App/ASCS/DB}-Zone{A/B}-Nic with an incrementor at the end in case of more than 1 instance per layer. For distributed and HA-AvSet systems, default name will be {SID}-{App/ASCS/DB}-Nic with an incrementor at the end in case of more than 1 instance per layer.",
+ "type": "string"
+ }
+ }
+ },
+ "LoadBalancerResourceNames": {
+ "description": "The resource names object for load balancer and related resources.",
+ "type": "object",
+ "properties": {
+ "loadBalancerName": {
+ "description": "The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer.",
+ "type": "string"
+ },
+ "frontendIpConfigurationNames": {
+ "description": "The list of frontend IP configuration names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.",
+ "type": "array",
+ "items": {
+ "description": "The full name for frontend IP configuration. If it is not provided, it will be defaulted to frontend.{ASCS/ERS/DB}.",
+ "type": "string"
+ },
+ "maxItems": 2
+ },
+ "backendPoolNames": {
+ "description": "The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1",
+ "type": "array",
+ "items": {
+ "description": "The full name for backend pool. If it is not provided, it will be defaulted to 'backend'.",
+ "type": "string"
+ },
+ "maxItems": 1
+ },
+ "healthProbeNames": {
+ "description": "The list of health probe names. If provided as input, size of this list should be 2 for cs layer and should be 1 for database layer.",
+ "type": "array",
+ "items": {
+ "description": "The full name for health probe. If it is not provided, it will be defaulted to health.{ASCS/ERS/DB}.",
+ "type": "string"
+ },
+ "maxItems": 2
+ }
+ }
+ },
+ "sharedStorageResourceNames": {
+ "description": "The resource names object for shared storage.",
+ "type": "object",
+ "properties": {
+ "sharedStorageAccountName": {
+ "description": "The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}.",
+ "type": "string"
+ },
+ "sharedStorageAccountPrivateEndPointName": {
+ "description": "The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe",
+ "type": "string"
+ }
+ }
+ },
+ "ApplicationServerFullResourceNames": {
+ "description": "The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.",
+ "type": "object",
+ "properties": {
+ "virtualMachines": {
+ "description": "The list of virtual machine naming details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineResourceNames"
+ }
+ },
+ "availabilitySetName": {
+ "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseServerFullResourceNames": {
+ "description": "The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.",
+ "type": "object",
+ "properties": {
+ "virtualMachines": {
+ "description": "The list of virtual machine naming details.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VirtualMachineResourceNames"
+ },
+ "maxItems": 2
+ },
+ "availabilitySetName": {
+ "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet.",
+ "type": "string"
+ },
+ "loadBalancer": {
+ "$ref": "#/definitions/LoadBalancerResourceNames"
+ }
+ }
+ },
"SoftwareConfiguration": {
"description": "The SAP Software configuration Input.",
"type": "object",
@@ -2787,13 +3547,14 @@
]
},
"StopRequest": {
- "description": "Stop SAP Request.",
+ "description": "Stop SAP instance(s) request body.",
"type": "object",
"properties": {
- "hardStop": {
- "type": "boolean",
- "default": false,
- "description": "A boolean to specify if the SAP system should be hard-stopped."
+ "softStopTimeoutSeconds": {
+ "type": "integer",
+ "format": "int64",
+ "default": 0,
+ "description": "This parameter defines how long (in seconds) the soft shutdown waits until the RFC/HTTP clients no longer consider the server for calls with load balancing. Value 0 means that the kernel does not wait, but goes directly into the next shutdown state, i.e. hard stop."
}
}
},
@@ -2969,6 +3730,29 @@
}
}
},
+ "ApplicationServerVmDetails": {
+ "description": "The Application Server VM Details.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/ApplicationServerVirtualMachineType",
+ "readOnly": true
+ },
+ "virtualMachineId": {
+ "type": "string",
+ "readOnly": true
+ },
+ "storageDetails": {
+ "description": "Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageInformation"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ }
+ }
+ },
"DatabaseVmDetails": {
"description": "Database VM details.",
"type": "object",
@@ -3204,24 +3988,24 @@
"readOnly": true,
"x-nullable": true
},
- "virtualMachineId": {
- "type": "string",
- "description": "The virtual machine.",
- "readOnly": true
- },
- "status": {
- "$ref": "#/definitions/SAPVirtualInstanceStatus",
+ "loadBalancerDetails": {
+ "description": "The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines",
+ "$ref": "#/definitions/LoadBalancerDetails",
"readOnly": true
},
- "storageDetails": {
- "description": "Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "vmDetails": {
+ "description": "The list of virtual machines.",
"type": "array",
"items": {
- "$ref": "#/definitions/StorageInformation"
+ "$ref": "#/definitions/ApplicationServerVmDetails"
},
"x-ms-identifiers": [],
"readOnly": true
},
+ "status": {
+ "$ref": "#/definitions/SAPVirtualInstanceStatus",
+ "readOnly": true
+ },
"health": {
"$ref": "#/definitions/HealthState",
"readOnly": true
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
index 7f6380ebfcb3..72f65217a9cf 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
@@ -5,6 +5,17 @@
"title": "Workloads Client",
"description": "Workloads client provides access to various workload operations"
},
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
"paths": {},
"definitions": {
"ManagedServiceIdentityType": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
deleted file mode 100644
index ff6e3d6f564f..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/Skus_List.json
+++ /dev/null
@@ -1,152 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "api-version": "2022-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "resourceType": "phpWorkloads",
- "name": "Large",
- "kind": "Wordpress",
- "locations": [
- "centralus",
- "northeurope",
- "westeurope"
- ],
- "locationInfo": [
- {
- "location": "centralus",
- "zones": [],
- "zoneDetails": []
- },
- {
- "location": "northeurope",
- "zones": [],
- "zoneDetails": []
- },
- {
- "location": "westeurope",
- "zones": [],
- "zoneDetails": []
- }
- ],
- "capabilities": [
- {
- "name": "VmSizeSeries",
- "value": "F8s"
- },
- {
- "name": "VmMinRamInGB",
- "value": "16"
- },
- {
- "name": "VmOsDiskType",
- "value": "Premium_LRS"
- },
- {
- "name": "AutoScaleMinCount",
- "value": "2"
- },
- {
- "name": "AutoScaleMaxCount",
- "value": "100"
- },
- {
- "name": "LoadBalancerType",
- "value": "LoadBalancer"
- },
- {
- "name": "LoadBalancerSku",
- "value": "Standard"
- },
- {
- "name": "AzureFrontDoorEnabled",
- "value": "TRUE"
- },
- {
- "name": "AzureFrontDoorSku",
- "value": "Premium"
- },
- {
- "name": "DBTier",
- "value": "GeneralPurpose"
- },
- {
- "name": "DBCompute",
- "value": "D16ds_v4"
- },
- {
- "name": "DBMinvCores",
- "value": "16"
- },
- {
- "name": "DBMaxIOPS",
- "value": "20000"
- },
- {
- "name": "DBStorageInGB",
- "value": "512"
- },
- {
- "name": "FileShareType",
- "value": "AzureFiles"
- },
- {
- "name": "FileShareSizeInGB",
- "value": "2048"
- },
- {
- "name": "FileShareStorageType",
- "value": "Premium_LRS"
- },
- {
- "name": "DefaultApplicationVersion",
- "value": "5.4.3"
- },
- {
- "name": "SearchEnabled",
- "value": "FALSE"
- },
- {
- "name": "CacheEnabled",
- "value": "TRUE"
- },
- {
- "name": "CacheSkuName",
- "value": "Premium"
- },
- {
- "name": "CacheFamily",
- "value": "P"
- },
- {
- "name": "CacheCapacity",
- "value": "1"
- },
- {
- "name": "ControllerVmSizeSeries",
- "value": "Ds"
- },
- {
- "name": "ControllerVmRamInGB",
- "value": "3"
- },
- {
- "name": "ControllerVmOsDiskType",
- "value": "Standard_LRS"
- },
- {
- "name": "ControllerVmDataDiskType",
- "value": "Premium_LRS"
- }
- ],
- "restrictions": []
- }
- ]
- }
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
deleted file mode 100644
index 615e79c88f93..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json
+++ /dev/null
@@ -1,375 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview",
- "phpWorkloadResource": {
- "tags": {},
- "location": "eastus2",
- "kind": "WordPress",
- "sku": {
- "name": "Large"
- },
- "properties": {
- "appLocation": "eastus",
- "managedResourceGroupConfiguration": {
- "name": "php-mrg-wp39"
- },
- "adminUserProfile": {
- "userName": "wpadmin",
- "sshPublicKey": "===SSH=PUBLIC=KEY==="
- },
- "webNodesProfile": {
- "name": "web-server",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS"
- },
- "autoScaleMinCount": 1,
- "autoScaleMaxCount": 1
- },
- "controllerProfile": {
- "name": "contoller-vm",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS"
- },
- "dataDisks": [
- {
- "storageType": "Premium_LRS",
- "sizeInGB": 100
- }
- ]
- },
- "networkProfile": {
- "loadBalancerType": "LoadBalancer",
- "loadBalancerSku": "Standard",
- "azureFrontDoorEnabled": "Enabled"
- },
- "databaseProfile": {
- "type": "MySql",
- "serverName": "wp-db-server",
- "version": "5.7",
- "sku": "Standard_D32s_v4",
- "tier": "GeneralPurpose",
- "haEnabled": "Disabled",
- "storageSku": "Premium_LRS",
- "storageInGB": 128,
- "storageIops": 200,
- "backupRetentionDays": 7,
- "sslEnforcementEnabled": "Enabled"
- },
- "siteProfile": {
- "domainName": "www.example.com"
- },
- "fileshareProfile": {
- "shareType": "AzureFiles",
- "storageType": "Premium_LRS",
- "shareSizeInGB": 100
- },
- "phpProfile": {
- "version": "7.3"
- },
- "searchProfile": {
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS"
- },
- "searchType": "Elastic"
- },
- "cacheProfile": {
- "name": "wp-cache",
- "skuName": "Basic",
- "family": "C",
- "capacity": 0
- },
- "backupProfile": {
- "backupEnabled": "Disabled"
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
- "name": "wp39",
- "type": "Microsot.Workloads/phpWorkloads",
- "tags": {},
- "location": "eastus2",
- "kind": "WordPress",
- "sku": {
- "name": "Large"
- },
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "appLocation": "eastus",
- "managedResourceGroupConfiguration": {
- "name": "php-mrg-wp39"
- },
- "provisioningState": "Succeeded",
- "adminUserProfile": {
- "userName": "wpadmin",
- "sshPublicKey": "===SSH=PUBLIC=KEY==="
- },
- "webNodesProfile": {
- "name": "web-server",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "autoScaleMinCount": 1,
- "autoScaleMaxCount": 1,
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
- ]
- },
- "controllerProfile": {
- "name": "contoller-vm",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "dataDisks": [
- {
- "storageType": "Premium_LRS",
- "sizeInGB": 100
- }
- ],
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
- ]
- },
- "networkProfile": {
- "loadBalancerType": "LoadBalancer",
- "loadBalancerSku": "Standard",
- "azureFrontDoorEnabled": "Enabled",
- "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
- "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
- "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
- "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
- "outboundPublicIpResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
- ]
- },
- "databaseProfile": {
- "type": "MySql",
- "serverName": "wp-db-server",
- "version": "5.7",
- "sku": "Standard_D32s_v4",
- "tier": "GeneralPurpose",
- "haEnabled": "Disabled",
- "storageSku": "Premium_LRS",
- "storageInGB": 128,
- "storageIops": 200,
- "backupRetentionDays": 7,
- "sslEnforcementEnabled": "Enabled",
- "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
- },
- "siteProfile": {
- "domainName": "www.example.com"
- },
- "fileshareProfile": {
- "shareType": "AzureFiles",
- "storageType": "Premium_LRS",
- "shareSizeInGB": 100,
- "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
- "shareName": "wp"
- },
- "phpProfile": {
- "version": "7.3"
- },
- "searchProfile": {
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 0
- },
- "dataDisks": [],
- "searchType": "Elastic",
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
- ]
- },
- "cacheProfile": {
- "name": "wp-cache",
- "skuName": "Basic",
- "family": "C",
- "capacity": 0,
- "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
- },
- "backupProfile": {
- "backupEnabled": "Disabled",
- "vaultResourceId": ""
- }
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
- "name": "wp39",
- "type": "Microsot.Workloads/phpWorkloads",
- "tags": {},
- "location": "eastus2",
- "kind": "WordPress",
- "sku": {
- "name": "Large"
- },
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "appLocation": "eastus",
- "managedResourceGroupConfiguration": {
- "name": "php-mrg-wp39"
- },
- "provisioningState": "Created",
- "adminUserProfile": {
- "userName": "wpadmin",
- "sshPublicKey": "===SSH=PUBLIC=KEY==="
- },
- "webNodesProfile": {
- "name": "web-server",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS"
- },
- "autoScaleMinCount": 1,
- "autoScaleMaxCount": 1
- },
- "controllerProfile": {
- "name": "contoller-vm",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS"
- },
- "dataDisks": [
- {
- "storageType": "Premium_LRS",
- "sizeInGB": 100
- }
- ]
- },
- "networkProfile": {
- "loadBalancerType": "LoadBalancer",
- "loadBalancerSku": "Standard",
- "azureFrontDoorEnabled": "Enabled"
- },
- "databaseProfile": {
- "type": "MySql",
- "serverName": "wp-db-server",
- "version": "5.7",
- "sku": "Standard_D32s_v4",
- "tier": "GeneralPurpose",
- "haEnabled": "Disabled",
- "storageSku": "Premium_LRS",
- "storageInGB": 128,
- "storageIops": 200,
- "backupRetentionDays": 7,
- "sslEnforcementEnabled": "Enabled"
- },
- "siteProfile": {
- "domainName": "www.example.com"
- },
- "fileshareProfile": {
- "shareType": "AzureFiles",
- "storageType": "Premium_LRS",
- "shareSizeInGB": 100
- },
- "phpProfile": {
- "version": "7.3"
- },
- "searchProfile": {
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS"
- },
- "searchType": "Elastic"
- },
- "cacheProfile": {
- "name": "wp-cache",
- "skuName": "Basic",
- "family": "C",
- "capacity": 0
- },
- "backupProfile": {
- "backupEnabled": "Disabled"
- }
- }
- }
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
deleted file mode 100644
index bef70c6e4fb6..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Delete.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview",
- "delete-infra": "false"
- },
- "responses": {
- "200": {},
- "202": {},
- "204": {}
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
deleted file mode 100644
index 0a33c5766759..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Get.json
+++ /dev/null
@@ -1,155 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
- "name": "wp39",
- "type": "Microsot.Workloads/phpWorkloads",
- "tags": {},
- "location": "eastus2",
- "kind": "WordPress",
- "sku": {
- "name": "Large"
- },
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "appLocation": "eastus",
- "managedResourceGroupConfiguration": {
- "name": "php-mrg-wp39"
- },
- "provisioningState": "Succeeded",
- "adminUserProfile": {
- "userName": "wpadmin",
- "sshPublicKey": "===SSH=PUBLIC=KEY==="
- },
- "webNodesProfile": {
- "name": "web-server",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "autoScaleMinCount": 1,
- "autoScaleMaxCount": 1,
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
- ]
- },
- "controllerProfile": {
- "name": "contoller-vm",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "dataDisks": [
- {
- "storageType": "Premium_LRS",
- "sizeInGB": 100
- }
- ],
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
- ]
- },
- "networkProfile": {
- "loadBalancerType": "LoadBalancer",
- "loadBalancerSku": "Standard",
- "azureFrontDoorEnabled": "Enabled",
- "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
- "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
- "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
- "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
- "outboundPublicIpResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
- ]
- },
- "databaseProfile": {
- "type": "MySql",
- "serverName": "wp-db-server",
- "version": "5.7",
- "sku": "Standard_D32s_v4",
- "tier": "GeneralPurpose",
- "haEnabled": "Disabled",
- "storageSku": "Premium_LRS",
- "storageInGB": 128,
- "storageIops": 200,
- "backupRetentionDays": 7,
- "sslEnforcementEnabled": "Enabled",
- "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
- },
- "siteProfile": {
- "domainName": "www.example.com"
- },
- "fileshareProfile": {
- "shareType": "AzureFiles",
- "storageType": "Premium_LRS",
- "shareSizeInGB": 100,
- "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
- "shareName": "wp"
- },
- "phpProfile": {
- "version": "7.3"
- },
- "searchProfile": {
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 0
- },
- "dataDisks": [],
- "searchType": "Elastic",
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
- ]
- },
- "cacheProfile": {
- "name": "wp-cache",
- "skuName": "Basic",
- "family": "C",
- "capacity": 0,
- "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
- },
- "backupProfile": {
- "backupEnabled": "Disabled",
- "vaultResourceId": ""
- }
- }
- }
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
deleted file mode 100644
index 8e4beeb9fce5..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json
+++ /dev/null
@@ -1,159 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "api-version": "2022-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
- "name": "wp39",
- "type": "Microsot.Workloads/phpWorkloads",
- "tags": {},
- "location": "eastus2",
- "kind": "WordPress",
- "sku": {
- "name": "Large"
- },
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "appLocation": "eastus",
- "managedResourceGroupConfiguration": {
- "name": "php-mrg-wp39"
- },
- "provisioningState": "Succeeded",
- "adminUserProfile": {
- "userName": "wpadmin",
- "sshPublicKey": "===SSH=PUBLIC=KEY==="
- },
- "webNodesProfile": {
- "name": "web-server",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "autoScaleMinCount": 1,
- "autoScaleMaxCount": 1,
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
- ]
- },
- "controllerProfile": {
- "name": "contoller-vm",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "dataDisks": [
- {
- "storageType": "Premium_LRS",
- "sizeInGB": 100
- }
- ],
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
- ]
- },
- "networkProfile": {
- "loadBalancerType": "LoadBalancer",
- "loadBalancerSku": "Standard",
- "azureFrontDoorEnabled": "Enabled",
- "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
- "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
- "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
- "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
- "outboundPublicIpResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
- ]
- },
- "databaseProfile": {
- "type": "MySql",
- "serverName": "wp-db-server",
- "version": "5.7",
- "sku": "Standard_D32s_v4",
- "tier": "GeneralPurpose",
- "haEnabled": "Disabled",
- "storageSku": "Premium_LRS",
- "storageInGB": 128,
- "storageIops": 200,
- "backupRetentionDays": 7,
- "sslEnforcementEnabled": "Enabled",
- "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
- },
- "siteProfile": {
- "domainName": "www.example.com"
- },
- "fileshareProfile": {
- "shareType": "AzureFiles",
- "storageType": "Premium_LRS",
- "shareSizeInGB": 100,
- "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
- "shareName": "wp"
- },
- "phpProfile": {
- "version": "7.3"
- },
- "searchProfile": {
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 0
- },
- "dataDisks": [],
- "searchType": "Elastic",
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
- ]
- },
- "cacheProfile": {
- "name": "wp-cache",
- "skuName": "Basic",
- "family": "C",
- "capacity": 0,
- "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
- },
- "backupProfile": {
- "backupEnabled": "Disabled",
- "vaultResourceId": ""
- }
- }
- }
- ]
- },
- "nextLink": ""
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
deleted file mode 100644
index 33fc0228baf3..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_ListBySubscription.json
+++ /dev/null
@@ -1,158 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "api-version": "2022-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
- "name": "wp39",
- "type": "Microsot.Workloads/phpWorkloads",
- "tags": {},
- "location": "eastus2",
- "kind": "WordPress",
- "sku": {
- "name": "Large"
- },
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "appLocation": "eastus",
- "managedResourceGroupConfiguration": {
- "name": "php-mrg-wp39"
- },
- "provisioningState": "Succeeded",
- "adminUserProfile": {
- "userName": "wpadmin",
- "sshPublicKey": "===SSH=PUBLIC=KEY==="
- },
- "webNodesProfile": {
- "name": "web-server",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "autoScaleMinCount": 1,
- "autoScaleMaxCount": 1,
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
- ]
- },
- "controllerProfile": {
- "name": "contoller-vm",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "dataDisks": [
- {
- "storageType": "Premium_LRS",
- "sizeInGB": 100
- }
- ],
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
- ]
- },
- "networkProfile": {
- "loadBalancerType": "LoadBalancer",
- "loadBalancerSku": "Standard",
- "azureFrontDoorEnabled": "Enabled",
- "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
- "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
- "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
- "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
- "outboundPublicIpResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
- ]
- },
- "databaseProfile": {
- "type": "MySql",
- "serverName": "wp-db-server",
- "version": "5.7",
- "sku": "Standard_D32s_v4",
- "tier": "GeneralPurpose",
- "haEnabled": "Disabled",
- "storageSku": "Premium_LRS",
- "storageInGB": 128,
- "storageIops": 200,
- "backupRetentionDays": 7,
- "sslEnforcementEnabled": "Enabled",
- "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
- },
- "siteProfile": {
- "domainName": "www.example.com"
- },
- "fileshareProfile": {
- "shareType": "AzureFiles",
- "storageType": "Premium_LRS",
- "shareSizeInGB": 100,
- "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
- "shareName": "wp"
- },
- "phpProfile": {
- "version": "7.3"
- },
- "searchProfile": {
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 0
- },
- "dataDisks": [],
- "searchType": "Elastic",
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
- ]
- },
- "cacheProfile": {
- "name": "wp-cache",
- "skuName": "Basic",
- "family": "C",
- "capacity": 0,
- "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
- },
- "backupProfile": {
- "backupEnabled": "Disabled",
- "vaultResourceId": ""
- }
- }
- }
- ]
- },
- "nextLink": ""
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
deleted file mode 100644
index c33738f56e72..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/PhpWorkloads_Update.json
+++ /dev/null
@@ -1,166 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview",
- "ResourcePatchRequestBody": {
- "tags": {
- "tag_name": "tag_value"
- },
- "identity": {
- "type": "None"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39",
- "name": "wp39",
- "type": "Microsot.Workloads/phpWorkloads",
- "tags": {},
- "location": "eastus2",
- "kind": "WordPress",
- "sku": {
- "name": "Large"
- },
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "identity": {
- "type": "None"
- },
- "properties": {
- "appLocation": "eastus",
- "managedResourceGroupConfiguration": {
- "name": "php-mrg-wp39"
- },
- "provisioningState": "Succeeded",
- "adminUserProfile": {
- "userName": "wpadmin",
- "sshPublicKey": "===SSH=PUBLIC=KEY==="
- },
- "webNodesProfile": {
- "name": "web-server",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "autoScaleMinCount": 1,
- "autoScaleMaxCount": 1,
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-fymfur"
- ]
- },
- "controllerProfile": {
- "name": "contoller-vm",
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 30
- },
- "dataDisks": [
- {
- "storageType": "Premium_LRS",
- "sizeInGB": 100
- }
- ],
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/controller-fymfur"
- ]
- },
- "networkProfile": {
- "loadBalancerType": "LoadBalancer",
- "loadBalancerSku": "Standard",
- "azureFrontDoorEnabled": "Enabled",
- "vNetResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/virtualNetworks/vnet-fymfur",
- "loadBalancerResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/loadBalancers/lb-fymfur",
- "frontEndPublicIpResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-pubip-fymfur",
- "azureFrontDoorResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/frontdoors/afd-fymfur",
- "outboundPublicIpResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip001-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Network/publicIPAddresses/lb-outpubip002-fymfur"
- ]
- },
- "databaseProfile": {
- "type": "MySql",
- "serverName": "wp-db-server",
- "version": "5.7",
- "sku": "Standard_D32s_v4",
- "tier": "GeneralPurpose",
- "haEnabled": "Disabled",
- "storageSku": "Premium_LRS",
- "storageInGB": 128,
- "storageIops": 200,
- "backupRetentionDays": 7,
- "sslEnforcementEnabled": "Enabled",
- "serverResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.DBforMySQL/servers/mysql-fymfur"
- },
- "siteProfile": {
- "domainName": "www.example.com"
- },
- "fileshareProfile": {
- "shareType": "AzureFiles",
- "storageType": "Premium_LRS",
- "shareSizeInGB": 100,
- "storageResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Storage/storageAccounts/absfymfuraf",
- "shareName": "wp"
- },
- "phpProfile": {
- "version": "7.3"
- },
- "searchProfile": {
- "nodeSku": "Standard_DS2_v2",
- "osImage": {
- "publisher": "Canonical",
- "offer": "UbuntuServer",
- "sku": "18.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "storageType": "Premium_LRS",
- "sizeInGB": 0
- },
- "dataDisks": [],
- "searchType": "Elastic",
- "nodeResourceIds": [
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-01-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-02-fymfur",
- "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Compute/virtualMachines/elastic-vm-03-fymfur"
- ]
- },
- "cacheProfile": {
- "name": "wp-cache",
- "skuName": "Basic",
- "family": "C",
- "capacity": 0,
- "cacheResourceId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/php-mrg-wp39/providers/Microsoft.Cache/redis/redis-fymfur"
- },
- "backupProfile": {
- "backupEnabled": "Disabled",
- "vaultResourceId": ""
- }
- }
- }
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
deleted file mode 100644
index 56ddea8d3f45..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_CreateOrUpdate.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview",
- "wordpressInstanceResource": {
- "properties": {
- "version": "5.4.2",
- "databaseName": "wpdb",
- "databaseUser": "wpuser"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
- "name": "default",
- "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "siteUrl": "https://www.example.com",
- "version": "5.4.2",
- "databaseName": "wpdb",
- "databaseUser": "wpuser"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
- "name": "default",
- "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "provisioningState": "Created",
- "siteUrl": "https://www.example.com",
- "version": "5.4.2",
- "databaseName": "wpdb",
- "databaseUser": "wpuser"
- }
- }
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
deleted file mode 100644
index 94ea1dfad284..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Delete.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview",
- "delete-infra": "false"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
deleted file mode 100644
index a46db9d731f5..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_Get.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
- "name": "default",
- "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "siteUrl": "https://www.example.com",
- "version": "5.4.2",
- "databaseName": "wpdb",
- "databaseUser": "wpuser"
- }
- }
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
deleted file mode 100644
index dcd7748ed893..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/phpworkloads/WordpressInstances_List.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "phpWorkloadName": "wp39",
- "api-version": "2022-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default",
- "name": "default",
- "type": "Microsot.Workloads/phpWorkloads/wordpressInstances",
- "systemData": {
- "createdBy": "php_user@xyz.com",
- "createdByType": "User",
- "createdAt": "2021-08-19T15:10:46.196Z",
- "lastModifiedBy": "php_user@xyz.com",
- "lastModifiedByType": "User",
- "lastModifiedAt": "2021-08-19T15:10:46.196Z"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "siteUrl": "https://www.example.com",
- "version": "5.4.2",
- "databaseName": "wpdb",
- "databaseUser": "wpuser"
- }
- }
- ]
- },
- "nextLink": ""
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
index 56d96bf03505..de0880e3b498 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json
@@ -37,8 +37,12 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
- "status": "Running",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "type": "Active"
+ }
+ ],
"health": "Unknown",
"errors": null,
"provisioningState": "Succeeded"
@@ -70,7 +74,12 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "type": "Active"
+ }
+ ],
"status": "Running",
"health": "Unknown",
"errors": null,
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
index 64a49902e095..6167b36953c7 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
@@ -37,10 +37,27 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
- "storageDetails": [
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer"
+ },
+ "vmDetails": [
{
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
+ "type": "Active",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ },
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
+ "type": "Standby",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
}
],
"status": "Running",
@@ -75,10 +92,27 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
- "storageDetails": [
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer"
+ },
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
+ "type": "Active",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ },
{
- "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
+ "type": "Standby",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
}
],
"status": "Running",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
index 7174f3d6c5e7..ab97cbd81817 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
@@ -19,12 +19,12 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
},
"204": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
index 3a18d546463a..ffd208eb6859 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Get.json
@@ -32,7 +32,12 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "type": "Active"
+ }
+ ],
"status": "Unknown",
"health": "Unknown",
"errors": null,
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
index 3b2c5e532424..713a6b036f8c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_List.json
@@ -33,7 +33,12 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "type": "Active"
+ }
+ ],
"status": "Unknown",
"health": "Unknown",
"errors": null,
@@ -64,7 +69,12 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "type": "Active"
+ }
+ ],
"status": "Unknown",
"health": "Unknown",
"errors": null,
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json
new file mode 100644
index 000000000000..eed54541b704
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StartInstance.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2022-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json
new file mode 100644
index 000000000000..b4ea98e193c4
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_StopInstance.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "softStopTimeoutSeconds": 0
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
index d3d904cf6925..2ae32514d367 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Update.json
@@ -39,7 +39,12 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "type": "Active"
+ }
+ ],
"status": "Unknown",
"health": "Unknown",
"errors": null,
@@ -72,7 +77,12 @@
"gatewayPort": 3300,
"icmHttpPort": 3312,
"icmHttpsPort": 3313,
- "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "type": "Active"
+ }
+ ],
"status": "Unknown",
"health": "Unknown",
"errors": null,
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
index 7e636e345274..6ff7973c9dcd 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
@@ -19,12 +19,12 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
},
"204": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json
new file mode 100644
index 000000000000..75659dac7706
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StartInstance.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2022-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json
new file mode 100644
index 000000000000..c9804a1c1691
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPCentralInstances_StopInstance.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "softStopTimeoutSeconds": 1200
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "status": "Succeeded",
+ "startTime": "2021-08-19T03:36:07.000Z",
+ "endTime": "2021-08-19T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
index 383c50111f82..77fcaf76d285 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
@@ -19,12 +19,12 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
},
"204": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json
new file mode 100644
index 000000000000..5febf6e5958c
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StartInstance.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "db0",
+ "api-version": "2022-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0",
+ "name": "db0",
+ "status": "Succeeded",
+ "startTime": "2022-11-01T03:36:07.000Z",
+ "endTime": "2022-11-01T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json
new file mode 100644
index 000000000000..cc71e378a9fd
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_StopInstance.json
@@ -0,0 +1,29 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "db0",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "softStopTimeoutSeconds": 0
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0",
+ "name": "db0",
+ "status": "Succeeded",
+ "startTime": "2022-11-01T03:36:07.000Z",
+ "endTime": "2022-11-01T03:38:07.000Z",
+ "error": null
+ }
+ },
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
index 2e68bc6eb517..9936894a7f06 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_NonProd.json
@@ -8,69 +8,389 @@
"sapProduct": "S4HANA",
"environment": "NonProd",
"databaseType": "HANA",
- "deploymentType": "SingleServer",
+ "deploymentType": "ThreeTier",
"dbVmSku": "Standard_M32ts"
}
},
"responses": {
"200": {
"body": {
- "diskConfigurations": [
- {
- "volume": "hana/data",
- "diskType": "P10",
- "diskCount": 4,
- "diskSizeGB": 128,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 100,
- "diskStorageType": "Premium_LRS"
+ "volumeConfigurations": {
+ "hana/data": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 4,
+ "sizeGB": 128
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 4,
+ "maximumSupportedDiskCount": 5,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ }
+ ]
},
- {
- "volume": "hana/log",
- "diskType": "P10",
- "diskCount": 3,
- "diskSizeGB": 128,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 100,
- "diskStorageType": "Premium_LRS"
+ "hana/log": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 3,
+ "sizeGB": 128
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 3,
+ "maximumSupportedDiskCount": 5,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ }
+ ]
},
- {
- "volume": "hana/shared",
- "diskType": "E15",
- "diskCount": 1,
- "diskSizeGB": 256,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 60,
- "diskStorageType": "StandardSSD_LRS"
+ "hana/shared": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "count": 1,
+ "sizeGB": 256
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 1100,
+ "mbpsReadWrite": 125,
+ "diskTier": "P15"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 2300,
+ "mbpsReadWrite": 150,
+ "diskTier": "P20"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 1024,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 5000,
+ "mbpsReadWrite": 200,
+ "diskTier": "P30"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 2048,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 7500,
+ "mbpsReadWrite": 250,
+ "diskTier": "P40"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 4096,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 7500,
+ "mbpsReadWrite": 250,
+ "diskTier": "P50"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E15"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E20"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 1024,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E30"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 2048,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E40"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 4096,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E50"
+ }
+ ]
},
- {
- "volume": "usr/sap",
- "diskType": "E6",
- "diskCount": 1,
- "diskSizeGB": 64,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 60,
- "diskStorageType": "StandardSSD_LRS"
+ "usr/sap": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 1,
+ "sizeGB": 128
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 1100,
+ "mbpsReadWrite": 125,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 2300,
+ "mbpsReadWrite": 150,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E10"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E15"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E20"
+ }
+ ]
},
- {
- "volume": "backup",
- "diskType": "E15",
- "diskCount": 2,
- "diskSizeGB": 256,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 60,
- "diskStorageType": "StandardSSD_LRS"
+ "os": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "count": 1,
+ "sizeGB": 64
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 64,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 240,
+ "mbpsReadWrite": 50,
+ "diskTier": "P6"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 64,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "P6"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "P10"
+ }
+ ]
},
- {
- "volume": "os",
- "diskType": "E6",
- "diskCount": 1,
- "diskSizeGB": 64,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 60,
- "diskStorageType": "StandardSSD_LRS"
+ "backup": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "count": 2,
+ "sizeGB": 256
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E10"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E15"
+ },
+ {
+ "sku": {
+ "name": "StandardSSD_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 60,
+ "diskTier": "E20"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 1100,
+ "mbpsReadWrite": 125,
+ "diskTier": "P15"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 2300,
+ "mbpsReadWrite": 150,
+ "diskTier": "P20"
+ }
+ ]
}
- ]
+ }
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
index d8eb8bb9e03c..959c81f965c3 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPDiskConfigurations_Prod.json
@@ -15,62 +15,239 @@
"responses": {
"200": {
"body": {
- "diskConfigurations": [
- {
- "volume": "hana/data",
- "diskType": "P10",
- "diskCount": 4,
- "diskSizeGB": 128,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 100,
- "diskStorageType": "Premium_LRS"
+ "volumeConfigurations": {
+ "hana/data": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 4,
+ "sizeGB": 128
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 4,
+ "maximumSupportedDiskCount": 5,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ }
+ ]
},
- {
- "volume": "hana/log",
- "diskType": "P10",
- "diskCount": 3,
- "diskSizeGB": 128,
- "diskIopsReadWrite": 500,
- "diskMBpsReadWrite": 100,
- "diskStorageType": "Premium_LRS"
+ "hana/log": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 3,
+ "sizeGB": 128
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 3,
+ "maximumSupportedDiskCount": 5,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ }
+ ]
},
- {
- "volume": "hana/shared",
- "diskType": "P15",
- "diskCount": 1,
- "diskSizeGB": 256,
- "diskIopsReadWrite": 1100,
- "diskMBpsReadWrite": 125,
- "diskStorageType": "Premium_LRS"
+ "hana/shared": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 1,
+ "sizeGB": 256
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 1100,
+ "mbpsReadWrite": 125,
+ "diskTier": "P15"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 2300,
+ "mbpsReadWrite": 150,
+ "diskTier": "P20"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 1024,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 5000,
+ "mbpsReadWrite": 200,
+ "diskTier": "P30"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 2048,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 7500,
+ "mbpsReadWrite": 250,
+ "diskTier": "P40"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 4096,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 7500,
+ "mbpsReadWrite": 250,
+ "diskTier": "P50"
+ }
+ ]
},
- {
- "volume": "usr/sap",
- "diskType": "P6",
- "diskCount": 1,
- "diskSizeGB": 64,
- "diskIopsReadWrite": 240,
- "diskMBpsReadWrite": 50,
- "diskStorageType": "Premium_LRS"
+ "usr/sap": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 1,
+ "sizeGB": 128
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 1100,
+ "mbpsReadWrite": 125,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 2300,
+ "mbpsReadWrite": 150,
+ "diskTier": "P10"
+ }
+ ]
},
- {
- "volume": "backup",
- "diskType": "P15",
- "diskCount": 2,
- "diskSizeGB": 256,
- "diskIopsReadWrite": 1100,
- "diskMBpsReadWrite": 125,
- "diskStorageType": "Premium_LRS"
+ "os": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 1,
+ "sizeGB": 64
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 64,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 240,
+ "mbpsReadWrite": 50,
+ "diskTier": "P6"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 1,
+ "maximumSupportedDiskCount": 1,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ }
+ ]
},
- {
- "volume": "os",
- "diskType": "P6",
- "diskCount": 1,
- "diskSizeGB": 64,
- "diskIopsReadWrite": 240,
- "diskMBpsReadWrite": 50,
- "diskStorageType": "Premium_LRS"
+ "backup": {
+ "recommendedConfiguration": {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "count": 2,
+ "sizeGB": 256
+ },
+ "supportedConfigurations": [
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 128,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 500,
+ "mbpsReadWrite": 100,
+ "diskTier": "P10"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 256,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 1100,
+ "mbpsReadWrite": 125,
+ "diskTier": "P15"
+ },
+ {
+ "sku": {
+ "name": "Premium_LRS"
+ },
+ "sizeGB": 512,
+ "minimumSupportedDiskCount": 0,
+ "maximumSupportedDiskCount": 6,
+ "iopsReadWrite": 2300,
+ "mbpsReadWrite": 150,
+ "diskTier": "P20"
+ }
+ ]
}
- ]
+ }
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json
new file mode 100644
index 000000000000..783ac503d6aa
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "rg-lastops",
+ "sapVirtualInstanceName": "S01",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "operationName": [
+ "InstallWorkload",
+ "CreateInfrastructure"
+ ]
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "lastOperations": [
+ {
+ "name": "InstallWorkload",
+ "trackingURL": "TrackingURL",
+ "activityID": "4eee25c8-8381-424f-bc19-b787ca6f2c18",
+ "state": "Succeeded",
+ "progressDetails": "Succeeded"
+ },
+ {
+ "name": "CreateInfrastructure",
+ "trackingURL": "TrackingURL",
+ "activityID": "7eae2ac0-8321-c24c-bc1c-be17c1652c18"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json
new file mode 100644
index 000000000000..bd22486bc416
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_Distributed.json
@@ -0,0 +1,593 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk",
+ "dataDiskNames": {
+ "default": [
+ "ascsdisk0"
+ ]
+ }
+ }
+ ]
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "appAvSet"
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvm",
+ "hostName": "dbhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbnic"
+ }
+ ],
+ "osDiskName": "dbosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadata0",
+ "hanadata1"
+ ],
+ "hanaLog": [
+ "hanalog0",
+ "hanalog1",
+ "hanalog2"
+ ],
+ "usrSap": [
+ "usrsap0"
+ ],
+ "hanaShared": [
+ "hanashared0",
+ "hanashared1"
+ ]
+ }
+ }
+ ]
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk",
+ "dataDiskNames": {
+ "default": [
+ "ascsdisk0"
+ ]
+ }
+ }
+ ]
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "appAvSet"
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvm",
+ "hostName": "dbhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbnic"
+ }
+ ],
+ "osDiskName": "dbosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadata0",
+ "hanadata1"
+ ],
+ "hanaLog": [
+ "hanalog0",
+ "hanalog1",
+ "hanalog2"
+ ],
+ "usrSap": [
+ "usrsap0"
+ ],
+ "hanaShared": [
+ "hanashared0",
+ "hanashared1"
+ ]
+ }
+ }
+ ]
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk",
+ "dataDiskNames": {
+ "default": [
+ "ascsdisk0"
+ ]
+ }
+ }
+ ]
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "appAvSet"
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvm",
+ "hostName": "dbhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbnic"
+ }
+ ],
+ "osDiskName": "dbosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadata0",
+ "hanadata1"
+ ],
+ "hanaLog": [
+ "hanalog0",
+ "hanalog1",
+ "hanalog2"
+ ],
+ "usrSap": [
+ "usrsap0"
+ ],
+ "hanaShared": [
+ "hanashared0",
+ "hanashared1"
+ ]
+ }
+ }
+ ]
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json
new file mode 100644
index 000000000000..379373e52866
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvSet.json
@@ -0,0 +1,785 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilitySet"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk"
+ },
+ {
+ "vmName": "ersvm",
+ "hostName": "ershostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ersnic"
+ }
+ ],
+ "osDiskName": "ersosdisk"
+ }
+ ],
+ "availabilitySetName": "csAvSet",
+ "loadBalancer": {
+ "loadBalancerName": "ascslb",
+ "frontendIpConfigurationNames": [
+ "ascsip0",
+ "ersip0"
+ ],
+ "backendPoolNames": [
+ "ascsBackendPool"
+ ],
+ "healthProbeNames": [
+ "ascsHealthProbe",
+ "ersHealthProbe"
+ ]
+ }
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "appAvSet"
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvmpr",
+ "hostName": "dbprhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbprnic"
+ }
+ ],
+ "osDiskName": "dbprosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatapr0",
+ "hanadatapr1"
+ ],
+ "hanaLog": [
+ "hanalogpr0",
+ "hanalogpr1",
+ "hanalogpr2"
+ ],
+ "usrSap": [
+ "usrsappr0"
+ ],
+ "hanaShared": [
+ "hanasharedpr0",
+ "hanasharedpr1"
+ ]
+ }
+ },
+ {
+ "vmName": "dbvmsr",
+ "hostName": "dbsrhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbsrnic"
+ }
+ ],
+ "osDiskName": "dbsrosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatasr0",
+ "hanadatasr1"
+ ],
+ "hanaLog": [
+ "hanalogsr0",
+ "hanalogsr1",
+ "hanalogsr2"
+ ],
+ "usrSap": [
+ "usrsapsr0"
+ ],
+ "hanaShared": [
+ "hanasharedsr0",
+ "hanasharedsr1"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "dbAvSet",
+ "loadBalancer": {
+ "loadBalancerName": "dblb",
+ "frontendIpConfigurationNames": [
+ "dbip"
+ ],
+ "backendPoolNames": [
+ "dbBackendPool"
+ ],
+ "healthProbeNames": [
+ "dbHealthProbe"
+ ]
+ }
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilitySet"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk"
+ },
+ {
+ "vmName": "ersvm",
+ "hostName": "ershostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ersnic"
+ }
+ ],
+ "osDiskName": "ersosdisk"
+ }
+ ],
+ "availabilitySetName": "csAvSet",
+ "loadBalancer": {
+ "loadBalancerName": "ascslb",
+ "frontendIpConfigurationNames": [
+ "ascsip0",
+ "ersip0"
+ ],
+ "backendPoolNames": [
+ "ascsBackendPool"
+ ],
+ "healthProbeNames": [
+ "ascsHealthProbe",
+ "ersHealthProbe"
+ ]
+ }
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "appAvSet"
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvmpr",
+ "hostName": "dbprhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbprnic"
+ }
+ ],
+ "osDiskName": "dbprosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatapr0",
+ "hanadatapr1"
+ ],
+ "hanaLog": [
+ "hanalogpr0",
+ "hanalogpr1",
+ "hanalogpr2"
+ ],
+ "usrSap": [
+ "usrsappr0"
+ ],
+ "hanaShared": [
+ "hanasharedpr0",
+ "hanasharedpr1"
+ ]
+ }
+ },
+ {
+ "vmName": "dbvmsr",
+ "hostName": "dbsrhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbsrnic"
+ }
+ ],
+ "osDiskName": "dbsrosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatasr0",
+ "hanadatasr1"
+ ],
+ "hanaLog": [
+ "hanalogsr0",
+ "hanalogsr1",
+ "hanalogsr2"
+ ],
+ "usrSap": [
+ "usrsapsr0"
+ ],
+ "hanaShared": [
+ "hanasharedsr0",
+ "hanasharedsr1"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "dbAvSet",
+ "loadBalancer": {
+ "loadBalancerName": "dblb",
+ "frontendIpConfigurationNames": [
+ "dbip"
+ ],
+ "backendPoolNames": [
+ "dbBackendPool"
+ ],
+ "healthProbeNames": [
+ "dbHealthProbe"
+ ]
+ }
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilitySet"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk"
+ },
+ {
+ "vmName": "ersvm",
+ "hostName": "ershostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ersnic"
+ }
+ ],
+ "osDiskName": "ersosdisk"
+ }
+ ],
+ "availabilitySetName": "csAvSet",
+ "loadBalancer": {
+ "loadBalancerName": "ascslb",
+ "frontendIpConfigurationNames": [
+ "ascsip0",
+ "ersip0"
+ ],
+ "backendPoolNames": [
+ "ascsBackendPool"
+ ],
+ "healthProbeNames": [
+ "ascsHealthProbe",
+ "ersHealthProbe"
+ ]
+ }
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "appAvSet"
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvmpr",
+ "hostName": "dbprhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbprnic"
+ }
+ ],
+ "osDiskName": "dbprosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatapr0",
+ "hanadatapr1"
+ ],
+ "hanaLog": [
+ "hanalogpr0",
+ "hanalogpr1",
+ "hanalogpr2"
+ ],
+ "usrSap": [
+ "usrsappr0"
+ ],
+ "hanaShared": [
+ "hanasharedpr0",
+ "hanasharedpr1"
+ ]
+ }
+ },
+ {
+ "vmName": "dbvmsr",
+ "hostName": "dbsrhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbsrnic"
+ }
+ ],
+ "osDiskName": "dbsrosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatasr0",
+ "hanadatasr1"
+ ],
+ "hanaLog": [
+ "hanalogsr0",
+ "hanalogsr1",
+ "hanalogsr2"
+ ],
+ "usrSap": [
+ "usrsapsr0"
+ ],
+ "hanaShared": [
+ "hanasharedsr0",
+ "hanasharedsr1"
+ ]
+ }
+ }
+ ],
+ "availabilitySetName": "dbAvSet",
+ "loadBalancer": {
+ "loadBalancerName": "dblb",
+ "frontendIpConfigurationNames": [
+ "dbip"
+ ],
+ "backendPoolNames": [
+ "dbBackendPool"
+ ],
+ "healthProbeNames": [
+ "dbHealthProbe"
+ ]
+ }
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json
new file mode 100644
index 000000000000..83fa41fd3672
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_HA_AvZone.json
@@ -0,0 +1,776 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilityZone"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk"
+ },
+ {
+ "vmName": "ersvm",
+ "hostName": "ershostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ersnic"
+ }
+ ],
+ "osDiskName": "ersosdisk"
+ }
+ ],
+ "loadBalancer": {
+ "loadBalancerName": "ascslb",
+ "frontendIpConfigurationNames": [
+ "ascsip0",
+ "ersip0"
+ ],
+ "backendPoolNames": [
+ "ascsBackendPool"
+ ],
+ "healthProbeNames": [
+ "ascsHealthProbe",
+ "ersHealthProbe"
+ ]
+ }
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ]
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvmpr",
+ "hostName": "dbprhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbprnic"
+ }
+ ],
+ "osDiskName": "dbprosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatapr0",
+ "hanadatapr1"
+ ],
+ "hanaLog": [
+ "hanalogpr0",
+ "hanalogpr1",
+ "hanalogpr2"
+ ],
+ "usrSap": [
+ "usrsappr0"
+ ],
+ "hanaShared": [
+ "hanasharedpr0",
+ "hanasharedpr1"
+ ]
+ }
+ },
+ {
+ "vmName": "dbvmsr",
+ "hostName": "dbsrhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbsrnic"
+ }
+ ],
+ "osDiskName": "dbsrosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatasr0",
+ "hanadatasr1"
+ ],
+ "hanaLog": [
+ "hanalogsr0",
+ "hanalogsr1",
+ "hanalogsr2"
+ ],
+ "usrSap": [
+ "usrsapsr0"
+ ],
+ "hanaShared": [
+ "hanasharedsr0",
+ "hanasharedsr1"
+ ]
+ }
+ }
+ ],
+ "loadBalancer": {
+ "loadBalancerName": "dblb",
+ "frontendIpConfigurationNames": [
+ "dbip"
+ ],
+ "backendPoolNames": [
+ "dbBackendPool"
+ ],
+ "healthProbeNames": [
+ "dbHealthProbe"
+ ]
+ }
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilityZone"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk"
+ },
+ {
+ "vmName": "ersvm",
+ "hostName": "ershostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ersnic"
+ }
+ ],
+ "osDiskName": "ersosdisk"
+ }
+ ],
+ "loadBalancer": {
+ "loadBalancerName": "ascslb",
+ "frontendIpConfigurationNames": [
+ "ascsip0",
+ "ersip0"
+ ],
+ "backendPoolNames": [
+ "ascsBackendPool"
+ ],
+ "healthProbeNames": [
+ "ascsHealthProbe",
+ "ersHealthProbe"
+ ]
+ }
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ]
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvmpr",
+ "hostName": "dbprhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbprnic"
+ }
+ ],
+ "osDiskName": "dbprosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatapr0",
+ "hanadatapr1"
+ ],
+ "hanaLog": [
+ "hanalogpr0",
+ "hanalogpr1",
+ "hanalogpr2"
+ ],
+ "usrSap": [
+ "usrsappr0"
+ ],
+ "hanaShared": [
+ "hanasharedpr0",
+ "hanasharedpr1"
+ ]
+ }
+ },
+ {
+ "vmName": "dbvmsr",
+ "hostName": "dbsrhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbsrnic"
+ }
+ ],
+ "osDiskName": "dbsrosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatasr0",
+ "hanadatasr1"
+ ],
+ "hanaLog": [
+ "hanalogsr0",
+ "hanalogsr1",
+ "hanalogsr2"
+ ],
+ "usrSap": [
+ "usrsapsr0"
+ ],
+ "hanaShared": [
+ "hanasharedsr0",
+ "hanasharedsr1"
+ ]
+ }
+ }
+ ],
+ "loadBalancer": {
+ "loadBalancerName": "dblb",
+ "frontendIpConfigurationNames": [
+ "dbip"
+ ],
+ "backendPoolNames": [
+ "dbBackendPool"
+ ],
+ "healthProbeNames": [
+ "dbHealthProbe"
+ ]
+ }
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilityZone"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "centralServer": {
+ "virtualMachines": [
+ {
+ "vmName": "ascsvm",
+ "hostName": "ascshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ascsnic"
+ }
+ ],
+ "osDiskName": "ascsosdisk"
+ },
+ {
+ "vmName": "ersvm",
+ "hostName": "ershostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ersnic"
+ }
+ ],
+ "osDiskName": "ersosdisk"
+ }
+ ],
+ "loadBalancer": {
+ "loadBalancerName": "ascslb",
+ "frontendIpConfigurationNames": [
+ "ascsip0",
+ "ersip0"
+ ],
+ "backendPoolNames": [
+ "ascsBackendPool"
+ ],
+ "healthProbeNames": [
+ "ascsHealthProbe",
+ "ersHealthProbe"
+ ]
+ }
+ },
+ "applicationServer": {
+ "virtualMachines": [
+ {
+ "vmName": "appvm0",
+ "hostName": "apphostName0",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic0"
+ }
+ ],
+ "osDiskName": "app0osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app0disk0"
+ ]
+ }
+ },
+ {
+ "vmName": "appvm1",
+ "hostName": "apphostName1",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "appnic1"
+ }
+ ],
+ "osDiskName": "app1osdisk",
+ "dataDiskNames": {
+ "default": [
+ "app1disk0"
+ ]
+ }
+ }
+ ]
+ },
+ "databaseServer": {
+ "virtualMachines": [
+ {
+ "vmName": "dbvmpr",
+ "hostName": "dbprhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbprnic"
+ }
+ ],
+ "osDiskName": "dbprosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatapr0",
+ "hanadatapr1"
+ ],
+ "hanaLog": [
+ "hanalogpr0",
+ "hanalogpr1",
+ "hanalogpr2"
+ ],
+ "usrSap": [
+ "usrsappr0"
+ ],
+ "hanaShared": [
+ "hanasharedpr0",
+ "hanasharedpr1"
+ ]
+ }
+ },
+ {
+ "vmName": "dbvmsr",
+ "hostName": "dbsrhostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "dbsrnic"
+ }
+ ],
+ "osDiskName": "dbsrosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadatasr0",
+ "hanadatasr1"
+ ],
+ "hanaLog": [
+ "hanalogsr0",
+ "hanalogsr1",
+ "hanalogsr2"
+ ],
+ "usrSap": [
+ "usrsapsr0"
+ ],
+ "hanaShared": [
+ "hanasharedsr0",
+ "hanasharedsr1"
+ ]
+ }
+ }
+ ],
+ "loadBalancer": {
+ "loadBalancerName": "dblb",
+ "frontendIpConfigurationNames": [
+ "dbip"
+ ],
+ "backendPoolNames": [
+ "dbBackendPool"
+ ],
+ "healthProbeNames": [
+ "dbHealthProbe"
+ ]
+ }
+ },
+ "sharedStorage": {
+ "sharedStorageAccountName": "storageacc",
+ "sharedStorageAccountPrivateEndPointName": "peForxNFS"
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json
new file mode 100644
index 000000000000..295907f26b62
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_CustomFullResourceNames_SingleServer.json
@@ -0,0 +1,236 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "SingleServer",
+ "appResourceGroup": "X00-RG",
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "SingleServer",
+ "appResourceGroup": "X00-RG",
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "virtualMachine": {
+ "vmName": "ssvm",
+ "hostName": "sshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ssnic"
+ }
+ ],
+ "osDiskName": "ssosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadata0",
+ "hanadata1"
+ ],
+ "hanaLog": [
+ "hanalog0",
+ "hanalog1",
+ "hanalog2"
+ ],
+ "usrSap": [
+ "usrsap0"
+ ],
+ "hanaShared": [
+ "hanashared0",
+ "hanashared1"
+ ]
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "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": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "SingleServer",
+ "appResourceGroup": "X00-RG",
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/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,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "customResourceNames": {
+ "namingPatternType": "FullResourceName",
+ "virtualMachine": {
+ "vmName": "ssvm",
+ "hostName": "sshostName",
+ "networkInterfaces": [
+ {
+ "networkInterfaceName": "ssnic"
+ }
+ ],
+ "osDiskName": "ssosdisk",
+ "dataDiskNames": {
+ "hanaData": [
+ "hanadata0",
+ "hanadata1"
+ ],
+ "hanaLog": [
+ "hanalog0",
+ "hanalog1",
+ "hanalog2"
+ ],
+ "usrSap": [
+ "usrsap0"
+ ],
+ "hanaShared": [
+ "hanashared0",
+ "hanashared1"
+ ]
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
index e98224364078..ff3cd4736b1a 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
@@ -16,22 +16,15 @@
"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": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -52,10 +45,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -77,10 +70,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -175,22 +168,15 @@
"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": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -210,10 +196,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -234,10 +220,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -334,22 +320,15 @@
"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": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -369,10 +348,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -393,10 +372,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json
similarity index 93%
rename from specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
rename to specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json
index fcefd122dfd2..148ae1f74d7b 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_WithBackupDisk.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json
@@ -24,10 +24,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -48,10 +48,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -73,10 +73,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -179,10 +179,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -202,10 +202,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -226,10 +226,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -334,10 +334,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -357,10 +357,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -381,10 +381,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json
similarity index 92%
rename from specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
rename to specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json
index 5d7891b6bfd7..4359b30e2168 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_NoBackupDisk.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json
@@ -24,10 +24,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -48,10 +48,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -73,10 +73,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -120,6 +120,13 @@
"name": "Premium_LRS"
}
},
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
"os": {
"count": 1,
"sizeGB": 64,
@@ -172,10 +179,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -195,10 +202,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -219,10 +226,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -327,10 +334,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -350,10 +357,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -374,10 +381,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
index c41ba4d81b37..66fd628e26fc 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
@@ -24,10 +24,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -128,10 +128,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -234,10 +234,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json
new file mode 100644
index 000000000000..173ea9439199
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed.json
@@ -0,0 +1,338 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json
similarity index 88%
rename from specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
rename to specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json
index 43a8fe4ef71f..236f06270472 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTransport.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json
@@ -19,8 +19,8 @@
"storageConfiguration": {
"transportFileShareConfiguration": {
"configurationType": "CreateAndMount",
- "resourceGroup": "rgName",
- "storageAccountName": "storageName"
+ "resourceGroup": "test-rg",
+ "storageAccountName": "input-sa-name"
}
},
"centralServer": {
@@ -28,10 +28,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -52,10 +52,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -77,10 +77,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -132,8 +132,8 @@
"storageConfiguration": {
"transportFileShareConfiguration": {
"configurationType": "CreateAndMount",
- "resourceGroup": "rgName",
- "storageAccountName": "storageName"
+ "resourceGroup": "test-rg",
+ "storageAccountName": "input-sa-name"
}
},
"centralServer": {
@@ -141,10 +141,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -164,10 +164,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -188,10 +188,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -245,8 +245,8 @@
"storageConfiguration": {
"transportFileShareConfiguration": {
"configurationType": "CreateAndMount",
- "resourceGroup": "rgName",
- "storageAccountName": "storageName"
+ "resourceGroup": "test-rg",
+ "storageAccountName": "input-sa-name"
}
},
"centralServer": {
@@ -254,10 +254,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -277,10 +277,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -301,10 +301,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json
similarity index 83%
rename from specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
rename to specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json
index 522dd605855f..a6ebf1efa719 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTransport.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json
@@ -19,8 +19,8 @@
"storageConfiguration": {
"transportFileShareConfiguration": {
"configurationType": "Mount",
- "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
- "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint"
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
}
},
"centralServer": {
@@ -28,10 +28,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -52,10 +52,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -77,10 +77,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -132,8 +132,8 @@
"storageConfiguration": {
"transportFileShareConfiguration": {
"configurationType": "Mount",
- "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
- "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint"
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
}
},
"centralServer": {
@@ -141,10 +141,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -164,10 +164,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -188,10 +188,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -245,8 +245,8 @@
"storageConfiguration": {
"transportFileShareConfiguration": {
"configurationType": "Mount",
- "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
- "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint"
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
}
},
"centralServer": {
@@ -254,10 +254,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -277,10 +277,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -301,10 +301,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json
similarity index 90%
rename from specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
rename to specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json
index 93810cd2556f..1647e660672b 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransport.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json
@@ -26,10 +26,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -50,10 +50,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -75,10 +75,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -137,10 +137,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -160,10 +160,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -184,10 +184,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -248,10 +248,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -271,10 +271,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -295,10 +295,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json
new file mode 100644
index 000000000000..25ff72f6f004
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvSet.json
@@ -0,0 +1,347 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json
new file mode 100644
index 000000000000..9d483e0f7648
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_HA_AvZone.json
@@ -0,0 +1,347 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/test-rg/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/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json
new file mode 100644
index 000000000000..e0c4cab79c91
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json
@@ -0,0 +1,170 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-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/test-rg/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/test-rg/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/test-rg/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/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
index 482dcc3eddca..2191aa93ba6c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_Distributed.json
@@ -17,14 +17,14 @@
"deploymentType": "ThreeTier",
"appResourceGroup": "X00-RG",
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -41,14 +41,14 @@
"instanceCount": 1
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -66,14 +66,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -123,14 +123,14 @@
"deploymentType": "ThreeTier",
"appResourceGroup": "X00-RG",
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -146,14 +146,14 @@
"instanceCount": 1
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -170,14 +170,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -229,14 +229,14 @@
"deploymentType": "ThreeTier",
"appResourceGroup": "X00-RG",
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -252,14 +252,14 @@
"instanceCount": 1
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -276,14 +276,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
index 0f39983c72f6..5a410c0e3045 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvSet.json
@@ -20,14 +20,14 @@
"highAvailabilityType": "AvailabilitySet"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -44,14 +44,14 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -69,14 +69,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -129,14 +129,14 @@
"highAvailabilityType": "AvailabilitySet"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -152,14 +152,14 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -176,14 +176,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -238,14 +238,14 @@
"highAvailabilityType": "AvailabilitySet"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -261,14 +261,14 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -285,14 +285,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
index c701de1f3a9e..c8509ab9f207 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_HA_AvZone.json
@@ -20,14 +20,14 @@
"highAvailabilityType": "AvailabilityZone"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -44,14 +44,14 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -69,14 +69,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -129,14 +129,14 @@
"highAvailabilityType": "AvailabilityZone"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -152,14 +152,14 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -176,14 +176,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -238,14 +238,14 @@
"highAvailabilityType": "AvailabilityZone"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -261,14 +261,14 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -285,14 +285,14 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
index 5254821eeef6..9e2144be3d3c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json
@@ -17,17 +17,17 @@
"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",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"networkConfiguration": {
"isSecondaryIpEnabled": true
},
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -75,17 +75,17 @@
"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",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"networkConfiguration": {
"isSecondaryIpEnabled": true
},
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -135,17 +135,17 @@
"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",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"networkConfiguration": {
"isSecondaryIpEnabled": true
},
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
index 2ac1a1c414f8..f4f506e707e8 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvSet.json
@@ -20,7 +20,7 @@
"highAvailabilityType": "AvailabilitySet"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
@@ -44,7 +44,7 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
@@ -69,7 +69,7 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
@@ -133,7 +133,7 @@
"highAvailabilityType": "AvailabilitySet"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
@@ -156,7 +156,7 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
@@ -180,7 +180,7 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
@@ -244,7 +244,7 @@
"highAvailabilityType": "AvailabilitySet"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
@@ -267,7 +267,7 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
@@ -291,7 +291,7 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
index a648a7f06b5a..e67143501c8e 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_HA_AvZone.json
@@ -20,7 +20,7 @@
"highAvailabilityType": "AvailabilityZone"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
@@ -44,7 +44,7 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
@@ -69,7 +69,7 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
@@ -133,7 +133,7 @@
"highAvailabilityType": "AvailabilityZone"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
@@ -156,7 +156,7 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
@@ -180,7 +180,7 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
@@ -244,7 +244,7 @@
"highAvailabilityType": "AvailabilityZone"
},
"centralServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E16ds_v4",
"imageReference": {
@@ -267,7 +267,7 @@
"instanceCount": 2
},
"applicationServer": {
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_E32ds_v4",
"imageReference": {
@@ -291,7 +291,7 @@
},
"databaseServer": {
"databaseType": "HANA",
- "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
"virtualMachineConfiguration": {
"vmSize": "Standard_M32ts",
"imageReference": {
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
index cdaa90a847d5..718d93ced9e7 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json
@@ -17,7 +17,7 @@
"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",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"networkConfiguration": {
"isSecondaryIpEnabled": true
},
@@ -79,7 +79,7 @@
"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",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"networkConfiguration": {
"isSecondaryIpEnabled": true
},
@@ -141,7 +141,7 @@
"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",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
"networkConfiguration": {
"isSecondaryIpEnabled": true
},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
index 6a371cf21d95..a2a097dc636b 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Get.json
@@ -35,10 +35,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -62,10 +62,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -90,10 +90,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json
deleted file mode 100644
index 896eee05a28f..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilitySet.json
+++ /dev/null
@@ -1,359 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "sapVirtualInstanceName": "X00",
- "api-version": "2022-11-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/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json
deleted file mode 100644
index 0184c9b1f1b2..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Install_HA_AvailabilityZone.json
+++ /dev/null
@@ -1,359 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "test-rg",
- "sapVirtualInstanceName": "X00",
- "api-version": "2022-11-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"
- }
- }
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
index 02c1b58732a9..5258c3b146d9 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListByResourceGroup.json
@@ -36,10 +36,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -63,10 +63,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -91,10 +91,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -159,10 +159,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -186,10 +186,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -214,10 +214,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
index 92305755b4a9..3004c4c10220 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_ListBySubscription.json
@@ -35,10 +35,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -62,10 +62,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -90,10 +90,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -158,10 +158,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -185,10 +185,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
@@ -213,10 +213,10 @@
"virtualMachineConfiguration": {
"vmSize": "Standard_D8s_v3",
"imageReference": {
- "sku": "84sapha-gen2",
+ "sku": "7.4",
"publisher": "RedHat",
- "version": "8.4.2021091202",
- "offer": "RHEL-SAP-HA"
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
},
"osProfile": {
"adminUsername": "{your-username}",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
index adca4b2bcbc1..0def4d8da1be 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
@@ -18,7 +18,7 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
index 12a45abf9aa1..005f50ca21e1 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
@@ -5,7 +5,7 @@
"sapVirtualInstanceName": "X00",
"api-version": "2022-11-01-preview",
"body": {
- "hardStop": false
+ "softStopTimeoutSeconds": 0
}
},
"responses": {
@@ -21,7 +21,7 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
index 8d415c938a24..a23ef3d47043 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create.json
@@ -11,7 +11,8 @@
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
"sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
- "sslPreference": "ServerCertificate"
+ "sslPreference": "ServerCertificate",
+ "sapSid": "SID"
}
}
}
@@ -36,7 +37,8 @@
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
"sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
- "sslPreference": "ServerCertificate"
+ "sslPreference": "ServerCertificate",
+ "sapSid": "SID"
}
}
}
@@ -52,7 +54,8 @@
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
"sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
- "sslPreference": "ServerCertificate"
+ "sslPreference": "ServerCertificate",
+ "sapSid": "SID"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
index 57a259d941f1..8571b393929f 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Create_Root_Certificate.json
@@ -10,7 +10,8 @@
"providerSettings": {
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
- "sslPreference": "RootCertificate"
+ "sslPreference": "RootCertificate",
+ "sapSid": "SID"
}
}
}
@@ -34,7 +35,8 @@
"providerSettings": {
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
- "sslPreference": "RootCertificate"
+ "sslPreference": "RootCertificate",
+ "sapSid": "SID"
}
}
}
@@ -49,7 +51,8 @@
"providerSettings": {
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
- "sslPreference": "RootCertificate"
+ "sslPreference": "RootCertificate",
+ "sapSid": "SID"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
index 0a7ead312b8c..ca3c663766f2 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/PrometheusOSProviderInstances_Get.json
@@ -26,7 +26,8 @@
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
"sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
- "sslPreference": "ServerCertificate"
+ "sslPreference": "ServerCertificate",
+ "sapSid": "SID"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
index d1cb25890f24..a08c2101e1e3 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create.json
@@ -16,9 +16,10 @@
"dbUsername": "user",
"dbPassword": "****",
"dbPasswordUri": "",
- "sslHostNameInCertificate": "xyz.domain.com",
"sslPreference": "ServerCertificate",
- "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sslHostNameInCertificate": "xyz.domain.com",
+ "sapSid": "SID"
}
}
}
@@ -49,7 +50,8 @@
"dbPasswordUri": "",
"sslHostNameInCertificate": "xyz.domain.com",
"sslPreference": "ServerCertificate",
- "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sapSid": "SID"
}
}
}
@@ -71,7 +73,8 @@
"dbPasswordUri": "",
"sslHostNameInCertificate": "xyz.domain.com",
"sslPreference": "ServerCertificate",
- "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sapSid": "SID"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
index f304d6248683..aa0ce6a5c12f 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Create_Root_Certificate.json
@@ -17,7 +17,8 @@
"dbPassword": "****",
"dbPasswordUri": "",
"sslHostNameInCertificate": "xyz.domain.com",
- "sslPreference": "RootCertificate"
+ "sslPreference": "RootCertificate",
+ "sapSid": "SID"
}
}
}
@@ -47,7 +48,8 @@
"dbUsername": "user",
"dbPasswordUri": "",
"sslHostNameInCertificate": "xyz.domain.com",
- "sslPreference": "RootCertificate"
+ "sslPreference": "RootCertificate",
+ "sapSid": "SID"
}
}
}
@@ -68,7 +70,8 @@
"dbUsername": "user",
"dbPasswordUri": "",
"sslHostNameInCertificate": "xyz.domain.com",
- "sslPreference": "RootCertificate"
+ "sslPreference": "RootCertificate",
+ "sapSid": "SID"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
index 1294aac2fde4..4a520a0592a9 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Delete.json
@@ -19,9 +19,13 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2022-11-01-preview"
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview"
}
},
- "204": {}
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview"
+ }
+ }
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
index 2bfcde29b928..7383df8e8eff 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_Get.json
@@ -32,7 +32,8 @@
"dbPasswordUri": "",
"sslHostNameInCertificate": "xyz.domain.com",
"sslPreference": "ServerCertificate",
- "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sapSid": "SID"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
index 806906d19ac6..13615b765a2e 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/ProviderInstances_List.json
@@ -25,7 +25,8 @@
"dbPasswordUri": "",
"sslHostNameInCertificate": "xyz.domain.com",
"sslPreference": "ServerCertificate",
- "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename"
+ "sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
+ "sapSid": "SID"
}
}
},
@@ -79,7 +80,8 @@
"providerType": "PrometheusOS",
"prometheusUrl": "http://192.168.0.0:9090/metrics",
"sslCertificateUri": "https://storageaccount.blob.core.windows.net/containername/filename",
- "sslPreference": "ServerCertificate"
+ "sslPreference": "ServerCertificate",
+ "sapSid": "SID"
}
}
},
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Create.json
new file mode 100644
index 000000000000..a37003d47b17
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Create.json
@@ -0,0 +1,132 @@
+{
+ "parameters": {
+ "api-version": "2022-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "sapLandscapeMonitorParameter": {
+ "properties": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default",
+ "name": "default",
+ "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor",
+ "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": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default",
+ "name": "default",
+ "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor",
+ "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": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Delete.json
new file mode 100644
index 000000000000..af94a0c4f6a2
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2022-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Get.json
new file mode 100644
index 000000000000..553b8de2b407
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Get.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2022-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default",
+ "name": "default",
+ "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor",
+ "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": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_List.json
new file mode 100644
index 000000000000..c5ec10f729e5
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_List.json
@@ -0,0 +1,102 @@
+{
+ "parameters": {
+ "api-version": "2022-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default",
+ "name": "default",
+ "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor",
+ "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": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default",
+ "name": "default",
+ "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor",
+ "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": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Update.json
new file mode 100644
index 000000000000..7432bba8c2ce
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/SapLandscapeMonitor_Update.json
@@ -0,0 +1,87 @@
+{
+ "parameters": {
+ "api-version": "2022-11-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "monitorName": "mySapMonitor",
+ "sapLandscapeMonitorParameter": {
+ "properties": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Workloads/monitors/myMonitor/sapLandscapeMonitor/default",
+ "name": "default",
+ "type": "Microsoft.Workloads/monitors/sapLandscapeMonitor",
+ "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": {
+ "grouping": {
+ "landscape": [
+ {
+ "name": "Prod",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ],
+ "sapApplication": [
+ {
+ "name": "ERP1",
+ "topSid": [
+ "SID1",
+ "SID2"
+ ]
+ }
+ ]
+ },
+ "topMetricsThresholds": [
+ {
+ "name": "Instance Availability",
+ "green": 90,
+ "yellow": 75,
+ "red": 50
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
index f55f9462e68d..4c6f9333b7a9 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/workloadmonitor/monitors_Delete.json
@@ -18,9 +18,13 @@
},
"202": {
"headers": {
- "azure-AsyncOperation": "azure-async-operation"
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview"
}
},
- "204": {}
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://eastus2euap.management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Workloads/locations/NORTHEUROPE/operationStatuses/sample-op-status?api-version=2021-12-01-preview"
+ }
+ }
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
index aa6e6d848f24..c2e74272f090 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
@@ -570,6 +570,233 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/sapLandscapeMonitor/default": {
+ "get": {
+ "tags": [
+ "SapLandscapeMonitor"
+ ],
+ "operationId": "SapLandscapeMonitor_Get",
+ "summary": "Gets configuration values for Single Pane Of Glass for SAP monitor.",
+ "description": "Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Get properties of a SAP monitor": {
+ "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Get.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapLandscapeMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "SapLandscapeMonitor"
+ ],
+ "operationId": "SapLandscapeMonitor_Create",
+ "summary": "Creates a SAP Landscape Monitor Dashboard.",
+ "description": "Creates a SAP Landscape Monitor Dashboard for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Create for SAP Landscape monitor Dashboard": {
+ "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapLandscapeMonitorParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated SAP Landscape Monitor Dashboard.",
+ "schema": {
+ "$ref": "#/definitions/SapLandscapeMonitor"
+ }
+ },
+ "201": {
+ "description": "Creating SAP Landscape Monitor Dashboard",
+ "schema": {
+ "$ref": "#/definitions/SapLandscapeMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "SapLandscapeMonitor"
+ ],
+ "operationId": "SapLandscapeMonitor_Delete",
+ "summary": "Deletes a SAP Landscape Monitor Dashboard.",
+ "description": "Deletes a SAP Landscape Monitor Dashboard with the specified subscription, resource group, and SAP monitor name.",
+ "x-ms-examples": {
+ "Deletes SAP monitor": {
+ "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete SAP Landscape Monitor Dashboard"
+ },
+ "204": {
+ "description": "SAP Landscape Monitor Dashboard is already deleted or not found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "SapLandscapeMonitor"
+ ],
+ "operationId": "SapLandscapeMonitor_Update",
+ "summary": "Patches the SAP Landscape Monitor Dashboard.",
+ "description": "Patches the SAP Landscape Monitor Dashboard for the specified subscription, resource group, and SAP monitor name.",
+ "x-ms-examples": {
+ "Update SAP monitor": {
+ "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_Update.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapLandscapeMonitorParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapLandscapeMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/monitors/{monitorName}/sapLandscapeMonitor": {
+ "get": {
+ "tags": [
+ "SapLandscapeMonitor"
+ ],
+ "operationId": "SapLandscapeMonitor_List",
+ "summary": "Gets configuration values for Single Pane Of Glass for SAP monitor.",
+ "description": "Gets configuration values for Single Pane Of Glass for SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Get properties of a SAP monitor": {
+ "$ref": "./examples/workloadmonitor/SapLandscapeMonitor_List.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/monitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapLandscapeMonitorListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -968,10 +1195,6 @@
"description": "Gets or sets the key vault URI to secret with the database password.",
"type": "string"
},
- "dbSslCertificateUri": {
- "description": "Gets or sets the blob URI to SSL certificate for the DB.",
- "type": "string"
- },
"sslCertificateUri": {
"description": "Gets or sets the blob URI to SSL certificate for the DB.",
"type": "string"
@@ -982,6 +1205,10 @@
},
"sslPreference": {
"$ref": "#/definitions/SslPreference"
+ },
+ "sapSid": {
+ "description": "Gets or sets the SAP System Identifier.",
+ "type": "string"
}
},
"x-ms-discriminator-value": "SapHana"
@@ -1035,10 +1262,6 @@
"description": "Gets or sets the SAP HTTP port number.",
"type": "string"
},
- "sapSslCertificateUri": {
- "description": "Gets or sets the blob URI to SSL certificate for the SAP system.",
- "type": "string"
- },
"sslCertificateUri": {
"description": "Gets or sets the blob URI to SSL certificate for the SAP system.",
"type": "string"
@@ -1068,6 +1291,10 @@
"sslCertificateUri": {
"description": "Gets or sets the blob URI to SSL certificate for the prometheus node exporter.",
"type": "string"
+ },
+ "sapSid": {
+ "description": "Gets or sets the SAP System Identifier",
+ "type": "string"
}
},
"x-ms-discriminator-value": "PrometheusOS"
@@ -1253,6 +1480,140 @@
}
},
"description": "Describes the properties of a provider instance."
+ },
+ "SapLandscapeMonitorMetricThresholds": {
+ "description": "Gets or sets the Threshold Values for Top Metrics Health.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets or sets the name of the threshold.",
+ "type": "string"
+ },
+ "green": {
+ "description": "Gets or sets the threshold value for Green.",
+ "type": "number"
+ },
+ "yellow": {
+ "description": "Gets or sets the threshold value for Yellow.",
+ "type": "number"
+ },
+ "red": {
+ "description": "Gets or sets the threshold value for Red.",
+ "type": "number"
+ }
+ }
+ },
+ "SapLandscapeMonitorSidMapping": {
+ "description": "Gets or sets the mapping for SID to Environment/Applications.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Gets or sets the name of the grouping.",
+ "type": "string"
+ },
+ "topSid": {
+ "description": "Gets or sets the list of SID's.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "maxLength": 50
+ }
+ }
+ },
+ "SapLandscapeMonitorListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SapLandscapeMonitor"
+ },
+ "description": "The list of Sap Landscape Monitor configuration."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of SAP Landscape Monitor Dashboard."
+ }
+ },
+ "description": "The response from the List SAP Landscape Monitor Dashboard operation."
+ },
+ "SapLandscapeMonitor": {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SapLandscapeMonitorProperties",
+ "description": "Sap Landscape Monitor properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
+ }
+ ],
+ "description": "configuration associated with SAP Landscape Monitor Dashboard."
+ },
+ "SapLandscapeMonitorProperties": {
+ "description": "Gets or sets the properties for Sap Landscape Monitor Dashboard.",
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Created",
+ "Failed",
+ "Succeeded",
+ "Canceled"
+ ],
+ "x-ms-enum": {
+ "name": "SapLandscapeMonitorProvisioningState",
+ "modelAsString": true
+ },
+ "description": "State of provisioning of the SAP monitor."
+ },
+ "grouping": {
+ "description": "Gets or sets the SID groupings by landscape and Environment.",
+ "type": "object",
+ "properties": {
+ "landscape": {
+ "description": "Gets or sets the list of landscape to SID mappings.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SapLandscapeMonitorSidMapping"
+ },
+ "maxLength": 50,
+ "x-ms-identifiers": [
+ "name"
+ ]
+ },
+ "sapApplication": {
+ "description": "Gets or sets the list of Sap Applications to SID mappings.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SapLandscapeMonitorSidMapping"
+ },
+ "maxLength": 50,
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
+ },
+ "topMetricsThresholds": {
+ "description": "Gets or sets the list Top Metric Thresholds for SAP Landscape Monitor Dashboard",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SapLandscapeMonitorMetricThresholds"
+ },
+ "maxLength": 50,
+ "x-ms-identifiers": [
+ "name"
+ ]
+ }
+ }
}
},
"parameters": {
@@ -1291,6 +1652,16 @@
},
"description": "Request body representing a provider instance",
"x-ms-parameter-location": "method"
+ },
+ "SapLandscapeMonitorParameter": {
+ "name": "sapLandscapeMonitorParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SapLandscapeMonitor"
+ },
+ "description": "Request body representing a configuration for Sap Landscape Monitor Dashboard",
+ "x-ms-parameter-location": "method"
}
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
deleted file mode 100644
index 3266576ae09d..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
+++ /dev/null
@@ -1,1362 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2022-11-01-preview",
- "title": "Workloads Client",
- "description": "Workloads client provides access to various workload operations"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/phpWorkloads": {
- "get": {
- "tags": [
- "PhpWorkloads"
- ],
- "description": "Lists PHP workload resources for a subscription.",
- "operationId": "PhpWorkloads_ListBySubscription",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/phpWorkloadResourceList"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/PhpWorkloads_ListBySubscription.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads": {
- "get": {
- "tags": [
- "PhpWorkloads"
- ],
- "description": "Lists PHP workload resources in a resource group.",
- "operationId": "PhpWorkloads_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/phpWorkloadResourceList"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/PhpWorkloads_ListByResourceGroup.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads/{phpWorkloadName}": {
- "get": {
- "tags": [
- "PhpWorkloads"
- ],
- "description": "Gets the PHP workload resource.",
- "operationId": "PhpWorkloads_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/phpWorkloadResource"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/PhpWorkloads_Get.json"
- }
- }
- },
- "put": {
- "tags": [
- "PhpWorkloads"
- ],
- "description": "Create or updated PHP workload resource.",
- "operationId": "PhpWorkloads_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- },
- {
- "in": "body",
- "name": "phpWorkloadResource",
- "description": "Resource create or update request payload",
- "required": true,
- "schema": {
- "$ref": "#/definitions/phpWorkloadResource"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Resource created or updated successfully.",
- "schema": {
- "$ref": "#/definitions/phpWorkloadResource"
- }
- },
- "201": {
- "description": "Resource create or update started.",
- "schema": {
- "$ref": "#/definitions/phpWorkloadResource"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/PhpWorkloads_CreateOrUpdate.json"
- }
- }
- },
- "patch": {
- "tags": [
- "PhpWorkloads"
- ],
- "description": "Update PHP workload resource.",
- "operationId": "PhpWorkloads_Update",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- },
- {
- "in": "body",
- "name": "ResourcePatchRequestBody",
- "description": "Workload resource update data",
- "required": true,
- "schema": {
- "$ref": "#/definitions/PatchResourceRequestBody"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Resource updated.",
- "schema": {
- "$ref": "#/definitions/phpWorkloadResource"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/PhpWorkloads_Update.json"
- }
- }
- },
- "delete": {
- "tags": [
- "PhpWorkloads"
- ],
- "operationId": "PhpWorkloads_Delete",
- "description": "Delete PHP workload resource.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- },
- {
- "name": "delete-infra",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "Whether to delete infra along with workload resource.",
- "minLength": 1
- }
- ],
- "responses": {
- "200": {
- "description": "Resource deleted."
- },
- "202": {
- "description": "Resource deletion in progress."
- },
- "204": {
- "description": "Resource not found."
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "location"
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/PhpWorkloads_Delete.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads/{phpWorkloadName}/wordpressInstances": {
- "get": {
- "tags": [
- "WordpressInstances"
- ],
- "description": "Lists WordPress instance resources under a phpWorkload resource.",
- "operationId": "WordpressInstances_List",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/wordpressInstanceResourceList"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/WordpressInstances_List.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/phpWorkloads/{phpWorkloadName}/wordpressInstances/default": {
- "get": {
- "tags": [
- "WordpressInstances"
- ],
- "description": "Gets the WordPress instance resource.",
- "operationId": "WordpressInstances_Get",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/wordpressInstanceResource"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/WordpressInstances_Get.json"
- }
- }
- },
- "put": {
- "tags": [
- "WordpressInstances"
- ],
- "description": "Create or updated WordPress instance resource.",
- "operationId": "WordpressInstances_CreateOrUpdate",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- },
- {
- "in": "body",
- "name": "wordpressInstanceResource",
- "description": "Resource create or update request payload",
- "required": true,
- "schema": {
- "$ref": "#/definitions/wordpressInstanceResource"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Resource created or updated successfully",
- "schema": {
- "$ref": "#/definitions/wordpressInstanceResource"
- }
- },
- "201": {
- "description": "Resource create or update started.",
- "schema": {
- "$ref": "#/definitions/wordpressInstanceResource"
- }
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-long-running-operation": true,
- "x-ms-long-running-operation-options": {
- "final-state-via": "azure-async-operation"
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/WordpressInstances_CreateOrUpdate.json"
- }
- }
- },
- "delete": {
- "tags": [
- "WordpressInstances"
- ],
- "operationId": "WordpressInstances_Delete",
- "description": "Delete WordPress instance resource.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/PhpWorkloadNameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Resource deleted."
- },
- "204": {
- "description": "Resource not found."
- },
- "default": {
- "description": "Resource provider error response.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Workloads": {
- "$ref": "./examples/phpworkloads/WordpressInstances_Delete.json"
- }
- }
- }
- }
- },
- "definitions": {
- "phpWorkloadResourceList": {
- "description": "Php workload resource list",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of resources in current page",
- "type": "array",
- "items": {
- "$ref": "#/definitions/phpWorkloadResource"
- }
- },
- "nextLink": {
- "description": "Link to next page of resources",
- "type": "string"
- }
- }
- },
- "phpWorkloadResource": {
- "description": "Php workload resource",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Resource properties",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/phpWorkloadResourceProperties"
- },
- "kind": {
- "type": "string",
- "description": "Indicates which kind of php workload this resource represent e.g WordPress",
- "enum": [
- "WordPress"
- ],
- "x-ms-enum": {
- "modelAsString": true,
- "name": "WorkloadKind"
- },
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "sku": {
- "description": "Php workloads SKU",
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku"
- },
- "identity": {
- "description": "Identity for the resource. Currently not supported",
- "allOf": [
- {
- "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
- }
- ]
- }
- },
- "required": [
- "kind"
- ],
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
- }
- ]
- },
- "phpWorkloadResourceProperties": {
- "description": "PHP workload resource properties",
- "type": "object",
- "properties": {
- "appLocation": {
- "type": "string",
- "description": "The infra resources for PHP workload will be created in this location"
- },
- "managedResourceGroupConfiguration": {
- "description": "Managed resource group configuration of the workload",
- "$ref": "#/definitions/ManagedRGConfiguration"
- },
- "adminUserProfile": {
- "description": "Admin user profile used for VM and VMSS",
- "$ref": "#/definitions/userProfile"
- },
- "webNodesProfile": {
- "description": "VMSS web nodes profile",
- "$ref": "#/definitions/vmssNodesProfile"
- },
- "controllerProfile": {
- "description": "Controller VM profile",
- "$ref": "#/definitions/nodeProfile"
- },
- "networkProfile": {
- "description": "Network profile",
- "$ref": "#/definitions/networkProfile"
- },
- "databaseProfile": {
- "description": "Database profile",
- "$ref": "#/definitions/databaseProfile"
- },
- "siteProfile": {
- "description": "Site profile",
- "$ref": "#/definitions/siteProfile"
- },
- "fileshareProfile": {
- "description": "File share profile",
- "$ref": "#/definitions/fileshareProfile"
- },
- "phpProfile": {
- "description": "PHP profile",
- "$ref": "#/definitions/phpProfile"
- },
- "searchProfile": {
- "description": "Search profile",
- "$ref": "#/definitions/searchProfile"
- },
- "cacheProfile": {
- "description": "Cache profile",
- "$ref": "#/definitions/cacheProfile"
- },
- "backupProfile": {
- "description": "Backup profile",
- "$ref": "#/definitions/backupProfile"
- },
- "provisioningState": {
- "description": "Php workload resource provisioning state",
- "enum": [
- "NotSpecified",
- "Accepted",
- "Created",
- "Succeeded",
- "Failed",
- "Canceled",
- "Provisioning",
- "Deleting"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "PhpWorkloadProvisioningState",
- "modelAsString": true
- },
- "readOnly": true
- }
- },
- "required": [
- "appLocation",
- "adminUserProfile",
- "webNodesProfile",
- "controllerProfile",
- "databaseProfile"
- ]
- },
- "wordpressInstanceResourceList": {
- "description": "WordPress instance resource list",
- "type": "object",
- "properties": {
- "value": {
- "description": "List of resources in current page",
- "type": "array",
- "items": {
- "$ref": "#/definitions/wordpressInstanceResource"
- }
- },
- "nextLink": {
- "description": "Link to next page of resources",
- "type": "string"
- }
- }
- },
- "wordpressInstanceResource": {
- "description": "WordPress instance resource",
- "type": "object",
- "properties": {
- "properties": {
- "description": "Resource properties",
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/wordpressInstanceResourceProperties"
- }
- },
- "allOf": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
- }
- ]
- },
- "wordpressInstanceResourceProperties": {
- "type": "object",
- "description": "WordPress instance properties",
- "properties": {
- "version": {
- "type": "string",
- "description": "Application version",
- "enum": [
- "5.4.3",
- "5.4.2",
- "5.4.1",
- "5.4"
- ],
- "x-ms-enum": {
- "name": "WordpressVersions",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "databaseName": {
- "type": "string",
- "description": "Database name used by the application",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "databaseUser": {
- "type": "string",
- "description": "User name used by the application to connect to database",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "siteUrl": {
- "type": "string",
- "description": "Site Url to access the WordPress application",
- "readOnly": true
- },
- "provisioningState": {
- "description": "WordPress instance provisioning state",
- "enum": [
- "NotSpecified",
- "Accepted",
- "Created",
- "Succeeded",
- "Failed",
- "Canceled",
- "Installing"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "ApplicationProvisioningState",
- "modelAsString": true
- },
- "readOnly": true
- }
- },
- "required": [
- "version"
- ]
- },
- "userProfile": {
- "type": "object",
- "description": "User profile to configure on a compute resources such as VM, VMSS",
- "properties": {
- "userName": {
- "type": "string",
- "description": "User name"
- },
- "sshPublicKey": {
- "type": "string",
- "description": "SSH public key data"
- }
- },
- "x-ms-mutability": [
- "create",
- "read"
- ],
- "required": [
- "userName",
- "sshPublicKey"
- ]
- },
- "vmssNodesProfile": {
- "type": "object",
- "description": "VMSS profile",
- "properties": {
- "autoScaleMinCount": {
- "type": "integer",
- "format": "int32",
- "description": "Minimum number of nodes for autoscale",
- "minimum": 1
- },
- "autoScaleMaxCount": {
- "type": "integer",
- "format": "int32",
- "description": "Maximum number of nodes for autoscale",
- "minimum": 1
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/nodeProfile"
- }
- ]
- },
- "nodeProfile": {
- "type": "object",
- "description": "VM or VMSS node profile",
- "properties": {
- "name": {
- "type": "string",
- "description": "VM or VMSS name"
- },
- "nodeSku": {
- "type": "string",
- "description": "VM SKU for node(s)"
- },
- "osImage": {
- "description": "OS image used for creating the nodes",
- "$ref": "#/definitions/osImageProfile",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "osDisk": {
- "description": "OS disk details",
- "$ref": "#/definitions/diskInfo"
- },
- "dataDisks": {
- "description": "Data disks details. This property is not in use right now",
- "type": "array",
- "items": {
- "$ref": "#/definitions/diskInfo"
- },
- "x-ms-identifiers": []
- },
- "nodeResourceIds": {
- "description": "VM/VMSS resource ARM Ids",
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true
- }
- },
- "required": [
- "nodeSku",
- "osImage",
- "osDisk"
- ]
- },
- "diskInfo": {
- "type": "object",
- "description": "Disk resource creation details",
- "properties": {
- "storageType": {
- "description": "Storage type",
- "type": "string",
- "enum": [
- "Premium_LRS",
- "Standard_LRS",
- "StandardSSD_LRS"
- ],
- "x-ms-enum": {
- "name": "DiskStorageType",
- "modelAsString": false
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "sizeInGB": {
- "type": "integer",
- "format": "int64",
- "description": "Disk size in GB"
- }
- },
- "required": [
- "storageType"
- ]
- },
- "osImageProfile": {
- "type": "object",
- "description": "OS image profile",
- "properties": {
- "publisher": {
- "description": "OS image publisher",
- "type": "string",
- "enum": [
- "Canonical"
- ],
- "x-ms-enum": {
- "name": "OSImagePublisher",
- "modelAsString": true
- }
- },
- "offer": {
- "description": "OS image offer",
- "type": "string",
- "enum": [
- "UbuntuServer"
- ],
- "x-ms-enum": {
- "name": "OSImageOffer",
- "modelAsString": true
- }
- },
- "sku": {
- "description": "OS image sku",
- "type": "string",
- "enum": [
- "18.04-LTS",
- "16.04-LTS"
- ],
- "x-ms-enum": {
- "name": "OSImageSku",
- "modelAsString": true
- }
- },
- "version": {
- "description": "OS image version",
- "type": "string",
- "enum": [
- "latest"
- ],
- "x-ms-enum": {
- "name": "OSImageVersion",
- "modelAsString": true
- }
- }
- }
- },
- "networkProfile": {
- "type": "object",
- "description": "Network profile",
- "properties": {
- "loadBalancerType": {
- "type": "string",
- "description": "Load balancer type",
- "enum": [
- "ApplicationGateway",
- "LoadBalancer"
- ],
- "x-ms-enum": {
- "name": "LoadBalancerType",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "loadBalancerSku": {
- "type": "string",
- "description": "Load balancer SKU"
- },
- "loadBalancerTier": {
- "type": "string",
- "description": "Load balancer tier"
- },
- "capacity": {
- "type": "integer",
- "format": "int32",
- "description": "Capacity, applicable only for Application Gateway"
- },
- "azureFrontDoorEnabled": {
- "type": "string",
- "description": "Whether to enable Azure front door",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "AzureFrontDoorEnabled",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "vNetResourceId": {
- "description": "Virtual network resource Id",
- "type": "string",
- "readOnly": true
- },
- "loadBalancerResourceId": {
- "description": "Azure Loadbalancer or ApplicationGateway resource Id",
- "type": "string",
- "readOnly": true
- },
- "azureFrontDoorResourceId": {
- "description": "Azure front door resource id",
- "type": "string",
- "readOnly": true
- },
- "frontEndPublicIpResourceId": {
- "description": "Loadbalancer front-end IP address resource Id",
- "type": "string",
- "readOnly": true
- },
- "outboundPublicIpResourceIds": {
- "description": "List of outbound public IP resource IDs",
- "type": "array",
- "items": {
- "type": "string"
- },
- "readOnly": true
- }
- },
- "required": [
- "loadBalancerType"
- ]
- },
- "databaseProfile": {
- "type": "object",
- "description": "Workload database profile",
- "properties": {
- "type": {
- "description": "Database type",
- "type": "string",
- "enum": [
- "MySql"
- ],
- "x-ms-enum": {
- "name": "DatabaseType",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "serverName": {
- "type": "string",
- "description": "Database server name",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "version": {
- "type": "string",
- "description": "Database version"
- },
- "sku": {
- "type": "string",
- "description": "The name of the server SKU, e.g. Standard_D32s_v4"
- },
- "tier": {
- "type": "string",
- "description": "Tier of the server SKU",
- "enum": [
- "Burstable",
- "GeneralPurpose",
- "MemoryOptimized"
- ],
- "x-ms-enum": {
- "name": "DatabaseTier",
- "modelAsString": false
- }
- },
- "haEnabled": {
- "type": "string",
- "description": "Whether to enable HA for the server",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "HAEnabled",
- "modelAsString": true
- }
- },
- "storageSku": {
- "type": "string",
- "description": "SKU name for database storage"
- },
- "storageInGB": {
- "type": "integer",
- "format": "int64",
- "description": "Database storage size in GB",
- "minimum": 1
- },
- "storageIops": {
- "type": "integer",
- "format": "int64",
- "description": "Storage IOPS for the server"
- },
- "backupRetentionDays": {
- "type": "integer",
- "format": "int32",
- "description": "Backup retention days for the server"
- },
- "sslEnforcementEnabled": {
- "type": "string",
- "description": "Whether to enable SSL enforcement on the database",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "EnableSslEnforcement",
- "modelAsString": true
- }
- },
- "serverResourceId": {
- "description": "Azure Database Server resource Id",
- "type": "string",
- "readOnly": true
- }
- },
- "required": [
- "type",
- "sku",
- "tier"
- ]
- },
- "siteProfile": {
- "type": "object",
- "description": "Workload website profile",
- "properties": {
- "domainName": {
- "type": "string",
- "description": "Domain name for the application site URL",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- }
- }
- },
- "fileshareProfile": {
- "type": "object",
- "description": "File share profile",
- "properties": {
- "shareType": {
- "description": "Share type",
- "type": "string",
- "enum": [
- "NfsOnController",
- "AzureFiles"
- ],
- "x-ms-enum": {
- "name": "FileShareType",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "storageType": {
- "description": "File share backing storage type",
- "type": "string",
- "enum": [
- "Standard_LRS",
- "Standard_GRS",
- "Standard_ZRS",
- "Premium_LRS"
- ],
- "x-ms-enum": {
- "name": "FileShareStorageType",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "shareSizeInGB": {
- "type": "integer",
- "format": "int64",
- "description": "File share size in GB",
- "minimum": 1
- },
- "storageResourceId": {
- "type": "string",
- "description": "File share storage resource id",
- "readOnly": true
- },
- "shareName": {
- "type": "string",
- "description": "File share name",
- "readOnly": true
- }
- },
- "required": [
- "shareType",
- "storageType"
- ]
- },
- "phpProfile": {
- "type": "object",
- "description": "PHP profile",
- "properties": {
- "version": {
- "type": "string",
- "description": "PHP version",
- "enum": [
- "7.2",
- "7.3",
- "7.4"
- ],
- "x-ms-enum": {
- "name": "PHPVersion",
- "modelAsString": true
- }
- }
- },
- "required": [
- "version"
- ]
- },
- "searchProfile": {
- "type": "object",
- "description": "Search profile",
- "properties": {
- "searchType": {
- "description": "Search type",
- "type": "string",
- "enum": [
- "Elastic"
- ],
- "x-ms-enum": {
- "name": "SearchType",
- "modelAsString": true
- }
- }
- },
- "allOf": [
- {
- "$ref": "#/definitions/nodeProfile"
- }
- ],
- "required": [
- "searchType"
- ]
- },
- "cacheProfile": {
- "type": "object",
- "description": "Cache profile",
- "properties": {
- "name": {
- "description": "Cache name",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "skuName": {
- "description": "Cache SKU name",
- "type": "string",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "family": {
- "description": "Cache family",
- "type": "string",
- "enum": [
- "C",
- "P"
- ],
- "x-ms-enum": {
- "name": "RedisCacheFamily",
- "modelAsString": true
- },
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "capacity": {
- "type": "integer",
- "format": "int64",
- "description": "Cache capacity",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "cacheResourceId": {
- "description": "Cache resource Id",
- "type": "string",
- "readOnly": true
- }
- },
- "required": [
- "skuName",
- "family",
- "capacity"
- ]
- },
- "backupProfile": {
- "type": "object",
- "description": "Backup profile",
- "properties": {
- "backupEnabled": {
- "type": "string",
- "description": "Whether to enable Azure backup for the workload",
- "enum": [
- "Enabled",
- "Disabled"
- ],
- "x-ms-enum": {
- "name": "EnableBackup",
- "modelAsString": true
- }
- },
- "vaultResourceId": {
- "description": "Backup vault resource Id",
- "type": "string",
- "readOnly": true
- }
- },
- "required": [
- "backupEnabled"
- ]
- },
- "ManagedRGConfiguration": {
- "type": "object",
- "description": "Managed resource group configuration",
- "properties": {
- "name": {
- "type": "string",
- "description": "Managed resource group name"
- }
- }
- },
- "PatchResourceRequestBody": {
- "description": "Resource patch request body",
- "type": "object",
- "properties": {
- "tags": {
- "description": "Resource tags",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "identity": {
- "allOf": [
- {
- "$ref": "./commonTypes.json#/definitions/UserAssignedServiceIdentity"
- }
- ]
- }
- }
- }
- },
- "parameters": {
- "PhpWorkloadNameParameter": {
- "in": "path",
- "name": "phpWorkloadName",
- "description": "Php workload name",
- "required": true,
- "x-ms-parameter-location": "method",
- "type": "string"
- }
- }
-}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
deleted file mode 100644
index f10369e482ec..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/skus.json
+++ /dev/null
@@ -1,377 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2022-11-01-preview",
- "title": "Workloads Client",
- "description": "Workloads client provides access to various workload skus"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- },
- "paths": {
- "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/skus": {
- "get": {
- "tags": [
- "Skus"
- ],
- "description": "Lists all the available SKUs under this PR",
- "operationId": "Skus_List",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Success",
- "schema": {
- "$ref": "#/definitions/SkusListResult"
- }
- },
- "default": {
- "description": "Resource provider error response about the failure.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-examples": {
- "Skus": {
- "$ref": "./examples/Skus_List.json"
- }
- }
- }
- }
- },
- "definitions": {
- "RestrictionInfo": {
- "description": "The SKU restriction information.",
- "type": "object",
- "properties": {
- "locations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The restriction locations."
- },
- "zones": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The restriction zones."
- }
- }
- },
- "SkuRestriction": {
- "description": "The SKU restriction definition.",
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "Location",
- "Zone"
- ],
- "x-ms-enum": {
- "name": "SkuRestrictionType",
- "modelAsString": true
- },
- "description": "The SKU restriction type."
- },
- "values": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "Restriction values."
- },
- "restrictionInfo": {
- "description": "The restriction information.",
- "type": "object",
- "items": {
- "$ref": "#/definitions/RestrictionInfo"
- }
- },
- "reasonCode": {
- "type": "string",
- "enum": [
- "NotSpecified",
- "QuotaId",
- "NotAvailableForSubscription"
- ],
- "x-ms-enum": {
- "name": "SkuRestrictionReasonCode",
- "modelAsString": true
- },
- "description": "The SKU restriction reason code."
- }
- }
- },
- "SkuCost": {
- "description": "The SKU cost definition.",
- "type": "object",
- "properties": {
- "meterId": {
- "type": "string",
- "description": "Billing meter id."
- },
- "quantity": {
- "type": "integer",
- "format": "int32",
- "description": "The quantity."
- },
- "extendedUnit": {
- "type": "string",
- "description": "The extended unit."
- }
- }
- },
- "SkuCapacity": {
- "description": "The SKU capacity.",
- "type": "object",
- "properties": {
- "minimum": {
- "type": "integer",
- "format": "int32",
- "description": "Minimum capacity value."
- },
- "maximum": {
- "type": "integer",
- "format": "int32",
- "description": "Maximum capacity value."
- },
- "default": {
- "type": "integer",
- "format": "int32",
- "description": "Default capacity value."
- },
- "scaleType": {
- "type": "string",
- "enum": [
- "None",
- "Manual",
- "Automatic"
- ],
- "x-ms-enum": {
- "name": "SkuScaleType",
- "modelAsString": true
- },
- "description": "Scale type of the SKU capacity."
- }
- }
- },
- "SkuCapability": {
- "description": "The SKU capability definition.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The capability name."
- },
- "value": {
- "type": "string",
- "description": "The capability value."
- }
- }
- },
- "SkuZoneDetail": {
- "description": "The SKU zone details.",
- "type": "object",
- "properties": {
- "zones": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The physical zones."
- },
- "capabilities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SkuCapability"
- },
- "description": "The capabilities.",
- "x-ms-identifiers": []
- }
- }
- },
- "SkuLocationAndZones": {
- "description": "The SKU location and zone.",
- "type": "object",
- "properties": {
- "location": {
- "type": "string",
- "description": "The location of the SKU."
- },
- "zones": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The availability zones of SKU location."
- },
- "zoneDetails": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SkuZoneDetail"
- },
- "description": "The availability zone details of the SKU location.",
- "x-ms-identifiers": []
- },
- "extendedLocations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "The extended locations of SKU."
- },
- "type": {
- "type": "string",
- "enum": [
- "Region",
- "EdgeZone"
- ],
- "x-ms-enum": {
- "name": "LocationType",
- "modelAsString": true
- },
- "description": "Type of the extended location."
- }
- }
- },
- "SkuDefinition": {
- "description": "The SKU definition.",
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "The name of the SKU."
- },
- "resourceType": {
- "type": "string",
- "description": "Resource type the SKU applicable for."
- },
- "tier": {
- "type": "string",
- "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT."
- },
- "size": {
- "type": "string",
- "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
- },
- "family": {
- "type": "string",
- "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
- },
- "kind": {
- "type": "string",
- "description": "If the service has different kinds of hardware, for the same SKU, then that can be captured here."
- },
- "locations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "List of locations where this SKU is available."
- },
- "locationInfo": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SkuLocationAndZones"
- },
- "description": "List of locations where this SKU is available.",
- "x-ms-identifiers": []
- },
- "capacity": {
- "type": "object",
- "items": {
- "$ref": "#/definitions/SkuCapacity"
- },
- "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
- },
- "costs": {
- "description": "The SKU costs.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/SkuCost"
- },
- "x-ms-identifiers": []
- },
- "capabilities": {
- "description": "The SKU capabilities.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/SkuCapability"
- },
- "x-ms-identifiers": []
- },
- "restrictions": {
- "description": "The SKU restrictions.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/SkuRestriction"
- },
- "x-ms-identifiers": []
- }
- },
- "required": [
- "name"
- ]
- },
- "SkusListResult": {
- "description": "A list of SKUs supported by an Azure Resource Provider.",
- "type": "object",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SkuDefinition"
- },
- "description": "List of SKUs supported by the resource provider",
- "readOnly": true,
- "x-ms-identifiers": []
- },
- "nextLink": {
- "type": "string",
- "description": "URL to get the next set of SKU list results (if there are any).",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {}
-}
From f445e286a3f6e72841042f40a605575c42434101 Mon Sep 17 00:00:00 2001
From: gargankit
Date: Tue, 17 Jan 2023 13:58:55 +0530
Subject: [PATCH 5/7] updated SDK generations in readme files
---
.../workloads/resource-manager/readme.go.md | 12 +++++++++++-
specification/workloads/resource-manager/readme.md | 2 --
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/specification/workloads/resource-manager/readme.go.md b/specification/workloads/resource-manager/readme.go.md
index be4f3b677b66..4fd87037bcb3 100644
--- a/specification/workloads/resource-manager/readme.go.md
+++ b/specification/workloads/resource-manager/readme.go.md
@@ -22,6 +22,7 @@ output-folder: $(go-sdk-folder)/$(module-name)
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2021-12-01-preview
+ - tag: package-preview-2022-11
```
### Tag: package-2021-12-01-preview and go
@@ -31,4 +32,13 @@ Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-preview-2022-11' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-11-01-preview/$(namespace)
+```
diff --git a/specification/workloads/resource-manager/readme.md b/specification/workloads/resource-manager/readme.md
index 5f031411ac99..ed6e32d3d712 100644
--- a/specification/workloads/resource-manager/readme.md
+++ b/specification/workloads/resource-manager/readme.md
@@ -41,8 +41,6 @@ input-file:
- Microsoft.Workloads/preview/2022-11-01-preview/commonTypes.json
- Microsoft.Workloads/preview/2022-11-01-preview/monitors.json
- Microsoft.Workloads/preview/2022-11-01-preview/operations.json
- - Microsoft.Workloads/preview/2022-11-01-preview/phpWorkloads.json
- - Microsoft.Workloads/preview/2022-11-01-preview/skus.json
```
### Tag: package-2021-12-01-preview
From 22ea1cc0bc6535141ae9d8a6f5aa622a015c20d8 Mon Sep 17 00:00:00 2001
From: gargankit
Date: Fri, 20 Jan 2023 16:49:06 +0530
Subject: [PATCH 6/7] Removed changes from
https://github.com/Azure/azure-rest-api-specs-pr/pull/9570
---
.../SAPVirtualInstance.json | 106 ------------------
...PVirtualInstance_LastOperationDetails.json | 34 ------
2 files changed, 140 deletions(-)
delete mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
index 750e879a6a01..1e2c7d630ff0 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
@@ -1437,56 +1437,6 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/lastOperationDetails": {
- "post": {
- "tags": [
- "LastOperations"
- ],
- "operationId": "SAPVirtualInstance_LastOperationDetails",
- "x-ms-examples": {
- "SAPVirtualInstance_LastOperationDetails": {
- "$ref": "./examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json"
- }
- },
- "description": "Gets the last operation details of the VIS. Request body contains the list of operations whose details need to be fetched.",
- "parameters": [
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SAPVirtualInstanceNameParameter"
- },
- {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
- },
- {
- "name": "LastOperationDetailsRequest",
- "description": "Get Last Operation Details Request body",
- "in": "body",
- "schema": {
- "$ref": "#/definitions/LastOperationDetailsRequest"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/LastOperationDetailsResult"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
- }
- }
- }
- }
- },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start": {
"post": {
"tags": [
@@ -2663,62 +2613,6 @@
"dbVmSku"
]
},
- "LastOperationDetailsRequest": {
- "description": "The SAP request to get list of last operation details.",
- "type": "object",
- "properties": {
- "operationName": {
- "type": "array",
- "items": {
- "description": "Name of the operation whose last operation details is needed",
- "type": "string"
- },
- "description": "List of operation names whose last operation data is needed."
- }
- },
- "required": [
- "operationName"
- ]
- },
- "LastOperationDetailsResult": {
- "description": "The result for last operation details.",
- "type": "object",
- "properties": {
- "lastOperations": {
- "x-ms-identifiers": [],
- "type": "array",
- "items": {
- "$ref": "#/definitions/LastOperationObject"
- }
- }
- }
- },
- "LastOperationObject": {
- "description": "Definition of the LastOperation object that is returned as an array item in the lastOperationObject endpoint's response.",
- "type": "object",
- "properties": {
- "name": {
- "description": "Name of the operation. Corresponds to the name of the workflow run by the service.",
- "type": "string"
- },
- "activityID": {
- "description": "Activity ID / Correlation ID of the operation.",
- "type": "string"
- },
- "trackingURL": {
- "description": "Tracking URL to get the operation status associated with this operation.",
- "type": "string"
- },
- "progressDetails": {
- "description": "Represents upto what step the operation has executed.",
- "type": "string"
- },
- "state": {
- "description": "Shows the current state of the operation.",
- "type": "string"
- }
- }
- },
"DiskDetails": {
"description": "The supported disk size details for a disk type.",
"type": "object",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json
deleted file mode 100644
index 783ac503d6aa..000000000000
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstance_LastOperationDetails.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "parameters": {
- "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
- "resourceGroupName": "rg-lastops",
- "sapVirtualInstanceName": "S01",
- "api-version": "2022-11-01-preview",
- "body": {
- "operationName": [
- "InstallWorkload",
- "CreateInfrastructure"
- ]
- }
- },
- "responses": {
- "200": {
- "body": {
- "lastOperations": [
- {
- "name": "InstallWorkload",
- "trackingURL": "TrackingURL",
- "activityID": "4eee25c8-8381-424f-bc19-b787ca6f2c18",
- "state": "Succeeded",
- "progressDetails": "Succeeded"
- },
- {
- "name": "CreateInfrastructure",
- "trackingURL": "TrackingURL",
- "activityID": "7eae2ac0-8321-c24c-bc1c-be17c1652c18"
- }
- ]
- }
- }
- }
-}
From eb8c8d5b04de42d2a1b8123af8cb4dcf292e4edd Mon Sep 17 00:00:00 2001
From: Ajay Gupta
Date: Mon, 30 Jan 2023 14:38:13 +0530
Subject: [PATCH 7/7] Added field managedRgStorageAccountName for customer to
specify the name of the storage account that will be created as part of VIS
registration.
---
.../SAPVirtualInstance.json | 9 ++
..._Discover_CustomMrgStorageAccountName.json | 91 +++++++++++++++++++
2 files changed, 100 insertions(+)
create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
index 1e2c7d630ff0..61ebd7fe0260 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/SAPVirtualInstance.json
@@ -263,6 +263,9 @@
"Register existing SAP system as Virtual Instance for SAP solutions.": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover.json"
},
+ "Register existing SAP system as Virtual Instance for SAP solutions with optional customizations.": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json"
+ },
"Create Infrastructure with OS configuration for Single Server System (Recommended)": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_WithOSConfig_SingleServer.json"
},
@@ -3466,6 +3469,12 @@
"type": "string",
"description": "The virtual machine ID of the Central Server."
},
+ "managedRgStorageAccountName": {
+ "type": "string",
+ "description": "The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.
Refer to the storage account naming rules [here](https://learn.microsoft.com/azure/azure-resource-manager/management/resource-name-rules#microsoftstorage).
If not provided, the service will create the storage account with a random name.",
+ "minLength": 3,
+ "maxLength": 24
+ },
"appLocation": {
"type": "string",
"readOnly": true,
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json
new file mode 100644
index 000000000000..01dab167dadd
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2022-11-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Discover_CustomMrgStorageAccountName.json
@@ -0,0 +1,91 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2022-11-01-preview",
+ "body": {
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "Discovery",
+ "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
+ "managedRgStorageAccountName": "q20saacssgrs"
+ }
+ },
+ "location": "northeurope",
+ "tags": {
+ "test": "abc",
+ "createdby": "abc@microsoft.com"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20",
+ "name": "Q20",
+ "type": "microsoft.workloads/sapvirtualinstances",
+ "location": "northeurope",
+ "systemData": {
+ "createdBy": "abc@microsoft.com",
+ "createdByType": "User",
+ "createdAt": "2022-07-27T08:22:52.3318907Z",
+ "lastModifiedBy": "abc@microsoft.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-07-27T11:44:17.9310503Z"
+ },
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "Discovery",
+ "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0",
+ "managedRgStorageAccountName": "q20saacssgrs",
+ "appLocation": "westeurope"
+ },
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded",
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-Q20-5b0097"
+ },
+ "status": "Running",
+ "health": "Healthy"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20",
+ "name": "Q20",
+ "type": "microsoft.workloads/sapvirtualinstances",
+ "location": "northeurope",
+ "systemData": {
+ "createdBy": "abc@microsoft.com",
+ "createdByType": "User",
+ "createdAt": "2022-07-27T08:22:52.3318907Z",
+ "lastModifiedBy": "abc@microsoft.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2022-07-27T11:44:17.9310503Z"
+ },
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "Discovery",
+ "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0",
+ "managedRgStorageAccountName": "q20saacssgrs"
+ },
+ "state": "RegistrationComplete",
+ "provisioningState": "Succeeded",
+ "managedResourceGroupConfiguration": {
+ "name": "mrg-Q20-5b0097"
+ },
+ "status": "Running",
+ "health": "Healthy"
+ }
+ }
+ }
+ }
+}