diff --git a/eslzArm/eslz-portal.json b/eslzArm/eslz-portal.json index 0c89bd197..d5a7d5c38 100644 --- a/eslzArm/eslz-portal.json +++ b/eslzArm/eslz-portal.json @@ -186,6 +186,17 @@ "text": "Select a single subscription that will be used for all platform resources. This includes resources relating to platform management, security, governance, automation, connectivity, and identity." } }, + { + "name": "getSubscriptions2", + "type": "Microsoft.Solutions.ArmApiControl", + "request": { + "method": "POST", + "path": "providers/Microsoft.ResourceGraph/resources?api-version=2024-04-01", + "body": { + "query": "ResourceContainers | where type =~ 'microsoft.resources/subscriptions' | where properties.state =~ 'enabled' | project label=tostring(name), description=subscriptionId, value=subscriptionId | order by label asc" + } + } + }, { "name": "selector", "type": "Microsoft.Common.DropDown", @@ -199,7 +210,7 @@ "multiLine": true, "visible": true, "constraints": { - "allowedValues": "[steps('basics').getSubscriptions.data]", + "allowedValues": "[steps('core').singleSubscription.getSubscriptions.data]", "required": true } } @@ -947,11 +958,11 @@ "type": "Microsoft.Common.TextBlock", "visible": true, "options": { - "text": "AMBA for ALZ is a best practice collection of alerts for resources commonly deployed into Azure landing zones and demonstrates how to deploy alerts at scale using Azure Policy.", - "link": { - "label": "Learn more", - "uri": "https://aka.ms/amba/alz" - } + "text": "AMBA for ALZ is a best practice collection of alerts for resources commonly deployed into Azure landing zones and demonstrates how to deploy alerts at scale using Azure Policy.", + "link": { + "label": "Learn more", + "uri": "https://aka.ms/amba/alz" + } } } ] @@ -1314,10 +1325,10 @@ "defaultValue": "id-amba-prod-001", "toolTip": "Specify the name of the user assigned managed identity for monitoring purpose.", "constraints": { - "required": true, - "regex": "", - "validationMessage": "", - "validations": [] + "required": true, + "regex": "", + "validationMessage": "", + "validations": [] }, "infoMessages": [], "visible": true @@ -1348,7 +1359,9 @@ "name": "ambaAgArmRole", "type": "Microsoft.Common.DropDown", "label": "ARM Roles for action group notifications", - "defaultValue": ["Owner"], + "defaultValue": [ + "Owner" + ], "multiselect": true, "selectAll": true, "filter": false, @@ -1806,7 +1819,7 @@ "value": "privatelink.wvd.microsoft.com" }, { - "value" : "privatelink-global.wvd.microsoft.com" + "value": "privatelink-global.wvd.microsoft.com" } ], "visible": "[and(or(equals(steps('connectivity').enableHub, 'vhub'), equals(steps('connectivity').enableHub, 'nva')), not(equals(steps('connectivity').enablePrivateDnsZones,'No')))]", @@ -2693,7 +2706,17 @@ "name": "firewallZones", "type": "Microsoft.Common.DropDown", "label": "Select Availability Zones for the Azure Firewall", - "defaultValue": [{"value": "1"}, {"value": "2"}, {"value": "3"}], + "defaultValue": [ + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + } + ], "multiselect": true, "selectAll": true, "filter": true, @@ -3159,7 +3182,7 @@ "type": "Microsoft.Common.Section", "label": "Secondary Region Networking", "visible": "[and(not(equals(steps('connectivity').enableHub, 'No')), equals(steps('core').deploySecondaryRegion, 'Yes'))]", - "elements":[ + "elements": [ { "name": "secondaryRegionNetworkInfo", "type": "Microsoft.Common.InfoBox", @@ -3808,7 +3831,17 @@ "name": "firewallZonesSecondary", "type": "Microsoft.Common.DropDown", "label": "Select Availability Zones for the Azure Firewall in your second region", - "defaultValue": [{"value": "1"}, {"value": "2"}, {"value": "3"}], + "defaultValue": [ + { + "value": "1" + }, + { + "value": "2" + }, + { + "value": "3" + } + ], "multiselect": true, "selectAll": true, "filter": true, @@ -4269,9 +4302,9 @@ ] } } - ] - } - ] + ] + } + ] }, { "name": "identity", @@ -4492,7 +4525,7 @@ "type": "Microsoft.Common.Section", "label": "Secondary Region Identity", "visible": "[and(not(equals(steps('connectivity').enableHub, 'No')), equals(steps('core').deploySecondaryRegion, 'Yes'))]", - "elements":[ + "elements": [ { "name": "esIdentityConnectivitySecondary", "type": "Microsoft.Common.OptionsGroup", @@ -4532,7 +4565,7 @@ "visible": "[and(equals(steps('identity').esIdentitySecondarySubSection.esIdentityConnectivitySecondary, 'Yes'), not(equals(steps('connectivity').enableHub,'No')))]" } ] - } + } ] }, { @@ -5404,7 +5437,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').wlcCMK.enableWsCMKInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -5500,7 +5540,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').wlcAIReady.enableWsBotServiceInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -5588,7 +5635,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').wlcAIReady.enableWsCognitiveServicesInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -5676,7 +5730,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').wlcAIReady.enableWsMachineLearningInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -5764,7 +5825,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').wlcAIReady.enableWsOpenAIInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -5861,7 +5929,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsDataExplorerInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -5949,7 +6024,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsDataFactoryInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6037,7 +6119,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsSynapseInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6131,7 +6220,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsComputeInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6219,7 +6315,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsVirtualDesktopInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6313,7 +6416,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsContainerAppsInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6401,7 +6511,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsContainerInstanceInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6489,7 +6606,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsContainerRegistryInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6577,7 +6701,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsKubernetesInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6671,7 +6802,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsCosmosDbInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6759,7 +6897,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsMySQLInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6847,7 +6992,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsPostgreSQLInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -6935,7 +7087,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsSQLInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7029,7 +7188,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsEventGridInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7117,7 +7283,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsEventHubInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7205,7 +7378,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsServiceBusInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7299,7 +7479,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsAutomationInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7394,7 +7581,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsNetworkInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7488,7 +7682,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsKeyVaultSupInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7582,7 +7783,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsStorageInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7676,7 +7884,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsAPIMInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ { @@ -7764,7 +7979,14 @@ "filterPlaceholder": "Filter items ...", "multiLine": true, "visible": "[equals(steps('workloadspecific').enableWsAppServicesInitiatives, 'Yes')]", - "defaultValue": [{"value": "contoso-platform"},{"value": "contoso-landingzones"}], + "defaultValue": [ + { + "value": "contoso-platform" + }, + { + "value": "contoso-landingzones" + } + ], "constraints": { "allowedValues": [ {