From b7a81b9f8e3a7724b29f994f9d68153b48149703 Mon Sep 17 00:00:00 2001 From: Jaskirat Singh <108129510+jaskisin@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:16:30 +0530 Subject: [PATCH] Workloads SAPVirtualInstance New GA API 2024-09-01 (#30292) * 2024-09-01 API Changes * Update detection model recommendation (#30272) * Adding Stable version for Operations and Readme file changes * add sdk-suppressions.yaml * remove supression to check errors * Revert "remove supression to check errors" This reverts commit 1475d611466a806552137b621105d1eac18ab2ac. --------- Co-authored-by: Jaskirat Singh Co-authored-by: Han Chiang Co-authored-by: Alancere <804873052@qq.com> --- .../examples/2024-09-01/Operations_List.json | 1105 ++++ .../Workloads.Operations.Management/main.tsp | 8 + .../SAPApplicationServerInstance.tsp | 91 + .../SAPCentralServerInstance.tsp | 91 + .../SAPDatabaseInstance.tsp | 90 + .../SAPVirtualInstance.tsp | 129 + .../SAPVirtualInstanceMetadata.tsp | 23 + .../custom.tsp | 36 + .../SapApplicationServerInstances_Create.json | 95 + ...tances_CreateForHaWithAvailabilitySet.json | 130 + .../SapApplicationServerInstances_Delete.json | 23 + .../SapApplicationServerInstances_Get.json | 52 + ...verInstances_ListBySapVirtualInstance.json | 92 + ...licationServerInstances_StartInstance.json | 29 + ...cationServerInstances_StartInstanceVM.json | 31 + ...plicationServerInstances_StopInstance.json | 31 + ...rInstances_StopInstanceInfrastructure.json | 32 + ...ationServerInstances_StopInstanceSoft.json | 31 + ...tances_StopInstanceSoftInfrastructure.json | 32 + .../SapApplicationServerInstances_Update.json | 57 + .../SapCentralInstances_Create.json | 140 + ...tances_CreateForHaWithAvailabilitySet.json | 174 + .../SapCentralInstances_Delete.json | 23 + .../2024-09-01/SapCentralInstances_Get.json | 74 + .../SapCentralInstances_StartInstance.json | 29 + .../SapCentralInstances_StartInstanceVM.json | 31 + .../SapCentralInstances_StopInstance.json | 31 + .../SapCentralInstances_StopInstanceVM.json | 31 + .../SapCentralInstances_Update.json | 79 + ...verInstances_ListBySapVirtualInstance.json | 77 + .../SapDatabaseInstances_Create.json | 80 + ...tances_CreateForHaWithAvailabilitySet.json | 96 + .../SapDatabaseInstances_Delete.json | 23 + .../2024-09-01/SapDatabaseInstances_Get.json | 36 + .../2024-09-01/SapDatabaseInstances_List.json | 47 + .../SapDatabaseInstances_StartInstance.json | 29 + .../SapDatabaseInstances_StartInstanceVM.json | 31 + .../SapDatabaseInstances_StopInstance.json | 31 + ...SapDatabaseInstances_StopInstanceSoft.json | 31 + ...pDatabaseInstances_StopInstanceSoftVM.json | 32 + .../SapDatabaseInstances_StopInstanceVM.json | 32 + .../SapDatabaseInstances_Update.json | 49 + .../SapVirtualInstances_CreateDetectDS.json | 336 ++ ...stances_CreateDetectHaAvailabilitySet.json | 333 ++ ...tances_CreateDetectHaAvailabilityZone.json | 333 ++ ...ualInstances_CreateDetectSingleServer.json | 184 + .../SapVirtualInstances_CreateInfraDS.json | 340 ++ ...tances_CreateInfraDiskOsDSRecommended.json | 454 ++ ...fraDiskOsHaAvailabilitySetRecommended.json | 463 ++ ...raDiskOsHaAvailabilityZoneRecommended.json | 463 ++ ...ateInfraDiskOsSingleServerRecommended.json | 314 + ...nstances_CreateInfraHaAvailabilitySet.json | 349 ++ ...stances_CreateInfraHaAvailabilityZone.json | 349 ++ ...nces_CreateInfraOsComputeGalleryImage.json | 322 + ...es_CreateInfraOsCustomResourceNamesDS.json | 595 ++ ...sCustomResourceNamesHaAvailabilitySet.json | 787 +++ ...CustomResourceNamesHaAvailabilityZone.json | 778 +++ ...nfraOsCustomResourceNamesSingleServer.json | 238 + ...lInstances_CreateInfraOsDSRecommended.json | 316 + ...teInfraOsHaAvailabilitySetRecommended.json | 325 ++ ...eInfraOsHaAvailabilityZoneRecommended.json | 325 ++ ..._CreateInfraOsSIngleServerRecommended.json | 176 + ...tualInstances_CreateInfraSingleServer.json | 172 + ...nces_CreateInfraWithExistingFileshare.json | 337 ++ ...Instances_CreateInfraWithNewFileshare.json | 337 ++ ...tances_CreateInfraWithOsTrustedAccess.json | 319 + ...Instances_CreateInfraWithoutFileshare.json | 331 ++ .../SapVirtualInstances_CreateInstallDS.json | 342 ++ ...alInstances_CreateInstallSingleServer.json | 286 + ...lInstances_CreateRegisterSapSolutions.json | 91 + ...nces_CreateRegisterSapSolutionsCustom.json | 93 + ...ances_CreateRegisterWithTrustedAccess.json | 94 + .../SapVirtualInstances_Delete.json | 22 + .../2024-09-01/SapVirtualInstances_Get.json | 137 + ...lInstances_GetAcssInstallationBlocked.json | 128 + ...ces_GetAvailabilityZoneDetails_eastus.json | 26 + ...etAvailabilityZoneDetails_northeurope.json | 26 + ...stances_GetDiskConfigurations_NonProd.json | 399 ++ ...lInstances_GetDiskConfigurations_Prod.json | 256 + ...tances_GetSapSupportedSku_Distributed.json | 114 + ...etSapSupportedSku_DistributedHA_AvSet.json | 115 + ...tSapSupportedSku_DistributedHA_AvZone.json | 95 + ...ances_GetSapSupportedSku_SingleServer.json | 44 + ...ingRecommendations_S4HANA_Distributed.json | 32 + ...SizingRecommendations_S4HANA_HA_AvSet.json | 33 + ...izingRecommendations_S4HANA_HA_AvZone.json | 33 + ...ngRecommendations_S4HANA_SingleServer.json | 27 + ...pVirtualInstances_ListByResourceGroup.json | 236 + ...apVirtualInstances_ListBySubscription.json | 235 + .../SapVirtualInstances_SoftStop.json | 30 + ...pVirtualInstances_SoftStopVMAndSystem.json | 31 + .../2024-09-01/SapVirtualInstances_Start.json | 30 + ...ualInstances_StartWithInfraOperations.json | 30 + .../2024-09-01/SapVirtualInstances_Stop.json | 30 + .../SapVirtualInstances_StopVMAndSystem.json | 31 + .../SapVirtualInstances_Update.json | 62 + ...pVirtualInstances_UpdateTrustedAccess.json | 65 + .../main.tsp | 44 + .../models.tsp | 2492 ++++++++ .../tspconfig.yaml | 16 + .../SAPVirtualInstance/readme.md | 25 +- .../SAPVirtualInstance/sdk-suppressions.yaml | 59 + .../stable/2024-09-01/SAPVirtualInstance.json | 5163 +++++++++++++++++ .../SapApplicationServerInstances_Create.json | 95 + ...tances_CreateForHaWithAvailabilitySet.json | 130 + .../SapApplicationServerInstances_Delete.json | 23 + .../SapApplicationServerInstances_Get.json | 52 + ...verInstances_ListBySapVirtualInstance.json | 92 + ...licationServerInstances_StartInstance.json | 29 + ...cationServerInstances_StartInstanceVM.json | 31 + ...plicationServerInstances_StopInstance.json | 31 + ...rInstances_StopInstanceInfrastructure.json | 32 + ...ationServerInstances_StopInstanceSoft.json | 31 + ...tances_StopInstanceSoftInfrastructure.json | 32 + .../SapApplicationServerInstances_Update.json | 57 + .../examples/SapCentralInstances_Create.json | 140 + ...tances_CreateForHaWithAvailabilitySet.json | 174 + .../examples/SapCentralInstances_Delete.json | 23 + .../examples/SapCentralInstances_Get.json | 74 + .../SapCentralInstances_StartInstance.json | 29 + .../SapCentralInstances_StartInstanceVM.json | 31 + .../SapCentralInstances_StopInstance.json | 31 + .../SapCentralInstances_StopInstanceVM.json | 31 + .../examples/SapCentralInstances_Update.json | 79 + ...verInstances_ListBySapVirtualInstance.json | 77 + .../examples/SapDatabaseInstances_Create.json | 80 + ...tances_CreateForHaWithAvailabilitySet.json | 96 + .../examples/SapDatabaseInstances_Delete.json | 23 + .../examples/SapDatabaseInstances_Get.json | 36 + .../examples/SapDatabaseInstances_List.json | 47 + .../SapDatabaseInstances_StartInstance.json | 29 + .../SapDatabaseInstances_StartInstanceVM.json | 31 + .../SapDatabaseInstances_StopInstance.json | 31 + ...SapDatabaseInstances_StopInstanceSoft.json | 31 + ...pDatabaseInstances_StopInstanceSoftVM.json | 32 + .../SapDatabaseInstances_StopInstanceVM.json | 32 + .../examples/SapDatabaseInstances_Update.json | 49 + .../SapVirtualInstances_CreateDetectDS.json | 336 ++ ...stances_CreateDetectHaAvailabilitySet.json | 333 ++ ...tances_CreateDetectHaAvailabilityZone.json | 333 ++ ...ualInstances_CreateDetectSingleServer.json | 184 + .../SapVirtualInstances_CreateInfraDS.json | 340 ++ ...tances_CreateInfraDiskOsDSRecommended.json | 454 ++ ...fraDiskOsHaAvailabilitySetRecommended.json | 463 ++ ...raDiskOsHaAvailabilityZoneRecommended.json | 463 ++ ...ateInfraDiskOsSingleServerRecommended.json | 314 + ...nstances_CreateInfraHaAvailabilitySet.json | 349 ++ ...stances_CreateInfraHaAvailabilityZone.json | 349 ++ ...nces_CreateInfraOsComputeGalleryImage.json | 322 + ...es_CreateInfraOsCustomResourceNamesDS.json | 595 ++ ...sCustomResourceNamesHaAvailabilitySet.json | 787 +++ ...CustomResourceNamesHaAvailabilityZone.json | 778 +++ ...nfraOsCustomResourceNamesSingleServer.json | 238 + ...lInstances_CreateInfraOsDSRecommended.json | 316 + ...teInfraOsHaAvailabilitySetRecommended.json | 325 ++ ...eInfraOsHaAvailabilityZoneRecommended.json | 325 ++ ..._CreateInfraOsSIngleServerRecommended.json | 176 + ...tualInstances_CreateInfraSingleServer.json | 172 + ...nces_CreateInfraWithExistingFileshare.json | 337 ++ ...Instances_CreateInfraWithNewFileshare.json | 337 ++ ...tances_CreateInfraWithOsTrustedAccess.json | 319 + ...Instances_CreateInfraWithoutFileshare.json | 331 ++ .../SapVirtualInstances_CreateInstallDS.json | 342 ++ ...alInstances_CreateInstallSingleServer.json | 286 + ...lInstances_CreateRegisterSapSolutions.json | 91 + ...nces_CreateRegisterSapSolutionsCustom.json | 93 + ...ances_CreateRegisterWithTrustedAccess.json | 94 + .../examples/SapVirtualInstances_Delete.json | 22 + .../examples/SapVirtualInstances_Get.json | 137 + ...lInstances_GetAcssInstallationBlocked.json | 128 + ...ces_GetAvailabilityZoneDetails_eastus.json | 26 + ...etAvailabilityZoneDetails_northeurope.json | 26 + ...stances_GetDiskConfigurations_NonProd.json | 399 ++ ...lInstances_GetDiskConfigurations_Prod.json | 256 + ...tances_GetSapSupportedSku_Distributed.json | 114 + ...etSapSupportedSku_DistributedHA_AvSet.json | 115 + ...tSapSupportedSku_DistributedHA_AvZone.json | 95 + ...ances_GetSapSupportedSku_SingleServer.json | 44 + ...ingRecommendations_S4HANA_Distributed.json | 32 + ...SizingRecommendations_S4HANA_HA_AvSet.json | 33 + ...izingRecommendations_S4HANA_HA_AvZone.json | 33 + ...ngRecommendations_S4HANA_SingleServer.json | 27 + ...pVirtualInstances_ListByResourceGroup.json | 236 + ...apVirtualInstances_ListBySubscription.json | 235 + .../SapVirtualInstances_SoftStop.json | 30 + ...pVirtualInstances_SoftStopVMAndSystem.json | 31 + .../examples/SapVirtualInstances_Start.json | 30 + ...ualInstances_StartWithInfraOperations.json | 30 + .../examples/SapVirtualInstances_Stop.json | 30 + .../SapVirtualInstances_StopVMAndSystem.json | 31 + .../examples/SapVirtualInstances_Update.json | 62 + ...pVirtualInstances_UpdateTrustedAccess.json | 65 + .../2024-09-01/examples/Operations_List.json | 1105 ++++ .../stable/2024-09-01/operations.json | 86 + 194 files changed, 39136 insertions(+), 7 deletions(-) create mode 100644 specification/workloads/Workloads.Operations.Management/examples/2024-09-01/Operations_List.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstanceMetadata.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/custom.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Create.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Delete.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Get.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_ListBySapVirtualInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstanceVM.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceInfrastructure.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoft.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Update.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Create.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_CreateForHaWithAvailabilitySet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Delete.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Get.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstanceVM.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstanceVM.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Update.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralServerInstances_ListBySapVirtualInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Create.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Delete.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Get.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_List.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstanceVM.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstance.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoft.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoftVM.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceVM.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Update.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectDS.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilitySet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilityZone.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectSingleServer.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDS.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilitySet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilityZone.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsDSRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraSingleServer.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithExistingFileshare.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithNewFileshare.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithoutFileshare.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallDS.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallSingleServer.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutions.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterWithTrustedAccess.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Delete.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Get.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAcssInstallationBlocked.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_Distributed.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_SingleServer.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListByResourceGroup.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListBySubscription.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStop.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStopVMAndSystem.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Start.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StartWithInfraOperations.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Stop.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StopVMAndSystem.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Update.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_UpdateTrustedAccess.json create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp create mode 100644 specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/sdk-suppressions.yaml create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Create.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Delete.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Get.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_ListBySapVirtualInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstanceVM.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceInfrastructure.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoft.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Update.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Create.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_CreateForHaWithAvailabilitySet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Delete.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Get.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstanceVM.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstanceVM.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Update.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralServerInstances_ListBySapVirtualInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Create.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Delete.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Get.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_List.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstanceVM.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstance.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoft.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoftVM.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceVM.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Update.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectDS.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilitySet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilityZone.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectSingleServer.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDS.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilitySet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilityZone.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsDSRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraSingleServer.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithExistingFileshare.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithNewFileshare.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithoutFileshare.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallDS.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallSingleServer.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutions.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterWithTrustedAccess.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Delete.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Get.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAcssInstallationBlocked.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListByResourceGroup.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListBySubscription.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStop.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStopVMAndSystem.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Start.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StartWithInfraOperations.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Stop.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StopVMAndSystem.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Update.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_UpdateTrustedAccess.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/examples/Operations_List.json create mode 100644 specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/operations.json diff --git a/specification/workloads/Workloads.Operations.Management/examples/2024-09-01/Operations_List.json b/specification/workloads/Workloads.Operations.Management/examples/2024-09-01/Operations_List.json new file mode 100644 index 000000000000..8bf8d1285ed6 --- /dev/null +++ b/specification/workloads/Workloads.Operations.Management/examples/2024-09-01/Operations_List.json @@ -0,0 +1,1105 @@ +{ + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Workloads/RegisteredSubscriptions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "RegisteredSubscriptions", + "operation": "Gets/Lists registered subscriptions", + "description": "Reads registered subscriptions" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_List", + "description": "Lists WordpressInstances resources under a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Get", + "description": "Gets a WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_CreateOrUpdate", + "description": "Create or updated WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Delete", + "description": "Delete WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/skus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Skus", + "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", + "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" + } + }, + { + "name": "Microsoft.Workloads/Operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Operations", + "operation": "read_Operations", + "description": "read Operations" + } + }, + { + "name": "Microsoft.Workloads/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Register the Microsoft.Workloads", + "description": "Register the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Unregister the Microsoft.Workloads", + "description": "Unregister the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "read_OperationStatuses", + "description": "read OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "write_OperationStatuses", + "description": "write OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListBySubscription", + "description": "Lists phpWorkload resources in a subscription" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListByResourceGroup", + "description": "Lists phpWorkload resources in a resource group" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Get", + "description": "Gets a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_CreateOrUpdate", + "description": "Create or updated phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Delete", + "description": "Delete phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Update", + "description": "Update PHP workload resource." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Get", + "description": "Gets the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Create", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Delete", + "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Update", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_List", + "description": "Lists the SAP Application server Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StartInstance", + "description": "Starts the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StopInstance", + "description": "Stops the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Get", + "description": "Gets the SAP Central Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Create", + "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Delete", + "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Update", + "description": "Updates the SAP Central Instance.

This can be used to update tags." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_List", + "description": "Lists the SAP Central Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StartInstance", + "description": "Starts the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StopInstance", + "description": "Stops the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Get", + "description": "Gets the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Create", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Delete", + "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Update", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_List", + "description": "Lists the SAP Database Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StartInstance", + "description": "Starts the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StopInstance", + "description": "Stops the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_List", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_ListByResourceGroup", + "description": "Gets a list of SAP monitors in the specified resource group." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Get", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Create", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Delete", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Update", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_List", + "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Get", + "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Create", + "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Delete", + "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_List", + "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Create", + "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Delete", + "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_List", + "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_List", + "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Get", + "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Create", + "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Delete", + "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Get", + "description": "Gets an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Create", + "description": "Creates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Delete", + "description": "Deletes an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Update", + "description": "Updates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListByResourceGroup", + "description": "Gets all SAP Virtual Instances in a resource group." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListBySubscription", + "description": "Gets all SAP Virtual Instances in the subscription." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Start", + "description": "Starts the SAP System." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Stop", + "description": "Stops the SAP System." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSizingRecommendations", + "description": "Get SAP sizing recommendations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSupportedSku", + "description": "Get SAP supported SKUs." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPDiskConfigurations", + "description": "Get SAP Disk Configurations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPAvailabilityZoneDetails", + "description": "Get SAP Availability Zone Details." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Get", + "description": "Gets a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Create", + "description": "Creates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Delete", + "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Update", + "description": "Updates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListByResourceGroup", + "description": "Gets all connector resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListBySubscription", + "description": "Gets all connector resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Get", + "description": "Gets the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Create", + "description": "Creates the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Delete", + "description": "Deletes the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Update", + "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_List", + "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Get", + "description": "Gets the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Create", + "description": "Creates the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Delete", + "description": "Deletes the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Update", + "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_List", + "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Get", + "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_ListByResourceGroup", + "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_List", + "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Create", + "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Delete", + "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Update", + "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Get", + "description": "Gets a SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Create", + "description": "Creates a discovery site for SAP Migration." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Delete", + "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Update", + "description": "SAPDiscoverySites_Update." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListByResourceGroup", + "description": "Gets all SAP Migration discovery site resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListBySubscription", + "description": "Gets all SAP Migration discovery site resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ImportEntities", + "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Get", + "description": "Gets the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Create", + "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Delete", + "description": "Deletes the SAP 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 SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Update", + "description": "Updates the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_List", + "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Get", + "description": "Gets the Server Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Create", + "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Delete", + "description": "Deletes the Server 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 SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Update", + "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_List", + "description": "Lists the Server Instance resources for the given SAP Instance resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} diff --git a/specification/workloads/Workloads.Operations.Management/main.tsp b/specification/workloads/Workloads.Operations.Management/main.tsp index 65861de28054..6d702508ac19 100644 --- a/specification/workloads/Workloads.Operations.Management/main.tsp +++ b/specification/workloads/Workloads.Operations.Management/main.tsp @@ -36,4 +36,12 @@ enum Versions { @useDependency(Azure.Core.Versions.v1_0_Preview_1) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3) v2023_10_01_preview: "2023-10-01-preview", + + /** + * The 2024-09-01 API version. + */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_2) + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) + v2024_09_01: "2024-09-01", } diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp new file mode 100644 index 000000000000..e461a0f8e696 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPApplicationServerInstance.tsp @@ -0,0 +1,91 @@ +import "@typespec/openapi"; +import "./models.tsp"; +import "./SAPVirtualInstance.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Workloads; +/** + * Define the SAP Application Server Instance resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@parentResource(SAPVirtualInstance) +model SAPApplicationServerInstance + is TrackedResource { + ...ResourceNameParameter< + Resource = SAPApplicationServerInstance, + KeyName = "applicationInstanceName", + SegmentName = "applicationInstances", + NamePattern = "^.*" + >; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@armResourceOperations +interface SAPApplicationServerInstances { + /** + * Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource. + */ + get is ArmResourceRead; + + /** + * Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Puts the SAP Application Server Instance resource. + */ + @parameterVisibility + update is ArmCustomPatchSync< + SAPApplicationServerInstance, + UpdateSAPApplicationInstanceRequest + >; + + /** + * Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource. + */ + list is ArmResourceListByParent; + + /** + * Starts the SAP Application Server Instance. + */ + start is ArmResourceActionAsync< + SAPApplicationServerInstance, + StartRequest, + Foundations.OperationStatusResult + >; + + /** + * Stops the SAP Application Server Instance. + */ + stop is ArmResourceActionAsync< + SAPApplicationServerInstance, + StopRequest, + Foundations.OperationStatusResult + >; +} + +@@doc(SAPApplicationServerInstance.name, + "The name of SAP Application Server instance resource." +); +@@doc(SAPApplicationServerInstances.create::parameters.resource, + "The SAP Application Server Instance resource request body." +); +@@doc(SAPApplicationServerInstances.update::parameters.properties, + "The SAP Application Server Instance resource request body." +); +@@doc(SAPApplicationServerInstances.start::parameters.body, + "SAP Application server instance start request body." +); +@@doc(SAPApplicationServerInstances.stop::parameters.body, + "SAP Application server instance stop request body." +); diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp new file mode 100644 index 000000000000..e6c9074140f5 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPCentralServerInstance.tsp @@ -0,0 +1,91 @@ +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./SAPVirtualInstance.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Workloads; +/** + * Define the SAP Central Services Instance resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@parentResource(SAPVirtualInstance) +model SAPCentralServerInstance is TrackedResource { + ...ResourceNameParameter< + Resource = SAPCentralServerInstance, + KeyName = "centralInstanceName", + SegmentName = "centralInstances", + NamePattern = "^.*" + >; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@armResourceOperations +interface SAPCentralServerInstances { + /** + * Gets the SAP Central Services Instance resource. + */ + get is ArmResourceRead; + + /** + * Creates the SAP Central Services Instance resource. <br><br>This will be used by service only. PUT operation on this resource by end user will return a Bad Request error. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the resource. + */ + @parameterVisibility + update is ArmCustomPatchSync< + SAPCentralServerInstance, + UpdateSAPCentralInstanceRequest + >; + + /** + * Deletes the SAP Central Services Instance resource. <br><br>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. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource. + */ + list is ArmResourceListByParent; + + /** + * Starts the SAP Central Services Instance. + */ + start is ArmResourceActionAsync< + SAPCentralServerInstance, + StartRequest, + Foundations.OperationStatusResult + >; + + /** + * Stops the SAP Central Services Instance. + */ + stop is ArmResourceActionAsync< + SAPCentralServerInstance, + StopRequest, + Foundations.OperationStatusResult + >; +} + +@@doc(SAPCentralServerInstance.name, + "Central Services Instance resource name string modeled as parameter for auto generation to work correctly." +); +@@doc(SAPCentralServerInstances.create::parameters.resource, + "The SAP Central Services Instance request body." +); +@@doc(SAPCentralServerInstances.update::parameters.properties, + "The SAP Central Services Instance resource request body." +); +@@doc(SAPCentralServerInstances.start::parameters.body, + "SAP Central Services instance start request body." +); +@@doc(SAPCentralServerInstances.stop::parameters.body, + "SAP Central Services instance stop request body." +); diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp new file mode 100644 index 000000000000..36a20525056d --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPDatabaseInstance.tsp @@ -0,0 +1,90 @@ +import "@typespec/openapi"; +import "./models.tsp"; +import "./SAPVirtualInstance.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Workloads; +/** + * Define the Database resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@parentResource(SAPVirtualInstance) +model SAPDatabaseInstance is TrackedResource { + ...ResourceNameParameter< + Resource = SAPDatabaseInstance, + KeyName = "databaseInstanceName", + SegmentName = "databaseInstances", + NamePattern = "^.*" + >; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@armResourceOperations +interface SAPDatabaseInstances { + /** + * Gets the SAP Database Instance resource. + */ + get is ArmResourceRead; + + /** + * Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error. + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates the Database resource. + */ + @parameterVisibility + update is ArmCustomPatchSync< + SAPDatabaseInstance, + UpdateSAPDatabaseInstanceRequest + >; + + /** + * Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Lists the Database resources associated with a Virtual Instance for SAP solutions resource. + */ + list is ArmResourceListByParent; + + /** + * Starts the database instance of the SAP system. + */ + start is ArmResourceActionAsync< + SAPDatabaseInstance, + StartRequest, + Foundations.OperationStatusResult + >; + + /** + * Stops the database instance of the SAP system. + */ + stop is ArmResourceActionAsync< + SAPDatabaseInstance, + StopRequest, + Foundations.OperationStatusResult + >; +} + +@@doc(SAPDatabaseInstance.name, + "Database resource name string modeled as parameter for auto generation to work correctly." +); +@@doc(SAPDatabaseInstances.create::parameters.resource, + "Request body of Database resource of a SAP system." +); +@@doc(SAPDatabaseInstances.update::parameters.properties, + "Database resource update request body." +); +@@doc(SAPDatabaseInstances.start::parameters.body, + "SAP Database server instance start request body." +); +@@doc(SAPDatabaseInstances.stop::parameters.body, + "Stop request for the database instance of the SAP system." +); diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp new file mode 100644 index 000000000000..9d84a70304d9 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstance.tsp @@ -0,0 +1,129 @@ +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Workloads; +/** + * Define the Virtual Instance for SAP solutions resource. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPVirtualInstance is TrackedResource { + ...ResourceNameParameter< + Resource = SAPVirtualInstance, + KeyName = "sapVirtualInstanceName", + SegmentName = "sapVirtualInstances", + NamePattern = "^[a-zA-Z][a-zA-Z0-9]{2}$" + >; + ...Azure.ResourceManager.ManagedServiceIdentityProperty; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@armResourceOperations +interface SAPVirtualInstances { + /** + * Gets a Virtual Instance for SAP solutions resource + */ + get is ArmResourceRead; + + /** + * Creates a Virtual Instance for SAP solutions (VIS) resource + */ + create is ArmResourceCreateOrReplaceAsync; + + /** + * Updates a Virtual Instance for SAP solutions resource + */ + @parameterVisibility + update is ArmCustomPatchAsync< + SAPVirtualInstance, + UpdateSAPVirtualInstanceRequest + >; + + /** + * 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. + */ + delete is ArmResourceDeleteWithoutOkAsync; + + /** + * Gets all Virtual Instances for SAP solutions resources in a Resource Group. + */ + listByResourceGroup is ArmResourceListByParent; + + /** + * Gets all Virtual Instances for SAP solutions resources in a Subscription. + */ + listBySubscription is ArmListBySubscription; + + /** + * Starts the SAP application, that is the Central Services instance and Application server instances. + */ + start is ArmResourceActionAsync< + SAPVirtualInstance, + StartRequest, + Foundations.OperationStatusResult + >; + + /** + * Stops the SAP Application, that is the Application server instances and Central Services instance. + */ + stop is ArmResourceActionAsync< + SAPVirtualInstance, + StopRequest, + Foundations.OperationStatusResult + >; + + /** + * Gets the sizing recommendations. + */ + getSizingRecommendations is VirtualResourceActionSync< + SAPVirtualInstanceMetadata, + SAPSizingRecommendationRequest, + SAPSizingRecommendationResult + >; + + /** + * Get a list of SAP supported SKUs for ASCS, Application and Database tier. + */ + getSapSupportedSku is VirtualResourceActionSync< + SAPVirtualInstanceMetadata, + SAPSupportedSkusRequest, + SAPSupportedResourceSkusResult + >; + + /** + * Get the SAP Disk Configuration Layout prod/non-prod SAP System. + */ + getDiskConfigurations is VirtualResourceActionSync< + SAPVirtualInstanceMetadata, + SAPDiskConfigurationsRequest, + SAPDiskConfigurationsResult + >; + + /** + * Get the recommended SAP Availability Zone Pair Details for your region. + */ + getAvailabilityZoneDetails is VirtualResourceActionSync< + SAPVirtualInstanceMetadata, + SAPAvailabilityZoneDetailsRequest, + SAPAvailabilityZoneDetailsResult + >; +} + +@@doc(SAPVirtualInstance.name, + "The name of the Virtual Instances for SAP solutions resource" +); +@@doc(SAPVirtualInstances.create::parameters.resource, + "Virtual Instance for SAP solutions resource request body." +); +@@doc(SAPVirtualInstances.update::parameters.properties, + "Request body to update a Virtual Instance for SAP solutions resource." +); +@@doc(SAPVirtualInstances.start::parameters.body, + "The Virtual Instance for SAP solutions resource start request body." +); +@@doc(SAPVirtualInstances.stop::parameters.body, + "The Virtual Instance for SAP solutions resource stop request body." +); diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstanceMetadata.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstanceMetadata.tsp new file mode 100644 index 000000000000..001341e013ef --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/SAPVirtualInstanceMetadata.tsp @@ -0,0 +1,23 @@ +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.ResourceManager; + +namespace Microsoft.Workloads; + +/** + * The SAP Virtual Instance Metadata. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@singleton +@parentResource(SubscriptionLocationResource) +@armVirtualResource +model SAPVirtualInstanceMetadata { + /** + * The default variable. + */ + @path + @visibility("read") + @segment("sapVirtualInstanceMetadata") + @key + default: "string"; +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/custom.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/custom.tsp new file mode 100644 index 000000000000..2c01f681fe83 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/custom.tsp @@ -0,0 +1,36 @@ +using Http; +using Rest; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +/** + * A synchronous resource action. + * @template Resource The resource being acted upon + * @template Request The request model for the action + * @template Response The response model for the action + * @template BaseParameters Optional. Allows overriding the parameters for the operation + * @template Parameters Optional. Additional parameters after the path parameters + * @template Error Optional. The error response, if non-standard. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "Custom template" +// THIS IS TO PROVIDE a temp workaround. The standard ArmResourceXX operations will be expected to support +// ARM virtual resources. Until then, use this custom template +@autoRoute +@armResourceAction(Resource) +@post +@returnsDoc("Azure operation completed successfully.") +op VirtualResourceActionSync< + Resource extends Foundations.Resource, + Request extends TypeSpec.Reflection.Model | void, + Response extends TypeSpec.Reflection.Model | void, + BaseParameters = DefaultBaseParameters, + Parameters extends {} = {}, + Error extends {} = ErrorResponse +>( + ...ResourceInstanceParameters, + ...Parameters, + + @doc("The content of the action request") + @bodyRoot + body: Request, +): Response | Error; diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Create.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Create.json new file mode 100644 index 000000000000..c86c63c9904f --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Create.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Unknown", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Create", + "title": "SAPApplicationServerInstances_Create" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json new file mode 100644 index 000000000000..b5826dc6bf76 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-vm1" + }, + { + "type": "Standby", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Unknown", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-vm1" + }, + { + "type": "Standby", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Create", + "title": "Create SAP Application Server Instances for HA System with Availability Set" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Delete.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Delete.json new file mode 100644 index 000000000000..4d69aaa1d07f --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Delete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "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" + } + } + }, + "operationId": "SapApplicationServerInstances_Delete", + "title": "SAPApplicationServerInstances_Delete" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Get.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Get.json new file mode 100644 index 000000000000..90416e6235ce --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Get", + "title": "SAPApplicationServerInstances_Get" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_ListBySapVirtualInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_ListBySapVirtualInstance.json new file mode 100644 index 000000000000..f1d7b89e1a35 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_ListBySapVirtualInstance.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "app02", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app02", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapApplicationServerInstances_List", + "title": "SapApplicationServerInstances List By SAP Virtual Instance" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstance.json new file mode 100644 index 000000000000..2894df1f0e30 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": {} + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Start", + "title": "Start the SAP Application Server Instance." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstanceVM.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstanceVM.json new file mode 100644 index 000000000000..0cd280b57a6e --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StartInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "startVm": true + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Start", + "title": "Start Virtual Machine and the SAP Application Server Instance on it." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstance.json new file mode 100644 index 000000000000..7024658de872 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstance.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Stop the SAP Application Server Instance" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceInfrastructure.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceInfrastructure.json new file mode 100644 index 000000000000..601efcb3619f --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceInfrastructure.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Stop the SAP Application Server Instance and it's infrastructure." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoft.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoft.json new file mode 100644 index 000000000000..8f6a47005e78 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoft.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Soft Stop the SAP Application Server Instance" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json new file mode 100644 index 000000000000..f17a194f9843 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Soft Stop the SAP Application Server Instance and it's infrastructure." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Update.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Update.json new file mode 100644 index 000000000000..eb6613685f98 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapApplicationServerInstances_Update.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "properties": { + "tags": { + "tag1": "value1" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Update", + "title": "SAPApplicationServerInstances_Update" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Create.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Create.json new file mode 100644 index 000000000000..5e5f15aeb0a4 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Create.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Create", + "title": "SapCentralServerInstances_Create" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_CreateForHaWithAvailabilitySet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_CreateForHaWithAvailabilitySet.json new file mode 100644 index 000000000000..d623a14b4172 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_CreateForHaWithAvailabilitySet.json @@ -0,0 +1,174 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer" + }, + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer" + }, + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Create", + "title": "Create SAP Central Instances for HA System with Availability Set" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Delete.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Delete.json new file mode 100644 index 000000000000..35d8936d385f --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Delete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "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" + } + } + }, + "operationId": "SapCentralServerInstances_Delete", + "title": "SapCentralServerInstances_Delete" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Get.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Get.json new file mode 100644 index 000000000000..467031c34804 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Get.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Unknown", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Degraded", + "port": 3300 + }, + "health": "Unknown", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Unhealthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Get", + "title": "SapCentralServerInstances_Get" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstance.json new file mode 100644 index 000000000000..a9890d000e37 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": {} + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Start", + "title": "Start the SAP Central Services Instance" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstanceVM.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstanceVM.json new file mode 100644 index 000000000000..94931a5fc984 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StartInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "startVm": true + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Start", + "title": "Start the virtual machine(s) and the SAP central services instance on it." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstance.json new file mode 100644 index 000000000000..9ced949f11cc --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstance.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 1200 + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Stop", + "title": "Stop the SAP Central Services Instance." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstanceVM.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstanceVM.json new file mode 100644 index 000000000000..2a78cdfe9321 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_StopInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Stop", + "title": "Stop the SAP Central Services Instance and its underlying Virtual Machine(s)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Update.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Update.json new file mode 100644 index 000000000000..3e3132fd30eb --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralInstances_Update.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "tags": { + "tag1": "value1" + } + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Update", + "title": "SapCentralServerInstances_Update" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralServerInstances_ListBySapVirtualInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralServerInstances_ListBySapVirtualInstance.json new file mode 100644 index 000000000000..1f651e0c89cd --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapCentralServerInstances_ListBySapVirtualInstance.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapCentralServerInstances_List", + "title": "SAPCentralInstances List by SAP virtual instance" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Create.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Create.json new file mode 100644 index 000000000000..1e6cdc400ce3 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Create.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Create", + "title": "SAPDatabaseInstances_Create" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json new file mode 100644 index 000000000000..261d1bcc0b79 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "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/db-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "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/db-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Create", + "title": "Create SAP Database Instances for HA System with Availability Set" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Delete.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Delete.json new file mode 100644 index 000000000000..93f99f8c9e52 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Delete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "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" + } + } + }, + "operationId": "SapDatabaseInstances_Delete", + "title": "SAPDatabaseInstances_Delete" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Get.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Get.json new file mode 100644 index 000000000000..b5a26695c3ec --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Get", + "title": "SAPDatabaseInstances_Get" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_List.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_List.json new file mode 100644 index 000000000000..4c3f12d64c0a --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_List.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapDatabaseInstances_List", + "title": "SAPDatabaseInstances list by SAP virtual instance" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstance.json new file mode 100644 index 000000000000..6232f364c6b8 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": {} + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Start", + "title": "Start the database instance of the SAP system." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstanceVM.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstanceVM.json new file mode 100644 index 000000000000..94f795130ab8 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StartInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "startVm": true + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Start", + "title": "Start Virtual Machine and the database instance of the SAP system on it." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstance.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstance.json new file mode 100644 index 000000000000..745b05662962 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstance.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 0 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Stop the database instance of the SAP system." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoft.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoft.json new file mode 100644 index 000000000000..1f12bbc33403 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoft.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 300 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Soft Stop the database instance of the SAP system." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoftVM.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoftVM.json new file mode 100644 index 000000000000..7dc4e5d7caad --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceSoftVM.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 300 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Soft Stop the database instance of the SAP system and the underlying Virtual Machine(s)." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceVM.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceVM.json new file mode 100644 index 000000000000..0663f34f7568 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_StopInstanceVM.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 0 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Stop the database instance of the SAP system and the underlying Virtual Machine(s)." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Update.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Update.json new file mode 100644 index 000000000000..78ae2e523795 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapDatabaseInstances_Update.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "tags": { + "key1": "value1" + } + }, + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Update", + "title": "SAPDatabaseInstances_Update" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectDS.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectDS.json new file mode 100644 index 000000000000..55660e83bfeb --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectDS.json @@ -0,0 +1,336 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "{{resourcegrp}}", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": { + "created by": "azureuser" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + }, + "201": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on a Distributed System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilitySet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilitySet.json new file mode 100644 index 000000000000..f3c3389371e1 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilitySet.json @@ -0,0 +1,333 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on an HA System with Availability Set" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilityZone.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilityZone.json new file mode 100644 index 000000000000..14c52ae8f652 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectHaAvailabilityZone.json @@ -0,0 +1,333 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on an HA System with Availability Zone" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectSingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectSingleServer.json new file mode 100644 index 000000000000..49bbc416b82c --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateDetectSingleServer.json @@ -0,0 +1,184 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "NonProd", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "NonProd", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on a Single Server System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDS.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDS.json new file mode 100644 index 000000000000..a766e5cf0b3d --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDS.json @@ -0,0 +1,340 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for Distributed System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json new file mode 100644 index 000000000000..aa5ffd70e77a --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json @@ -0,0 +1,454 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json new file mode 100644 index 000000000000..7331c3e6f9ed --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json @@ -0,0 +1,463 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json new file mode 100644 index 000000000000..73abfbed0309 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json @@ -0,0 +1,463 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json new file mode 100644 index 000000000000..1efe1d3bef00 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json @@ -0,0 +1,314 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilitySet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilitySet.json new file mode 100644 index 000000000000..1ace22d66093 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilitySet.json @@ -0,0 +1,349 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 5, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 5, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 5, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for HA System with Availability Set" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilityZone.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilityZone.json new file mode 100644 index 000000000000..6a88cad4b1bc --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraHaAvailabilityZone.json @@ -0,0 +1,349 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for HA System with Availability Zone" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json new file mode 100644 index 000000000000..a935024adffd --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json @@ -0,0 +1,322 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with Azure Compute Gallery Image" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json new file mode 100644 index 000000000000..63344cdac2c8 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json @@ -0,0 +1,595 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + }, + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "vmName": "dbvm" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + }, + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "vmName": "dbvm" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + }, + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "vmName": "dbvm" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for Distributed System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json new file mode 100644 index 000000000000..62f953099f46 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json @@ -0,0 +1,787 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "availabilitySetName": "csAvSet", + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "availabilitySetName": "csAvSet", + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "availabilitySetName": "csAvSet", + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for HA System with Availability Set" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json new file mode 100644 index 000000000000..24a4e153d02c --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json @@ -0,0 +1,778 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for HA system with Availability Zone" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json new file mode 100644 index 000000000000..be5450a3c29a --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json @@ -0,0 +1,238 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "customResourceNames": { + "namingPatternType": "FullResourceName", + "virtualMachine": { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "sshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ssnic" + } + ], + "osDiskName": "ssosdisk", + "vmName": "ssvm" + } + }, + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "customResourceNames": { + "namingPatternType": "FullResourceName", + "virtualMachine": { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "sshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ssnic" + } + ], + "osDiskName": "ssosdisk", + "vmName": "ssvm" + } + }, + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for Single Server System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsDSRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsDSRecommended.json new file mode 100644 index 000000000000..e2fa771bb6a1 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsDSRecommended.json @@ -0,0 +1,316 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for Distributed System (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json new file mode 100644 index 000000000000..7b1fea25a9c7 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json @@ -0,0 +1,325 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for HA System with Availability Set (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json new file mode 100644 index 000000000000..388c4e6ac966 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json @@ -0,0 +1,325 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json new file mode 100644 index 000000000000..0feb3c816304 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for Single Server System (Recommended)" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraSingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraSingleServer.json new file mode 100644 index 000000000000..b9a00965e79a --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraSingleServer.json @@ -0,0 +1,172 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for Single Server System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithExistingFileshare.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithExistingFileshare.json new file mode 100644 index 000000000000..e5a4df97ac3b --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithExistingFileshare.json @@ -0,0 +1,337 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint", + "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint", + "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint", + "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with an existing SAP Transport Directory Fileshare" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithNewFileshare.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithNewFileshare.json new file mode 100644 index 000000000000..f852f967dfa3 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithNewFileshare.json @@ -0,0 +1,337 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "rgName", + "storageAccountName": "storageName" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "rgName", + "storageAccountName": "storageName" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "rgName", + "storageAccountName": "storageName" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with a new SAP Transport Directory Fileshare" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json new file mode 100644 index 000000000000..4cf2197240eb --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json @@ -0,0 +1,319 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "managedResourcesNetworkAccessType": "Private", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with trusted access enabled" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithoutFileshare.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithoutFileshare.json new file mode 100644 index 000000000000..72c3952d125e --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInfraWithoutFileshare.json @@ -0,0 +1,331 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure without a SAP Transport Directory Fileshare" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallDS.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallDS.json new file mode 100644 index 000000000000..0f581f2b6cb4 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallDS.json @@ -0,0 +1,342 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "{{resourcegrp}}", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "8.2", + "version": "8.2.2021091201" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "8.2", + "version": "8.2.2021091201" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "8.2", + "version": "8.2.2021091201" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": { + "created by": "azureuser" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + }, + "201": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Install SAP Software on Distributed System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallSingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallSingleServer.json new file mode 100644 index 000000000000..3e913f151d06 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateInstallSingleServer.json @@ -0,0 +1,286 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "test-rg", + "deploymentType": "SingleServer", + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "SLES-SAP", + "publisher": "SUSE", + "sku": "12-sp4-gen2", + "version": "2022.02.01" + }, + "osProfile": { + "adminUsername": "azureappadmin", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + }, + "201": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Install SAP Software on Single Server System" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutions.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutions.json new file mode 100644 index 000000000000..830b22a20690 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutions.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": { + "createdby": "abc@microsoft.com", + "test": "abc" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Register existing SAP system as Virtual Instance for SAP solutions." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json new file mode 100644 index 000000000000..89216ee342fd --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "configurationType": "Discovery", + "managedRgStorageAccountName": "q20saacssgrs" + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": { + "createdby": "abc@microsoft.com", + "test": "abc" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery", + "managedRgStorageAccountName": "q20saacssgrs" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery", + "managedRgStorageAccountName": "q20saacssgrs" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Register existing SAP system as Virtual Instance for SAP solutions with optional customizations." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterWithTrustedAccess.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterWithTrustedAccess.json new file mode 100644 index 000000000000..a30b79a171fe --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_CreateRegisterWithTrustedAccess.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "managedResourcesNetworkAccessType": "Private", + "sapProduct": "S4HANA" + }, + "tags": { + "createdby": "abc@microsoft.com", + "test": "abc" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Register with trusted access enabled" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Delete.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Delete.json new file mode 100644 index 000000000000..c175b7aa8943 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2024-09-01" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2024-09-01" + } + } + }, + "operationId": "SapVirtualInstances_Delete", + "title": "SAPVirtualInstances_Delete" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Get.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Get.json new file mode 100644 index 000000000000..3ce8b6fd611b --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Get.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Get", + "title": "SAPVirtualInstances_Get" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAcssInstallationBlocked.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAcssInstallationBlocked.json new file mode 100644 index 000000000000..b00f314b5cfc --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAcssInstallationBlocked.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "ACSSInstallationBlocked", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Get", + "title": "SAPVirtualInstances Get With ACSS Installation Blocked" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json new file mode 100644 index 000000000000..74cea9033f66 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "eastus", + "api-version": "2024-09-01", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "databaseType": "HANA" + } + }, + "responses": { + "200": { + "body": { + "availabilityZonePairs": [ + { + "zoneA": 1, + "zoneB": 2 + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "title": "SAP Availability zone details in east us" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json new file mode 100644 index 000000000000..80a4687a70cb --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "northeurope", + "api-version": "2024-09-01", + "body": { + "appLocation": "northeurope", + "sapProduct": "S4HANA", + "databaseType": "HANA" + } + }, + "responses": { + "200": { + "body": { + "availabilityZonePairs": [ + { + "zoneA": 2, + "zoneB": 3 + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "title": "SAP Availability zone details in north europe" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json new file mode 100644 index 000000000000..f46c7b7b19d3 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_NonProd.json @@ -0,0 +1,399 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "NonProd", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "dbVmSku": "Standard_M32ts" + } + }, + "responses": { + "200": { + "body": { + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + } + } + } + } + }, + "operationId": "SapVirtualInstances_GetDiskConfigurations", + "title": "SAP disk configurations for input environment NonProd." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json new file mode 100644 index 000000000000..ddedd6c7439a --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetDiskConfigurations_Prod.json @@ -0,0 +1,256 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "Prod", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "dbVmSku": "Standard_M32ts" + } + }, + "responses": { + "200": { + "body": { + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + } + } + } + } + }, + "operationId": "SapVirtualInstances_GetDiskConfigurations", + "title": "SAP disk configurations for input environment Prod." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_Distributed.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_Distributed.json new file mode 100644 index 000000000000..2fb1797f38e3 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_Distributed.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported SKUs for distributed Non HA environment." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json new file mode 100644 index 000000000000..2b3e3084b9bc --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported SKUs for distributed HA environment with Availability set." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json new file mode 100644 index 000000000000..a93c6a800cb8 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported Skus for HA with availability zone." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_SingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_SingleServer.json new file mode 100644 index 000000000000..e2f229190732 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSapSupportedSku_SingleServer.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported SKUs for single server." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json new file mode 100644 index 000000000000..8b1904344d0c --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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 + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for non HA distributed system." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json new file mode 100644 index 000000000000..2bbf4abd5ba4 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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 + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for HA with availability set." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json new file mode 100644 index 000000000000..c0c92f394636 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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 + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for HA with availability zone." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json new file mode 100644 index 000000000000..d55925c9a9e9 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for single server." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListByResourceGroup.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListByResourceGroup.json new file mode 100644 index 000000000000..03ba0304fb72 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListByResourceGroup.json @@ -0,0 +1,236 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "X01", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapVirtualInstances_ListByResourceGroup", + "title": "SAPVirtualInstances_ListByResourceGroup" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListBySubscription.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListBySubscription.json new file mode 100644 index 000000000000..1a5309669175 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_ListBySubscription.json @@ -0,0 +1,235 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "X01", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapVirtualInstances_ListBySubscription", + "title": "SAPVirtualInstances_ListBySubscription" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStop.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStop.json new file mode 100644 index 000000000000..099319582397 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStop.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "Soft Stop of SapVirtualInstances_Stop" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStopVMAndSystem.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStopVMAndSystem.json new file mode 100644 index 000000000000..4da11118564f --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_SoftStopVMAndSystem.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "Soft Stop the virtual machine(s) and the SAP system on it." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Start.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Start.json new file mode 100644 index 000000000000..82eb7f1824e4 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Start.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": { + "startVm": true + } + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Start", + "title": "SAPVirtualInstances_Start" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StartWithInfraOperations.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StartWithInfraOperations.json new file mode 100644 index 000000000000..f5a6ccadbea7 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StartWithInfraOperations.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "startVm": true + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Start", + "title": "SAPVirtualInstances_Start_WithInfraOperations" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Stop.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Stop.json new file mode 100644 index 000000000000..9a5cbdfc41f6 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Stop.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "SAPVirtualInstances_Stop" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StopVMAndSystem.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StopVMAndSystem.json new file mode 100644 index 000000000000..6aacadb61cba --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_StopVMAndSystem.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "Stop the virtual machine(s) and the SAP system on it." +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Update.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Update.json new file mode 100644 index 000000000000..dd1845462b78 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "identity": { + "type": "None" + }, + "properties": {}, + "tags": { + "key1": "svi1" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "identity": { + "type": "None" + }, + "location": "westcentralus", + "properties": { + "configuration": { + "configurationType": "Deployment" + }, + "environment": "Prod", + "health": "Unknown", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentPending", + "status": "Starting" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": { + "key1": "svi1" + } + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Update", + "title": "SAPVirtualInstances_Update" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_UpdateTrustedAccess.json b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_UpdateTrustedAccess.json new file mode 100644 index 000000000000..bad979d054ef --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/examples/2024-09-01/SapVirtualInstances_UpdateTrustedAccess.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "identity": { + "type": "None" + }, + "properties": { + "managedResourcesNetworkAccessType": "Private" + }, + "tags": { + "key1": "svi1" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "identity": { + "type": "None" + }, + "location": "westcentralus", + "properties": { + "configuration": { + "configurationType": "Deployment" + }, + "environment": "Prod", + "health": "Unknown", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentPending", + "status": "Starting" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": { + "key1": "svi1" + } + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Update", + "title": "SAPVirtualInstances_TrustedAccessEnable_Update" +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp new file mode 100644 index 000000000000..9bcea1409344 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/main.tsp @@ -0,0 +1,44 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Version: 0.8.2 + * Date: 2024-07-19T09:05:09.898Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./SAPVirtualInstance.tsp"; +import "./SAPCentralServerInstance.tsp"; +import "./SAPDatabaseInstance.tsp"; +import "./SAPApplicationServerInstance.tsp"; +import "./SAPVirtualInstanceMetadata.tsp"; +import "./custom.tsp"; + +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * Workloads client provides access to various workload operations. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/missing-operations-endpoint" +@armProviderNamespace +@service({ + title: "Workloads Client", +}) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Microsoft.Workloads; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2024-09-01 API version. + */ + @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_1) + v2024_09_01: "2024-09-01", +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp new file mode 100644 index 000000000000..06985787cb05 --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/models.tsp @@ -0,0 +1,2492 @@ +import "@typespec/http"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using Azure.ResourceManager.CommonTypes; + +namespace Microsoft.Workloads; + +/** + * Defines the environment type - Production/Non Production. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPEnvironmentType { + string, + + /** + * Non Production SAP system. + */ + NonProd: "NonProd", + + /** + * Production SAP system. + */ + Prod: "Prod", +} + +/** + * Defines the SAP Product type. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPProductType { + string, + + /** + * SAP Product ECC. + */ + ECC: "ECC", + + /** + * SAP Product S4HANA. + */ + S4HANA: "S4HANA", + + /** + * SAP Products other than the ones listed. + */ + Other: "Other", +} + +/** + * The type of SAP deployment, single server or Three tier. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPDeploymentType { + string, + + /** + * SAP Single server deployment type. + */ + SingleServer: "SingleServer", + + /** + * SAP Distributed deployment type. + */ + ThreeTier: "ThreeTier", +} + +/** + * Defines the supported SAP Database types. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPDatabaseType { + string, + + /** + * HANA Database type of SAP system. + */ + HANA: "HANA", + + /** + * DB2 database type of the SAP system. + */ + DB2: "DB2", +} + +/** + * The database scale method. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPDatabaseScaleMethod { + string, + + /** + * ScaleUp Hana Database deployment type + */ + ScaleUp: "ScaleUp", +} + +/** + * The high availability type (AvailabilitySet or AvailabilityZone). + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPHighAvailabilityType { + string, + + /** + * HA deployment with availability sets. + */ + AvailabilitySet: "AvailabilitySet", + + /** + * HA deployment with availability zones. + */ + AvailabilityZone: "AvailabilityZone", +} + +/** + * Defines the disk sku name. + */ +union DiskSkuName { + string, + + /** + * Standard LRS Disk SKU. + */ + Standard_LRS: "Standard_LRS", + + /** + * Premium_LRS Disk SKU. + */ + Premium_LRS: "Premium_LRS", + + /** + * StandardSSD_LRS Disk SKU. + */ + StandardSSD_LRS: "StandardSSD_LRS", + + /** + * UltraSSD_LRS Disk SKU. + */ + UltraSSD_LRS: "UltraSSD_LRS", + + /** + * Premium_ZRS Disk SKU. + */ + Premium_ZRS: "Premium_ZRS", + + /** + * StandardSSD_ZRS Disk SKU. + */ + StandardSSD_ZRS: "StandardSSD_ZRS", + + /** + * PremiumV2_LRS Disk SKU. + */ + PremiumV2_LRS: "PremiumV2_LRS", +} + +/** + * Defines the network access type for managed resources. + */ +union ManagedResourcesNetworkAccessType { + string, + + /** + * Managed resources will be deployed with public network access enabled. + */ + Public: "Public", + + /** + * Managed resources will be deployed with public network access disabled. + */ + Private: "Private", +} + +/** + * The configuration Type. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPConfigurationType { + string, + + /** + * SAP system will be deployed by service. No OS configurations will be done. + */ + Deployment: "Deployment", + + /** + * Existing SAP system will be registered. + */ + Discovery: "Discovery", + + /** + * SAP system will be deployed by service. OS configurations will be done. + */ + DeploymentWithOSConfig: "DeploymentWithOSConfig", +} + +/** + * Defines the SAP Instance status. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPVirtualInstanceStatus { + string, + + /** + * SAP system is getting started. + */ + Starting: "Starting", + + /** + * SAP system is running. + */ + Running: "Running", + + /** + * SAP system is being stopped. + */ + Stopping: "Stopping", + + /** + * SAP system is offline. + */ + Offline: "Offline", + + /** + * SAP system is partially running. + */ + PartiallyRunning: "PartiallyRunning", + + /** + * SAP system status is unavailable. + */ + Unavailable: "Unavailable", + + /** + * Soft shutdown of SAP system is initiated. + */ + SoftShutdown: "SoftShutdown", +} + +/** + * Defines the health of SAP Instances. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPHealthState { + string, + + /** + * SAP System health is unknown. + */ + Unknown: "Unknown", + + /** + * SAP System health is healthy. + */ + Healthy: "Healthy", + + /** + * SAP System is unhealthy. + */ + Unhealthy: "Unhealthy", + + /** + * SAP System health is degraded. + */ + Degraded: "Degraded", +} + +/** + * Defines the Virtual Instance for SAP state. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPVirtualInstanceState { + string, + + /** + * Infrastructure is not yet deployed. + */ + InfrastructureDeploymentPending: "InfrastructureDeploymentPending", + + /** + * Infrastructure deployment is in progress. + */ + InfrastructureDeploymentInProgress: "InfrastructureDeploymentInProgress", + + /** + * Infrastructure deployment has failed. + */ + InfrastructureDeploymentFailed: "InfrastructureDeploymentFailed", + + /** + * Infrastructure deployment is successful. Software installation is pending. + */ + SoftwareInstallationPending: "SoftwareInstallationPending", + + /** + * Software installation is in progress. + */ + SoftwareInstallationInProgress: "SoftwareInstallationInProgress", + + /** + * Software installation failed. + */ + SoftwareInstallationFailed: "SoftwareInstallationFailed", + + /** + * Software detection is in progress. + */ + SoftwareDetectionInProgress: "SoftwareDetectionInProgress", + + /** + * Software detection failed. + */ + SoftwareDetectionFailed: "SoftwareDetectionFailed", + + /** + * Registration has not started. + */ + DiscoveryPending: "DiscoveryPending", + + /** + * Registration is in progress. + */ + DiscoveryInProgress: "DiscoveryInProgress", + + /** + * Registration has failed. + */ + DiscoveryFailed: "DiscoveryFailed", + + /** + * Registration is complete. + */ + RegistrationComplete: "RegistrationComplete", + + /** + * ACSS installation cannot proceed. + */ + ACSSInstallationBlocked: "ACSSInstallationBlocked", +} + +/** + * Defines the provisioning states. + */ +union SapVirtualInstanceProvisioningState { + string, + + /** + * ACSS succeeded provisioning state. + */ + Succeeded: "Succeeded", + + /** + * ACSS updating provisioning state. + */ + Updating: "Updating", + + /** + * ACSS Creating provisioning state. + */ + Creating: "Creating", + + /** + * ACSS Failed provisioning state. + */ + Failed: "Failed", + + /** + * ACSS Deleting provisioning state. + */ + Deleting: "Deleting", + + /** + * ACSS Canceled provisioning state. + */ + Canceled: "Canceled", +} + +/** + * Defines the type of Enqueue Replication Server. + */ +union EnqueueReplicationServerType { + string, + + /** + * Enqueue Replication server type 1. + */ + EnqueueReplicator1: "EnqueueReplicator1", + + /** + * Enqueue Replication server type 2. + */ + EnqueueReplicator2: "EnqueueReplicator2", +} + +/** + * Defines the type of central server VM. + */ +union CentralServerVirtualMachineType { + string, + + /** + * Primary central server vm. + */ + Primary: "Primary", + + /** + * Secondary central server vm. + */ + Secondary: "Secondary", + + /** + * Central server vm type unknown. + */ + Unknown: "Unknown", + + /** + * ASCS Central server vm type. + */ + ASCS: "ASCS", + + /** + * ERSInactive Central server vm type. + */ + ERSInactive: "ERSInactive", + + /** + * ERS Central server vm type. + */ + ERS: "ERS", + + /** + * Standby Central server vm type. + */ + Standby: "Standby", +} + +/** + * Defines the type of application server VM. + */ +union ApplicationServerVirtualMachineType { + string, + + /** + * Active Application server vm type. + */ + Active: "Active", + + /** + * Standby Application server vm type. + */ + Standby: "Standby", + + /** + * Unknown Application server vm type. + */ + Unknown: "Unknown", +} + +/** + * The OS Type + */ +union OSType { + string, + + /** + * Linux OS Type. + */ + Linux: "Linux", + + /** + * Windows OS Type. + */ + Windows: "Windows", +} + +/** + * The pattern type to be used for resource naming. + */ +union NamingPatternType { + string, + + /** + * Full resource names that will be created by service. + */ + FullResourceName: "FullResourceName", +} + +/** + * The type of file share config. + */ +union FileShareConfigurationType { + string, + + /** + * Skip creating the file share. + */ + Skip: "Skip", + + /** + * Fileshare will be created and mounted by service. + */ + CreateAndMount: "CreateAndMount", + + /** + * Existing fileshare provided will be mounted by service. + */ + Mount: "Mount", +} + +/** + * The SAP software installation Type. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +union SAPSoftwareInstallationType { + string, + + /** + * SAP Install managed by service. + */ + ServiceInitiated: "ServiceInitiated", + + /** + * SAP Install without OS Config. + */ + SAPInstallWithoutOSConfig: "SAPInstallWithoutOSConfig", + + /** + * External software installation type. + */ + External: "External", +} + +/** + * The SAP Sizing Recommendation request. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPSizingRecommendationRequest { + /** + * The geo-location where the resource is to be created. + */ + appLocation: string; + + /** + * Defines the environment type - Production/Non Production. + */ + environment: SAPEnvironmentType; + + /** + * Defines the SAP Product type. + */ + sapProduct: SAPProductType; + + /** + * The deployment type. Eg: SingleServer/ThreeTier + */ + deploymentType: SAPDeploymentType; + + /** + * The SAP Application Performance Standard measurement. + */ + saps: int64; + + /** + * The database memory configuration. + */ + dbMemory: int64; + + /** + * The database type. + */ + databaseType: SAPDatabaseType; + + /** + * The DB scale method. + */ + dbScaleMethod?: SAPDatabaseScaleMethod; + + /** + * The high availability type. + */ + highAvailabilityType?: SAPHighAvailabilityType; +} + +/** + * The SAP sizing recommendation result. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@discriminator("deploymentType") +model SAPSizingRecommendationResult { + /** + * The deployment type. Eg: SingleServer/ThreeTier + */ + deploymentType: SAPDeploymentType; +} + +/** + * The SAP request to get list of supported SKUs. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPSupportedSkusRequest { + /** + * The geo-location where the resource is to be created. + */ + appLocation: string; + + /** + * Defines the environment type - Production/Non Production. + */ + environment: SAPEnvironmentType; + + /** + * Defines the SAP Product type. + */ + sapProduct: SAPProductType; + + /** + * The deployment type. Eg: SingleServer/ThreeTier + */ + deploymentType: SAPDeploymentType; + + /** + * The database type. Eg: HANA, DB2, etc + */ + databaseType: SAPDatabaseType; + + /** + * The high availability type. + */ + highAvailabilityType?: SAPHighAvailabilityType; +} + +/** + * The list of supported SKUs for different resources which are part of SAP deployment. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPSupportedResourceSkusResult { + /** + * Gets the list of SAP supported SKUs. + */ + @OpenAPI.extension("x-ms-identifiers", []) + supportedSkus?: SAPSupportedSku[]; +} + +/** + * The SAP supported SKU. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPSupportedSku { + /** + * The VM Sku. + */ + vmSku?: string; + + /** + * True if the Sku is certified for App server in the SAP system. + */ + isAppServerCertified?: boolean; + + /** + * True if the Sku is certified for Database server in the SAP system. + */ + isDatabaseCertified?: boolean; +} + +/** + * The SAP request to get list of disk configurations. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPDiskConfigurationsRequest { + /** + * The geo-location where the SAP resources will be created. + */ + appLocation: string; + + /** + * Defines the environment type - Production/Non Production. + */ + environment: SAPEnvironmentType; + + /** + * Defines the SAP Product type. + */ + sapProduct: SAPProductType; + + /** + * The database type. Eg: HANA, DB2, etc + */ + databaseType: SAPDatabaseType; + + /** + * The deployment type. Eg: SingleServer/ThreeTier + */ + deploymentType: SAPDeploymentType; + + /** + * The VM SKU for database instance. + */ + dbVmSku: string; +} + +/** + * The list of disk configuration for vmSku which are part of SAP deployment. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPDiskConfigurationsResult { + /** + * The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup']. + */ + volumeConfigurations?: Record; +} + +/** + * The SAP Disk Configuration contains 'recommended disk' details and list of supported disks detail for a volume type. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPDiskConfiguration { + /** + * The recommended disk details for a given VM Sku. + */ + recommendedConfiguration?: DiskVolumeConfiguration; + + /** + * The list of supported disks for a given VM Sku. + */ + @OpenAPI.extension("x-ms-identifiers", []) + supportedConfigurations?: DiskDetails[]; +} + +/** + * The disk configuration required for the selected volume. + */ +model DiskVolumeConfiguration { + /** + * The total number of disks required for the concerned volume. + */ + count?: int64; + + /** + * The disk size in GB. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "GB represents giga bytes." + sizeGB?: int64; + + /** + * The disk SKU details. + */ + sku?: DiskSku; +} + +/** + * The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS. + */ +model DiskSku { + /** + * Defines the disk sku name. + */ + name?: DiskSkuName; +} + +/** + * The supported disk size details for a disk type. + */ +model DiskDetails { + /** + * The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS. + */ + sku?: DiskSku; + + /** + * The disk size in GB. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "GB represents giga bytes." + sizeGB?: int64; + + /** + * The minimum supported disk count. + */ + minimumSupportedDiskCount?: int64; + + /** + * The maximum supported disk count. + */ + maximumSupportedDiskCount?: int64; + + /** + * The disk Iops. + */ + iopsReadWrite?: int64; + + /** + * The disk provisioned throughput in MBps. + */ + mbpsReadWrite?: int64; + + /** + * The disk tier, e.g. P10, E10. + */ + diskTier?: string; +} + +/** + * The SAP request to get list of availability zones. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPAvailabilityZoneDetailsRequest { + /** + * The geo-location where the SAP resources will be created. + */ + appLocation: string; + + /** + * Defines the SAP Product type. + */ + sapProduct: SAPProductType; + + /** + * The database type. Eg: HANA, DB2, etc + */ + databaseType: SAPDatabaseType; +} + +/** + * The list of supported availability zone pairs which are part of SAP HA deployment. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPAvailabilityZoneDetailsResult { + /** + * Gets the list of availability zone pairs. + */ + @OpenAPI.extension("x-ms-identifiers", []) + availabilityZonePairs?: SAPAvailabilityZonePair[]; +} + +/** + * The SAP Availability Zone Pair. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPAvailabilityZonePair { + /** + * The zone A. + */ + zoneA?: int64; + + /** + * The zone B. + */ + zoneB?: int64; +} + +/** + * Defines the Virtual Instance for SAP solutions resource properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPVirtualInstanceProperties { + /** + * Defines the environment type - Production/Non Production. + */ + @visibility("read", "create") + environment: SAPEnvironmentType; + + /** + * Defines the SAP Product type. + */ + @visibility("read", "create") + sapProduct: SAPProductType; + + /** + * Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account. Learn more here https://go.microsoft.com/fwlink/?linkid=2247228 + */ + managedResourcesNetworkAccessType?: ManagedResourcesNetworkAccessType; + + /** + * 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 + */ + configuration: SAPConfiguration; + + /** + * Managed resource group configuration + */ + managedResourceGroupConfiguration?: ManagedRGConfiguration; + + /** + * Defines the SAP Instance status. + */ + @visibility("read") + status?: SAPVirtualInstanceStatus; + + /** + * Defines the health of SAP Instances. + */ + @visibility("read") + health?: SAPHealthState; + + /** + * Defines the Virtual Instance for SAP state. + */ + @visibility("read") + state?: SAPVirtualInstanceState; + + /** + * Defines the provisioning states. + */ + @visibility("read") + provisioningState?: SapVirtualInstanceProvisioningState; + + /** + * Indicates any errors on the Virtual Instance for SAP solutions resource. + */ + @visibility("read") + errors?: SAPVirtualInstanceError; +} + +/** + * The SAP Configuration. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +@discriminator("configurationType") +model SAPConfiguration { + /** + * The configuration type. Eg: Deployment/Discovery + */ + configurationType: SAPConfigurationType; +} + +/** + * Managed resource group configuration + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "RG represents the resource group." +model ManagedRGConfiguration { + /** + * Managed resource group name + */ + name?: string; +} + +/** + * An error response from the Virtual Instance for SAP Workload service. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPVirtualInstanceError { + /** + * The Virtual Instance for SAP error body. + */ + properties?: ErrorDefinition; +} + +/** + * Error definition. + */ +model ErrorDefinition { + /** + * Service specific error code which serves as the substatus for the HTTP error code. + */ + @visibility("read") + code?: string; + + /** + * Description of the error. + */ + @visibility("read") + message?: string; + + /** + * Internal error details. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + details?: ErrorDefinition[]; +} + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + */ +model Resource { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + @visibility("read") + id?: string; + + /** + * The name of the resource + */ + @visibility("read") + name?: string; + + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + @visibility("read") + type?: string; + + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + @visibility("read") + systemData?: SystemData; +} + +/** + * Defines the request body for updating Virtual Instance for SAP. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model UpdateSAPVirtualInstanceRequest { + /** + * Gets or sets the Resource tags. + */ + tags?: Record; + + /** + * Managed service identity (user assigned identities) + */ + identity?: CommonTypes.ManagedServiceIdentity; + + /** + * The update properties. + */ + properties?: UpdateSAPVirtualInstanceProperties; +} + +/** + * Defines the update request body properties for updating Virtual Instance for SAP. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model UpdateSAPVirtualInstanceProperties { + /** + * Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account. Learn more here https://go.microsoft.com/fwlink/?linkid=2247228 + */ + managedResourcesNetworkAccessType?: ManagedResourcesNetworkAccessType; +} + +/** + * Defines the SAP Central Services Instance properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPCentralServerProperties { + /** + * The central services instance number. + */ + @visibility("read") + instanceNo?: string; + + /** + * The central services instance subnet. + */ + @visibility("read") + subnet?: string; + + /** + * Defines the SAP message server properties. + */ + messageServerProperties?: MessageServerProperties; + + /** + * Defines the SAP Enqueue Server properties. + */ + enqueueServerProperties?: EnqueueServerProperties; + + /** + * Defines the SAP Gateway Server properties. + */ + gatewayServerProperties?: GatewayServerProperties; + + /** + * Defines the SAP Enqueue Replication Server (ERS) properties. + */ + enqueueReplicationServerProperties?: EnqueueReplicationServerProperties; + + /** + * The central services instance Kernel Version. + */ + @visibility("read") + kernelVersion?: string; + + /** + * The central services instance Kernel Patch level. + */ + @visibility("read") + kernelPatch?: string; + + /** + * The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines + */ + @visibility("read") + loadBalancerDetails?: LoadBalancerDetails; + + /** + * The list of virtual machines corresponding to the Central Services instance. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + vmDetails?: CentralServerVmDetails[]; + + /** + * Defines the SAP Instance status. + */ + @visibility("read") + status?: SAPVirtualInstanceStatus; + + /** + * Defines the health of SAP Instances. + */ + @visibility("read") + health?: SAPHealthState; + + /** + * Defines the provisioning states. + */ + @visibility("read") + provisioningState?: SapVirtualInstanceProvisioningState; + + /** + * Defines the errors related to SAP Central Services Instance resource. + */ + @visibility("read") + errors?: SAPVirtualInstanceError; +} + +/** + * Defines the SAP message server properties. + */ +model MessageServerProperties { + /** + * message server port. + */ + @visibility("read") + msPort?: int64; + + /** + * message server internal MS port. + */ + @visibility("read") + internalMsPort?: int64; + + /** + * message server HTTP Port. + */ + @visibility("read") + httpPort?: int64; + + /** + * message server HTTPS Port. + */ + @visibility("read") + httpsPort?: int64; + + /** + * message server SAP Hostname. + */ + @visibility("read") + hostname?: string; + + /** + * message server IP Address. + */ + @visibility("read") + ipAddress?: string; + + /** + * Defines the health of SAP Instances. + */ + @visibility("read") + health?: SAPHealthState; +} + +/** + * Defines the SAP Enqueue Server properties. + */ +model EnqueueServerProperties { + /** + * Enqueue Server SAP Hostname. + */ + @visibility("read") + hostname?: string; + + /** + * Enqueue Server SAP IP Address. + */ + @visibility("read") + ipAddress?: string; + + /** + * Enqueue Server Port. + */ + @visibility("read") + port?: int64; + + /** + * Defines the health of SAP Instances. + */ + @visibility("read") + health?: SAPHealthState; +} + +/** + * Defines the SAP Gateway Server properties. + */ +model GatewayServerProperties { + /** + * Gateway Port. + */ + @visibility("read") + port?: int64; + + /** + * Defines the health of SAP Instances. + */ + @visibility("read") + health?: SAPHealthState; +} + +/** + * Defines the SAP Enqueue Replication Server (ERS) properties. + */ +model EnqueueReplicationServerProperties { + /** + * Defines the type of Enqueue Replication Server. + */ + @visibility("read") + ersVersion?: EnqueueReplicationServerType; + + /** + * ERS Instance Number. + */ + @visibility("read") + instanceNo?: string; + + /** + * ERS SAP Hostname. + */ + @visibility("read") + hostname?: string; + + /** + * ERS SAP Kernel Version. + */ + @visibility("read") + kernelVersion?: string; + + /** + * ERS SAP Kernel Patch level. + */ + @visibility("read") + kernelPatch?: string; + + /** + * ERS SAP IP Address. + */ + @visibility("read") + ipAddress?: string; + + /** + * Defines the health of SAP Instances. + */ + @visibility("read") + health?: SAPHealthState; +} + +/** + * The Load Balancer details such as Load Balancer ID. + */ +model LoadBalancerDetails { + /** + * Fully qualified resource ID for the load balancer. + */ + @visibility("read") + id?: string; +} + +/** + * The SAP Central Services Instance VM details. + */ +model CentralServerVmDetails { + /** + * Defines the type of central server VM. + */ + @visibility("read") + type?: CentralServerVirtualMachineType; + + /** + * The virtual machine id. + */ + @visibility("read") + virtualMachineId?: string; + + /** + * Storage details of all the Storage Accounts attached to the ASCS Virtual Machine. For e.g. NFS on AFS Shared Storage. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + storageDetails?: StorageInformation[]; +} + +/** + * Storage details of all the Storage accounts attached to the VM. For e.g. NFS on AFS Shared Storage. + */ +model StorageInformation { + /** + * Fully qualified resource ID for the storage account. + */ + @visibility("read") + id?: string; +} + +/** + * Defines the request body for updating SAP Central Instance. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model UpdateSAPCentralInstanceRequest { + /** + * Gets or sets the Resource tags. + */ + tags?: Record; +} + +/** + * Defines the Database properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPDatabaseProperties { + /** + * Database subnet. + */ + @visibility("read") + subnet?: string; + + /** + * Database SID name. + */ + @visibility("read") + databaseSid?: string; + + /** + * Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server. + */ + @visibility("read") + databaseType?: string; + + /** + * Database IP Address. + */ + @visibility("read") + ipAddress?: string; + + /** + * The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines + */ + @visibility("read") + loadBalancerDetails?: LoadBalancerDetails; + + /** + * The list of virtual machines corresponding to the Database resource. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + vmDetails?: DatabaseVmDetails[]; + + /** + * Defines the SAP Instance status. + */ + @visibility("read") + status?: SAPVirtualInstanceStatus; + + /** + * Defines the provisioning states. + */ + @visibility("read") + provisioningState?: SapVirtualInstanceProvisioningState; + + /** + * Defines the errors related to Database resource. + */ + @visibility("read") + errors?: SAPVirtualInstanceError; +} + +/** + * Database VM details. + */ +model DatabaseVmDetails { + /** + * The virtual machine id. + */ + @visibility("read") + virtualMachineId?: string; + + /** + * Defines the SAP Instance status. + */ + @visibility("read") + status?: SAPVirtualInstanceStatus; + + /** + * Storage details of all the Storage Accounts attached to the Database Virtual Machine. For e.g. NFS on AFS Shared Storage. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + storageDetails?: StorageInformation[]; +} + +/** + * Defines the request body for updating SAP Database Instance. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model UpdateSAPDatabaseInstanceRequest { + /** + * Gets or sets the Resource tags. + */ + tags?: Record; +} + +/** + * Defines the SAP Application Server instance properties. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPApplicationServerProperties { + /** + * Application server Instance Number. + */ + @visibility("read") + instanceNo?: string; + + /** + * Application server Subnet. + */ + @visibility("read") + subnet?: string; + + /** + * Application server instance SAP hostname. + */ + @visibility("read") + hostname?: string; + + /** + * Application server instance SAP Kernel Version. + */ + @visibility("read") + kernelVersion?: string; + + /** + * Application server instance SAP Kernel Patch level. + */ + @visibility("read") + kernelPatch?: string; + + /** + * Application server instance SAP IP Address. + */ + @visibility("read") + ipAddress?: string; + + /** + * Application server instance gateway Port. + */ + @visibility("read") + gatewayPort?: int64; + + /** + * Application server instance ICM HTTP Port. + */ + @visibility("read") + icmHttpPort?: int64; + + /** + * Application server instance ICM HTTPS Port. + */ + @visibility("read") + icmHttpsPort?: int64; + + /** + * Application server instance dispatcher status. + */ + @visibility("read") + dispatcherStatus?: string; + + /** + * The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines + */ + @visibility("read") + loadBalancerDetails?: LoadBalancerDetails; + + /** + * The list of virtual machines. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + vmDetails?: ApplicationServerVmDetails[]; + + /** + * Defines the SAP Instance status. + */ + @visibility("read") + status?: SAPVirtualInstanceStatus; + + /** + * Defines the health of SAP Instances. + */ + @visibility("read") + health?: SAPHealthState; + + /** + * Defines the provisioning states. + */ + @visibility("read") + provisioningState?: SapVirtualInstanceProvisioningState; + + /** + * Defines the Application Instance errors. + */ + @visibility("read") + errors?: SAPVirtualInstanceError; +} + +/** + * The Application Server VM Details. + */ +model ApplicationServerVmDetails { + /** + * Defines the type of application server VM. + */ + @visibility("read") + type?: ApplicationServerVirtualMachineType; + + /** + * The virtual machine id. + */ + @visibility("read") + virtualMachineId?: string; + + /** + * Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage. + */ + @visibility("read") + @OpenAPI.extension("x-ms-identifiers", []) + storageDetails?: StorageInformation[]; +} + +/** + * Defines the request body for updating SAP Application Instance. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model UpdateSAPApplicationInstanceRequest { + /** + * Gets or sets the Resource tags. + */ + tags?: Record; +} + +/** + * Start SAP instance(s) request body. + */ +model StartRequest { + /** + * The boolean value indicates whether to start the virtual machines before starting the SAP instances. + */ + startVm?: boolean = false; +} + +/** + * Stop SAP instance(s) request body. + */ +model StopRequest { + /** + * 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. + */ + softStopTimeoutSeconds?: int64 = 0; + + /** + * The boolean value indicates whether to Stop and deallocate the virtual machines along with the SAP instances. + */ + deallocateVm?: boolean = false; +} + +/** + * 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. + */ +model ImageReference { + /** + * The image publisher. + */ + publisher?: string; + + /** + * Specifies the offer of the platform image or marketplace image used to create the virtual machine. + */ + offer?: string; + + /** + * The image SKU. + */ + sku?: string; + + /** + * 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. + */ + version?: string; + + /** + * Specifies the ARM resource ID of the Azure Compute Gallery image version used for creating ACSS VMs. You will need to provide this input when you choose to deploy virtual machines in ACSS with OS image from the Azure Compute gallery. + */ + id?: Azure.Core.armResourceIdentifier; +} + +/** + * Specifies Windows operating system settings on the virtual machine. + */ +model WindowsConfiguration extends OSConfiguration { + /** + * The OS Type + */ + osType: OSType.Windows; +} + +/** + * Defines the OS configuration. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "OS represents the Operation System." +@discriminator("osType") +model OSConfiguration { + /** + * The OS Type + */ + osType: OSType; +} + +/** + * Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + */ +model SshPublicKey { + /** + * 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). + */ + keyData?: string; +} + +/** + * SSH configuration for Linux based VMs running on Azure + */ +model SshConfiguration { + /** + * The list of SSH public keys used to authenticate with linux based VMs. + */ + @OpenAPI.extension("x-ms-identifiers", []) + publicKeys?: SshPublicKey[]; +} + +/** + * 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). + */ +model LinuxConfiguration extends OSConfiguration { + /** + * Specifies whether password authentication should be disabled. + */ + disablePasswordAuthentication?: boolean; + + /** + * Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead) + */ + ssh?: SshConfiguration; + + /** + * The SSH Key-pair used to authenticate with the VM's. + */ + sshKeyPair?: SshKeyPair; + + /** + * The OS Type + */ + osType: OSType.Linux; +} + +/** + * 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). + */ +model SshKeyPair { + /** + * SSH public key + */ + publicKey?: string; + + /** + * SSH private key. + */ + @secret + privateKey?: string; +} + +/** + * Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "OS represents the Operation System." +model OSProfile { + /** + * 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. + */ + adminUsername?: string; + + @secret + @doc("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)") + adminPassword?: string; + + /** + * Specifies Windows operating system settings on the virtual machine. + */ + osConfiguration?: OSConfiguration; +} + +/** + * The recommended configuration for a single server SAP system. + */ +model SingleServerRecommendationResult extends SAPSizingRecommendationResult { + /** + * The recommended VM SKU for single server. + */ + vmSku?: string; + + /** + * The single server SAP deployment type. + */ + deploymentType: SAPDeploymentType.SingleServer; +} + +/** + * The recommended configuration for a three tier SAP system. + */ +model ThreeTierRecommendationResult extends SAPSizingRecommendationResult { + /** + * The database VM SKU. + */ + dbVmSku?: string; + + /** + * The database server instance count. + */ + databaseInstanceCount?: int64; + + /** + * The central server VM SKU. + */ + centralServerVmSku?: string; + + /** + * The central server instance count. + */ + centralServerInstanceCount?: int64; + + /** + * The application server VM SKU. + */ + applicationServerVmSku?: string; + + /** + * The application server instance count. + */ + applicationServerInstanceCount?: int64; + + /** + * The three tier SAP deployment type. + */ + deploymentType: SAPDeploymentType.ThreeTier; +} + +/** + * The Disk Configuration Details. + */ +model DiskConfiguration { + /** + * The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup']. + */ + diskVolumeConfigurations?: Record; +} + +/** + * Defines the virtual machine configuration. + */ +model VirtualMachineConfiguration { + /** + * The virtual machine size. + */ + vmSize: string; + + /** + * The image reference. + */ + imageReference: ImageReference; + + /** + * The OS profile. + */ + osProfile: OSProfile; +} + +/** + * Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) + */ +model SingleServerConfiguration extends InfrastructureConfiguration { + /** + * Network configuration for the server + */ + networkConfiguration?: NetworkConfiguration; + + /** + * The database type. + */ + databaseType?: SAPDatabaseType; + + /** + * The subnet id. + */ + subnetId: string; + + /** + * Gets or sets the virtual machine configuration. + */ + virtualMachineConfiguration: VirtualMachineConfiguration; + + /** + * Gets or sets the disk configuration. + */ + dbDiskConfiguration?: DiskConfiguration; + + /** + * The set of custom names to be used for underlying azure resources that are part of the SAP system. + */ + customResourceNames?: SingleServerCustomResourceNames; + + /** + * The type of SAP deployment, single server in this case. + */ + deploymentType: SAPDeploymentType.SingleServer; +} + +/** + * Defines the network configuration type for SAP system infrastructure that is being deployed + */ +model NetworkConfiguration { + /** + * Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed + */ + isSecondaryIpEnabled?: boolean = false; +} + +/** + * The resource-names input to specify custom names for underlying azure resources that are part of a single server SAP system. + */ +@discriminator("namingPatternType") +model SingleServerCustomResourceNames { + /** + * The naming pattern type. + */ + namingPatternType: NamingPatternType; +} + +/** + * Deploy SAP Infrastructure Details. + */ +@discriminator("deploymentType") +model InfrastructureConfiguration { + /** + * The application resource group where SAP system resources will be deployed. + */ + appResourceGroup: string; + + /** + * The SAP deployment type. Eg: SingleServer/ThreeTier. + */ + deploymentType: SAPDeploymentType; +} + +/** + * Gets or sets the central server configuration. + */ +model CentralServerConfiguration { + /** + * The subnet id. + */ + subnetId: string; + + /** + * Gets or sets the virtual machine configuration. + */ + virtualMachineConfiguration: VirtualMachineConfiguration; + + /** + * The number of central server VMs. + */ + instanceCount: int64; +} + +/** + * Gets or sets the database configuration. + */ +model DatabaseConfiguration { + /** + * The database type. + */ + databaseType?: SAPDatabaseType; + + /** + * The subnet id. + */ + subnetId: string; + + /** + * Gets or sets the virtual machine configuration. + */ + virtualMachineConfiguration: VirtualMachineConfiguration; + + /** + * The number of database VMs. + */ + instanceCount: int64; + + /** + * Gets or sets the disk configuration. + */ + diskConfiguration?: DiskConfiguration; +} + +/** + * Gets or sets the application server configuration. + */ +model ApplicationServerConfiguration { + /** + * The subnet id. + */ + subnetId: string; + + /** + * Gets or sets the virtual machine configuration. + */ + virtualMachineConfiguration: VirtualMachineConfiguration; + + /** + * The number of app server instances. + */ + instanceCount: int64; +} + +/** + * Gets or sets the high availability configuration. + */ +model HighAvailabilityConfiguration { + /** + * The high availability type. + */ + highAvailabilityType: SAPHighAvailabilityType; +} + +/** + * Gets or sets the file share configuration for scenarios where transport directory fileshare is not created or required. + */ +model SkipFileShareConfiguration extends FileShareConfiguration { + /** + * The type of file share config, skip in this case i.e. fileshare is not created or required. + */ + configurationType: FileShareConfigurationType.Skip; +} + +/** + * File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input. + */ +@discriminator("configurationType") +model FileShareConfiguration { + /** + * The type of file share config, eg: Mount/CreateAndMount/Skip. + */ + configurationType: FileShareConfigurationType; +} + +/** + * Gets or sets the file share configuration where the transport directory fileshare is created and mounted as a part of the create infra flow. Please pre-create the resource group you intend to place the transport directory in. The storage account and fileshare will be auto-created by the ACSS and doesn't need to be pre-created. + */ +model CreateAndMountFileShareConfiguration extends FileShareConfiguration { + /** + * The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input. + */ + resourceGroup?: string; + + /** + * The name of file share storage account name . A custom name is used in case of missing input. + */ + storageAccountName?: string; + + /** + * The type of file share config. + */ + configurationType: FileShareConfigurationType.CreateAndMount; +} + +/** + * 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. + */ +model MountFileShareConfiguration extends FileShareConfiguration { + /** + * The fileshare resource ID + */ + id: string; + + /** + * The private endpoint resource ID + */ + privateEndpointId: string; + + /** + * The type of file share config, mount in this case. + */ + configurationType: FileShareConfigurationType.Mount; +} + +/** + * Gets or sets the storage configuration. + */ +model StorageConfiguration { + /** + * The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing. + */ + transportFileShareConfiguration?: FileShareConfiguration; +} + +/** + * Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) + */ +model ThreeTierConfiguration extends InfrastructureConfiguration { + /** + * Network configuration common to all servers + */ + networkConfiguration?: NetworkConfiguration; + + /** + * The central server configuration. + */ + centralServer: CentralServerConfiguration; + + /** + * The application server configuration. + */ + applicationServer: ApplicationServerConfiguration; + + /** + * The database configuration. + */ + databaseServer: DatabaseConfiguration; + + /** + * The high availability configuration. + */ + highAvailabilityConfig?: HighAvailabilityConfiguration; + + /** + * The storage configuration. + */ + storageConfiguration?: StorageConfiguration; + + /** + * The set of custom names to be used for underlying azure resources that are part of the SAP system. + */ + customResourceNames?: ThreeTierCustomResourceNames; + + /** + * The type of SAP deployment, ThreeTier in this case. + */ + deploymentType: SAPDeploymentType.ThreeTier; +} + +/** + * The resource-names input to specify custom names for underlying azure resources that are part of a three tier SAP system. + */ +@discriminator("namingPatternType") +model ThreeTierCustomResourceNames { + /** + * The pattern type to be used for resource naming. + */ + namingPatternType: NamingPatternType; +} + +/** + * The resource name object where the specified values will be full resource names of the corresponding resources in a single server SAP system. + */ +model SingleServerFullResourceNames extends SingleServerCustomResourceNames { + /** + * The resource names object for virtual machine and related resources. + */ + virtualMachine?: VirtualMachineResourceNames; + + /** + * The pattern type to be used for resource naming. + */ + namingPatternType: NamingPatternType.FullResourceName; +} + +/** + * The resource names object for virtual machine and related resources. + */ +model VirtualMachineResourceNames { + /** + * 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. + */ + vmName?: string; + + /** + * 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. + */ + hostName?: string; + + /** + * The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine. + */ + @OpenAPI.extension("x-ms-identifiers", []) + networkInterfaces?: NetworkInterfaceResourceNames[]; + + /** + * 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. + */ + osDiskName?: string; + + /** + * 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 + */ + dataDiskNames?: Record; +} + +/** + * The resource names object for network interface and related resources. + */ +model NetworkInterfaceResourceNames { + /** + * 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. + */ + networkInterfaceName?: string; +} + +/** + * The resource name object where the specified values will be full resource names of the corresponding resources in a three tier SAP system. + */ +model ThreeTierFullResourceNames extends ThreeTierCustomResourceNames { + /** + * The full resource names object for central server layer resources. + */ + centralServer?: CentralServerFullResourceNames; + + /** + * 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. + */ + applicationServer?: ApplicationServerFullResourceNames; + + /** + * 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. + */ + databaseServer?: DatabaseServerFullResourceNames; + + /** + * The resource names object for shared storage. + */ + sharedStorage?: SharedStorageResourceNames; + + /** + * The pattern type to be used for resource naming, FullResourceName in this case. + */ + namingPatternType: NamingPatternType.FullResourceName; +} + +/** + * The full resource names object for central server layer resources. + */ +model CentralServerFullResourceNames { + /** + * 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. + */ + @OpenAPI.extension("x-ms-identifiers", []) + virtualMachines?: VirtualMachineResourceNames[]; + + /** + * The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet. + */ + availabilitySetName?: string; + + /** + * The resource names object for load balancer and related resources. + */ + loadBalancer?: LoadBalancerResourceNames; +} + +/** + * The resource names object for load balancer and related resources. + */ +model LoadBalancerResourceNames { + /** + * The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer. + */ + loadBalancerName?: string; + + /** + * 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. + */ + frontendIpConfigurationNames?: string[]; + + /** + * The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1 + */ + backendPoolNames?: string[]; + + /** + * 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. + */ + healthProbeNames?: string[]; +} + +/** + * 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. + */ +model ApplicationServerFullResourceNames { + /** + * The list of virtual machine naming details. + */ + @OpenAPI.extension("x-ms-identifiers", []) + virtualMachines?: VirtualMachineResourceNames[]; + + /** + * The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet. + */ + availabilitySetName?: string; +} + +/** + * 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. + */ +model DatabaseServerFullResourceNames { + /** + * The list of virtual machine naming details. + */ + @OpenAPI.extension("x-ms-identifiers", []) + virtualMachines?: VirtualMachineResourceNames[]; + + /** + * The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet. + */ + availabilitySetName?: string; + + /** + * The resource names object for load balancer and related resources. + */ + loadBalancer?: LoadBalancerResourceNames; +} + +/** + * The resource names object for shared storage. + */ +model SharedStorageResourceNames { + /** + * The full name of the shared storage account. If it is not provided, it will be defaulted to {SID}nfs{guid of 15 chars}. + */ + sharedStorageAccountName?: string; + + /** + * The full name of private end point for the shared storage account. If it is not provided, it will be defaulted to {storageAccountName}_pe + */ + sharedStorageAccountPrivateEndPointName?: string; +} + +/** + * The SAP Software configuration Input. + */ +@discriminator("softwareInstallationType") +model SoftwareConfiguration { + /** + * The SAP software installation type. + */ + softwareInstallationType: SAPSoftwareInstallationType; +} + +/** + * The SAP Software configuration Input when the software is to be installed by service. + */ +model ServiceInitiatedSoftwareConfiguration extends SoftwareConfiguration { + /** + * The URL to the SAP Build of Materials(BOM) file. + */ + bomUrl: string; + + /** + * The software version to install. + */ + softwareVersion: string; + + /** + * The SAP bits storage account id. + */ + sapBitsStorageAccountId: string; + + /** + * The FQDN to set for the SAP system during install. + */ + sapFqdn: string; + + /** + * The SSH private key. + */ + @secret + sshPrivateKey: string; + + /** + * Gets or sets the HA software configuration. + */ + highAvailabilitySoftwareConfiguration?: HighAvailabilitySoftwareConfiguration; + + /** + * The SAP software installation Type, service initiated in this case. + */ + softwareInstallationType: SAPSoftwareInstallationType.ServiceInitiated; +} + +/** + * Gets or sets the HA software configuration. + */ +model HighAvailabilitySoftwareConfiguration { + /** + * The fencing client id. + */ + fencingClientId: string; + + /** + * The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs. + */ + @secret + fencingClientPassword: string; +} + +/** + * The SAP Software configuration Input when the software is to be installed by service without OS Configurations + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "SAP is used for representing the company product." +model SAPInstallWithoutOSConfigSoftwareConfiguration + extends SoftwareConfiguration { + /** + * The URL to the SAP Build of Materials(BOM) file. + */ + bomUrl: string; + + /** + * The SAP bits storage account id. + */ + sapBitsStorageAccountId: string; + + /** + * The software version to install. + */ + softwareVersion: string; + + /** + * Gets or sets the HA software configuration. + */ + highAvailabilitySoftwareConfiguration?: HighAvailabilitySoftwareConfiguration; + + /** + * The SAP software installation Type. + */ + softwareInstallationType: SAPSoftwareInstallationType.SAPInstallWithoutOSConfig; +} + +/** + * The SAP Software configuration Input when the software is installed externally outside the service. + */ +model ExternalInstallationSoftwareConfiguration extends SoftwareConfiguration { + /** + * The resource ID of the virtual machine containing the central server instance. + */ + centralServerVmId?: string; + + /** + * The SAP software installation Type. + */ + softwareInstallationType: SAPSoftwareInstallationType.External; +} + +/** + * Discovery Details. + */ +model DiscoveryConfiguration extends SAPConfiguration { + /** + * The virtual machine ID of the Central Server. + */ + centralServerVmId?: string; + + /** + * 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. + */ + @maxLength(24) + @minLength(3) + managedRgStorageAccountName?: string; + + /** + * The geo-location where the SAP system exists. + */ + @visibility("read") + appLocation?: string; + + /** + * The configuration Type. + */ + configurationType: SAPConfigurationType.Discovery; +} + +/** + * Deployment Configuration. + */ +model DeploymentConfiguration extends SAPConfiguration { + /** + * The geo-location where the SAP system is to be created. + */ + appLocation?: string; + + /** + * The infrastructure configuration. + */ + infrastructureConfiguration?: InfrastructureConfiguration; + + /** + * The software configuration. + */ + softwareConfiguration?: SoftwareConfiguration; + + /** + * The deployment configuration Type. + */ + configurationType: SAPConfigurationType.Deployment; +} + +/** + * Deployment along with OS Configuration. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "OS represents the Operation System." +model DeploymentWithOSConfiguration extends SAPConfiguration { + /** + * The geo-location where the SAP system is to be created. + */ + appLocation?: string; + + /** + * The infrastructure configuration. + */ + infrastructureConfiguration?: InfrastructureConfiguration; + + /** + * The software configuration. + */ + softwareConfiguration?: SoftwareConfiguration; + + /** + * The OS and SAP configuration. + */ + osSapConfiguration?: OsSapConfiguration; + + /** + * The configuration Type. + */ + configurationType: SAPConfigurationType.DeploymentWithOSConfig; +} + +/** + * Defines the OS and SAP Configurations for Deployment + */ +model OsSapConfiguration { + /** + * The url and storage account ID where deployer VM packages are uploaded + */ + deployerVmPackages?: DeployerVmPackages; + + /** + * The FQDN to set for the SAP system + */ + sapFqdn?: string; +} + +/** + * Defines the url and storage account ID where deployer VM packages are uploaded + */ +model DeployerVmPackages { + /** + * The URL to the deployer VM packages file. + */ + url?: string; + + /** + * The deployer VM packages storage account id + */ + storageAccountId?: string; +} diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml new file mode 100644 index 000000000000..159a8d7a302c --- /dev/null +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -0,0 +1,16 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + use-read-only-status-schema: true + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + emit-common-types-schema: "never" + # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag + arm-resource-flattening: true + output-file: "{azure-resource-provider-folder}/{service-name}/SAPVirtualInstance/{version-status}/{version}/SAPVirtualInstance.json" + examples-directory: "{project-root}/examples" +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md index df7bae1dd32b..f140347722e9 100644 --- a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/readme.md @@ -27,25 +27,35 @@ These are the global settings for the workloads. ``` yaml openapi-type: arm openapi-subtype: rpaas -tag: package-preview-2023-10 +tag: package-2024-09 ``` -``` yaml -modelerfour: - flatten-models: false + +### Tag: package-2024-09 + +These settings apply only when `--tag=package-2024-09` is specified on the command line. + +``` yaml $(tag) == 'package-2024-09' +input-file: + - stable/2024-09-01/SAPVirtualInstance.json + - ../common-types/v1/commonTypes.json + - ../operations/stable/2024-09-01/operations.json +suppressions: + - code: BodyTopLevelProperties + from: SAPVirtualInstance.json + reason: This is an incorrect failure due to a bug in the tool ``` ### Tag: package-preview-2023-10 These settings apply only when `--tag=package-preview-2023-10` is specified on the command line. -```yaml $(tag) == 'package-preview-2023-10' +``` yaml $(tag) == 'package-preview-2023-10' input-file: - preview/2023-10-01-preview/SAPVirtualInstance.json - ../common-types/v1/commonTypes.json - ../operations/preview/2023-10-01-preview/operations.json ``` - --- # Code Generation @@ -57,9 +67,10 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go + - repo: azure-sdk-for-go-track2 - repo: azure-sdk-for-js - repo: azure-sdk-for-net - repo: azure-resource-manager-schemas diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/sdk-suppressions.yaml b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/sdk-suppressions.yaml new file mode 100644 index 000000000000..703f7df29bb1 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/sdk-suppressions.yaml @@ -0,0 +1,59 @@ +suppressions: + azure-sdk-for-go: + - package: 'sdk/resourcemanager/workloadssapvirtualinstance/armworkloadssapvirtualinstance' + breaking-changes: + - Enum `ConfigurationType` has been removed + - Function `*ClientFactory.NewSAPApplicationServerInstancesClient` has been removed + - Function `*ClientFactory.NewSAPCentralInstancesClient` has been removed + - Function `*ClientFactory.NewSAPDatabaseInstancesClient` has been removed + - Function `*ClientFactory.NewSAPVirtualInstancesClient` has been removed + - Function `*ClientFactory.NewWorkloadsClient` has been removed + - Function `*SAPApplicationServerInstancesClient.BeginCreate` has been removed + - Function `*SAPApplicationServerInstancesClient.BeginDelete` has been removed + - Function `*SAPApplicationServerInstancesClient.BeginStartInstance` has been removed + - Function `*SAPApplicationServerInstancesClient.BeginStopInstance` has been removed + - Function `*SAPApplicationServerInstancesClient.Get` has been removed + - Function `*SAPApplicationServerInstancesClient.NewListPager` has been removed + - Function `*SAPApplicationServerInstancesClient.Update` has been removed + - Function `*SAPCentralInstancesClient.BeginCreate` has been removed + - Function `*SAPCentralInstancesClient.BeginDelete` has been removed + - Function `*SAPCentralInstancesClient.BeginStartInstance` has been removed + - Function `*SAPCentralInstancesClient.BeginStopInstance` has been removed + - Function `*SAPCentralInstancesClient.Get` has been removed + - Function `*SAPCentralInstancesClient.NewListPager` has been removed + - Function `*SAPCentralInstancesClient.Update` has been removed + - Function `*SAPDatabaseInstancesClient.BeginCreate` has been removed + - Function `*SAPDatabaseInstancesClient.BeginDelete` has been removed + - Function `*SAPDatabaseInstancesClient.BeginStartInstance` has been removed + - Function `*SAPDatabaseInstancesClient.BeginStopInstance` has been removed + - Function `*SAPDatabaseInstancesClient.Get` has been removed + - Function `*SAPDatabaseInstancesClient.NewListPager` has been removed + - Function `*SAPDatabaseInstancesClient.Update` has been removed + - Function `*SAPVirtualInstancesClient.BeginCreate` has been removed + - Function `*SAPVirtualInstancesClient.BeginDelete` has been removed + - Function `*SAPVirtualInstancesClient.BeginStart` has been removed + - Function `*SAPVirtualInstancesClient.BeginStop` has been removed + - Function `*SAPVirtualInstancesClient.BeginUpdate` has been removed + - Function `*SAPVirtualInstancesClient.Get` has been removed + - Function `*SAPVirtualInstancesClient.NewListByResourceGroupPager` has been removed + - Function `*SAPVirtualInstancesClient.NewListBySubscriptionPager` has been removed + - Function `*WorkloadsClient.SAPAvailabilityZoneDetails` has been removed + - Function `*WorkloadsClient.SAPDiskConfigurations` has been removed + - Function `*WorkloadsClient.SAPSizingRecommendations` has been removed + - Function `*WorkloadsClient.SAPSupportedSKU` has been removed + - Function `NewSAPApplicationServerInstancesClient` has been removed + - Function `NewSAPCentralInstancesClient` has been removed + - Function `NewSAPDatabaseInstancesClient` has been removed + - Function `NewSAPVirtualInstancesClient` has been removed + - Function `NewWorkloadsClient` has been removed + - Struct `SAPApplicationServerInstanceList` has been removed + - Struct `SAPCentralInstanceList` has been removed + - Struct `SAPDatabaseInstanceList` has been removed + - Struct `SAPVirtualInstanceList` has been removed + - Struct `UserAssignedServiceIdentity` has been removed + - Type of `CreateAndMountFileShareConfiguration.ConfigurationType` has been changed from `*ConfigurationType` to `*FileShareConfigurationType` + - Type of `FileShareConfiguration.ConfigurationType` has been changed from `*ConfigurationType` to `*FileShareConfigurationType` + - Type of `MountFileShareConfiguration.ConfigurationType` has been changed from `*ConfigurationType` to `*FileShareConfigurationType` + - Type of `SAPVirtualInstance.Identity` has been changed from `*UserAssignedServiceIdentity` to `*ManagedServiceIdentity` + - Type of `SkipFileShareConfiguration.ConfigurationType` has been changed from `*ConfigurationType` to `*FileShareConfigurationType` + - Type of `UpdateSAPVirtualInstanceRequest.Identity` has been changed from `*UserAssignedServiceIdentity` to `*ManagedServiceIdentity` diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json new file mode 100644 index 000000000000..8033cf27d1e9 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/SAPVirtualInstance.json @@ -0,0 +1,5163 @@ +{ + "swagger": "2.0", + "info": { + "title": "Workloads Client", + "version": "2024-09-01", + "description": "Workloads client provides access to various workload operations.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "SAPVirtualInstances" + }, + { + "name": "SAPCentralServerInstances" + }, + { + "name": "SAPDatabaseInstances" + }, + { + "name": "SAPApplicationServerInstances" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getAvailabilityZoneDetails": { + "post": { + "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Get the recommended SAP Availability Zone Pair Details for your region.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SAPAvailabilityZoneDetailsRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPAvailabilityZoneDetailsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAP Availability zone details in east us": { + "$ref": "./examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json" + }, + "SAP Availability zone details in north europe": { + "$ref": "./examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getDiskConfigurations": { + "post": { + "operationId": "SapVirtualInstances_GetDiskConfigurations", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Get the SAP Disk Configuration Layout prod/non-prod SAP System.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SAPDiskConfigurationsRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPDiskConfigurationsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAP disk configurations for input environment NonProd.": { + "$ref": "./examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json" + }, + "SAP disk configurations for input environment Prod.": { + "$ref": "./examples/SapVirtualInstances_GetDiskConfigurations_Prod.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSapSupportedSku": { + "post": { + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Get a list of SAP supported SKUs for ASCS, Application and Database tier.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SAPSupportedSkusRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPSupportedResourceSkusResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAP supported SKUs for distributed HA environment with Availability set.": { + "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json" + }, + "SAP supported SKUs for distributed Non HA environment.": { + "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json" + }, + "SAP supported SKUs for single server.": { + "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json" + }, + "SAP supported Skus for HA with availability zone.": { + "$ref": "./examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/{location}/sapVirtualInstanceMetadata/default/getSizingRecommendations": { + "post": { + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Gets the sizing recommendations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/SAPSizingRecommendationRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPSizingRecommendationResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAP sizing recommendations for HA with availability set.": { + "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json" + }, + "SAP sizing recommendations for HA with availability zone.": { + "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json" + }, + "SAP sizing recommendations for non HA distributed system.": { + "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json" + }, + "SAP sizing recommendations for single server.": { + "$ref": "./examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances": { + "get": { + "operationId": "SapVirtualInstances_ListBySubscription", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Gets all Virtual Instances for SAP solutions resources in a Subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPVirtualInstances_ListBySubscription": { + "$ref": "./examples/SapVirtualInstances_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances": { + "get": { + "operationId": "SapVirtualInstances_ListByResourceGroup", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Gets all Virtual Instances for SAP solutions resources in a Resource Group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPVirtualInstances_ListByResourceGroup": { + "$ref": "./examples/SapVirtualInstances_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}": { + "get": { + "operationId": "SapVirtualInstances_Get", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Gets a Virtual Instance for SAP solutions resource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPVirtualInstances Get With ACSS Installation Blocked": { + "$ref": "./examples/SapVirtualInstances_GetAcssInstallationBlocked.json" + }, + "SAPVirtualInstances_Get": { + "$ref": "./examples/SapVirtualInstances_Get.json" + } + } + }, + "put": { + "operationId": "SapVirtualInstances_Create", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Creates a Virtual Instance for SAP solutions (VIS) resource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "resource", + "in": "body", + "description": "Virtual Instance for SAP solutions resource request body.", + "required": true, + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SAPVirtualInstance' update operation succeeded", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "201": { + "description": "Resource 'SAPVirtualInstance' create operation succeeded", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create Infrastructure (with OS configuration) with Azure Compute Gallery Image": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for Distributed System": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for HA System with Availability Set": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for HA system with Availability Zone": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json" + }, + "Create Infrastructure (with OS configuration) with custom resource names for Single Server System": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json" + }, + "Create Infrastructure (with OS configuration) with trusted access enabled": { + "$ref": "./examples/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json" + }, + "Create Infrastructure only for Distributed System": { + "$ref": "./examples/SapVirtualInstances_CreateInfraDS.json" + }, + "Create Infrastructure only for HA System with Availability Set": { + "$ref": "./examples/SapVirtualInstances_CreateInfraHaAvailabilitySet.json" + }, + "Create Infrastructure only for HA System with Availability Zone": { + "$ref": "./examples/SapVirtualInstances_CreateInfraHaAvailabilityZone.json" + }, + "Create Infrastructure only for Single Server System": { + "$ref": "./examples/SapVirtualInstances_CreateInfraSingleServer.json" + }, + "Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json" + }, + "Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json" + }, + "Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json" + }, + "Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json" + }, + "Create Infrastructure with OS configuration for Distributed System (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsDSRecommended.json" + }, + "Create Infrastructure with OS configuration for HA System with Availability Set (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json" + }, + "Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json" + }, + "Create Infrastructure with OS configuration for Single Server System (Recommended)": { + "$ref": "./examples/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json" + }, + "Create Infrastructure with a new SAP Transport Directory Fileshare": { + "$ref": "./examples/SapVirtualInstances_CreateInfraWithNewFileshare.json" + }, + "Create Infrastructure with an existing SAP Transport Directory Fileshare": { + "$ref": "./examples/SapVirtualInstances_CreateInfraWithExistingFileshare.json" + }, + "Create Infrastructure without a SAP Transport Directory Fileshare": { + "$ref": "./examples/SapVirtualInstances_CreateInfraWithoutFileshare.json" + }, + "Detect SAP Software Installation on a Distributed System": { + "$ref": "./examples/SapVirtualInstances_CreateDetectDS.json" + }, + "Detect SAP Software Installation on a Single Server System": { + "$ref": "./examples/SapVirtualInstances_CreateDetectSingleServer.json" + }, + "Detect SAP Software Installation on an HA System with Availability Set": { + "$ref": "./examples/SapVirtualInstances_CreateDetectHaAvailabilitySet.json" + }, + "Detect SAP Software Installation on an HA System with Availability Zone": { + "$ref": "./examples/SapVirtualInstances_CreateDetectHaAvailabilityZone.json" + }, + "Install SAP Software on Distributed System": { + "$ref": "./examples/SapVirtualInstances_CreateInstallDS.json" + }, + "Install SAP Software on Single Server System": { + "$ref": "./examples/SapVirtualInstances_CreateInstallSingleServer.json" + }, + "Register existing SAP system as Virtual Instance for SAP solutions with optional customizations.": { + "$ref": "./examples/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json" + }, + "Register existing SAP system as Virtual Instance for SAP solutions.": { + "$ref": "./examples/SapVirtualInstances_CreateRegisterSapSolutions.json" + }, + "Register with trusted access enabled": { + "$ref": "./examples/SapVirtualInstances_CreateRegisterWithTrustedAccess.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SapVirtualInstances_Update", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Updates a Virtual Instance for SAP solutions resource", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "properties", + "in": "body", + "description": "Request body to update a Virtual Instance for SAP solutions resource.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSAPVirtualInstanceRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPVirtualInstances_TrustedAccessEnable_Update": { + "$ref": "./examples/SapVirtualInstances_UpdateTrustedAccess.json" + }, + "SAPVirtualInstances_Update": { + "$ref": "./examples/SapVirtualInstances_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "SapVirtualInstances_Delete", + "tags": [ + "SAPVirtualInstances" + ], + "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/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPVirtualInstances_Delete": { + "$ref": "./examples/SapVirtualInstances_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances": { + "get": { + "operationId": "SapApplicationServerInstances_List", + "tags": [ + "SAPApplicationServerInstances" + ], + "description": "Lists the SAP Application Server Instance resources for a given Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SapApplicationServerInstances List By SAP Virtual Instance": { + "$ref": "./examples/SapApplicationServerInstances_ListBySapVirtualInstance.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}": { + "get": { + "operationId": "SapApplicationServerInstances_Get", + "tags": [ + "SAPApplicationServerInstances" + ], + "description": "Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "applicationInstanceName", + "in": "path", + "description": "The name of SAP Application Server instance resource.", + "required": true, + "type": "string", + "pattern": "^.*" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPApplicationServerInstances_Get": { + "$ref": "./examples/SapApplicationServerInstances_Get.json" + } + } + }, + "put": { + "operationId": "SapApplicationServerInstances_Create", + "tags": [ + "SAPApplicationServerInstances" + ], + "description": "Puts the SAP Application Server Instance resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "applicationInstanceName", + "in": "path", + "description": "The name of SAP Application Server instance resource.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "resource", + "in": "body", + "description": "The SAP Application Server Instance resource request body.", + "required": true, + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SAPApplicationServerInstance' update operation succeeded", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "201": { + "description": "Resource 'SAPApplicationServerInstance' create operation succeeded", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create SAP Application Server Instances for HA System with Availability Set": { + "$ref": "./examples/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json" + }, + "SAPApplicationServerInstances_Create": { + "$ref": "./examples/SapApplicationServerInstances_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SapApplicationServerInstances_Update", + "tags": [ + "SAPApplicationServerInstances" + ], + "description": "Puts the SAP Application Server Instance resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "applicationInstanceName", + "in": "path", + "description": "The name of SAP Application Server instance resource.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "properties", + "in": "body", + "description": "The SAP Application Server Instance resource request body.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSAPApplicationInstanceRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPApplicationServerInstances_Update": { + "$ref": "./examples/SapApplicationServerInstances_Update.json" + } + } + }, + "delete": { + "operationId": "SapApplicationServerInstances_Delete", + "tags": [ + "SAPApplicationServerInstances" + ], + "description": "Deletes the SAP Application Server Instance resource. <br><br>This operation will be used by service only. Delete by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "applicationInstanceName", + "in": "path", + "description": "The name of SAP Application Server instance resource.", + "required": true, + "type": "string", + "pattern": "^.*" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPApplicationServerInstances_Delete": { + "$ref": "./examples/SapApplicationServerInstances_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}/start": { + "post": { + "operationId": "SapApplicationServerInstances_Start", + "tags": [ + "SAPApplicationServerInstances" + ], + "description": "Starts the SAP Application Server Instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "applicationInstanceName", + "in": "path", + "description": "The name of SAP Application Server instance resource.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "body", + "in": "body", + "description": "SAP Application server instance start request body.", + "required": true, + "schema": { + "$ref": "#/definitions/StartRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start Virtual Machine and the SAP Application Server Instance on it.": { + "$ref": "./examples/SapApplicationServerInstances_StartInstanceVM.json" + }, + "Start the SAP Application Server Instance.": { + "$ref": "./examples/SapApplicationServerInstances_StartInstance.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/applicationInstances/{applicationInstanceName}/stop": { + "post": { + "operationId": "SapApplicationServerInstances_Stop", + "tags": [ + "SAPApplicationServerInstances" + ], + "description": "Stops the SAP Application Server Instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "applicationInstanceName", + "in": "path", + "description": "The name of SAP Application Server instance resource.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "body", + "in": "body", + "description": "SAP Application server instance stop request body.", + "required": true, + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Soft Stop the SAP Application Server Instance": { + "$ref": "./examples/SapApplicationServerInstances_StopInstanceSoft.json" + }, + "Soft Stop the SAP Application Server Instance and it's infrastructure.": { + "$ref": "./examples/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json" + }, + "Stop the SAP Application Server Instance": { + "$ref": "./examples/SapApplicationServerInstances_StopInstance.json" + }, + "Stop the SAP Application Server Instance and it's infrastructure.": { + "$ref": "./examples/SapApplicationServerInstances_StopInstanceInfrastructure.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances": { + "get": { + "operationId": "SapCentralServerInstances_List", + "tags": [ + "SAPCentralServerInstances" + ], + "description": "Lists the SAP Central Services Instance resource for the given Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPCentralInstances List by SAP virtual instance": { + "$ref": "./examples/SapCentralServerInstances_ListBySapVirtualInstance.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}": { + "get": { + "operationId": "SapCentralServerInstances_Get", + "tags": [ + "SAPCentralServerInstances" + ], + "description": "Gets the SAP Central Services Instance resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "centralInstanceName", + "in": "path", + "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SapCentralServerInstances_Get": { + "$ref": "./examples/SapCentralInstances_Get.json" + } + } + }, + "put": { + "operationId": "SapCentralServerInstances_Create", + "tags": [ + "SAPCentralServerInstances" + ], + "description": "Creates the SAP Central Services Instance resource. <br><br>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/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "centralInstanceName", + "in": "path", + "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "resource", + "in": "body", + "description": "The SAP Central Services Instance request body.", + "required": true, + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SAPCentralServerInstance' update operation succeeded", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "201": { + "description": "Resource 'SAPCentralServerInstance' create operation succeeded", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create SAP Central Instances for HA System with Availability Set": { + "$ref": "./examples/SapCentralInstances_CreateForHaWithAvailabilitySet.json" + }, + "SapCentralServerInstances_Create": { + "$ref": "./examples/SapCentralInstances_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SapCentralServerInstances_Update", + "tags": [ + "SAPCentralServerInstances" + ], + "description": "Updates the SAP Central Services Instance resource. <br><br>This can be used to update tags on the resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "centralInstanceName", + "in": "path", + "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "properties", + "in": "body", + "description": "The SAP Central Services Instance resource request body.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSAPCentralInstanceRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SapCentralServerInstances_Update": { + "$ref": "./examples/SapCentralInstances_Update.json" + } + } + }, + "delete": { + "operationId": "SapCentralServerInstances_Delete", + "tags": [ + "SAPCentralServerInstances" + ], + "description": "Deletes the SAP Central Services Instance resource. <br><br>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/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "centralInstanceName", + "in": "path", + "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SapCentralServerInstances_Delete": { + "$ref": "./examples/SapCentralInstances_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}/start": { + "post": { + "operationId": "SapCentralServerInstances_Start", + "tags": [ + "SAPCentralServerInstances" + ], + "description": "Starts the SAP Central Services Instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "centralInstanceName", + "in": "path", + "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "body", + "in": "body", + "description": "SAP Central Services instance start request body.", + "required": true, + "schema": { + "$ref": "#/definitions/StartRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start the SAP Central Services Instance": { + "$ref": "./examples/SapCentralInstances_StartInstance.json" + }, + "Start the virtual machine(s) and the SAP central services instance on it.": { + "$ref": "./examples/SapCentralInstances_StartInstanceVM.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/centralInstances/{centralInstanceName}/stop": { + "post": { + "operationId": "SapCentralServerInstances_Stop", + "tags": [ + "SAPCentralServerInstances" + ], + "description": "Stops the SAP Central Services Instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "centralInstanceName", + "in": "path", + "description": "Central Services Instance resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "body", + "in": "body", + "description": "SAP Central Services instance stop request body.", + "required": true, + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop the SAP Central Services Instance and its underlying Virtual Machine(s)": { + "$ref": "./examples/SapCentralInstances_StopInstanceVM.json" + }, + "Stop the SAP Central Services Instance.": { + "$ref": "./examples/SapCentralInstances_StopInstance.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances": { + "get": { + "operationId": "SapDatabaseInstances_List", + "tags": [ + "SAPDatabaseInstances" + ], + "description": "Lists the Database resources associated with a Virtual Instance for SAP solutions resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstanceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPDatabaseInstances list by SAP virtual instance": { + "$ref": "./examples/SapDatabaseInstances_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}": { + "get": { + "operationId": "SapDatabaseInstances_Get", + "tags": [ + "SAPDatabaseInstances" + ], + "description": "Gets the SAP Database Instance resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "databaseInstanceName", + "in": "path", + "description": "Database resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPDatabaseInstances_Get": { + "$ref": "./examples/SapDatabaseInstances_Get.json" + } + } + }, + "put": { + "operationId": "SapDatabaseInstances_Create", + "tags": [ + "SAPDatabaseInstances" + ], + "description": "Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. PUT by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "databaseInstanceName", + "in": "path", + "description": "Database resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "resource", + "in": "body", + "description": "Request body of Database resource of a SAP system.", + "required": true, + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SAPDatabaseInstance' update operation succeeded", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "201": { + "description": "Resource 'SAPDatabaseInstance' create operation succeeded", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create SAP Database Instances for HA System with Availability Set": { + "$ref": "./examples/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json" + }, + "SAPDatabaseInstances_Create": { + "$ref": "./examples/SapDatabaseInstances_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SapDatabaseInstances_Update", + "tags": [ + "SAPDatabaseInstances" + ], + "description": "Updates the Database resource.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "databaseInstanceName", + "in": "path", + "description": "Database resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "properties", + "in": "body", + "description": "Database resource update request body.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateSAPDatabaseInstanceRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPDatabaseInstances_Update": { + "$ref": "./examples/SapDatabaseInstances_Update.json" + } + } + }, + "delete": { + "operationId": "SapDatabaseInstances_Delete", + "tags": [ + "SAPDatabaseInstances" + ], + "description": "Deletes the Database resource corresponding to a Virtual Instance for SAP solutions resource. <br><br>This will be used by service only. Delete by end user will return a Bad Request error.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "databaseInstanceName", + "in": "path", + "description": "Database resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPDatabaseInstances_Delete": { + "$ref": "./examples/SapDatabaseInstances_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}/start": { + "post": { + "operationId": "SapDatabaseInstances_Start", + "tags": [ + "SAPDatabaseInstances" + ], + "description": "Starts the database instance of the SAP system.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "databaseInstanceName", + "in": "path", + "description": "Database resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "body", + "in": "body", + "description": "SAP Database server instance start request body.", + "required": true, + "schema": { + "$ref": "#/definitions/StartRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Start Virtual Machine and the database instance of the SAP system on it.": { + "$ref": "./examples/SapDatabaseInstances_StartInstanceVM.json" + }, + "Start the database instance of the SAP system.": { + "$ref": "./examples/SapDatabaseInstances_StartInstance.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}/stop": { + "post": { + "operationId": "SapDatabaseInstances_Stop", + "tags": [ + "SAPDatabaseInstances" + ], + "description": "Stops the database instance of the SAP system.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "databaseInstanceName", + "in": "path", + "description": "Database resource name string modeled as parameter for auto generation to work correctly.", + "required": true, + "type": "string", + "pattern": "^.*" + }, + { + "name": "body", + "in": "body", + "description": "Stop request for the database instance of the SAP system.", + "required": true, + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Soft Stop the database instance of the SAP system and the underlying Virtual Machine(s).": { + "$ref": "./examples/SapDatabaseInstances_StopInstanceSoftVM.json" + }, + "Soft Stop the database instance of the SAP system.": { + "$ref": "./examples/SapDatabaseInstances_StopInstanceSoft.json" + }, + "Stop the database instance of the SAP system and the underlying Virtual Machine(s).": { + "$ref": "./examples/SapDatabaseInstances_StopInstanceVM.json" + }, + "Stop the database instance of the SAP system.": { + "$ref": "./examples/SapDatabaseInstances_StopInstance.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/start": { + "post": { + "operationId": "SapVirtualInstances_Start", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Starts the SAP application, that is the Central Services instance and Application server instances.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "body", + "in": "body", + "description": "The Virtual Instance for SAP solutions resource start request body.", + "required": true, + "schema": { + "$ref": "#/definitions/StartRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPVirtualInstances_Start": { + "$ref": "./examples/SapVirtualInstances_Start.json" + }, + "SAPVirtualInstances_Start_WithInfraOperations": { + "$ref": "./examples/SapVirtualInstances_StartWithInfraOperations.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/stop": { + "post": { + "operationId": "SapVirtualInstances_Stop", + "tags": [ + "SAPVirtualInstances" + ], + "description": "Stops the SAP Application, that is the Application server instances and Central Services instance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "sapVirtualInstanceName", + "in": "path", + "description": "The name of the Virtual Instances for SAP solutions resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9]{2}$" + }, + { + "name": "body", + "in": "body", + "description": "The Virtual Instance for SAP solutions resource stop request body.", + "required": true, + "schema": { + "$ref": "#/definitions/StopRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SAPVirtualInstances_Stop": { + "$ref": "./examples/SapVirtualInstances_Stop.json" + }, + "Soft Stop of SapVirtualInstances_Stop": { + "$ref": "./examples/SapVirtualInstances_SoftStop.json" + }, + "Soft Stop the virtual machine(s) and the SAP system on it.": { + "$ref": "./examples/SapVirtualInstances_SoftStopVMAndSystem.json" + }, + "Stop the virtual machine(s) and the SAP system on it.": { + "$ref": "./examples/SapVirtualInstances_StopVMAndSystem.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ApplicationServerConfiguration": { + "type": "object", + "description": "Gets or sets the application server configuration.", + "properties": { + "subnetId": { + "type": "string", + "description": "The subnet id." + }, + "virtualMachineConfiguration": { + "$ref": "#/definitions/VirtualMachineConfiguration", + "description": "Gets or sets the virtual machine configuration." + }, + "instanceCount": { + "type": "integer", + "format": "int64", + "description": "The number of app server instances." + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration", + "instanceCount" + ] + }, + "ApplicationServerFullResourceNames": { + "type": "object", + "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.", + "properties": { + "virtualMachines": { + "type": "array", + "description": "The list of virtual machine naming details.", + "items": { + "$ref": "#/definitions/VirtualMachineResourceNames" + }, + "x-ms-identifiers": [] + }, + "availabilitySetName": { + "type": "string", + "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-App-AvSet." + } + } + }, + "ApplicationServerVirtualMachineType": { + "type": "string", + "description": "Defines the type of application server VM.", + "enum": [ + "Active", + "Standby", + "Unknown" + ], + "x-ms-enum": { + "name": "ApplicationServerVirtualMachineType", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Active Application server vm type." + }, + { + "name": "Standby", + "value": "Standby", + "description": "Standby Application server vm type." + }, + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown Application server vm type." + } + ] + } + }, + "ApplicationServerVmDetails": { + "type": "object", + "description": "The Application Server VM Details.", + "properties": { + "type": { + "$ref": "#/definitions/ApplicationServerVirtualMachineType", + "description": "Defines the type of application server VM.", + "readOnly": true + }, + "virtualMachineId": { + "type": "string", + "description": "The virtual machine id.", + "readOnly": true + }, + "storageDetails": { + "type": "array", + "description": "Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.", + "items": { + "$ref": "#/definitions/StorageInformation" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "CentralServerConfiguration": { + "type": "object", + "description": "Gets or sets the central server configuration.", + "properties": { + "subnetId": { + "type": "string", + "description": "The subnet id." + }, + "virtualMachineConfiguration": { + "$ref": "#/definitions/VirtualMachineConfiguration", + "description": "Gets or sets the virtual machine configuration." + }, + "instanceCount": { + "type": "integer", + "format": "int64", + "description": "The number of central server VMs." + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration", + "instanceCount" + ] + }, + "CentralServerFullResourceNames": { + "type": "object", + "description": "The full resource names object for central server layer resources.", + "properties": { + "virtualMachines": { + "type": "array", + "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.", + "items": { + "$ref": "#/definitions/VirtualMachineResourceNames" + }, + "x-ms-identifiers": [] + }, + "availabilitySetName": { + "type": "string", + "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-ASCS-AvSet." + }, + "loadBalancer": { + "$ref": "#/definitions/LoadBalancerResourceNames", + "description": "The resource names object for load balancer and related resources." + } + } + }, + "CentralServerVirtualMachineType": { + "type": "string", + "description": "Defines the type of central server VM.", + "enum": [ + "Primary", + "Secondary", + "Unknown", + "ASCS", + "ERSInactive", + "ERS", + "Standby" + ], + "x-ms-enum": { + "name": "CentralServerVirtualMachineType", + "modelAsString": true, + "values": [ + { + "name": "Primary", + "value": "Primary", + "description": "Primary central server vm." + }, + { + "name": "Secondary", + "value": "Secondary", + "description": "Secondary central server vm." + }, + { + "name": "Unknown", + "value": "Unknown", + "description": "Central server vm type unknown." + }, + { + "name": "ASCS", + "value": "ASCS", + "description": "ASCS Central server vm type." + }, + { + "name": "ERSInactive", + "value": "ERSInactive", + "description": "ERSInactive Central server vm type." + }, + { + "name": "ERS", + "value": "ERS", + "description": "ERS Central server vm type." + }, + { + "name": "Standby", + "value": "Standby", + "description": "Standby Central server vm type." + } + ] + } + }, + "CentralServerVmDetails": { + "type": "object", + "description": "The SAP Central Services Instance VM details.", + "properties": { + "type": { + "$ref": "#/definitions/CentralServerVirtualMachineType", + "description": "Defines the type of central server VM.", + "readOnly": true + }, + "virtualMachineId": { + "type": "string", + "description": "The virtual machine id.", + "readOnly": true + }, + "storageDetails": { + "type": "array", + "description": "Storage details of all the Storage Accounts attached to the ASCS Virtual Machine. For e.g. NFS on AFS Shared Storage.", + "items": { + "$ref": "#/definitions/StorageInformation" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "CreateAndMountFileShareConfiguration": { + "type": "object", + "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. Please pre-create the resource group you intend to place the transport directory in. The storage account and fileshare will be auto-created by the ACSS and doesn't need to be pre-created.", + "properties": { + "resourceGroup": { + "type": "string", + "description": "The name of transport file share resource group. This should be pre created by the customer. 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." + } + }, + "allOf": [ + { + "$ref": "#/definitions/FileShareConfiguration" + } + ], + "x-ms-discriminator-value": "CreateAndMount" + }, + "DatabaseConfiguration": { + "type": "object", + "description": "Gets or sets the database configuration.", + "properties": { + "databaseType": { + "$ref": "#/definitions/SAPDatabaseType", + "description": "The database type." + }, + "subnetId": { + "type": "string", + "description": "The subnet id." + }, + "virtualMachineConfiguration": { + "$ref": "#/definitions/VirtualMachineConfiguration", + "description": "Gets or sets the virtual machine configuration." + }, + "instanceCount": { + "type": "integer", + "format": "int64", + "description": "The number of database VMs." + }, + "diskConfiguration": { + "$ref": "#/definitions/DiskConfiguration", + "description": "Gets or sets the disk configuration." + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration", + "instanceCount" + ] + }, + "DatabaseServerFullResourceNames": { + "type": "object", + "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.", + "properties": { + "virtualMachines": { + "type": "array", + "description": "The list of virtual machine naming details.", + "items": { + "$ref": "#/definitions/VirtualMachineResourceNames" + }, + "x-ms-identifiers": [] + }, + "availabilitySetName": { + "type": "string", + "description": "The full name for availability set. In case name is not provided, it will be defaulted to {SID}-DB-AvSet." + }, + "loadBalancer": { + "$ref": "#/definitions/LoadBalancerResourceNames", + "description": "The resource names object for load balancer and related resources." + } + } + }, + "DatabaseVmDetails": { + "type": "object", + "description": "Database VM details.", + "properties": { + "virtualMachineId": { + "type": "string", + "description": "The virtual machine id.", + "readOnly": true + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "description": "Defines the SAP Instance status.", + "readOnly": true + }, + "storageDetails": { + "type": "array", + "description": "Storage details of all the Storage Accounts attached to the Database Virtual Machine. For e.g. NFS on AFS Shared Storage.", + "items": { + "$ref": "#/definitions/StorageInformation" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "DeployerVmPackages": { + "type": "object", + "description": "Defines the url and storage account ID where deployer VM packages are uploaded", + "properties": { + "url": { + "type": "string", + "description": "The URL to the deployer VM packages file." + }, + "storageAccountId": { + "type": "string", + "description": "The deployer VM packages storage account id" + } + } + }, + "DeploymentConfiguration": { + "type": "object", + "description": "Deployment Configuration.", + "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." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SAPConfiguration" + } + ], + "x-ms-discriminator-value": "Deployment" + }, + "DeploymentWithOSConfiguration": { + "type": "object", + "description": "Deployment along with OS Configuration.", + "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." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SAPConfiguration" + } + ], + "x-ms-discriminator-value": "DeploymentWithOSConfig" + }, + "DiscoveryConfiguration": { + "type": "object", + "description": "Discovery Details.", + "properties": { + "centralServerVmId": { + "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", + "description": "The geo-location where the SAP system exists.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/SAPConfiguration" + } + ], + "x-ms-discriminator-value": "Discovery" + }, + "DiskConfiguration": { + "type": "object", + "description": "The Disk Configuration Details.", + "properties": { + "diskVolumeConfigurations": { + "type": "object", + "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'].", + "additionalProperties": { + "$ref": "#/definitions/DiskVolumeConfiguration" + } + } + } + }, + "DiskDetails": { + "type": "object", + "description": "The supported disk size details for a disk type.", + "properties": { + "sku": { + "$ref": "#/definitions/DiskSku", + "description": "The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS." + }, + "sizeGB": { + "type": "integer", + "format": "int64", + "description": "The disk size in GB." + }, + "minimumSupportedDiskCount": { + "type": "integer", + "format": "int64", + "description": "The minimum supported disk count." + }, + "maximumSupportedDiskCount": { + "type": "integer", + "format": "int64", + "description": "The maximum supported disk count." + }, + "iopsReadWrite": { + "type": "integer", + "format": "int64", + "description": "The disk Iops." + }, + "mbpsReadWrite": { + "type": "integer", + "format": "int64", + "description": "The disk provisioned throughput in MBps." + }, + "diskTier": { + "type": "string", + "description": "The disk tier, e.g. P10, E10." + } + } + }, + "DiskSku": { + "type": "object", + "description": "The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS.", + "properties": { + "name": { + "$ref": "#/definitions/DiskSkuName", + "description": "Defines the disk sku name." + } + } + }, + "DiskSkuName": { + "type": "string", + "description": "Defines the disk sku name.", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ], + "x-ms-enum": { + "name": "DiskSkuName", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS", + "description": "Standard LRS Disk SKU." + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS", + "description": "Premium_LRS Disk SKU." + }, + { + "name": "StandardSSD_LRS", + "value": "StandardSSD_LRS", + "description": "StandardSSD_LRS Disk SKU." + }, + { + "name": "UltraSSD_LRS", + "value": "UltraSSD_LRS", + "description": "UltraSSD_LRS Disk SKU." + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS", + "description": "Premium_ZRS Disk SKU." + }, + { + "name": "StandardSSD_ZRS", + "value": "StandardSSD_ZRS", + "description": "StandardSSD_ZRS Disk SKU." + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS", + "description": "PremiumV2_LRS Disk SKU." + } + ] + } + }, + "DiskVolumeConfiguration": { + "type": "object", + "description": "The disk configuration required for the selected volume.", + "properties": { + "count": { + "type": "integer", + "format": "int64", + "description": "The total number of disks required for the concerned volume." + }, + "sizeGB": { + "type": "integer", + "format": "int64", + "description": "The disk size in GB." + }, + "sku": { + "$ref": "#/definitions/DiskSku", + "description": "The disk SKU details." + } + } + }, + "EnqueueReplicationServerProperties": { + "type": "object", + "description": "Defines the SAP Enqueue Replication Server (ERS) properties.", + "properties": { + "ersVersion": { + "$ref": "#/definitions/EnqueueReplicationServerType", + "description": "Defines the type of Enqueue Replication Server.", + "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/SAPHealthState", + "description": "Defines the health of SAP Instances.", + "readOnly": true + } + } + }, + "EnqueueReplicationServerType": { + "type": "string", + "description": "Defines the type of Enqueue Replication Server.", + "enum": [ + "EnqueueReplicator1", + "EnqueueReplicator2" + ], + "x-ms-enum": { + "name": "EnqueueReplicationServerType", + "modelAsString": true, + "values": [ + { + "name": "EnqueueReplicator1", + "value": "EnqueueReplicator1", + "description": "Enqueue Replication server type 1." + }, + { + "name": "EnqueueReplicator2", + "value": "EnqueueReplicator2", + "description": "Enqueue Replication server type 2." + } + ] + } + }, + "EnqueueServerProperties": { + "type": "object", + "description": "Defines the SAP Enqueue Server properties.", + "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 + }, + "health": { + "$ref": "#/definitions/SAPHealthState", + "description": "Defines the health of SAP Instances.", + "readOnly": true + } + } + }, + "ErrorDefinition": { + "type": "object", + "description": "Error definition.", + "properties": { + "code": { + "type": "string", + "description": "Service specific error code which serves as the substatus for the HTTP error code.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Description of the error.", + "readOnly": true + }, + "details": { + "type": "array", + "description": "Internal error details.", + "items": { + "$ref": "#/definitions/ErrorDefinition" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "ExternalInstallationSoftwareConfiguration": { + "type": "object", + "description": "The SAP Software configuration Input when the software is installed externally outside the service.", + "properties": { + "centralServerVmId": { + "type": "string", + "description": "The resource ID of the virtual machine containing the central server instance." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SoftwareConfiguration" + } + ], + "x-ms-discriminator-value": "External" + }, + "FileShareConfiguration": { + "type": "object", + "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.", + "properties": { + "configurationType": { + "$ref": "#/definitions/FileShareConfigurationType", + "description": "The type of file share config, eg: Mount/CreateAndMount/Skip." + } + }, + "discriminator": "configurationType", + "required": [ + "configurationType" + ] + }, + "FileShareConfigurationType": { + "type": "string", + "description": "The type of file share config.", + "enum": [ + "Skip", + "CreateAndMount", + "Mount" + ], + "x-ms-enum": { + "name": "FileShareConfigurationType", + "modelAsString": true, + "values": [ + { + "name": "Skip", + "value": "Skip", + "description": "Skip creating the file share." + }, + { + "name": "CreateAndMount", + "value": "CreateAndMount", + "description": "Fileshare will be created and mounted by service." + }, + { + "name": "Mount", + "value": "Mount", + "description": "Existing fileshare provided will be mounted by service." + } + ] + } + }, + "GatewayServerProperties": { + "type": "object", + "description": "Defines the SAP Gateway Server properties.", + "properties": { + "port": { + "type": "integer", + "format": "int64", + "description": "Gateway Port.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/SAPHealthState", + "description": "Defines the health of SAP Instances.", + "readOnly": true + } + } + }, + "HighAvailabilityConfiguration": { + "type": "object", + "description": "Gets or sets the high availability configuration.", + "properties": { + "highAvailabilityType": { + "$ref": "#/definitions/SAPHighAvailabilityType", + "description": "The high availability type." + } + }, + "required": [ + "highAvailabilityType" + ] + }, + "HighAvailabilitySoftwareConfiguration": { + "type": "object", + "description": "Gets or sets the HA software configuration.", + "properties": { + "fencingClientId": { + "type": "string", + "description": "The fencing client id." + }, + "fencingClientPassword": { + "type": "string", + "format": "password", + "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 + } + }, + "required": [ + "fencingClientId", + "fencingClientPassword" + ] + }, + "ImageReference": { + "type": "object", + "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.", + "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." + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "Specifies the ARM resource ID of the Azure Compute Gallery image version used for creating ACSS VMs. You will need to provide this input when you choose to deploy virtual machines in ACSS with OS image from the Azure Compute gallery." + } + } + }, + "InfrastructureConfiguration": { + "type": "object", + "description": "Deploy SAP Infrastructure Details.", + "properties": { + "appResourceGroup": { + "type": "string", + "description": "The application resource group where SAP system resources will be deployed." + }, + "deploymentType": { + "$ref": "#/definitions/SAPDeploymentType", + "description": "The SAP deployment type. Eg: SingleServer/ThreeTier." + } + }, + "discriminator": "deploymentType", + "required": [ + "appResourceGroup", + "deploymentType" + ] + }, + "LinuxConfiguration": { + "type": "object", + "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).", + "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." + } + }, + "allOf": [ + { + "$ref": "#/definitions/OSConfiguration" + } + ], + "x-ms-discriminator-value": "Linux" + }, + "LoadBalancerDetails": { + "type": "object", + "description": "The Load Balancer details such as Load Balancer ID.", + "properties": { + "id": { + "type": "string", + "description": "Fully qualified resource ID for the load balancer.", + "readOnly": true + } + } + }, + "LoadBalancerResourceNames": { + "type": "object", + "description": "The resource names object for load balancer and related resources.", + "properties": { + "loadBalancerName": { + "type": "string", + "description": "The full resource name for load balancer. If this value is not provided, load balancer will be name as {ASCS/DB}-loadBalancer." + }, + "frontendIpConfigurationNames": { + "type": "array", + "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.", + "items": { + "type": "string" + } + }, + "backendPoolNames": { + "type": "array", + "description": "The list of backend pool names. Currently, ACSS deploys only one backend pool and hence, size of this list should be 1", + "items": { + "type": "string" + } + }, + "healthProbeNames": { + "type": "array", + "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.", + "items": { + "type": "string" + } + } + } + }, + "ManagedRGConfiguration": { + "type": "object", + "description": "Managed resource group configuration", + "properties": { + "name": { + "type": "string", + "description": "Managed resource group name" + } + } + }, + "ManagedResourcesNetworkAccessType": { + "type": "string", + "description": "Defines the network access type for managed resources.", + "enum": [ + "Public", + "Private" + ], + "x-ms-enum": { + "name": "ManagedResourcesNetworkAccessType", + "modelAsString": true, + "values": [ + { + "name": "Public", + "value": "Public", + "description": "Managed resources will be deployed with public network access enabled." + }, + { + "name": "Private", + "value": "Private", + "description": "Managed resources will be deployed with public network access disabled." + } + ] + } + }, + "MessageServerProperties": { + "type": "object", + "description": "Defines the SAP message server properties.", + "properties": { + "msPort": { + "type": "integer", + "format": "int64", + "description": "message server port.", + "readOnly": true + }, + "internalMsPort": { + "type": "integer", + "format": "int64", + "description": "message server internal MS port.", + "readOnly": true + }, + "httpPort": { + "type": "integer", + "format": "int64", + "description": "message server HTTP Port.", + "readOnly": true + }, + "httpsPort": { + "type": "integer", + "format": "int64", + "description": "message server HTTPS Port.", + "readOnly": true + }, + "hostname": { + "type": "string", + "description": "message server SAP Hostname.", + "readOnly": true + }, + "ipAddress": { + "type": "string", + "description": "message server IP Address.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/SAPHealthState", + "description": "Defines the health of SAP Instances.", + "readOnly": true + } + } + }, + "MountFileShareConfiguration": { + "type": "object", + "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.", + "properties": { + "id": { + "type": "string", + "description": "The fileshare resource ID" + }, + "privateEndpointId": { + "type": "string", + "description": "The private endpoint resource ID" + } + }, + "required": [ + "id", + "privateEndpointId" + ], + "allOf": [ + { + "$ref": "#/definitions/FileShareConfiguration" + } + ], + "x-ms-discriminator-value": "Mount" + }, + "NamingPatternType": { + "type": "string", + "description": "The pattern type to be used for resource naming.", + "enum": [ + "FullResourceName" + ], + "x-ms-enum": { + "name": "NamingPatternType", + "modelAsString": true, + "values": [ + { + "name": "FullResourceName", + "value": "FullResourceName", + "description": "Full resource names that will be created by service." + } + ] + } + }, + "NetworkConfiguration": { + "type": "object", + "description": "Defines the network configuration type for SAP system infrastructure that is being deployed", + "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 + } + } + }, + "NetworkInterfaceResourceNames": { + "type": "object", + "description": "The resource names object for network interface and related resources.", + "properties": { + "networkInterfaceName": { + "type": "string", + "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." + } + } + }, + "OSConfiguration": { + "type": "object", + "description": "Defines the OS configuration.", + "properties": { + "osType": { + "$ref": "#/definitions/OSType", + "description": "The OS Type" + } + }, + "discriminator": "osType", + "required": [ + "osType" + ] + }, + "OSProfile": { + "type": "object", + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.", + "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", + "format": "password", + "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)", + "x-ms-secret": true + }, + "osConfiguration": { + "$ref": "#/definitions/OSConfiguration", + "description": "Specifies Windows operating system settings on the virtual machine." + } + } + }, + "OSType": { + "type": "string", + "description": "The OS Type", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OSType", + "modelAsString": true, + "values": [ + { + "name": "Linux", + "value": "Linux", + "description": "Linux OS Type." + }, + { + "name": "Windows", + "value": "Windows", + "description": "Windows OS Type." + } + ] + } + }, + "OsSapConfiguration": { + "type": "object", + "description": "Defines the OS and SAP Configurations for Deployment", + "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" + } + } + }, + "SAPApplicationServerInstance": { + "type": "object", + "description": "Define the SAP Application Server Instance resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SAPApplicationServerProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "SAPApplicationServerInstanceListResult": { + "type": "object", + "description": "The response of a SAPApplicationServerInstance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SAPApplicationServerInstance items on this page", + "items": { + "$ref": "#/definitions/SAPApplicationServerInstance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SAPApplicationServerProperties": { + "type": "object", + "description": "Defines the SAP Application Server instance properties.", + "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 + }, + "icmHttpPort": { + "type": "integer", + "format": "int64", + "description": "Application server instance ICM HTTP Port.", + "readOnly": true + }, + "icmHttpsPort": { + "type": "integer", + "format": "int64", + "description": "Application server instance ICM HTTPS Port.", + "readOnly": true + }, + "dispatcherStatus": { + "type": "string", + "description": "Application server instance dispatcher status.", + "readOnly": true + }, + "loadBalancerDetails": { + "$ref": "#/definitions/LoadBalancerDetails", + "description": "The Load Balancer details such as LoadBalancer ID attached to Application Server Virtual Machines", + "readOnly": true + }, + "vmDetails": { + "type": "array", + "description": "The list of virtual machines.", + "items": { + "$ref": "#/definitions/ApplicationServerVmDetails" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "description": "Defines the SAP Instance status.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/SAPHealthState", + "description": "Defines the health of SAP Instances.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/SapVirtualInstanceProvisioningState", + "description": "Defines the provisioning states.", + "readOnly": true + }, + "errors": { + "$ref": "#/definitions/SAPVirtualInstanceError", + "description": "Defines the Application Instance errors.", + "readOnly": true + } + } + }, + "SAPAvailabilityZoneDetailsRequest": { + "type": "object", + "description": "The SAP request to get list of availability zones.", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the SAP resources will be created." + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType", + "description": "Defines the SAP Product type." + }, + "databaseType": { + "$ref": "#/definitions/SAPDatabaseType", + "description": "The database type. Eg: HANA, DB2, etc" + } + }, + "required": [ + "appLocation", + "sapProduct", + "databaseType" + ] + }, + "SAPAvailabilityZoneDetailsResult": { + "type": "object", + "description": "The list of supported availability zone pairs which are part of SAP HA deployment.", + "properties": { + "availabilityZonePairs": { + "type": "array", + "description": "Gets the list of availability zone pairs.", + "items": { + "$ref": "#/definitions/SAPAvailabilityZonePair" + }, + "x-ms-identifiers": [] + } + } + }, + "SAPAvailabilityZonePair": { + "type": "object", + "description": "The SAP Availability Zone Pair.", + "properties": { + "zoneA": { + "type": "integer", + "format": "int64", + "description": "The zone A." + }, + "zoneB": { + "type": "integer", + "format": "int64", + "description": "The zone B." + } + } + }, + "SAPCentralServerInstance": { + "type": "object", + "description": "Define the SAP Central Services Instance resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SAPCentralServerProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "SAPCentralServerInstanceListResult": { + "type": "object", + "description": "The response of a SAPCentralServerInstance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SAPCentralServerInstance items on this page", + "items": { + "$ref": "#/definitions/SAPCentralServerInstance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SAPCentralServerProperties": { + "type": "object", + "description": "Defines the SAP Central Services Instance properties.", + "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", + "description": "Defines the SAP message server properties." + }, + "enqueueServerProperties": { + "$ref": "#/definitions/EnqueueServerProperties", + "description": "Defines the SAP Enqueue Server properties." + }, + "gatewayServerProperties": { + "$ref": "#/definitions/GatewayServerProperties", + "description": "Defines the SAP Gateway Server properties." + }, + "enqueueReplicationServerProperties": { + "$ref": "#/definitions/EnqueueReplicationServerProperties", + "description": "Defines the SAP Enqueue Replication Server (ERS) properties." + }, + "kernelVersion": { + "type": "string", + "description": "The central services instance Kernel Version.", + "readOnly": true + }, + "kernelPatch": { + "type": "string", + "description": "The central services instance Kernel Patch level.", + "readOnly": true + }, + "loadBalancerDetails": { + "$ref": "#/definitions/LoadBalancerDetails", + "description": "The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines", + "readOnly": true + }, + "vmDetails": { + "type": "array", + "description": "The list of virtual machines corresponding to the Central Services instance.", + "items": { + "$ref": "#/definitions/CentralServerVmDetails" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "description": "Defines the SAP Instance status.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/SAPHealthState", + "description": "Defines the health of SAP Instances.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/SapVirtualInstanceProvisioningState", + "description": "Defines the provisioning states.", + "readOnly": true + }, + "errors": { + "$ref": "#/definitions/SAPVirtualInstanceError", + "description": "Defines the errors related to SAP Central Services Instance resource.", + "readOnly": true + } + } + }, + "SAPConfiguration": { + "type": "object", + "description": "The SAP Configuration.", + "properties": { + "configurationType": { + "$ref": "#/definitions/SAPConfigurationType", + "description": "The configuration type. Eg: Deployment/Discovery" + } + }, + "discriminator": "configurationType", + "required": [ + "configurationType" + ] + }, + "SAPConfigurationType": { + "type": "string", + "description": "The configuration Type.", + "enum": [ + "Deployment", + "Discovery", + "DeploymentWithOSConfig" + ], + "x-ms-enum": { + "name": "SAPConfigurationType", + "modelAsString": true, + "values": [ + { + "name": "Deployment", + "value": "Deployment", + "description": "SAP system will be deployed by service. No OS configurations will be done." + }, + { + "name": "Discovery", + "value": "Discovery", + "description": "Existing SAP system will be registered." + }, + { + "name": "DeploymentWithOSConfig", + "value": "DeploymentWithOSConfig", + "description": "SAP system will be deployed by service. OS configurations will be done." + } + ] + } + }, + "SAPDatabaseInstance": { + "type": "object", + "description": "Define the Database resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SAPDatabaseProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "SAPDatabaseInstanceListResult": { + "type": "object", + "description": "The response of a SAPDatabaseInstance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SAPDatabaseInstance items on this page", + "items": { + "$ref": "#/definitions/SAPDatabaseInstance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SAPDatabaseProperties": { + "type": "object", + "description": "Defines the Database properties.", + "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": { + "$ref": "#/definitions/LoadBalancerDetails", + "description": "The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines", + "readOnly": true + }, + "vmDetails": { + "type": "array", + "description": "The list of virtual machines corresponding to the Database resource.", + "items": { + "$ref": "#/definitions/DatabaseVmDetails" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "description": "Defines the SAP Instance status.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/SapVirtualInstanceProvisioningState", + "description": "Defines the provisioning states.", + "readOnly": true + }, + "errors": { + "$ref": "#/definitions/SAPVirtualInstanceError", + "description": "Defines the errors related to Database resource.", + "readOnly": true + } + } + }, + "SAPDatabaseScaleMethod": { + "type": "string", + "description": "The database scale method.", + "enum": [ + "ScaleUp" + ], + "x-ms-enum": { + "name": "SAPDatabaseScaleMethod", + "modelAsString": true, + "values": [ + { + "name": "ScaleUp", + "value": "ScaleUp", + "description": "ScaleUp Hana Database deployment type" + } + ] + } + }, + "SAPDatabaseType": { + "type": "string", + "description": "Defines the supported SAP Database types.", + "enum": [ + "HANA", + "DB2" + ], + "x-ms-enum": { + "name": "SAPDatabaseType", + "modelAsString": true, + "values": [ + { + "name": "HANA", + "value": "HANA", + "description": "HANA Database type of SAP system." + }, + { + "name": "DB2", + "value": "DB2", + "description": "DB2 database type of the SAP system." + } + ] + } + }, + "SAPDeploymentType": { + "type": "string", + "description": "The type of SAP deployment, single server or Three tier.", + "enum": [ + "SingleServer", + "ThreeTier" + ], + "x-ms-enum": { + "name": "SAPDeploymentType", + "modelAsString": true, + "values": [ + { + "name": "SingleServer", + "value": "SingleServer", + "description": "SAP Single server deployment type." + }, + { + "name": "ThreeTier", + "value": "ThreeTier", + "description": "SAP Distributed deployment type." + } + ] + } + }, + "SAPDiskConfiguration": { + "type": "object", + "description": "The SAP Disk Configuration contains 'recommended disk' details and list of supported disks detail for a volume type.", + "properties": { + "recommendedConfiguration": { + "$ref": "#/definitions/DiskVolumeConfiguration", + "description": "The recommended disk details for a given VM Sku." + }, + "supportedConfigurations": { + "type": "array", + "description": "The list of supported disks for a given VM Sku.", + "items": { + "$ref": "#/definitions/DiskDetails" + }, + "x-ms-identifiers": [] + } + } + }, + "SAPDiskConfigurationsRequest": { + "type": "object", + "description": "The SAP request to get list of disk configurations.", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the SAP resources will be created." + }, + "environment": { + "$ref": "#/definitions/SAPEnvironmentType", + "description": "Defines the environment type - Production/Non Production." + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType", + "description": "Defines the SAP Product type." + }, + "databaseType": { + "$ref": "#/definitions/SAPDatabaseType", + "description": "The database type. Eg: HANA, DB2, etc" + }, + "deploymentType": { + "$ref": "#/definitions/SAPDeploymentType", + "description": "The deployment type. Eg: SingleServer/ThreeTier" + }, + "dbVmSku": { + "type": "string", + "description": "The VM SKU for database instance." + } + }, + "required": [ + "appLocation", + "environment", + "sapProduct", + "databaseType", + "deploymentType", + "dbVmSku" + ] + }, + "SAPDiskConfigurationsResult": { + "type": "object", + "description": "The list of disk configuration for vmSku which are part of SAP deployment.", + "properties": { + "volumeConfigurations": { + "type": "object", + "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'].", + "additionalProperties": { + "$ref": "#/definitions/SAPDiskConfiguration" + } + } + } + }, + "SAPEnvironmentType": { + "type": "string", + "description": "Defines the environment type - Production/Non Production.", + "enum": [ + "NonProd", + "Prod" + ], + "x-ms-enum": { + "name": "SAPEnvironmentType", + "modelAsString": true, + "values": [ + { + "name": "NonProd", + "value": "NonProd", + "description": "Non Production SAP system." + }, + { + "name": "Prod", + "value": "Prod", + "description": "Production SAP system." + } + ] + } + }, + "SAPHealthState": { + "type": "string", + "description": "Defines the health of SAP Instances.", + "enum": [ + "Unknown", + "Healthy", + "Unhealthy", + "Degraded" + ], + "x-ms-enum": { + "name": "SAPHealthState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "SAP System health is unknown." + }, + { + "name": "Healthy", + "value": "Healthy", + "description": "SAP System health is healthy." + }, + { + "name": "Unhealthy", + "value": "Unhealthy", + "description": "SAP System is unhealthy." + }, + { + "name": "Degraded", + "value": "Degraded", + "description": "SAP System health is degraded." + } + ] + } + }, + "SAPHighAvailabilityType": { + "type": "string", + "description": "The high availability type (AvailabilitySet or AvailabilityZone).", + "enum": [ + "AvailabilitySet", + "AvailabilityZone" + ], + "x-ms-enum": { + "name": "SAPHighAvailabilityType", + "modelAsString": true, + "values": [ + { + "name": "AvailabilitySet", + "value": "AvailabilitySet", + "description": "HA deployment with availability sets." + }, + { + "name": "AvailabilityZone", + "value": "AvailabilityZone", + "description": "HA deployment with availability zones." + } + ] + } + }, + "SAPInstallWithoutOSConfigSoftwareConfiguration": { + "type": "object", + "description": "The SAP Software configuration Input when the software is to be installed by service without OS Configurations", + "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", + "description": "Gets or sets the HA software configuration." + } + }, + "required": [ + "bomUrl", + "sapBitsStorageAccountId", + "softwareVersion" + ], + "allOf": [ + { + "$ref": "#/definitions/SoftwareConfiguration" + } + ], + "x-ms-discriminator-value": "SAPInstallWithoutOSConfig" + }, + "SAPProductType": { + "type": "string", + "description": "Defines the SAP Product type.", + "enum": [ + "ECC", + "S4HANA", + "Other" + ], + "x-ms-enum": { + "name": "SAPProductType", + "modelAsString": true, + "values": [ + { + "name": "ECC", + "value": "ECC", + "description": "SAP Product ECC." + }, + { + "name": "S4HANA", + "value": "S4HANA", + "description": "SAP Product S4HANA." + }, + { + "name": "Other", + "value": "Other", + "description": "SAP Products other than the ones listed." + } + ] + } + }, + "SAPSizingRecommendationRequest": { + "type": "object", + "description": "The SAP Sizing Recommendation request.", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the resource is to be created." + }, + "environment": { + "$ref": "#/definitions/SAPEnvironmentType", + "description": "Defines the environment type - Production/Non Production." + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType", + "description": "Defines the SAP Product type." + }, + "deploymentType": { + "$ref": "#/definitions/SAPDeploymentType", + "description": "The deployment type. Eg: SingleServer/ThreeTier" + }, + "saps": { + "type": "integer", + "format": "int64", + "description": "The SAP Application Performance Standard measurement." + }, + "dbMemory": { + "type": "integer", + "format": "int64", + "description": "The database memory configuration." + }, + "databaseType": { + "$ref": "#/definitions/SAPDatabaseType", + "description": "The database type." + }, + "dbScaleMethod": { + "$ref": "#/definitions/SAPDatabaseScaleMethod", + "description": "The DB scale method." + }, + "highAvailabilityType": { + "$ref": "#/definitions/SAPHighAvailabilityType", + "description": "The high availability type." + } + }, + "required": [ + "appLocation", + "environment", + "sapProduct", + "deploymentType", + "saps", + "dbMemory", + "databaseType" + ] + }, + "SAPSizingRecommendationResult": { + "type": "object", + "description": "The SAP sizing recommendation result.", + "properties": { + "deploymentType": { + "$ref": "#/definitions/SAPDeploymentType", + "description": "The deployment type. Eg: SingleServer/ThreeTier" + } + }, + "discriminator": "deploymentType", + "required": [ + "deploymentType" + ] + }, + "SAPSoftwareInstallationType": { + "type": "string", + "description": "The SAP software installation Type.", + "enum": [ + "ServiceInitiated", + "SAPInstallWithoutOSConfig", + "External" + ], + "x-ms-enum": { + "name": "SAPSoftwareInstallationType", + "modelAsString": true, + "values": [ + { + "name": "ServiceInitiated", + "value": "ServiceInitiated", + "description": "SAP Install managed by service." + }, + { + "name": "SAPInstallWithoutOSConfig", + "value": "SAPInstallWithoutOSConfig", + "description": "SAP Install without OS Config." + }, + { + "name": "External", + "value": "External", + "description": "External software installation type." + } + ] + } + }, + "SAPSupportedResourceSkusResult": { + "type": "object", + "description": "The list of supported SKUs for different resources which are part of SAP deployment.", + "properties": { + "supportedSkus": { + "type": "array", + "description": "Gets the list of SAP supported SKUs.", + "items": { + "$ref": "#/definitions/SAPSupportedSku" + }, + "x-ms-identifiers": [] + } + } + }, + "SAPSupportedSku": { + "type": "object", + "description": "The SAP supported SKU.", + "properties": { + "vmSku": { + "type": "string", + "description": "The VM Sku." + }, + "isAppServerCertified": { + "type": "boolean", + "description": "True if the Sku is certified for App server in the SAP system." + }, + "isDatabaseCertified": { + "type": "boolean", + "description": "True if the Sku is certified for Database server in the SAP system." + } + } + }, + "SAPSupportedSkusRequest": { + "type": "object", + "description": "The SAP request to get list of supported SKUs.", + "properties": { + "appLocation": { + "type": "string", + "description": "The geo-location where the resource is to be created." + }, + "environment": { + "$ref": "#/definitions/SAPEnvironmentType", + "description": "Defines the environment type - Production/Non Production." + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType", + "description": "Defines the SAP Product type." + }, + "deploymentType": { + "$ref": "#/definitions/SAPDeploymentType", + "description": "The deployment type. Eg: SingleServer/ThreeTier" + }, + "databaseType": { + "$ref": "#/definitions/SAPDatabaseType", + "description": "The database type. Eg: HANA, DB2, etc" + }, + "highAvailabilityType": { + "$ref": "#/definitions/SAPHighAvailabilityType", + "description": "The high availability type." + } + }, + "required": [ + "appLocation", + "environment", + "sapProduct", + "deploymentType", + "databaseType" + ] + }, + "SAPVirtualInstance": { + "type": "object", + "description": "Define the Virtual Instance for SAP solutions resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SAPVirtualInstanceProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "SAPVirtualInstanceError": { + "type": "object", + "description": "An error response from the Virtual Instance for SAP Workload service.", + "properties": { + "properties": { + "$ref": "#/definitions/ErrorDefinition", + "description": "The Virtual Instance for SAP error body." + } + } + }, + "SAPVirtualInstanceListResult": { + "type": "object", + "description": "The response of a SAPVirtualInstance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SAPVirtualInstance items on this page", + "items": { + "$ref": "#/definitions/SAPVirtualInstance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SAPVirtualInstanceProperties": { + "type": "object", + "description": "Defines the Virtual Instance for SAP solutions resource properties.", + "properties": { + "environment": { + "$ref": "#/definitions/SAPEnvironmentType", + "description": "Defines the environment type - Production/Non Production.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sapProduct": { + "$ref": "#/definitions/SAPProductType", + "description": "Defines the SAP Product type.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "managedResourcesNetworkAccessType": { + "$ref": "#/definitions/ManagedResourcesNetworkAccessType", + "description": "Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account. Learn more here https://go.microsoft.com/fwlink/?linkid=2247228" + }, + "configuration": { + "$ref": "#/definitions/SAPConfiguration", + "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" + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedRGConfiguration", + "description": "Managed resource group configuration" + }, + "status": { + "$ref": "#/definitions/SAPVirtualInstanceStatus", + "description": "Defines the SAP Instance status.", + "readOnly": true + }, + "health": { + "$ref": "#/definitions/SAPHealthState", + "description": "Defines the health of SAP Instances.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/SAPVirtualInstanceState", + "description": "Defines the Virtual Instance for SAP state.", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/SapVirtualInstanceProvisioningState", + "description": "Defines the provisioning states.", + "readOnly": true + }, + "errors": { + "$ref": "#/definitions/SAPVirtualInstanceError", + "description": "Indicates any errors on the Virtual Instance for SAP solutions resource.", + "readOnly": true + } + }, + "required": [ + "environment", + "sapProduct", + "configuration" + ] + }, + "SAPVirtualInstanceState": { + "type": "string", + "description": "Defines the Virtual Instance for SAP state.", + "enum": [ + "InfrastructureDeploymentPending", + "InfrastructureDeploymentInProgress", + "InfrastructureDeploymentFailed", + "SoftwareInstallationPending", + "SoftwareInstallationInProgress", + "SoftwareInstallationFailed", + "SoftwareDetectionInProgress", + "SoftwareDetectionFailed", + "DiscoveryPending", + "DiscoveryInProgress", + "DiscoveryFailed", + "RegistrationComplete", + "ACSSInstallationBlocked" + ], + "x-ms-enum": { + "name": "SAPVirtualInstanceState", + "modelAsString": true, + "values": [ + { + "name": "InfrastructureDeploymentPending", + "value": "InfrastructureDeploymentPending", + "description": "Infrastructure is not yet deployed." + }, + { + "name": "InfrastructureDeploymentInProgress", + "value": "InfrastructureDeploymentInProgress", + "description": "Infrastructure deployment is in progress." + }, + { + "name": "InfrastructureDeploymentFailed", + "value": "InfrastructureDeploymentFailed", + "description": "Infrastructure deployment has failed." + }, + { + "name": "SoftwareInstallationPending", + "value": "SoftwareInstallationPending", + "description": "Infrastructure deployment is successful. Software installation is pending." + }, + { + "name": "SoftwareInstallationInProgress", + "value": "SoftwareInstallationInProgress", + "description": "Software installation is in progress." + }, + { + "name": "SoftwareInstallationFailed", + "value": "SoftwareInstallationFailed", + "description": "Software installation failed." + }, + { + "name": "SoftwareDetectionInProgress", + "value": "SoftwareDetectionInProgress", + "description": "Software detection is in progress." + }, + { + "name": "SoftwareDetectionFailed", + "value": "SoftwareDetectionFailed", + "description": "Software detection failed." + }, + { + "name": "DiscoveryPending", + "value": "DiscoveryPending", + "description": "Registration has not started." + }, + { + "name": "DiscoveryInProgress", + "value": "DiscoveryInProgress", + "description": "Registration is in progress." + }, + { + "name": "DiscoveryFailed", + "value": "DiscoveryFailed", + "description": "Registration has failed." + }, + { + "name": "RegistrationComplete", + "value": "RegistrationComplete", + "description": "Registration is complete." + }, + { + "name": "ACSSInstallationBlocked", + "value": "ACSSInstallationBlocked", + "description": "ACSS installation cannot proceed." + } + ] + } + }, + "SAPVirtualInstanceStatus": { + "type": "string", + "description": "Defines the SAP Instance status.", + "enum": [ + "Starting", + "Running", + "Stopping", + "Offline", + "PartiallyRunning", + "Unavailable", + "SoftShutdown" + ], + "x-ms-enum": { + "name": "SAPVirtualInstanceStatus", + "modelAsString": true, + "values": [ + { + "name": "Starting", + "value": "Starting", + "description": "SAP system is getting started." + }, + { + "name": "Running", + "value": "Running", + "description": "SAP system is running." + }, + { + "name": "Stopping", + "value": "Stopping", + "description": "SAP system is being stopped." + }, + { + "name": "Offline", + "value": "Offline", + "description": "SAP system is offline." + }, + { + "name": "PartiallyRunning", + "value": "PartiallyRunning", + "description": "SAP system is partially running." + }, + { + "name": "Unavailable", + "value": "Unavailable", + "description": "SAP system status is unavailable." + }, + { + "name": "SoftShutdown", + "value": "SoftShutdown", + "description": "Soft shutdown of SAP system is initiated." + } + ] + } + }, + "SapVirtualInstanceProvisioningState": { + "type": "string", + "description": "Defines the provisioning states.", + "enum": [ + "Succeeded", + "Updating", + "Creating", + "Failed", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "SapVirtualInstanceProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "ACSS succeeded provisioning state." + }, + { + "name": "Updating", + "value": "Updating", + "description": "ACSS updating provisioning state." + }, + { + "name": "Creating", + "value": "Creating", + "description": "ACSS Creating provisioning state." + }, + { + "name": "Failed", + "value": "Failed", + "description": "ACSS Failed provisioning state." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "ACSS Deleting provisioning state." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "ACSS Canceled provisioning state." + } + ] + }, + "readOnly": true + }, + "ServiceInitiatedSoftwareConfiguration": { + "type": "object", + "description": "The SAP Software configuration Input when the software is to be installed by service.", + "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", + "format": "password", + "description": "The SSH private key.", + "x-ms-secret": true + }, + "highAvailabilitySoftwareConfiguration": { + "$ref": "#/definitions/HighAvailabilitySoftwareConfiguration", + "description": "Gets or sets the HA software configuration." + } + }, + "required": [ + "bomUrl", + "softwareVersion", + "sapBitsStorageAccountId", + "sapFqdn", + "sshPrivateKey" + ], + "allOf": [ + { + "$ref": "#/definitions/SoftwareConfiguration" + } + ], + "x-ms-discriminator-value": "ServiceInitiated" + }, + "SharedStorageResourceNames": { + "type": "object", + "description": "The resource names object for shared storage.", + "properties": { + "sharedStorageAccountName": { + "type": "string", + "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}." + }, + "sharedStorageAccountPrivateEndPointName": { + "type": "string", + "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" + } + } + }, + "SingleServerConfiguration": { + "type": "object", + "description": "Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", + "properties": { + "networkConfiguration": { + "$ref": "#/definitions/NetworkConfiguration", + "description": "Network configuration for the server" + }, + "databaseType": { + "$ref": "#/definitions/SAPDatabaseType", + "description": "The database type." + }, + "subnetId": { + "type": "string", + "description": "The subnet id." + }, + "virtualMachineConfiguration": { + "$ref": "#/definitions/VirtualMachineConfiguration", + "description": "Gets or sets the virtual machine configuration." + }, + "dbDiskConfiguration": { + "$ref": "#/definitions/DiskConfiguration", + "description": "Gets or sets the disk configuration." + }, + "customResourceNames": { + "$ref": "#/definitions/SingleServerCustomResourceNames", + "description": "The set of custom names to be used for underlying azure resources that are part of the SAP system." + } + }, + "required": [ + "subnetId", + "virtualMachineConfiguration" + ], + "allOf": [ + { + "$ref": "#/definitions/InfrastructureConfiguration" + } + ], + "x-ms-discriminator-value": "SingleServer" + }, + "SingleServerCustomResourceNames": { + "type": "object", + "description": "The resource-names input to specify custom names for underlying azure resources that are part of a single server SAP system.", + "properties": { + "namingPatternType": { + "$ref": "#/definitions/NamingPatternType", + "description": "The naming pattern type." + } + }, + "discriminator": "namingPatternType", + "required": [ + "namingPatternType" + ] + }, + "SingleServerFullResourceNames": { + "type": "object", + "description": "The resource name object where the specified values will be full resource names of the corresponding resources in a single server SAP system.", + "properties": { + "virtualMachine": { + "$ref": "#/definitions/VirtualMachineResourceNames", + "description": "The resource names object for virtual machine and related resources." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SingleServerCustomResourceNames" + } + ], + "x-ms-discriminator-value": "FullResourceName" + }, + "SingleServerRecommendationResult": { + "type": "object", + "description": "The recommended configuration for a single server SAP system.", + "properties": { + "vmSku": { + "type": "string", + "description": "The recommended VM SKU for single server." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SAPSizingRecommendationResult" + } + ], + "x-ms-discriminator-value": "SingleServer" + }, + "SkipFileShareConfiguration": { + "type": "object", + "description": "Gets or sets the file share configuration for scenarios where transport directory fileshare is not created or required.", + "allOf": [ + { + "$ref": "#/definitions/FileShareConfiguration" + } + ], + "x-ms-discriminator-value": "Skip" + }, + "SoftwareConfiguration": { + "type": "object", + "description": "The SAP Software configuration Input.", + "properties": { + "softwareInstallationType": { + "$ref": "#/definitions/SAPSoftwareInstallationType", + "description": "The SAP software installation type." + } + }, + "discriminator": "softwareInstallationType", + "required": [ + "softwareInstallationType" + ] + }, + "SshConfiguration": { + "type": "object", + "description": "SSH configuration for Linux based VMs running on Azure", + "properties": { + "publicKeys": { + "type": "array", + "description": "The list of SSH public keys used to authenticate with linux based VMs.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [] + } + } + }, + "SshKeyPair": { + "type": "object", + "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).", + "properties": { + "publicKey": { + "type": "string", + "description": "SSH public key" + }, + "privateKey": { + "type": "string", + "format": "password", + "description": "SSH private key.", + "x-ms-secret": true + } + } + }, + "SshPublicKey": { + "type": "object", + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.", + "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)." + } + } + }, + "StartRequest": { + "type": "object", + "description": "Start SAP instance(s) request body.", + "properties": { + "startVm": { + "type": "boolean", + "description": "The boolean value indicates whether to start the virtual machines before starting the SAP instances.", + "default": false + } + } + }, + "StopRequest": { + "type": "object", + "description": "Stop SAP instance(s) request body.", + "properties": { + "softStopTimeoutSeconds": { + "type": "integer", + "format": "int64", + "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.", + "default": 0 + }, + "deallocateVm": { + "type": "boolean", + "description": "The boolean value indicates whether to Stop and deallocate the virtual machines along with the SAP instances.", + "default": false + } + } + }, + "StorageConfiguration": { + "type": "object", + "description": "Gets or sets the storage configuration.", + "properties": { + "transportFileShareConfiguration": { + "$ref": "#/definitions/FileShareConfiguration", + "description": "The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing." + } + } + }, + "StorageInformation": { + "type": "object", + "description": "Storage details of all the Storage accounts attached to the VM. For e.g. NFS on AFS Shared Storage.", + "properties": { + "id": { + "type": "string", + "description": "Fully qualified resource ID for the storage account.", + "readOnly": true + } + } + }, + "ThreeTierConfiguration": { + "type": "object", + "description": "Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409)", + "properties": { + "networkConfiguration": { + "$ref": "#/definitions/NetworkConfiguration", + "description": "Network configuration common to all servers" + }, + "centralServer": { + "$ref": "#/definitions/CentralServerConfiguration", + "description": "The central server configuration." + }, + "applicationServer": { + "$ref": "#/definitions/ApplicationServerConfiguration", + "description": "The application server configuration." + }, + "databaseServer": { + "$ref": "#/definitions/DatabaseConfiguration", + "description": "The database configuration." + }, + "highAvailabilityConfig": { + "$ref": "#/definitions/HighAvailabilityConfiguration", + "description": "The high availability configuration." + }, + "storageConfiguration": { + "$ref": "#/definitions/StorageConfiguration", + "description": "The storage configuration." + }, + "customResourceNames": { + "$ref": "#/definitions/ThreeTierCustomResourceNames", + "description": "The set of custom names to be used for underlying azure resources that are part of the SAP system." + } + }, + "required": [ + "centralServer", + "applicationServer", + "databaseServer" + ], + "allOf": [ + { + "$ref": "#/definitions/InfrastructureConfiguration" + } + ], + "x-ms-discriminator-value": "ThreeTier" + }, + "ThreeTierCustomResourceNames": { + "type": "object", + "description": "The resource-names input to specify custom names for underlying azure resources that are part of a three tier SAP system.", + "properties": { + "namingPatternType": { + "$ref": "#/definitions/NamingPatternType", + "description": "The pattern type to be used for resource naming." + } + }, + "discriminator": "namingPatternType", + "required": [ + "namingPatternType" + ] + }, + "ThreeTierFullResourceNames": { + "type": "object", + "description": "The resource name object where the specified values will be full resource names of the corresponding resources in a three tier SAP system.", + "properties": { + "centralServer": { + "$ref": "#/definitions/CentralServerFullResourceNames", + "description": "The full resource names object for central server layer resources." + }, + "applicationServer": { + "$ref": "#/definitions/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." + }, + "databaseServer": { + "$ref": "#/definitions/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." + }, + "sharedStorage": { + "$ref": "#/definitions/SharedStorageResourceNames", + "description": "The resource names object for shared storage." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ThreeTierCustomResourceNames" + } + ], + "x-ms-discriminator-value": "FullResourceName" + }, + "ThreeTierRecommendationResult": { + "type": "object", + "description": "The recommended configuration for a three tier SAP system.", + "properties": { + "dbVmSku": { + "type": "string", + "description": "The database VM SKU." + }, + "databaseInstanceCount": { + "type": "integer", + "format": "int64", + "description": "The database server instance count." + }, + "centralServerVmSku": { + "type": "string", + "description": "The central server VM SKU." + }, + "centralServerInstanceCount": { + "type": "integer", + "format": "int64", + "description": "The central server instance count." + }, + "applicationServerVmSku": { + "type": "string", + "description": "The application server VM SKU." + }, + "applicationServerInstanceCount": { + "type": "integer", + "format": "int64", + "description": "The application server instance count." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SAPSizingRecommendationResult" + } + ], + "x-ms-discriminator-value": "ThreeTier" + }, + "UpdateSAPApplicationInstanceRequest": { + "type": "object", + "description": "Defines the request body for updating SAP Application Instance.", + "properties": { + "tags": { + "type": "object", + "description": "Gets or sets the Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateSAPCentralInstanceRequest": { + "type": "object", + "description": "Defines the request body for updating SAP Central Instance.", + "properties": { + "tags": { + "type": "object", + "description": "Gets or sets the Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateSAPDatabaseInstanceRequest": { + "type": "object", + "description": "Defines the request body for updating SAP Database Instance.", + "properties": { + "tags": { + "type": "object", + "description": "Gets or sets the Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateSAPVirtualInstanceProperties": { + "type": "object", + "description": "Defines the update request body properties for updating Virtual Instance for SAP.", + "properties": { + "managedResourcesNetworkAccessType": { + "$ref": "#/definitions/ManagedResourcesNetworkAccessType", + "description": "Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account. Learn more here https://go.microsoft.com/fwlink/?linkid=2247228" + } + } + }, + "UpdateSAPVirtualInstanceRequest": { + "type": "object", + "description": "Defines the request body for updating Virtual Instance for SAP.", + "properties": { + "tags": { + "type": "object", + "description": "Gets or sets the Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "Managed service identity (user assigned identities)" + }, + "properties": { + "$ref": "#/definitions/UpdateSAPVirtualInstanceProperties", + "description": "The update properties." + } + } + }, + "VirtualMachineConfiguration": { + "type": "object", + "description": "Defines the virtual machine configuration.", + "properties": { + "vmSize": { + "type": "string", + "description": "The virtual machine size." + }, + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "The image reference." + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "The OS profile." + } + }, + "required": [ + "vmSize", + "imageReference", + "osProfile" + ] + }, + "VirtualMachineResourceNames": { + "type": "object", + "description": "The resource names object for virtual machine and related resources.", + "properties": { + "vmName": { + "type": "string", + "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." + }, + "hostName": { + "type": "string", + "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." + }, + "networkInterfaces": { + "type": "array", + "description": "The list of network interface name objects for the selected virtual machine. Currently, only one network interface is supported per virtual machine.", + "items": { + "$ref": "#/definitions/NetworkInterfaceResourceNames" + }, + "x-ms-identifiers": [] + }, + "osDiskName": { + "type": "string", + "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." + }, + "dataDiskNames": { + "type": "object", + "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", + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + } + } + } + }, + "WindowsConfiguration": { + "type": "object", + "description": "Specifies Windows operating system settings on the virtual machine.", + "allOf": [ + { + "$ref": "#/definitions/OSConfiguration" + } + ], + "x-ms-discriminator-value": "Windows" + } + }, + "parameters": {} +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Create.json new file mode 100644 index 000000000000..c86c63c9904f --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Create.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Unknown", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Create", + "title": "SAPApplicationServerInstances_Create" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json new file mode 100644 index 000000000000..b5826dc6bf76 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_CreateForHaWithAvailabilitySet.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-vm1" + }, + { + "type": "Standby", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Unknown", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-vm1" + }, + { + "type": "Standby", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Create", + "title": "Create SAP Application Server Instances for HA System with Availability Set" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Delete.json new file mode 100644 index 000000000000..4d69aaa1d07f --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Delete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "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" + } + } + }, + "operationId": "SapApplicationServerInstances_Delete", + "title": "SAPApplicationServerInstances_Delete" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Get.json new file mode 100644 index 000000000000..90416e6235ce --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Get.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Get", + "title": "SAPApplicationServerInstances_Get" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_ListBySapVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_ListBySapVirtualInstance.json new file mode 100644 index 000000000000..f1d7b89e1a35 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_ListBySapVirtualInstance.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "app02", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app02", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapApplicationServerInstances_List", + "title": "SapApplicationServerInstances List By SAP Virtual Instance" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstance.json new file mode 100644 index 000000000000..2894df1f0e30 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": {} + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Start", + "title": "Start the SAP Application Server Instance." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstanceVM.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstanceVM.json new file mode 100644 index 000000000000..0cd280b57a6e --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StartInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "startVm": true + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Start", + "title": "Start Virtual Machine and the SAP Application Server Instance on it." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstance.json new file mode 100644 index 000000000000..7024658de872 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstance.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Stop the SAP Application Server Instance" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceInfrastructure.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceInfrastructure.json new file mode 100644 index 000000000000..601efcb3619f --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceInfrastructure.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Stop the SAP Application Server Instance and it's infrastructure." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoft.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoft.json new file mode 100644 index 000000000000..8f6a47005e78 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoft.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Soft Stop the SAP Application Server Instance" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json new file mode 100644 index 000000000000..f17a194f9843 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_StopInstanceSoftInfrastructure.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapApplicationServerInstances_Stop", + "title": "Soft Stop the SAP Application Server Instance and it's infrastructure." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Update.json new file mode 100644 index 000000000000..eb6613685f98 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapApplicationServerInstances_Update.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "applicationInstanceName": "app01", + "properties": { + "tags": { + "tag1": "value1" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "app01", + "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01", + "location": "westcentralus", + "properties": { + "dispatcherStatus": "Running", + "errors": null, + "gatewayPort": 3300, + "health": "Healthy", + "hostname": "vh-nw1", + "icmHttpPort": 3312, + "icmHttpsPort": 3313, + "instanceNo": "01", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Active", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapApplicationServerInstances_Update", + "title": "SAPApplicationServerInstances_Update" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Create.json new file mode 100644 index 000000000000..5e5f15aeb0a4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Create.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Create", + "title": "SapCentralServerInstances_Create" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_CreateForHaWithAvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_CreateForHaWithAvailabilitySet.json new file mode 100644 index 000000000000..d623a14b4172 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_CreateForHaWithAvailabilitySet.json @@ -0,0 +1,174 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer" + }, + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer" + }, + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "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-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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Create", + "title": "Create SAP Central Instances for HA System with Availability Set" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Delete.json new file mode 100644 index 000000000000..35d8936d385f --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Delete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "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" + } + } + }, + "operationId": "SapCentralServerInstances_Delete", + "title": "SapCentralServerInstances_Delete" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Get.json new file mode 100644 index 000000000000..467031c34804 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Get.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Unknown", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Degraded", + "port": 3300 + }, + "health": "Unknown", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Unhealthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Get", + "title": "SapCentralServerInstances_Get" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstance.json new file mode 100644 index 000000000000..a9890d000e37 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": {} + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Start", + "title": "Start the SAP Central Services Instance" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstanceVM.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstanceVM.json new file mode 100644 index 000000000000..94931a5fc984 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StartInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "startVm": true + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Start", + "title": "Start the virtual machine(s) and the SAP central services instance on it." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstance.json new file mode 100644 index 000000000000..9ced949f11cc --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstance.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 1200 + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Stop", + "title": "Stop the SAP Central Services Instance." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstanceVM.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstanceVM.json new file mode 100644 index 000000000000..2a78cdfe9321 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_StopInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapCentralServerInstances_Stop", + "title": "Stop the SAP Central Services Instance and its underlying Virtual Machine(s)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Update.json new file mode 100644 index 000000000000..3e3132fd30eb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralInstances_Update.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "tags": { + "tag1": "value1" + } + }, + "centralInstanceName": "centralServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapCentralServerInstances_Update", + "title": "SapCentralServerInstances_Update" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralServerInstances_ListBySapVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralServerInstances_ListBySapVirtualInstance.json new file mode 100644 index 000000000000..1f651e0c89cd --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapCentralServerInstances_ListBySapVirtualInstance.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "centralServer", + "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer", + "location": "westcentralus", + "properties": { + "enqueueReplicationServerProperties": { + "ersVersion": "EnqueueReplicator1", + "health": "Healthy", + "hostname": "vh-ers1", + "instanceNo": "00", + "ipAddress": "10.0.0.5", + "kernelPatch": "patch 300", + "kernelVersion": "777" + }, + "enqueueServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "ipAddress": "10.0.0.5", + "port": 3600 + }, + "errors": null, + "gatewayServerProperties": { + "health": "Healthy", + "port": 3300 + }, + "health": "Healthy", + "instanceNo": "00", + "kernelPatch": "patch 300", + "kernelVersion": "777", + "messageServerProperties": { + "health": "Healthy", + "hostname": "vh-ascs1", + "httpPort": 8100, + "httpsPort": 44400, + "internalMsPort": 3900, + "ipAddress": "10.0.0.5", + "msPort": 3600 + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/SAP-E2ETest-rg/providers/Microsoft.Network/virtualNetworks/loop-test-vnet/subnets/loopsubnet", + "vmDetails": [ + { + "type": "Primary", + "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapCentralServerInstances_List", + "title": "SAPCentralInstances List by SAP virtual instance" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Create.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Create.json new file mode 100644 index 000000000000..1e6cdc400ce3 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Create.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Create", + "title": "SAPDatabaseInstances_Create" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json new file mode 100644 index 000000000000..261d1bcc0b79 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_CreateForHaWithAvailabilitySet.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": {}, + "tags": {} + }, + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "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/db-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "loadBalancerDetails": { + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer" + }, + "provisioningState": "Succeeded", + "status": "Running", + "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "vmDetails": [ + { + "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/db-vm" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Create", + "title": "Create SAP Database Instances for HA System with Availability Set" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Delete.json new file mode 100644 index 000000000000..93f99f8c9e52 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Delete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "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" + } + } + }, + "operationId": "SapDatabaseInstances_Delete", + "title": "SAPDatabaseInstances_Delete" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Get.json new file mode 100644 index 000000000000..b5a26695c3ec --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Get", + "title": "SAPDatabaseInstances_Get" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_List.json new file mode 100644 index 000000000000..4c3f12d64c0a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_List.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapDatabaseInstances_List", + "title": "SAPDatabaseInstances list by SAP virtual instance" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstance.json new file mode 100644 index 000000000000..6232f364c6b8 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstance.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": {} + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Start", + "title": "Start the database instance of the SAP system." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstanceVM.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstanceVM.json new file mode 100644 index 000000000000..94f795130ab8 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StartInstanceVM.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "startVm": true + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Start", + "title": "Start Virtual Machine and the database instance of the SAP system on it." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstance.json new file mode 100644 index 000000000000..745b05662962 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstance.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 0 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Stop the database instance of the SAP system." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoft.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoft.json new file mode 100644 index 000000000000..1f12bbc33403 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoft.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 300 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Soft Stop the database instance of the SAP system." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoftVM.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoftVM.json new file mode 100644 index 000000000000..7dc4e5d7caad --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceSoftVM.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 300 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Soft Stop the database instance of the SAP system and the underlying Virtual Machine(s)." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceVM.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceVM.json new file mode 100644 index 000000000000..0663f34f7568 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_StopInstanceVM.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 0 + }, + "databaseInstanceName": "db0", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "db0", + "endTime": "2022-11-01T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/db0", + "startTime": "2022-11-01T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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=2024-09-01" + } + } + }, + "operationId": "SapDatabaseInstances_Stop", + "title": "Stop the database instance of the SAP system and the underlying Virtual Machine(s)." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Update.json new file mode 100644 index 000000000000..78ae2e523795 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapDatabaseInstances_Update.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "tags": { + "key1": "value1" + } + }, + "databaseInstanceName": "databaseServer", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "name": "databaseServer", + "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer", + "location": "westcentralus", + "properties": { + "databaseSid": "X00", + "databaseType": "hdb", + "errors": null, + "ipAddress": "10.0.0.5", + "provisioningState": "Succeeded", + "status": "Running", + "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" + } + ] + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapDatabaseInstances_Update", + "title": "SAPDatabaseInstances_Update" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectDS.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectDS.json new file mode 100644 index 000000000000..55660e83bfeb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectDS.json @@ -0,0 +1,336 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "{{resourcegrp}}", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": { + "created by": "azureuser" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + }, + "201": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on a Distributed System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilitySet.json new file mode 100644 index 000000000000..f3c3389371e1 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilitySet.json @@ -0,0 +1,333 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on an HA System with Availability Set" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilityZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilityZone.json new file mode 100644 index 000000000000..14c52ae8f652 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectHaAvailabilityZone.json @@ -0,0 +1,333 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on an HA System with Availability Zone" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectSingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectSingleServer.json new file mode 100644 index 000000000000..49bbc416b82c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateDetectSingleServer.json @@ -0,0 +1,184 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "NonProd", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + }, + "softwareConfiguration": { + "centralServerVmId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "softwareInstallationType": "External" + } + }, + "environment": "NonProd", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareDetectionInProgress" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Detect SAP Software Installation on a Single Server System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDS.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDS.json new file mode 100644 index 000000000000..a766e5cf0b3d --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDS.json @@ -0,0 +1,340 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for Distributed System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json new file mode 100644 index 000000000000..aa5ffd70e77a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsDSRecommended.json @@ -0,0 +1,454 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json new file mode 100644 index 000000000000..7331c3e6f9ed --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilitySetRecommended.json @@ -0,0 +1,463 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json new file mode 100644 index 000000000000..73abfbed0309 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsHaAvailabilityZoneRecommended.json @@ -0,0 +1,463 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "diskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json new file mode 100644 index 000000000000..1efe1d3bef00 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraDiskOsSingleServerRecommended.json @@ -0,0 +1,314 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "dbDiskConfiguration": { + "diskVolumeConfigurations": { + "backup": { + "count": 2, + "sizeGB": 256, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "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" + } + }, + "os": { + "count": 1, + "sizeGB": 64, + "sku": { + "name": "StandardSSD_LRS" + } + }, + "usr/sap": { + "count": 1, + "sizeGB": 128, + "sku": { + "name": "Premium_LRS" + } + } + } + }, + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilitySet.json new file mode 100644 index 000000000000..1ace22d66093 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilitySet.json @@ -0,0 +1,349 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 5, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 5, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 5, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for HA System with Availability Set" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilityZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilityZone.json new file mode 100644 index 000000000000..6a88cad4b1bc --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraHaAvailabilityZone.json @@ -0,0 +1,349 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for HA System with Availability Zone" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json new file mode 100644 index 000000000000..a935024adffd --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsComputeGalleryImage.json @@ -0,0 +1,322 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with Azure Compute Gallery Image" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json new file mode 100644 index 000000000000..63344cdac2c8 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesDS.json @@ -0,0 +1,595 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + }, + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "vmName": "dbvm" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + }, + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "vmName": "dbvm" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "ascsdisk0" + ] + }, + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + } + ] + }, + "databaseServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "dbhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbnic" + } + ], + "osDiskName": "dbosdisk", + "vmName": "dbvm" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for Distributed System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json new file mode 100644 index 000000000000..62f953099f46 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilitySet.json @@ -0,0 +1,787 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "availabilitySetName": "csAvSet", + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "availabilitySetName": "csAvSet", + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "availabilitySetName": "appAvSet", + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "availabilitySetName": "csAvSet", + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "availabilitySetName": "dbAvSet", + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for HA System with Availability Set" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json new file mode 100644 index 000000000000..24a4e153d02c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesHaAvailabilityZone.json @@ -0,0 +1,778 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "customResourceNames": { + "applicationServer": { + "virtualMachines": [ + { + "dataDiskNames": { + "default": [ + "app0disk0" + ] + }, + "hostName": "apphostName0", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic0" + } + ], + "osDiskName": "app0osdisk", + "vmName": "appvm0" + }, + { + "dataDiskNames": { + "default": [ + "app1disk0" + ] + }, + "hostName": "apphostName1", + "networkInterfaces": [ + { + "networkInterfaceName": "appnic1" + } + ], + "osDiskName": "app1osdisk", + "vmName": "appvm1" + } + ] + }, + "centralServer": { + "loadBalancer": { + "backendPoolNames": [ + "ascsBackendPool" + ], + "frontendIpConfigurationNames": [ + "ascsip0", + "ersip0" + ], + "healthProbeNames": [ + "ascsHealthProbe", + "ersHealthProbe" + ], + "loadBalancerName": "ascslb" + }, + "virtualMachines": [ + { + "hostName": "ascshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ascsnic" + } + ], + "osDiskName": "ascsosdisk", + "vmName": "ascsvm" + }, + { + "hostName": "ershostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ersnic" + } + ], + "osDiskName": "ersosdisk", + "vmName": "ersvm" + } + ] + }, + "databaseServer": { + "loadBalancer": { + "backendPoolNames": [ + "dbBackendPool" + ], + "frontendIpConfigurationNames": [ + "dbip" + ], + "healthProbeNames": [ + "dbHealthProbe" + ], + "loadBalancerName": "dblb" + }, + "virtualMachines": [ + { + "dataDiskNames": { + "hanaData": [ + "hanadatapr0", + "hanadatapr1" + ], + "hanaLog": [ + "hanalogpr0", + "hanalogpr1", + "hanalogpr2" + ], + "hanaShared": [ + "hanasharedpr0", + "hanasharedpr1" + ], + "usrSap": [ + "usrsappr0" + ] + }, + "hostName": "dbprhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbprnic" + } + ], + "osDiskName": "dbprosdisk", + "vmName": "dbvmpr" + }, + { + "dataDiskNames": { + "hanaData": [ + "hanadatasr0", + "hanadatasr1" + ], + "hanaLog": [ + "hanalogsr0", + "hanalogsr1", + "hanalogsr2" + ], + "hanaShared": [ + "hanasharedsr0", + "hanasharedsr1" + ], + "usrSap": [ + "usrsapsr0" + ] + }, + "hostName": "dbsrhostName", + "networkInterfaces": [ + { + "networkInterfaceName": "dbsrnic" + } + ], + "osDiskName": "dbsrosdisk", + "vmName": "dbvmsr" + } + ] + }, + "namingPatternType": "FullResourceName", + "sharedStorage": { + "sharedStorageAccountName": "storageacc", + "sharedStorageAccountPrivateEndPointName": "peForxNFS" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for HA system with Availability Zone" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json new file mode 100644 index 000000000000..be5450a3c29a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsCustomResourceNamesSingleServer.json @@ -0,0 +1,238 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "customResourceNames": { + "namingPatternType": "FullResourceName", + "virtualMachine": { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "sshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ssnic" + } + ], + "osDiskName": "ssosdisk", + "vmName": "ssvm" + } + }, + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "customResourceNames": { + "namingPatternType": "FullResourceName", + "virtualMachine": { + "dataDiskNames": { + "hanaData": [ + "hanadata0", + "hanadata1" + ], + "hanaLog": [ + "hanalog0", + "hanalog1", + "hanalog2" + ], + "hanaShared": [ + "hanashared0", + "hanashared1" + ], + "usrSap": [ + "usrsap0" + ] + }, + "hostName": "sshostName", + "networkInterfaces": [ + { + "networkInterfaceName": "ssnic" + } + ], + "osDiskName": "ssosdisk", + "vmName": "ssvm" + } + }, + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with custom resource names for Single Server System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsDSRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsDSRecommended.json new file mode 100644 index 000000000000..e2fa771bb6a1 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsDSRecommended.json @@ -0,0 +1,316 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for Distributed System (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json new file mode 100644 index 000000000000..7b1fea25a9c7 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilitySetRecommended.json @@ -0,0 +1,325 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilitySet" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for HA System with Availability Set (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json new file mode 100644 index 000000000000..388c4e6ac966 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsHaAvailabilityZoneRecommended.json @@ -0,0 +1,325 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "highAvailabilityConfig": { + "highAvailabilityType": "AvailabilityZone" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for HA System with Availability Zone (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json new file mode 100644 index 000000000000..0feb3c816304 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraOsSIngleServerRecommended.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with OS configuration for Single Server System (Recommended)" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraSingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraSingleServer.json new file mode 100644 index 000000000000..b9a00965e79a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraSingleServer.json @@ -0,0 +1,172 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "networkConfiguration": { + "isSecondaryIpEnabled": true + }, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "databaseType": "HANA", + "deploymentType": "SingleServer", + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + } + }, + "environment": "NonProd", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure only for Single Server System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithExistingFileshare.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithExistingFileshare.json new file mode 100644 index 000000000000..e5a4df97ac3b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithExistingFileshare.json @@ -0,0 +1,337 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint", + "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint", + "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Mount", + "id": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint", + "privateEndpointId": "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with an existing SAP Transport Directory Fileshare" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithNewFileshare.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithNewFileshare.json new file mode 100644 index 000000000000..f852f967dfa3 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithNewFileshare.json @@ -0,0 +1,337 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "rgName", + "storageAccountName": "storageName" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "rgName", + "storageAccountName": "storageName" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "CreateAndMount", + "resourceGroup": "rgName", + "storageAccountName": "storageName" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure with a new SAP Transport Directory Fileshare" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json new file mode 100644 index 000000000000..4cf2197240eb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithOsTrustedAccess.json @@ -0,0 +1,319 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "managedResourcesNetworkAccessType": "Private", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier" + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure (with OS configuration) with trusted access enabled" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithoutFileshare.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithoutFileshare.json new file mode 100644 index 000000000000..72c3952d125e --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInfraWithoutFileshare.json @@ -0,0 +1,331 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "xyz", + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationPending", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 6, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_E16ds_v4" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "storageConfiguration": { + "transportFileShareConfiguration": { + "configurationType": "Skip" + } + } + }, + "osSapConfiguration": { + "sapFqdn": "xyz.test.com" + } + }, + "environment": "Prod", + "health": "Unknown", + "provisioningState": "Updating", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentInProgress", + "status": "Unknown" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Create Infrastructure without a SAP Transport Directory Fileshare" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallDS.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallDS.json new file mode 100644 index 000000000000..0f581f2b6cb4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallDS.json @@ -0,0 +1,342 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "{{resourcegrp}}", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "8.2", + "version": "8.2.2021091201" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "8.2", + "version": "8.2.2021091201" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "8.2", + "version": "8.2.2021091201" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "sapProduct": "S4HANA" + }, + "tags": { + "created by": "azureuser" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + }, + "201": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Install SAP Software on Distributed System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallSingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallSingleServer.json new file mode 100644 index 000000000000..3e913f151d06 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateInstallSingleServer.json @@ -0,0 +1,286 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "test-rg", + "deploymentType": "SingleServer", + "subnetId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "SLES-SAP", + "publisher": "SUSE", + "sku": "12-sp4-gen2", + "version": "2022.02.01" + }, + "osProfile": { + "adminUsername": "azureappadmin", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "privateKey": "{{privateKey}}", + "publicKey": "{{sshkey}}" + } + } + }, + "vmSize": "Standard_E32ds_v4" + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": {} + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + }, + "201": { + "body": { + "name": "X00", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/aa-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "eastus2", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "DeploymentWithOSConfig", + "infrastructureConfiguration": { + "appResourceGroup": "aa-rg", + "applicationServer": { + "instanceCount": 2, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_E4ds_v4" + } + }, + "databaseServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP-HA", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "azureuser", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "ssh-rsa AAA generated-by-azure" + } + } + }, + "vmSize": "Standard_M32ts" + } + }, + "deploymentType": "ThreeTier", + "networkConfiguration": { + "isSecondaryIpEnabled": true + } + }, + "osSapConfiguration": { + "sapFqdn": "sap.bpaas.com" + }, + "softwareConfiguration": { + "bomUrl": "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount", + "softwareInstallationType": "SAPInstallWithoutOSConfig", + "softwareVersion": "SAP S/4HANA 1909 SPS 03" + } + }, + "environment": "Prod", + "provisioningState": "Accepted", + "sapProduct": "S4HANA", + "state": "SoftwareInstallationInProgress" + }, + "systemData": { + "createdAt": "2022-08-18T18:25:55.2406546Z", + "createdBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "createdByType": "Application", + "lastModifiedAt": "2022-08-18T18:50:59.1945444Z", + "lastModifiedBy": "f1bc9460-9d57-4c16-99a8-5a19378a3a93", + "lastModifiedByType": "Application" + }, + "tags": { + "created by": "azureuser" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Install SAP Software on Single Server System" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutions.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutions.json new file mode 100644 index 000000000000..830b22a20690 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutions.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": { + "createdby": "abc@microsoft.com", + "test": "abc" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Register existing SAP system as Virtual Instance for SAP solutions." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json new file mode 100644 index 000000000000..89216ee342fd --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterSapSolutionsCustom.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "configurationType": "Discovery", + "managedRgStorageAccountName": "q20saacssgrs" + }, + "environment": "NonProd", + "sapProduct": "S4HANA" + }, + "tags": { + "createdby": "abc@microsoft.com", + "test": "abc" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery", + "managedRgStorageAccountName": "q20saacssgrs" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery", + "managedRgStorageAccountName": "q20saacssgrs" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Register existing SAP system as Virtual Instance for SAP solutions with optional customizations." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterWithTrustedAccess.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterWithTrustedAccess.json new file mode 100644 index 000000000000..a30b79a171fe --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_CreateRegisterWithTrustedAccess.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resource": { + "location": "northeurope", + "properties": { + "configuration": { + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "managedResourcesNetworkAccessType": "Private", + "sapProduct": "S4HANA" + }, + "tags": { + "createdby": "abc@microsoft.com", + "test": "abc" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "Q20", + "type": "microsoft.workloads/sapvirtualinstances", + "id": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20", + "location": "northeurope", + "properties": { + "configuration": { + "appLocation": "westeurope", + "centralServerVmId": "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg-infra/providers/Microsoft.Compute/virtualMachines/q20ascsvm0", + "configurationType": "Discovery" + }, + "environment": "NonProd", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-Q20-5b0097" + }, + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2022-07-27T08:22:52.3318907Z", + "createdBy": "abc@microsoft.com", + "createdByType": "User", + "lastModifiedAt": "2022-07-27T11:44:17.9310503Z", + "lastModifiedBy": "abc@microsoft.com", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SapVirtualInstances_Create", + "title": "Register with trusted access enabled" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Delete.json new file mode 100644 index 000000000000..c175b7aa8943 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Delete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "202": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2024-09-01" + } + }, + "204": { + "headers": { + "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2024-09-01" + } + } + }, + "operationId": "SapVirtualInstances_Delete", + "title": "SAPVirtualInstances_Delete" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Get.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Get.json new file mode 100644 index 000000000000..3ce8b6fd611b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Get.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Get", + "title": "SAPVirtualInstances_Get" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAcssInstallationBlocked.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAcssInstallationBlocked.json new file mode 100644 index 000000000000..b00f314b5cfc --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAcssInstallationBlocked.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "id": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/galleries/testgallery/images/rhelimagetest/versions/0.0.1" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "ssh": { + "publicKeys": [ + { + "keyData": "ssh-rsa public key" + } + ] + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "ACSSInstallationBlocked", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "SapVirtualInstances_Get", + "title": "SAPVirtualInstances Get With ACSS Installation Blocked" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json new file mode 100644 index 000000000000..74cea9033f66 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_eastus.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "eastus", + "api-version": "2024-09-01", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "databaseType": "HANA" + } + }, + "responses": { + "200": { + "body": { + "availabilityZonePairs": [ + { + "zoneA": 1, + "zoneB": 2 + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "title": "SAP Availability zone details in east us" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json new file mode 100644 index 000000000000..80a4687a70cb --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetAvailabilityZoneDetails_northeurope.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "northeurope", + "api-version": "2024-09-01", + "body": { + "appLocation": "northeurope", + "sapProduct": "S4HANA", + "databaseType": "HANA" + } + }, + "responses": { + "200": { + "body": { + "availabilityZonePairs": [ + { + "zoneA": 2, + "zoneB": 3 + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetAvailabilityZoneDetails", + "title": "SAP Availability zone details in north europe" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json new file mode 100644 index 000000000000..f46c7b7b19d3 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_NonProd.json @@ -0,0 +1,399 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "NonProd", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "dbVmSku": "Standard_M32ts" + } + }, + "responses": { + "200": { + "body": { + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + } + } + } + } + }, + "operationId": "SapVirtualInstances_GetDiskConfigurations", + "title": "SAP disk configurations for input environment NonProd." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json new file mode 100644 index 000000000000..ddedd6c7439a --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetDiskConfigurations_Prod.json @@ -0,0 +1,256 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "body": { + "appLocation": "eastus", + "sapProduct": "S4HANA", + "environment": "Prod", + "databaseType": "HANA", + "deploymentType": "ThreeTier", + "dbVmSku": "Standard_M32ts" + } + }, + "responses": { + "200": { + "body": { + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + }, + "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" + } + ] + } + } + } + } + }, + "operationId": "SapVirtualInstances_GetDiskConfigurations", + "title": "SAP disk configurations for input environment Prod." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json new file mode 100644 index 000000000000..2fb1797f38e3 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_Distributed.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported SKUs for distributed Non HA environment." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json new file mode 100644 index 000000000000..2b3e3084b9bc --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvSet.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported SKUs for distributed HA environment with Availability set." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json new file mode 100644 index 000000000000..a93c6a800cb8 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_DistributedHA_AvZone.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported Skus for HA with availability zone." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json new file mode 100644 index 000000000000..e2f229190732 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSapSupportedSku_SingleServer.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + ] + } + } + }, + "operationId": "SapVirtualInstances_GetSapSupportedSku", + "title": "SAP supported SKUs for single server." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json new file mode 100644 index 000000000000..8b1904344d0c --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_Distributed.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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 + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for non HA distributed system." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json new file mode 100644 index 000000000000..2bbf4abd5ba4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvSet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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 + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for HA with availability set." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json new file mode 100644 index 000000000000..c0c92f394636 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_HA_AvZone.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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 + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for HA with availability zone." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json new file mode 100644 index 000000000000..d55925c9a9e9 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_GetSizingRecommendations_S4HANA_SingleServer.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "location": "centralus", + "api-version": "2024-09-01", + "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" + } + } + }, + "operationId": "SapVirtualInstances_GetSizingRecommendations", + "title": "SAP sizing recommendations for single server." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListByResourceGroup.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListByResourceGroup.json new file mode 100644 index 000000000000..03ba0304fb72 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListByResourceGroup.json @@ -0,0 +1,236 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "X01", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapVirtualInstances_ListByResourceGroup", + "title": "SAPVirtualInstances_ListByResourceGroup" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListBySubscription.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListBySubscription.json new file mode 100644 index 000000000000..1a5309669175 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_ListBySubscription.json @@ -0,0 +1,235 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "X01", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X01", + "location": "westcentralus", + "properties": { + "configuration": { + "appLocation": "eastus", + "configurationType": "Deployment", + "infrastructureConfiguration": { + "appResourceGroup": "X00-RG", + "applicationServer": { + "instanceCount": 10, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId3", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "centralServer": { + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId1", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "databaseServer": { + "databaseType": "HANA", + "instanceCount": 1, + "subnetId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/vnet1/subnets/subnetId2", + "virtualMachineConfiguration": { + "imageReference": { + "offer": "RHEL-SAP", + "publisher": "RedHat", + "sku": "84sapha-gen2", + "version": "latest" + }, + "osProfile": { + "adminUsername": "{your-username}", + "osConfiguration": { + "disablePasswordAuthentication": true, + "osType": "Linux", + "sshKeyPair": { + "publicKey": "abc" + } + } + }, + "vmSize": "Standard_D8s_v3" + } + }, + "deploymentType": "ThreeTier" + }, + "softwareConfiguration": { + "bomUrl": "https://myaccount.blob.core.windows.net/mycontainer/myblob", + "sapBitsStorageAccountId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/ajgupt-test/providers/Microsoft.Storage/storageAccounts/ajguptsavnet", + "sapFqdn": "sapsystem.contoso.net", + "softwareInstallationType": "ServiceInitiated", + "softwareVersion": "SAP S/4HANA 2020 FPS01" + } + }, + "environment": "Prod", + "health": "Healthy", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "RegistrationComplete", + "status": "Running" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "SapVirtualInstances_ListBySubscription", + "title": "SAPVirtualInstances_ListBySubscription" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStop.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStop.json new file mode 100644 index 000000000000..099319582397 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStop.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "Soft Stop of SapVirtualInstances_Stop" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStopVMAndSystem.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStopVMAndSystem.json new file mode 100644 index 000000000000..4da11118564f --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_SoftStopVMAndSystem.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 300 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "Soft Stop the virtual machine(s) and the SAP system on it." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Start.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Start.json new file mode 100644 index 000000000000..82eb7f1824e4 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Start.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0", + "body": { + "startVm": true + } + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Start", + "title": "SAPVirtualInstances_Start" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StartWithInfraOperations.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StartWithInfraOperations.json new file mode 100644 index 000000000000..f5a6ccadbea7 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StartWithInfraOperations.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "startVm": true + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Start", + "title": "SAPVirtualInstances_Start_WithInfraOperations" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Stop.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Stop.json new file mode 100644 index 000000000000..9a5cbdfc41f6 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Stop.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "SAPVirtualInstances_Stop" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StopVMAndSystem.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StopVMAndSystem.json new file mode 100644 index 000000000000..6aacadb61cba --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_StopVMAndSystem.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "body": { + "deallocateVm": true, + "softStopTimeoutSeconds": 0 + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "1e4193c3-206e-4916-b124-1da16175eb0e", + "endTime": "2021-08-19T03:38:07.000Z", + "error": null, + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/operations/locations/centralus/1e4193c3-206e-4916-b124-1da16175eb0e", + "startTime": "2021-08-19T03:36:07.000Z", + "status": "Succeeded" + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Stop", + "title": "Stop the virtual machine(s) and the SAP system on it." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Update.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Update.json new file mode 100644 index 000000000000..dd1845462b78 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_Update.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "identity": { + "type": "None" + }, + "properties": {}, + "tags": { + "key1": "svi1" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "identity": { + "type": "None" + }, + "location": "westcentralus", + "properties": { + "configuration": { + "configurationType": "Deployment" + }, + "environment": "Prod", + "health": "Unknown", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentPending", + "status": "Starting" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": { + "key1": "svi1" + } + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Update", + "title": "SAPVirtualInstances_Update" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_UpdateTrustedAccess.json b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_UpdateTrustedAccess.json new file mode 100644 index 000000000000..bad979d054ef --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/SAPVirtualInstance/stable/2024-09-01/examples/SapVirtualInstances_UpdateTrustedAccess.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2024-09-01", + "properties": { + "identity": { + "type": "None" + }, + "properties": { + "managedResourcesNetworkAccessType": "Private" + }, + "tags": { + "key1": "svi1" + } + }, + "resourceGroupName": "test-rg", + "sapVirtualInstanceName": "X00", + "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0" + }, + "responses": { + "200": { + "body": { + "name": "X00", + "type": "Microsoft.Workloads/sapVirtualInstances", + "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00", + "identity": { + "type": "None" + }, + "location": "westcentralus", + "properties": { + "configuration": { + "configurationType": "Deployment" + }, + "environment": "Prod", + "health": "Unknown", + "managedResourceGroupConfiguration": { + "name": "mrg-x00-6d875e77-e412-4d7d-9af4-8895278b4443" + }, + "managedResourcesNetworkAccessType": "Private", + "provisioningState": "Succeeded", + "sapProduct": "S4HANA", + "state": "InfrastructureDeploymentPending", + "status": "Starting" + }, + "systemData": { + "createdAt": "2021-08-19T15:10:46.196Z", + "createdBy": "user@xyz.com", + "createdByType": "User", + "lastModifiedAt": "2021-08-19T15:10:46.196Z", + "lastModifiedBy": "user@xyz.com", + "lastModifiedByType": "User" + }, + "tags": { + "key1": "svi1" + } + } + }, + "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" + } + } + }, + "operationId": "SapVirtualInstances_Update", + "title": "SAPVirtualInstances_TrustedAccessEnable_Update" +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/examples/Operations_List.json b/specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/examples/Operations_List.json new file mode 100644 index 000000000000..8bf8d1285ed6 --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/examples/Operations_List.json @@ -0,0 +1,1105 @@ +{ + "parameters": { + "api-version": "2024-09-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Workloads/RegisteredSubscriptions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "RegisteredSubscriptions", + "operation": "Gets/Lists registered subscriptions", + "description": "Reads registered subscriptions" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_List", + "description": "Lists WordpressInstances resources under a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Get", + "description": "Gets a WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_CreateOrUpdate", + "description": "Create or updated WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/wordpressInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads/wordpressInstances", + "operation": "WordpressInstances_Delete", + "description": "Delete WordpressInstances resource" + } + }, + { + "name": "Microsoft.Workloads/skus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Skus", + "operation": "Gets the list of Microsoft.Workloads SKUs available for your Subscription", + "description": "Gets the list of Microsoft.Workloads SKUs available for your Subscription" + } + }, + { + "name": "Microsoft.Workloads/Operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Operations", + "operation": "read_Operations", + "description": "read Operations" + } + }, + { + "name": "Microsoft.Workloads/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Register the Microsoft.Workloads", + "description": "Register the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Microsoft.Workloads", + "operation": "Unregister the Microsoft.Workloads", + "description": "Unregister the subscription for Microsoft.Workloads" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "read_OperationStatuses", + "description": "read OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/Locations/OperationStatuses/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "Locations/OperationStatuses", + "operation": "write_OperationStatuses", + "description": "write OperationStatuses" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListBySubscription", + "description": "Lists phpWorkload resources in a subscription" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_ListByResourceGroup", + "description": "Lists phpWorkload resources in a resource group" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Get", + "description": "Gets a phpWorkload resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_CreateOrUpdate", + "description": "Create or updated phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Delete", + "description": "Delete phpWorkloads resource" + } + }, + { + "name": "Microsoft.Workloads/phpWorkloads/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "phpWorkloads", + "operation": "PhpWorkloads_Update", + "description": "Update PHP workload resource." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Get", + "description": "Gets the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Create", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Delete", + "description": "Deletes the SAP Application Server Instance.

This operation will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_Update", + "description": "Puts the SAP Application Server Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_List", + "description": "Lists the SAP Application server Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StartInstance", + "description": "Starts the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/applicationInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/applicationInstances", + "operation": "SAPApplicationServerInstances_StopInstance", + "description": "Stops the SAP Application server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Get", + "description": "Gets the SAP Central Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Create", + "description": "Puts the SAP Central Instance.

This will be used by service only. PUT by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Delete", + "description": "Deletes the SAP Central Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_Update", + "description": "Updates the SAP Central Instance.

This can be used to update tags." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_List", + "description": "Lists the SAP Central Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StartInstance", + "description": "Starts the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/centralInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/centralInstances", + "operation": "SAPCentralInstances_StopInstance", + "description": "Stops the SAP Central server Instance in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Get", + "description": "Gets the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Create", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Delete", + "description": "Deletes the SAP Database Instance.

This will be used by service only. Delete by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_Update", + "description": "Puts the SAP Database Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_List", + "description": "Lists the SAP Database Instances in an SVI." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StartInstance", + "description": "Starts the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/databaseInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances/databaseInstances", + "operation": "SAPDatabaseInstances_StopInstance", + "description": "Stops the database instance of the SAP system." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_List", + "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_ListByResourceGroup", + "description": "Gets a list of SAP monitors in the specified resource group." + } + }, + { + "name": "Microsoft.Workloads/monitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Get", + "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Create", + "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Delete", + "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors", + "operation": "monitors_Update", + "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_List", + "description": "Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Get", + "description": "Gets properties of a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Create", + "description": "Creates a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/providerInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/providerInstances", + "operation": "ProviderInstances_Delete", + "description": "Deletes a provider instance for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_List", + "description": "Gets a list of alert instances in the specified SAP monitor. The operations returns various properties of each provider instances." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Create", + "description": "Creates a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alerts/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alerts", + "operation": "Alerts_Delete", + "description": "Deletes a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_List", + "description": "Gets properties of an alert template for the specified subscription, resource group, SAP monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/alertTemplates/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/alertTemplates", + "operation": "AlertTemplates_Get", + "description": "Gets properties of a alert for the specified subscription, resource group, Monitor name, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_List", + "description": "Gets a list of properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Get", + "description": "Gets properties of a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Create", + "description": "Creates a SAP Landscape monitor configuration for the specified subscription, resource group, and resource name." + } + }, + { + "name": "Microsoft.Workloads/monitors/sapLandscapeMonitor/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "monitors/sapLandscapeMonitor", + "operation": "SapLandscapeMonitor_Delete", + "description": "Deletes a SAP Landscape monitor configuration with the specified subscription, resource group, and monitor name." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Get", + "description": "Gets an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Create", + "description": "Creates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Delete", + "description": "Deletes an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Update", + "description": "Updates an SAP Virtual Instance." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListByResourceGroup", + "description": "Gets all SAP Virtual Instances in a resource group." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_ListBySubscription", + "description": "Gets all SAP Virtual Instances in the subscription." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/start/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Start", + "description": "Starts the SAP System." + } + }, + { + "name": "Microsoft.Workloads/sapVirtualInstances/stop/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapVirtualInstances", + "operation": "SAPVirtualInstances_Stop", + "description": "Stops the SAP System." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSizingRecommendations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSizingRecommendations", + "description": "Get SAP sizing recommendations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getSapSupportedSku/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPSupportedSku", + "description": "Get SAP supported SKUs." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getDiskConfigurations/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPDiskConfigurations", + "description": "Get SAP Disk Configurations." + } + }, + { + "name": "Microsoft.Workloads/locations/sapVirtualInstanceMetadata/getAvailabilityZoneDetails/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "locations/sapVirtualInstanceMetadata", + "operation": "SAPAvailabilityZoneDetails", + "description": "Get SAP Availability Zone Details." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Get", + "description": "Gets a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Create", + "description": "Creates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Delete", + "description": "Deletes a connector resource and its child resources, which are the associated connection resources. All the child resources have to be deleted before deleting the connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_Update", + "description": "Updates a connector resource" + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListByResourceGroup", + "description": "Gets all connector resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/connectors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors", + "operation": "Connectors_ListBySubscription", + "description": "Gets all connector resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Get", + "description": "Gets the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Create", + "description": "Creates the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Delete", + "description": "Deletes the backup connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_Update", + "description": "Updates the backup connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/acssBackups/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/acssBackups", + "operation": "ACSSBackupConnections_List", + "description": "Lists the backup connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Get", + "description": "Gets the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Create", + "description": "Creates the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Delete", + "description": "Deletes the monitor connection resource of virtual instance for SAP." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_Update", + "description": "Updates the monitor connection resource of virtual instance for SAP.

This can be used to update tags on the resource." + } + }, + { + "name": "Microsoft.Workloads/connectors/sapVirtualInstanceMonitors/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "connectors/sapVirtualInstanceMonitors", + "operation": "SapVirtualInstanceMonitorConnections_List", + "description": "Lists the monitor connection resources of virtual instance for SAP under the given connector resource." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Get", + "description": "Gets properties of Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_ListByResourceGroup", + "description": "Gets a list of Workloads Insight instances in the specified subscription and resource group. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_List", + "description": "Gets a list of Workloads Insight instances in the specified subscription. The operations returns various properties of each instance." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Create", + "description": "Creates a Workloads Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Delete", + "description": "Deletes a Workloads Insights instance for the specified subscription, resource group and instance name." + } + }, + { + "name": "Microsoft.Workloads/insights/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "insights", + "operation": "Insights_Update", + "description": "Patches the Workload Insights instance for the specified subscription, resource group, and instance name." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Get", + "description": "Gets a SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Create", + "description": "Creates a discovery site for SAP Migration." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Delete", + "description": "Deletes a SAP Migration discovery site resource and its child resources, that is the associated SAP Instances and Server Instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_Update", + "description": "SAPDiscoverySites_Update." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListByResourceGroup", + "description": "Gets all SAP Migration discovery site resources in a Resource Group." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ListBySubscription", + "description": "Gets all SAP Migration discovery site resources in a Subscription." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/importEntities/action", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites", + "operation": "SAPDiscoverySites_ImportEntities", + "description": "Import a SAP Migration discovery site resource and it's child resources, that is the SAP instances and Server instances." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Get", + "description": "Gets the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Create", + "description": "Creates the SAP Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Delete", + "description": "Deletes the SAP 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 SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_Update", + "description": "Updates the SAP Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances", + "operation": "SAPInstances_List", + "description": "Lists the SAP Instance resources for the given SAP Migration discovery site resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Get", + "description": "Gets the Server Instance resource." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Create", + "description": "Creates the Server Instance resource.

This will be used by service only. PUT operation on this resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Delete", + "description": "Deletes the Server 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 SAP Migration discovery site resource, using the delete operation on it." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/write", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_Update", + "description": "Updates the Server Instance resource. This operation on a resource by end user will return a Bad Request error." + } + }, + { + "name": "Microsoft.Workloads/sapDiscoverySites/sapInstances/serverInstances/read", + "isDataAction": false, + "display": { + "provider": "Microsoft.Workloads", + "resource": "sapDiscoverySites/sapInstances/serverInstances", + "operation": "ServerInstances_List", + "description": "Lists the Server Instance resources for the given SAP Instance resource." + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "List the operations for the provider." +} diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/operations.json b/specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/operations.json new file mode 100644 index 000000000000..2fc6c740381b --- /dev/null +++ b/specification/workloads/resource-manager/Microsoft.Workloads/operations/stable/2024-09-01/operations.json @@ -0,0 +1,86 @@ +{ + "swagger": "2.0", + "info": { + "title": "Workloads Client", + "version": "2024-09-01", + "description": "Workloads client provides access to various workload operations.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.Workloads/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List the operations for the provider.": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": {}, + "parameters": {} +}