From f03d866e438f3a427cf1511c6225a6ba9d75d822 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 31 Jan 2024 18:19:49 +0000 Subject: [PATCH] GitHub Action: Build Bicep to JSON --- src/bicep/mlz.json | 634 ++++++++++++++++++++++----------------------- 1 file changed, 317 insertions(+), 317 deletions(-) diff --git a/src/bicep/mlz.json b/src/bicep/mlz.json index 68bfca091..4b6dd28c0 100644 --- a/src/bicep/mlz.json +++ b/src/bicep/mlz.json @@ -4,27 +4,27 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "2822344535003118565" + "version": "0.24.24.22086", + "templateHash": "1900207224924683609" } }, "parameters": { "resourcePrefix": { "type": "string", + "minLength": 3, + "maxLength": 10, "metadata": { "description": "A prefix, 3-10 alphanumeric characters without whitespace, used to prefix resources and generate uniqueness for resources with globally unique naming requirements like Storage Accounts and Log Analytics Workspaces" - }, - "maxLength": 10, - "minLength": 3 + } }, "resourceSuffix": { "type": "string", "defaultValue": "mlz", + "minLength": 3, + "maxLength": 6, "metadata": { "description": "A suffix, 3 to 6 characters in length, to append to resource names (e.g. \"dev\", \"test\", \"prod\", \"mlz\"). It defaults to \"mlz\"." - }, - "maxLength": 6, - "minLength": 3 + } }, "hubSubscriptionId": { "type": "string", @@ -158,37 +158,37 @@ "firewallSkuTier": { "type": "string", "defaultValue": "Premium", - "metadata": { - "description": "[Standard/Premium] The SKU for Azure Firewall. It defaults to \"Premium\"." - }, "allowedValues": [ "Standard", "Premium" - ] + ], + "metadata": { + "description": "[Standard/Premium] The SKU for Azure Firewall. It defaults to \"Premium\"." + } }, "firewallThreatIntelMode": { "type": "string", "defaultValue": "Alert", - "metadata": { - "description": "[Alert/Deny/Off] The Azure Firewall Threat Intelligence Rule triggered logging behavior. Valid values are \"Alert\", \"Deny\", or \"Off\". The default value is \"Alert\"." - }, "allowedValues": [ "Alert", "Deny", "Off" - ] + ], + "metadata": { + "description": "[Alert/Deny/Off] The Azure Firewall Threat Intelligence Rule triggered logging behavior. Valid values are \"Alert\", \"Deny\", or \"Off\". The default value is \"Alert\"." + } }, "firewallIntrusionDetectionMode": { "type": "string", "defaultValue": "Alert", - "metadata": { - "description": "[Alert/Deny/Off] The Azure Firewall Intrusion Detection mode. Valid values are \"Alert\", \"Deny\", or \"Off\". The default value is \"Alert\"." - }, "allowedValues": [ "Alert", "Deny", "Off" - ] + ], + "metadata": { + "description": "[Alert/Deny/Off] The Azure Firewall Intrusion Detection mode. Valid values are \"Alert\", \"Deny\", or \"Off\". The default value is \"Alert\"." + } }, "enableProxy": { "type": "bool", @@ -621,9 +621,6 @@ "logAnalyticsWorkspaceSkuName": { "type": "string", "defaultValue": "PerGB2018", - "metadata": { - "description": "[Free/Standard/Premium/PerNode/PerGB2018/Standalone] The SKU for the Log Analytics Workspace. It defaults to \"PerGB2018\". See https://docs.microsoft.com/en-us/azure/azure-monitor/logs/resource-manager-workspace for valid settings." - }, "allowedValues": [ "Free", "Standard", @@ -631,7 +628,10 @@ "PerNode", "PerGB2018", "Standalone" - ] + ], + "metadata": { + "description": "[Free/Standard/Premium/PerNode/PerGB2018/Standalone] The SKU for the Log Analytics Workspace. It defaults to \"PerGB2018\". See https://docs.microsoft.com/en-us/azure/azure-monitor/logs/resource-manager-workspace for valid settings." + } }, "logStorageSkuName": { "type": "string", @@ -671,16 +671,16 @@ "linuxVmAuthenticationType": { "type": "string", "defaultValue": "password", - "metadata": { - "description": "[sshPublicKey/password] The authentication type for the Linux Virtual Machine to Azure Bastion remote into. It defaults to \"password\"." - }, "allowedValues": [ "sshPublicKey", "password" - ] + ], + "metadata": { + "description": "[sshPublicKey/password] The authentication type for the Linux Virtual Machine to Azure Bastion remote into. It defaults to \"password\"." + } }, "linuxVmAdminPasswordOrKey": { - "type": "secureString", + "type": "securestring", "defaultValue": "[if(parameters('deployRemoteAccess'), '', newGuid())]", "minLength": 12, "metadata": { @@ -739,13 +739,13 @@ "linuxNetworkInterfacePrivateIPAddressAllocationMethod": { "type": "string", "defaultValue": "Dynamic", - "metadata": { - "description": "[Static/Dynamic] The public IP Address allocation method for the Linux virtual machine. It defaults to \"Dynamic\"." - }, "allowedValues": [ "Static", "Dynamic" - ] + ], + "metadata": { + "description": "[Static/Dynamic] The public IP Address allocation method for the Linux virtual machine. It defaults to \"Dynamic\"." + } }, "windowsVmAdminUsername": { "type": "string", @@ -755,7 +755,7 @@ } }, "windowsVmAdminPassword": { - "type": "secureString", + "type": "securestring", "defaultValue": "[if(parameters('deployRemoteAccess'), '', newGuid())]", "minLength": 12, "metadata": { @@ -814,13 +814,13 @@ "windowsNetworkInterfacePrivateIPAddressAllocationMethod": { "type": "string", "defaultValue": "Dynamic", - "metadata": { - "description": "[Static/Dynamic] The public IP Address allocation method for the Windows virtual machine. It defaults to \"Dynamic\"." - }, "allowedValues": [ "Static", "Dynamic" - ] + ], + "metadata": { + "description": "[Static/Dynamic] The public IP Address allocation method for the Windows virtual machine. It defaults to \"Dynamic\"." + } }, "deployPolicy": { "type": "bool", @@ -832,15 +832,15 @@ "policy": { "type": "string", "defaultValue": "NISTRev4", - "metadata": { - "description": "[NISTRev4/NISTRev5/IL5/CMMC] Built-in policy assignments to assign, it defaults to \"NISTRev4\". IL5 is only available for AzureUsGovernment and will switch to NISTRev4 if tried in AzureCloud." - }, "allowedValues": [ "NISTRev4", "NISTRev5", "IL5", "CMMC" - ] + ], + "metadata": { + "description": "[NISTRev4/NISTRev5/IL5/CMMC] Built-in policy assignments to assign, it defaults to \"NISTRev4\". IL5 is only available for AzureUsGovernment and will switch to NISTRev4 if tried in AzureCloud." + } }, "deployDefender": { "type": "bool", @@ -852,13 +852,13 @@ "defenderSkuTier": { "type": "string", "defaultValue": "Standard", - "metadata": { - "description": "[Standard/Free] The SKU for Defender. It defaults to \"Standard\"." - }, "allowedValues": [ "Standard", "Free" - ] + ], + "metadata": { + "description": "[Standard/Free] The SKU for Defender. It defaults to \"Standard\"." + } }, "emailSecurityContact": { "type": "string", @@ -1010,7 +1010,7 @@ "resources": [ { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-rg-hub-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "location": "[deployment().location]", @@ -1036,8 +1036,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18346155787391352255" + "version": "0.24.24.22086", + "templateHash": "7140967460139920692" } }, "parameters": { @@ -1088,7 +1088,7 @@ "count": "[length(variables('spokes'))]" }, "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-rg-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))]", "subscriptionId": "[variables('spokes')[copyIndex()].subscriptionId]", "location": "[deployment().location]", @@ -1114,8 +1114,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18346155787391352255" + "version": "0.24.24.22086", + "templateHash": "7140967460139920692" } }, "parameters": { @@ -1162,7 +1162,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-laws-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('operationsSubscriptionId')]", "resourceGroup": "[variables('operationsResourceGroupName')]", @@ -1200,8 +1200,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "4363803513381780626" + "version": "0.24.24.22086", + "templateHash": "9947295372567029530" } }, "parameters": { @@ -1316,11 +1316,11 @@ } }, { - "condition": "[variables('solutions')[copyIndex()].deploy]", "copy": { "name": "logAnalyticsSolutions", "count": "[length(variables('solutions'))]" }, + "condition": "[variables('solutions')[copyIndex()].deploy]", "type": "Microsoft.OperationsManagement/solutions", "apiVersion": "2015-11-01-preview", "name": "[format('{0}({1})', variables('solutions')[copyIndex()].name, parameters('name'))]", @@ -1374,7 +1374,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "resourceGroup": "[variables('hubResourceGroupName')]", @@ -1397,7 +1397,7 @@ "value": "[parameters('logStorageSkuName')]" }, "logAnalyticsWorkspaceResourceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" }, "virtualNetworkName": { "value": "[variables('hubVirtualNetworkName')]" @@ -1523,8 +1523,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "1557820237271279412" + "version": "0.24.24.22086", + "templateHash": "5868168706337396749" } }, "parameters": { @@ -1703,10 +1703,10 @@ "properties": { "addressPrefix": "[parameters('subnetAddressPrefix')]", "networkSecurityGroup": { - "id": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.id.value]" + "id": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.id.value]" }, "routeTable": { - "id": "[reference(resourceId('Microsoft.Resources/deployments', 'routeTable')).outputs.id.value]" + "id": "[reference(resourceId('Microsoft.Resources/deployments', 'routeTable'), '2022-09-01').outputs.id.value]" }, "serviceEndpoints": "[parameters('subnetServiceEndpoints')]", "privateEndpointNetworkPolicies": "Disabled", @@ -1721,7 +1721,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "logStorage", "properties": { "expressionEvaluationOptions": { @@ -1748,8 +1748,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "4435843471246172620" + "version": "0.24.24.22086", + "templateHash": "11432560412215968310" } }, "parameters": { @@ -1812,7 +1812,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "networkSecurityGroup", "properties": { "expressionEvaluationOptions": { @@ -1836,7 +1836,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('networkSecurityGroupDiagnosticsLogs')]" @@ -1851,8 +1851,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "7894763285242421186" + "version": "0.24.24.22086", + "templateHash": "11977507194028278079" } }, "parameters": { @@ -1927,7 +1927,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "virtualNetwork", "properties": { "expressionEvaluationOptions": { @@ -1972,7 +1972,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('virtualNetworkDiagnosticsLogs')]" @@ -1987,8 +1987,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "16443263514490560792" + "version": "0.24.24.22086", + "templateHash": "3610049520534333304" } }, "parameters": { @@ -2069,11 +2069,11 @@ }, "subnets": { "type": "array", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name'))).subnets]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name')), '2021-02-01').subnets]" }, "addressPrefix": { "type": "string", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name'))).addressSpace.addressPrefixes[0]]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name')), '2021-02-01').addressSpace.addressPrefixes[0]]" } } } @@ -2084,7 +2084,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "routeTable", "properties": { "expressionEvaluationOptions": { @@ -2108,7 +2108,7 @@ "value": "[parameters('routeTableRouteAddressPrefix')]" }, "routeNextHopIpAddress": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall')).outputs.privateIPAddress.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall'), '2022-09-01').outputs.privateIPAddress.value]" }, "routeNextHopType": { "value": "[parameters('routeTableRouteNextHopType')]" @@ -2120,8 +2120,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "8332169477119932515" + "version": "0.24.24.22086", + "templateHash": "13858235086546968061" } }, "parameters": { @@ -2187,7 +2187,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "firewallClientPublicIPAddress", "properties": { "expressionEvaluationOptions": { @@ -2217,7 +2217,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('publicIPAddressDiagnosticsLogs')]" @@ -2232,8 +2232,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18439825222758045392" + "version": "0.24.24.22086", + "templateHash": "643596479218724976" } }, "parameters": { @@ -2314,7 +2314,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "firewallManagementPublicIPAddress", "properties": { "expressionEvaluationOptions": { @@ -2344,7 +2344,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('publicIPAddressDiagnosticsLogs')]" @@ -2359,8 +2359,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18439825222758045392" + "version": "0.24.24.22086", + "templateHash": "643596479218724976" } }, "parameters": { @@ -2441,7 +2441,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "firewall", "properties": { "expressionEvaluationOptions": { @@ -2474,10 +2474,10 @@ "value": "[parameters('firewallClientIpConfigurationName')]" }, "clientIpConfigurationSubnetResourceId": { - "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.id.value, parameters('firewallClientSubnetName'))]" + "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.id.value, parameters('firewallClientSubnetName'))]" }, "clientIpConfigurationPublicIPAddressResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallClientPublicIPAddress')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallClientPublicIPAddress'), '2022-09-01').outputs.id.value]" }, "firewallSupernetIPAddress": { "value": "[parameters('firewallSupernetIPAddress')]" @@ -2492,16 +2492,16 @@ "value": "[parameters('firewallManagementIpConfigurationName')]" }, "managementIpConfigurationSubnetResourceId": { - "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.id.value, parameters('firewallManagementSubnetName'))]" + "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.id.value, parameters('firewallManagementSubnetName'))]" }, "managementIpConfigurationPublicIPAddressResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallManagementPublicIPAddress')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallManagementPublicIPAddress'), '2022-09-01').outputs.id.value]" }, "logAnalyticsWorkspaceResourceId": { "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('firewallDiagnosticsLogs')]" @@ -2516,8 +2516,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "3970955170518833761" + "version": "0.24.24.22086", + "templateHash": "8776599634048001479" } }, "parameters": { @@ -2803,7 +2803,7 @@ "outputs": { "privateIPAddress": { "type": "string", - "value": "[reference(resourceId('Microsoft.Network/azureFirewalls', parameters('name'))).ipConfigurations[0].properties.privateIPAddress]" + "value": "[reference(resourceId('Microsoft.Network/azureFirewalls', parameters('name')), '2021-02-01').ipConfigurations[0].properties.privateIPAddress]" } } } @@ -2819,11 +2819,11 @@ "outputs": { "virtualNetworkName": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.name.value]" }, "virtualNetworkResourceId": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.id.value]" }, "subnetName": { "type": "string", @@ -2831,7 +2831,7 @@ }, "subnetAddressPrefix": { "type": "string", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks/subnets', split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[0], split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[1])).addressPrefix]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks/subnets', split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[0], split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[1]), '2021-02-01').addressPrefix]" }, "subnetResourceId": { "type": "string", @@ -2839,15 +2839,15 @@ }, "networkSecurityGroupName": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.name.value]" }, "networkSecurityGroupResourceId": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.id.value]" }, "firewallPrivateIPAddress": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall')).outputs.privateIPAddress.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall'), '2022-09-01').outputs.privateIPAddress.value]" } } } @@ -2858,7 +2858,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-vnet-hub-DNS-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "resourceGroup": "[variables('hubResourceGroupName')]", @@ -2881,7 +2881,7 @@ "value": "[parameters('logStorageSkuName')]" }, "logAnalyticsWorkspaceResourceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" }, "virtualNetworkName": { "value": "[variables('hubVirtualNetworkName')]" @@ -2990,7 +2990,7 @@ }, "vNetDnsServers": { "value": [ - "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.firewallPrivateIPAddress.value]" + "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.firewallPrivateIPAddress.value]" ] }, "publicIPAddressDiagnosticsLogs": { @@ -3012,8 +3012,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "1557820237271279412" + "version": "0.24.24.22086", + "templateHash": "5868168706337396749" } }, "parameters": { @@ -3192,10 +3192,10 @@ "properties": { "addressPrefix": "[parameters('subnetAddressPrefix')]", "networkSecurityGroup": { - "id": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.id.value]" + "id": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.id.value]" }, "routeTable": { - "id": "[reference(resourceId('Microsoft.Resources/deployments', 'routeTable')).outputs.id.value]" + "id": "[reference(resourceId('Microsoft.Resources/deployments', 'routeTable'), '2022-09-01').outputs.id.value]" }, "serviceEndpoints": "[parameters('subnetServiceEndpoints')]", "privateEndpointNetworkPolicies": "Disabled", @@ -3210,7 +3210,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "logStorage", "properties": { "expressionEvaluationOptions": { @@ -3237,8 +3237,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "4435843471246172620" + "version": "0.24.24.22086", + "templateHash": "11432560412215968310" } }, "parameters": { @@ -3301,7 +3301,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "networkSecurityGroup", "properties": { "expressionEvaluationOptions": { @@ -3325,7 +3325,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('networkSecurityGroupDiagnosticsLogs')]" @@ -3340,8 +3340,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "7894763285242421186" + "version": "0.24.24.22086", + "templateHash": "11977507194028278079" } }, "parameters": { @@ -3416,7 +3416,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "virtualNetwork", "properties": { "expressionEvaluationOptions": { @@ -3461,7 +3461,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('virtualNetworkDiagnosticsLogs')]" @@ -3476,8 +3476,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "16443263514490560792" + "version": "0.24.24.22086", + "templateHash": "3610049520534333304" } }, "parameters": { @@ -3558,11 +3558,11 @@ }, "subnets": { "type": "array", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name'))).subnets]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name')), '2021-02-01').subnets]" }, "addressPrefix": { "type": "string", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name'))).addressSpace.addressPrefixes[0]]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name')), '2021-02-01').addressSpace.addressPrefixes[0]]" } } } @@ -3573,7 +3573,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "routeTable", "properties": { "expressionEvaluationOptions": { @@ -3597,7 +3597,7 @@ "value": "[parameters('routeTableRouteAddressPrefix')]" }, "routeNextHopIpAddress": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall')).outputs.privateIPAddress.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall'), '2022-09-01').outputs.privateIPAddress.value]" }, "routeNextHopType": { "value": "[parameters('routeTableRouteNextHopType')]" @@ -3609,8 +3609,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "8332169477119932515" + "version": "0.24.24.22086", + "templateHash": "13858235086546968061" } }, "parameters": { @@ -3676,7 +3676,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "firewallClientPublicIPAddress", "properties": { "expressionEvaluationOptions": { @@ -3706,7 +3706,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('publicIPAddressDiagnosticsLogs')]" @@ -3721,8 +3721,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18439825222758045392" + "version": "0.24.24.22086", + "templateHash": "643596479218724976" } }, "parameters": { @@ -3803,7 +3803,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "firewallManagementPublicIPAddress", "properties": { "expressionEvaluationOptions": { @@ -3833,7 +3833,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('publicIPAddressDiagnosticsLogs')]" @@ -3848,8 +3848,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18439825222758045392" + "version": "0.24.24.22086", + "templateHash": "643596479218724976" } }, "parameters": { @@ -3930,7 +3930,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "firewall", "properties": { "expressionEvaluationOptions": { @@ -3963,10 +3963,10 @@ "value": "[parameters('firewallClientIpConfigurationName')]" }, "clientIpConfigurationSubnetResourceId": { - "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.id.value, parameters('firewallClientSubnetName'))]" + "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.id.value, parameters('firewallClientSubnetName'))]" }, "clientIpConfigurationPublicIPAddressResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallClientPublicIPAddress')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallClientPublicIPAddress'), '2022-09-01').outputs.id.value]" }, "firewallSupernetIPAddress": { "value": "[parameters('firewallSupernetIPAddress')]" @@ -3981,16 +3981,16 @@ "value": "[parameters('firewallManagementIpConfigurationName')]" }, "managementIpConfigurationSubnetResourceId": { - "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.id.value, parameters('firewallManagementSubnetName'))]" + "value": "[format('{0}/subnets/{1}', reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.id.value, parameters('firewallManagementSubnetName'))]" }, "managementIpConfigurationPublicIPAddressResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallManagementPublicIPAddress')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewallManagementPublicIPAddress'), '2022-09-01').outputs.id.value]" }, "logAnalyticsWorkspaceResourceId": { "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('firewallDiagnosticsLogs')]" @@ -4005,8 +4005,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "3970955170518833761" + "version": "0.24.24.22086", + "templateHash": "8776599634048001479" } }, "parameters": { @@ -4292,7 +4292,7 @@ "outputs": { "privateIPAddress": { "type": "string", - "value": "[reference(resourceId('Microsoft.Network/azureFirewalls', parameters('name'))).ipConfigurations[0].properties.privateIPAddress]" + "value": "[reference(resourceId('Microsoft.Network/azureFirewalls', parameters('name')), '2021-02-01').ipConfigurations[0].properties.privateIPAddress]" } } } @@ -4308,11 +4308,11 @@ "outputs": { "virtualNetworkName": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.name.value]" }, "virtualNetworkResourceId": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.id.value]" }, "subnetName": { "type": "string", @@ -4320,7 +4320,7 @@ }, "subnetAddressPrefix": { "type": "string", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks/subnets', split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[0], split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[1])).addressPrefix]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks/subnets', split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[0], split(format('{0}/{1}', parameters('virtualNetworkName'), parameters('subnetName')), '/')[1]), '2021-02-01').addressPrefix]" }, "subnetResourceId": { "type": "string", @@ -4328,15 +4328,15 @@ }, "networkSecurityGroupName": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.name.value]" }, "networkSecurityGroupResourceId": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.id.value]" }, "firewallPrivateIPAddress": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall')).outputs.privateIPAddress.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'firewall'), '2022-09-01').outputs.privateIPAddress.value]" } } } @@ -4352,7 +4352,7 @@ "count": "[length(variables('spokes'))]" }, "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))]", "subscriptionId": "[variables('spokes')[copyIndex()].subscriptionId]", "resourceGroup": "[variables('spokes')[copyIndex()].resourceGroupName]", @@ -4375,14 +4375,14 @@ "value": "[parameters('logStorageSkuName')]" }, "logAnalyticsWorkspaceResourceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" }, "firewallPrivateIPAddress": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.firewallPrivateIPAddress.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.firewallPrivateIPAddress.value]" }, "vNetDnsServers": { "value": [ - "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.firewallPrivateIPAddress.value]" + "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.firewallPrivateIPAddress.value]" ] }, "virtualNetworkName": { @@ -4431,8 +4431,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "6504783739414137516" + "version": "0.24.24.22086", + "templateHash": "3636586928348301463" } }, "parameters": { @@ -4522,7 +4522,7 @@ "resources": [ { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "logStorage", "properties": { "expressionEvaluationOptions": { @@ -4549,8 +4549,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "4435843471246172620" + "version": "0.24.24.22086", + "templateHash": "11432560412215968310" } }, "parameters": { @@ -4613,7 +4613,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "networkSecurityGroup", "properties": { "expressionEvaluationOptions": { @@ -4637,7 +4637,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('networkSecurityGroupDiagnosticsLogs')]" @@ -4652,8 +4652,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "7894763285242421186" + "version": "0.24.24.22086", + "templateHash": "11977507194028278079" } }, "parameters": { @@ -4728,7 +4728,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "routeTable", "properties": { "expressionEvaluationOptions": { @@ -4764,8 +4764,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "8332169477119932515" + "version": "0.24.24.22086", + "templateHash": "13858235086546968061" } }, "parameters": { @@ -4828,7 +4828,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "virtualNetwork", "properties": { "expressionEvaluationOptions": { @@ -4858,10 +4858,10 @@ "properties": { "addressPrefix": "[parameters('subnetAddressPrefix')]", "networkSecurityGroup": { - "id": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.id.value]" + "id": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.id.value]" }, "routeTable": { - "id": "[reference(resourceId('Microsoft.Resources/deployments', 'routeTable')).outputs.id.value]" + "id": "[reference(resourceId('Microsoft.Resources/deployments', 'routeTable'), '2022-09-01').outputs.id.value]" }, "serviceEndpoints": "[parameters('subnetServiceEndpoints')]", "privateEndpointNetworkPolicies": "[parameters('subnetPrivateEndpointNetworkPolicies')]", @@ -4874,7 +4874,7 @@ "value": "[parameters('logAnalyticsWorkspaceResourceId')]" }, "logStorageAccountResourceId": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'logStorage'), '2022-09-01').outputs.id.value]" }, "logs": { "value": "[parameters('virtualNetworkDiagnosticsLogs')]" @@ -4889,8 +4889,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "16443263514490560792" + "version": "0.24.24.22086", + "templateHash": "3610049520534333304" } }, "parameters": { @@ -4971,11 +4971,11 @@ }, "subnets": { "type": "array", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name'))).subnets]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name')), '2021-02-01').subnets]" }, "addressPrefix": { "type": "string", - "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name'))).addressSpace.addressPrefixes[0]]" + "value": "[reference(resourceId('Microsoft.Network/virtualNetworks', parameters('name')), '2021-02-01').addressSpace.addressPrefixes[0]]" } } } @@ -4990,35 +4990,35 @@ "outputs": { "virtualNetworkName": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.name.value]" }, "virtualNetworkResourceId": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.id.value]" }, "virtualNetworkAddressPrefix": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.addressPrefix.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.addressPrefix.value]" }, "subnetName": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.subnets.value[0].name]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.subnets.value[0].name]" }, "subnetAddressPrefix": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.subnets.value[0].properties.addressPrefix]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.subnets.value[0].properties.addressPrefix]" }, "subnetResourceId": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork')).outputs.subnets.value[0].id]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'virtualNetwork'), '2022-09-01').outputs.subnets.value[0].id]" }, "networkSecurityGroupName": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.name.value]" }, "networkSecurityGroupResourceId": { "type": "string", - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup')).outputs.id.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'networkSecurityGroup'), '2022-09-01').outputs.id.value]" } } } @@ -5030,7 +5030,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-vnet-peerings-hub-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "resourceGroup": "[variables('hubResourceGroupName')]", @@ -5041,14 +5041,14 @@ "mode": "Incremental", "parameters": { "hubVirtualNetworkName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value]" }, "spokes": { "copy": [ { "name": "value", "count": "[length(variables('spokes'))]", - "input": "[createObject('type', variables('spokes')[copyIndex('value')].name, 'virtualNetworkName', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex('value')].subscriptionId, variables('spokes')[copyIndex('value')].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex('value')].name, parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value, 'virtualNetworkResourceId', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex('value')].subscriptionId, variables('spokes')[copyIndex('value')].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex('value')].name, parameters('deploymentNameSuffix')))).outputs.virtualNetworkResourceId.value)]" + "input": "[createObject('type', variables('spokes')[copyIndex('value')].name, 'virtualNetworkName', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex('value')].subscriptionId, variables('spokes')[copyIndex('value')].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex('value')].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value, 'virtualNetworkResourceId', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex('value')].subscriptionId, variables('spokes')[copyIndex('value')].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex('value')].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkResourceId.value)]" } ] } @@ -5059,8 +5059,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "15629689242937002521" + "version": "0.24.24.22086", + "templateHash": "9588462177817329290" } }, "parameters": { @@ -5078,7 +5078,7 @@ "count": "[length(parameters('spokes'))]" }, "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('hub-to-{0}-vnet-peering', parameters('spokes')[copyIndex()].type)]", "properties": { "expressionEvaluationOptions": { @@ -5099,8 +5099,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18419282456813263047" + "version": "0.24.24.22086", + "templateHash": "9853575474833495545" } }, "parameters": { @@ -5141,7 +5141,7 @@ "count": "[length(variables('spokes'))]" }, "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-vnet-peerings-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))]", "subscriptionId": "[variables('spokes')[copyIndex()].subscriptionId]", "location": "[deployment().location]", @@ -5158,13 +5158,13 @@ "value": "[variables('spokes')[copyIndex()].resourceGroupName]" }, "spokeVirtualNetworkName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value]" }, "hubVirtualNetworkName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value]" }, "hubVirtualNetworkResourceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.virtualNetworkResourceId.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkResourceId.value]" } }, "template": { @@ -5173,8 +5173,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "2611495743947239031" + "version": "0.24.24.22086", + "templateHash": "1352997920612289656" } }, "parameters": { @@ -5197,7 +5197,7 @@ "resources": [ { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('{0}-to-hub-vnet-peering', parameters('spokeName'))]", "resourceGroup": "[parameters('spokeResourceGroupName')]", "properties": { @@ -5219,8 +5219,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "18419282456813263047" + "version": "0.24.24.22086", + "templateHash": "9853575474833495545" } }, "parameters": { @@ -5258,7 +5258,7 @@ { "condition": "[parameters('deployPolicy')]", "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('assign-policy-hub-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "resourceGroup": "[variables('hubResourceGroupName')]", @@ -5272,10 +5272,10 @@ "value": "[parameters('policy')]" }, "logAnalyticsWorkspaceName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.name.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value]" }, "logAnalyticsWorkspaceResourceGroupName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.resourceGroupName.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.resourceGroupName.value]" }, "operationsSubscriptionId": { "value": "[parameters('operationsSubscriptionId')]" @@ -5290,23 +5290,23 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "3765055138598353912" + "version": "0.24.24.22086", + "templateHash": "16012918268376848316" } }, "parameters": { "builtInAssignment": { "type": "string", "defaultValue": "NISTRev4", - "metadata": { - "description": "[NISTRev4/NISTRev5/IL5/CMMC] Built-in policy assignments to assign, default is NISTRev4. IL5 is only available for AzureUsGovernment and will switch to NISTRev4 if tried in AzureCloud." - }, "allowedValues": [ "NISTRev4", "NISTRev5", "IL5", "CMMC" - ] + ], + "metadata": { + "description": "[NISTRev4/NISTRev5/IL5/CMMC] Built-in policy assignments to assign, default is NISTRev4. IL5 is only available for AzureUsGovernment and will switch to NISTRev4 if tried in AzureCloud." + } }, "logAnalyticsWorkspaceName": { "type": "string" @@ -5446,7 +5446,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('Assign-Laws-Role-Policy-{0}', resourceGroup().name)]", "subscriptionId": "[parameters('operationsSubscriptionId')]", "resourceGroup": "[parameters('logAnalyticsWorkspaceResourceGroupName')]", @@ -5472,8 +5472,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "15761836246481461949" + "version": "0.24.24.22086", + "templateHash": "8686326864657481429" } }, "parameters": { @@ -5528,13 +5528,13 @@ ] }, { - "condition": "[parameters('deployPolicy')]", "copy": { "name": "spokePolicyAssignments", "count": "[length(variables('spokes'))]" }, + "condition": "[parameters('deployPolicy')]", "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('assign-policy-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))]", "subscriptionId": "[variables('spokes')[copyIndex()].subscriptionId]", "resourceGroup": "[variables('spokes')[copyIndex()].resourceGroupName]", @@ -5548,10 +5548,10 @@ "value": "[parameters('policy')]" }, "logAnalyticsWorkspaceName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.name.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value]" }, "logAnalyticsWorkspaceResourceGroupName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.resourceGroupName.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.resourceGroupName.value]" }, "operationsSubscriptionId": { "value": "[parameters('operationsSubscriptionId')]" @@ -5566,23 +5566,23 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "3765055138598353912" + "version": "0.24.24.22086", + "templateHash": "16012918268376848316" } }, "parameters": { "builtInAssignment": { "type": "string", "defaultValue": "NISTRev4", - "metadata": { - "description": "[NISTRev4/NISTRev5/IL5/CMMC] Built-in policy assignments to assign, default is NISTRev4. IL5 is only available for AzureUsGovernment and will switch to NISTRev4 if tried in AzureCloud." - }, "allowedValues": [ "NISTRev4", "NISTRev5", "IL5", "CMMC" - ] + ], + "metadata": { + "description": "[NISTRev4/NISTRev5/IL5/CMMC] Built-in policy assignments to assign, default is NISTRev4. IL5 is only available for AzureUsGovernment and will switch to NISTRev4 if tried in AzureCloud." + } }, "logAnalyticsWorkspaceName": { "type": "string" @@ -5722,7 +5722,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('Assign-Laws-Role-Policy-{0}', resourceGroup().name)]", "subscriptionId": "[parameters('operationsSubscriptionId')]", "resourceGroup": "[parameters('logAnalyticsWorkspaceResourceGroupName')]", @@ -5748,8 +5748,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "15761836246481461949" + "version": "0.24.24.22086", + "templateHash": "8686326864657481429" } }, "parameters": { @@ -5805,7 +5805,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "azure-private-dns", "subscriptionId": "[parameters('hubSubscriptionId')]", "resourceGroup": "[variables('hubResourceGroupName')]", @@ -5816,7 +5816,7 @@ "mode": "Incremental", "parameters": { "vnetName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value]" }, "tags": { "value": "[parameters('tags')]" @@ -5828,8 +5828,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "15092561807650368974" + "version": "0.24.24.22086", + "templateHash": "12558418965855664252" } }, "parameters": { @@ -5861,6 +5861,13 @@ } }, "variables": { + "copy": [ + { + "name": "privatelink_backup_names", + "count": "[length(items(variables('locations')))]", + "input": "[format('privatelink.backup.{0}.{1}', items(variables('locations'))[copyIndex('privatelink_backup_names')].value.recoveryServicesGeo, variables('cloudSuffix'))]" + } + ], "$fxv#0": { "AzureChina": { "chinaeast": { @@ -6245,13 +6252,6 @@ } } }, - "copy": [ - { - "name": "privatelink_backup_names", - "count": "[length(items(variables('locations')))]", - "input": "[format('privatelink.backup.{0}.{1}', items(variables('locations'))[copyIndex('privatelink_backup_names')].value.recoveryServicesGeo, variables('cloudSuffix'))]" - } - ], "cloudSuffix": "[replace(replace(environment().resourceManager, 'https://management.', ''), '/', '')]", "automationSuffix": "[replace(environment().suffixes.storage, 'core.windows.', '')]", "locations": "[variables('$fxv#0')[environment().name]]", @@ -6284,11 +6284,11 @@ "tags": "[parameters('tags')]" }, { - "condition": "[not(contains(variables('privatelink_backup_names')[copyIndex()], '..'))]", "copy": { "name": "privateDnsZone_backup_rsv", "count": "[length(variables('privatelink_backup_names'))]" }, + "condition": "[not(contains(variables('privatelink_backup_names')[copyIndex()], '..'))]", "type": "Microsoft.Network/privateDnsZones", "apiVersion": "2018-09-01", "name": "[variables('privatelink_backup_names')[copyIndex()]]", @@ -6630,7 +6630,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('activity-logs-hub-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "location": "[deployment().location]", @@ -6641,10 +6641,10 @@ "mode": "Incremental", "parameters": { "diagnosticSettingName": { - "value": "[format('log-hub-sub-activity-to-{0}', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.name.value)]" + "value": "[format('log-hub-sub-activity-to-{0}', reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value)]" }, "logAnalyticsWorkspaceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" } }, "template": { @@ -6653,8 +6653,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "4564752438272570911" + "version": "0.24.24.22086", + "templateHash": "3850477028148266020" } }, "parameters": { @@ -6727,7 +6727,7 @@ { "condition": "[contains(parameters('supportedClouds'), environment().name)]", "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "azure-monitor-private-link", "subscriptionId": "[parameters('operationsSubscriptionId')]", "resourceGroup": "[variables('operationsResourceGroupName')]", @@ -6738,10 +6738,10 @@ "mode": "Incremental", "parameters": { "logAnalyticsWorkspaceName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.name.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value]" }, "logAnalyticsWorkspaceResourceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" }, "privateEndpointSubnetName": { "value": "[variables('operationsSubnetName')]" @@ -6750,16 +6750,16 @@ "value": "[variables('operationsVirtualNetworkName')]" }, "monitorPrivateDnsZoneId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns')).outputs.monitorPrivateDnsZoneId.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns'), '2022-09-01').outputs.monitorPrivateDnsZoneId.value]" }, "omsPrivateDnsZoneId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns')).outputs.omsPrivateDnsZoneId.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns'), '2022-09-01').outputs.omsPrivateDnsZoneId.value]" }, "odsPrivateDnsZoneId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns')).outputs.odsPrivateDnsZoneId.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns'), '2022-09-01').outputs.odsPrivateDnsZoneId.value]" }, "agentsvcPrivateDnsZoneId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns')).outputs.agentsvcPrivateDnsZoneId.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', 'azure-private-dns'), '2022-09-01').outputs.agentsvcPrivateDnsZoneId.value]" }, "location": { "value": "[parameters('location')]" @@ -6774,8 +6774,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "10271763324309057378" + "version": "0.24.24.22086", + "templateHash": "8401513239082999873" } }, "parameters": { @@ -6960,13 +6960,13 @@ ] }, { - "condition": "[not(equals(variables('spokes')[copyIndex()].subscriptionId, parameters('hubSubscriptionId')))]", "copy": { "name": "spokeSubscriptionActivityLogging", "count": "[length(variables('spokes'))]" }, + "condition": "[not(equals(variables('spokes')[copyIndex()].subscriptionId, parameters('hubSubscriptionId')))]", "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('activity-logs-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))]", "subscriptionId": "[variables('spokes')[copyIndex()].subscriptionId]", "location": "[deployment().location]", @@ -6977,10 +6977,10 @@ "mode": "Incremental", "parameters": { "diagnosticSettingName": { - "value": "[format('log-{0}-sub-activity-to-{1}', variables('spokes')[copyIndex()].name, reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.name.value)]" + "value": "[format('log-{0}-sub-activity-to-{1}', variables('spokes')[copyIndex()].name, reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value)]" }, "logAnalyticsWorkspaceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" } }, "template": { @@ -6989,8 +6989,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "4564752438272570911" + "version": "0.24.24.22086", + "templateHash": "3850477028148266020" } }, "parameters": { @@ -7062,7 +7062,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-diagnostic-logging-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('operationsSubscriptionId')]", "resourceGroup": "[variables('operationsResourceGroupName')]", @@ -7076,7 +7076,7 @@ "value": "[variables('operationsLogStorageAccountName')]" }, "logAnalyticsWorkspaceName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.name.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value]" } }, "template": { @@ -7085,8 +7085,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "5252752072010358356" + "version": "0.24.24.22086", + "templateHash": "6866155279282592403" } }, "parameters": { @@ -7140,7 +7140,7 @@ { "condition": "[parameters('deployDefender')]", "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('set-hub-sub-defender-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "location": "[deployment().location]", @@ -7151,7 +7151,7 @@ "mode": "Incremental", "parameters": { "logAnalyticsWorkspaceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" }, "emailSecurityContact": { "value": "[parameters('emailSecurityContact')]" @@ -7166,8 +7166,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "9863600299947422102" + "version": "0.24.24.22086", + "templateHash": "17349871984393503749" } }, "parameters": { @@ -7285,13 +7285,13 @@ ] }, { - "condition": "[and(parameters('deployDefender'), not(equals(variables('spokes')[copyIndex()].subscriptionId, parameters('hubSubscriptionId'))))]", "copy": { "name": "spokeDefender", "count": "[length(variables('spokes'))]" }, + "condition": "[and(parameters('deployDefender'), not(equals(variables('spokes')[copyIndex()].subscriptionId, parameters('hubSubscriptionId'))))]", "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('set-{0}-sub-defender', variables('spokes')[copyIndex()].name)]", "subscriptionId": "[variables('spokes')[copyIndex()].subscriptionId]", "location": "[deployment().location]", @@ -7302,7 +7302,7 @@ "mode": "Incremental", "parameters": { "logAnalyticsWorkspaceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" }, "emailSecurityContact": { "value": "[parameters('emailSecurityContact')]" @@ -7317,8 +7317,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "9863600299947422102" + "version": "0.24.24.22086", + "templateHash": "17349871984393503749" } }, "parameters": { @@ -7438,7 +7438,7 @@ { "condition": "[parameters('deployRemoteAccess')]", "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "[format('deploy-remote-access-{0}', parameters('deploymentNameSuffix'))]", "subscriptionId": "[parameters('hubSubscriptionId')]", "resourceGroup": "[variables('hubResourceGroupName')]", @@ -7452,13 +7452,13 @@ "value": "[parameters('location')]" }, "hubVirtualNetworkName": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value]" }, "hubSubnetResourceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.subnetResourceId.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.subnetResourceId.value]" }, "hubNetworkSecurityGroupResourceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.networkSecurityGroupResourceId.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.networkSecurityGroupResourceId.value]" }, "bastionHostName": { "value": "[variables('bastionHostName')]" @@ -7563,7 +7563,7 @@ "value": "[parameters('windowsVmStorageAccountType')]" }, "logAnalyticsWorkspaceId": { - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" } }, "template": { @@ -7572,8 +7572,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "12263908493790666338" + "version": "0.24.24.22086", + "templateHash": "850140298199002098" } }, "parameters": { @@ -7658,7 +7658,7 @@ ] }, "linuxVmAdminPasswordOrKey": { - "type": "secureString", + "type": "securestring", "minLength": 12 }, "windowsNetworkInterfaceName": { @@ -7680,7 +7680,7 @@ "type": "string" }, "windowsVmAdminPassword": { - "type": "secureString", + "type": "securestring", "minLength": 12 }, "windowsVmPublisher": { @@ -7708,7 +7708,7 @@ "resources": [ { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "remoteAccess-bastionHost", "properties": { "expressionEvaluationOptions": { @@ -7753,8 +7753,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "9188768803513020911" + "version": "0.24.24.22086", + "templateHash": "4117826795668037867" } }, "parameters": { @@ -7848,7 +7848,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "remoteAccess-linuxNetworkInterface", "properties": { "expressionEvaluationOptions": { @@ -7884,8 +7884,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "11989297668424739974" + "version": "0.24.24.22086", + "templateHash": "16624262267285514706" } }, "parameters": { @@ -7952,7 +7952,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "remoteAccess-linuxVirtualMachine", "properties": { "expressionEvaluationOptions": { @@ -8000,7 +8000,7 @@ "value": "[parameters('linuxVmAdminPasswordOrKey')]" }, "networkInterfaceName": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'remoteAccess-linuxNetworkInterface')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'remoteAccess-linuxNetworkInterface'), '2022-09-01').outputs.name.value]" }, "logAnalyticsWorkspaceId": { "value": "[parameters('logAnalyticsWorkspaceId')]" @@ -8012,8 +8012,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "13732851487663219597" + "version": "0.24.24.22086", + "templateHash": "13305191497922116456" } }, "parameters": { @@ -8062,7 +8062,7 @@ ] }, "adminPasswordOrKey": { - "type": "secureString", + "type": "securestring", "minLength": 12 }, "logAnalyticsWorkspaceId": { @@ -8210,7 +8210,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "remoteAccess-windowsNetworkInterface", "properties": { "expressionEvaluationOptions": { @@ -8246,8 +8246,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "11989297668424739974" + "version": "0.24.24.22086", + "templateHash": "16624262267285514706" } }, "parameters": { @@ -8314,7 +8314,7 @@ }, { "type": "Microsoft.Resources/deployments", - "apiVersion": "2020-10-01", + "apiVersion": "2022-09-01", "name": "remoteAccess-windowsVirtualMachine", "properties": { "expressionEvaluationOptions": { @@ -8359,7 +8359,7 @@ "value": "[parameters('windowsVmStorageAccountType')]" }, "networkInterfaceName": { - "value": "[reference(resourceId('Microsoft.Resources/deployments', 'remoteAccess-windowsNetworkInterface')).outputs.name.value]" + "value": "[reference(resourceId('Microsoft.Resources/deployments', 'remoteAccess-windowsNetworkInterface'), '2022-09-01').outputs.name.value]" }, "logAnalyticsWorkspaceId": { "value": "[parameters('logAnalyticsWorkspaceId')]" @@ -8371,8 +8371,8 @@ "metadata": { "_generator": { "name": "bicep", - "version": "0.10.61.36676", - "templateHash": "3741703278800278886" + "version": "0.24.24.22086", + "templateHash": "5715082252299512525" } }, "parameters": { @@ -8396,7 +8396,7 @@ "type": "string" }, "adminPassword": { - "type": "secureString", + "type": "securestring", "minLength": 12 }, "publisher": { @@ -8561,21 +8561,21 @@ }, "firewallPrivateIPAddress": { "type": "string", - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.firewallPrivateIPAddress.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.firewallPrivateIPAddress.value]" }, "hub": { "type": "object", "value": { "subscriptionId": "[parameters('hubSubscriptionId')]", - "resourceGroupName": "[reference(subscriptionResourceId(parameters('hubSubscriptionId'), 'Microsoft.Resources/deployments', format('deploy-rg-hub-{0}', parameters('deploymentNameSuffix')))).outputs.name.value]", - "resourceGroupResourceId": "[reference(subscriptionResourceId(parameters('hubSubscriptionId'), 'Microsoft.Resources/deployments', format('deploy-rg-hub-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]", - "virtualNetworkName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value]", - "virtualNetworkResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.virtualNetworkResourceId.value]", - "subnetName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.subnetName.value]", - "subnetResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.subnetResourceId.value]", - "subnetAddressPrefix": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.subnetAddressPrefix.value]", - "networkSecurityGroupName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.networkSecurityGroupName.value]", - "networkSecurityGroupResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix')))).outputs.networkSecurityGroupResourceId.value]" + "resourceGroupName": "[reference(subscriptionResourceId(parameters('hubSubscriptionId'), 'Microsoft.Resources/deployments', format('deploy-rg-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value]", + "resourceGroupResourceId": "[reference(subscriptionResourceId(parameters('hubSubscriptionId'), 'Microsoft.Resources/deployments', format('deploy-rg-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]", + "virtualNetworkName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value]", + "virtualNetworkResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkResourceId.value]", + "subnetName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.subnetName.value]", + "subnetResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.subnetResourceId.value]", + "subnetAddressPrefix": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.subnetAddressPrefix.value]", + "networkSecurityGroupName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.networkSecurityGroupName.value]", + "networkSecurityGroupResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('hubSubscriptionId'), variables('hubResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-vnet-hub-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.networkSecurityGroupResourceId.value]" } }, "deployDefender": { @@ -8588,11 +8588,11 @@ }, "logAnalyticsWorkspaceName": { "type": "string", - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.name.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value]" }, "logAnalyticsWorkspaceResourceId": { "type": "string", - "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix')))).outputs.id.value]" + "value": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', parameters('operationsSubscriptionId'), variables('operationsResourceGroupName')), 'Microsoft.Resources/deployments', format('deploy-laws-{0}', parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]" }, "diagnosticStorageAccountName": { "type": "string", @@ -8613,15 +8613,15 @@ "input": { "name": "[variables('spokes')[copyIndex()].name]", "subscriptionId": "[variables('spokes')[copyIndex()].subscriptionId]", - "resourceGroupName": "[reference(subscriptionResourceId(variables('spokes')[copyIndex()].subscriptionId, 'Microsoft.Resources/deployments', format('deploy-rg-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.name.value]", - "resourceGroupId": "[reference(subscriptionResourceId(variables('spokes')[copyIndex()].subscriptionId, 'Microsoft.Resources/deployments', format('deploy-rg-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.id.value]", - "virtualNetworkName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.virtualNetworkName.value]", - "virtualNetworkResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.virtualNetworkResourceId.value]", - "subnetName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.subnetName.value]", - "subnetResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.subnetResourceId.value]", - "subnetAddressPrefix": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.subnetAddressPrefix.value]", - "networkSecurityGroupName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.networkSecurityGroupName.value]", - "networkSecurityGroupResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix')))).outputs.networkSecurityGroupResourceId.value]" + "resourceGroupName": "[reference(subscriptionResourceId(variables('spokes')[copyIndex()].subscriptionId, 'Microsoft.Resources/deployments', format('deploy-rg-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.name.value]", + "resourceGroupId": "[reference(subscriptionResourceId(variables('spokes')[copyIndex()].subscriptionId, 'Microsoft.Resources/deployments', format('deploy-rg-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.id.value]", + "virtualNetworkName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkName.value]", + "virtualNetworkResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.virtualNetworkResourceId.value]", + "subnetName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.subnetName.value]", + "subnetResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.subnetResourceId.value]", + "subnetAddressPrefix": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.subnetAddressPrefix.value]", + "networkSecurityGroupName": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.networkSecurityGroupName.value]", + "networkSecurityGroupResourceId": "[reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', variables('spokes')[copyIndex()].subscriptionId, variables('spokes')[copyIndex()].resourceGroupName), 'Microsoft.Resources/deployments', format('deploy-vnet-{0}-{1}', variables('spokes')[copyIndex()].name, parameters('deploymentNameSuffix'))), '2022-09-01').outputs.networkSecurityGroupResourceId.value]" } } }