From 7efc7ee62f88a58497c0796accf9584f553f95ea Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 16:05:38 +0100 Subject: [PATCH 01/21] Updated deployment names were possible --- .../Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep | 2 +- .../servers/.test/common/deploy.test.bicep | 2 +- .../servers/.test/min/deploy.test.bicep | 2 +- .../service/.test/common/deploy.test.bicep | 2 +- .../Microsoft.ApiManagement/service/.test/max/deploy.test.bicep | 2 +- .../Microsoft.ApiManagement/service/.test/min/deploy.test.bicep | 2 +- .../configurationStores/.test/common/deploy.test.bicep | 2 +- .../configurationStores/.test/min/deploy.test.bicep | 2 +- .../configurationStores/.test/pe/deploy.test.bicep | 2 +- .../locks/.test/common/deploy.test.bicep | 2 +- .../policyAssignments/.test/mg.common/deploy.test.bicep | 2 +- .../automationAccounts/.test/common/deploy.test.bicep | 2 +- .../automationAccounts/.test/encr/deploy.test.bicep | 2 +- .../automationAccounts/.test/min/deploy.test.bicep | 2 +- .../batchAccounts/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep | 2 +- .../Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep | 2 +- modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep | 2 +- .../accounts/.test/common/deploy.test.bicep | 2 +- .../accounts/.test/encr/deploy.test.bicep | 2 +- .../accounts/.test/min/deploy.test.bicep | 2 +- .../accounts/.test/speech/deploy.test.bicep | 2 +- .../availabilitySets/.test/common/deploy.test.bicep | 2 +- .../availabilitySets/.test/min/deploy.test.bicep | 2 +- .../diskEncryptionSets/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Compute/galleries/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep | 2 +- .../proximityPlacementGroups/.test/common/deploy.test.bicep | 2 +- .../proximityPlacementGroups/.test/min/deploy.test.bicep | 2 +- .../virtualMachineScaleSets/.test/linux.min/deploy.test.bicep | 2 +- .../.test/linux.ssecmk/deploy.test.bicep | 2 +- .../virtualMachineScaleSets/.test/linux/deploy.test.bicep | 2 +- .../virtualMachineScaleSets/.test/windows.min/deploy.test.bicep | 2 +- .../virtualMachineScaleSets/.test/windows/deploy.test.bicep | 2 +- .../virtualMachines/.test/linux.atmg/deploy.test.bicep | 2 +- .../virtualMachines/.test/linux.min/deploy.test.bicep | 2 +- .../virtualMachines/.test/linux/deploy.test.bicep | 2 +- .../virtualMachines/.test/windows.atmg/deploy.test.bicep | 2 +- .../virtualMachines/.test/windows.min/deploy.test.bicep | 2 +- .../virtualMachines/.test/windows.ssecmk/deploy.test.bicep | 2 +- .../virtualMachines/.test/windows/deploy.test.bicep | 2 +- .../containerGroups/.test/common/deploy.test.bicep | 2 +- .../containerGroups/.test/encr/deploy.test.bicep | 2 +- .../containerGroups/.test/min/deploy.test.bicep | 2 +- .../containerGroups/.test/private/deploy.test.bicep | 2 +- .../registries/.test/common/deploy.test.bicep | 2 +- .../registries/.test/encr/deploy.test.bicep | 2 +- .../registries/.test/min/deploy.test.bicep | 2 +- .../registries/.test/pe/deploy.test.bicep | 2 +- .../managedClusters/.test/azure/deploy.test.bicep | 2 +- .../managedClusters/.test/kubenet/deploy.test.bicep | 2 +- .../flexibleServers/.test/min/deploy.test.bicep | 2 +- .../flexibleServers/.test/private/deploy.test.bicep | 2 +- .../flexibleServers/.test/public/deploy.test.bicep | 2 +- .../factories/.test/common/deploy.test.bicep | 2 +- .../Microsoft.DataFactory/factories/.test/min/deploy.test.bicep | 2 +- .../backupVaults/.test/common/deploy.test.bicep | 2 +- .../backupVaults/.test/min/deploy.test.bicep | 2 +- .../workspaces/.test/common/deploy.test.bicep | 2 +- .../applicationgroups/.test/common/deploy.test.bicep | 2 +- .../applicationgroups/.test/min/deploy.test.bicep | 2 +- .../hostpools/.test/common/deploy.test.bicep | 2 +- .../scalingplans/.test/common/deploy.test.bicep | 2 +- .../scalingplans/.test/min/deploy.test.bicep | 2 +- .../workspaces/.test/common/deploy.test.bicep | 2 +- .../workspaces/.test/min/deploy.test.bicep | 2 +- .../Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep | 2 +- .../databaseAccounts/.test/gremlindb/deploy.test.bicep | 2 +- .../databaseAccounts/.test/mongodb/deploy.test.bicep | 2 +- .../databaseAccounts/.test/plain/deploy.test.bicep | 2 +- .../databaseAccounts/.test/sqldb/deploy.test.bicep | 2 +- .../Microsoft.EventGrid/domains/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep | 2 +- modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep | 2 +- .../systemTopics/.test/common/deploy.test.bicep | 2 +- .../systemTopics/.test/min/deploy.test.bicep | 2 +- .../Microsoft.EventGrid/topics/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep | 2 +- modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep | 2 +- .../namespaces/.test/common/deploy.test.bicep | 2 +- .../Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep | 2 +- .../Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep | 2 +- .../healthBots/.test/common/deploy.test.bicep | 2 +- .../Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep | 2 +- .../actionGroups/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep | 2 +- .../activityLogAlerts/.test/common/deploy.test.bicep | 2 +- .../components/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Insights/components/.test/min/deploy.test.bicep | 2 +- .../diagnosticSettings/.test/common/deploy.test.bicep | 2 +- .../metricAlerts/.test/common/deploy.test.bicep | 2 +- .../privateLinkScopes/.test/common/deploy.test.bicep | 2 +- .../privateLinkScopes/.test/min/deploy.test.bicep | 2 +- .../scheduledQueryRules/.test/common/deploy.test.bicep | 2 +- .../Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep | 2 +- modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep | 2 +- .../extensions/.test/common/deploy.test.bicep | 2 +- .../extensions/.test/min/deploy.test.bicep | 2 +- .../fluxConfigurations/.test/common/deploy.test.bicep | 2 +- .../fluxConfigurations/.test/min/deploy.test.bicep | 2 +- .../Microsoft.Logic/workflows/.test/common/deploy.test.bicep | 2 +- .../workspaces/.test/common/deploy.test.bicep | 2 +- .../workspaces/.test/encr/deploy.test.bicep | 2 +- .../workspaces/.test/min/deploy.test.bicep | 2 +- .../maintenanceConfigurations/.test/common/deploy.test.bicep | 2 +- .../maintenanceConfigurations/.test/min/deploy.test.bicep | 2 +- .../userAssignedIdentities/.test/common/deploy.test.bicep | 2 +- .../registrationDefinitions/.test/rg/deploy.test.bicep | 2 +- .../Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep | 2 +- .../netAppAccounts/.test/nfs3/deploy.test.bicep | 2 +- .../netAppAccounts/.test/nfs41/deploy.test.bicep | 2 +- .../.test/common/deploy.test.bicep | 2 +- .../applicationGateways/.test/common/deploy.test.bicep | 2 +- .../applicationSecurityGroups/.test/common/deploy.test.bicep | 2 +- .../azureFirewalls/.test/addpip/deploy.test.bicep | 2 +- .../azureFirewalls/.test/common/deploy.test.bicep | 2 +- .../azureFirewalls/.test/custompip/deploy.test.bicep | 2 +- .../azureFirewalls/.test/hub/deploy.test.bicep | 2 +- .../azureFirewalls/.test/min/deploy.test.bicep | 2 +- .../bastionHosts/.test/common/deploy.test.bicep | 2 +- .../bastionHosts/.test/custompip/deploy.test.bicep | 2 +- .../Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep | 2 +- .../connections/.test/vnet2vnet/deploy.test.bicep | 2 +- .../ddosProtectionPlans/.test/common/deploy.test.bicep | 2 +- .../ddosProtectionPlans/.test/min/deploy.test.bicep | 2 +- .../dnsResolvers/.test/common/deploy.test.bicep | 2 +- .../expressRouteCircuits/.test/common/deploy.test.bicep | 2 +- .../expressRouteCircuits/.test/min/deploy.test.bicep | 2 +- .../firewallPolicies/.test/common/deploy.test.bicep | 2 +- .../firewallPolicies/.test/min/deploy.test.bicep | 2 +- .../Microsoft.Network/frontDoors/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Network/frontDoors/.test/min/deploy.test.bicep | 2 +- .../Microsoft.Network/ipGroups/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep | 2 +- .../loadBalancers/.test/common/deploy.test.bicep | 2 +- .../loadBalancers/.test/internal/deploy.test.bicep | 2 +- .../Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep | 2 +- .../localNetworkGateways/.test/common/deploy.test.bicep | 2 +- .../localNetworkGateways/.test/min/deploy.test.bicep | 2 +- .../natGateways/.test/common/deploy.test.bicep | 2 +- .../networkInterfaces/.test/common/deploy.test.bicep | 2 +- .../networkInterfaces/.test/min/deploy.test.bicep | 2 +- .../networkManagers/.test/common/deploy.test.bicep | 2 +- .../networkSecurityGroups/.test/common/deploy.test.bicep | 2 +- .../networkSecurityGroups/.test/min/deploy.test.bicep | 2 +- .../networkWatchers/.test/common/deploy.test.bicep | 2 +- .../networkWatchers/.test/min/deploy.test.bicep | 2 +- .../privateDnsZones/.test/common/deploy.test.bicep | 2 +- .../privateDnsZones/.test/min/deploy.test.bicep | 2 +- .../privateEndpoints/.test/common/deploy.test.bicep | 2 +- .../privateEndpoints/.test/min/deploy.test.bicep | 2 +- .../privateLinkServices/.test/common/deploy.test.bicep | 2 +- .../privateLinkServices/.test/min/deploy.test.bicep | 2 +- .../publicIPAddresses/.test/common/deploy.test.bicep | 2 +- .../publicIPAddresses/.test/min/deploy.test.bicep | 2 +- .../publicIPPrefixes/.test/common/deploy.test.bicep | 2 +- .../publicIPPrefixes/.test/min/deploy.test.bicep | 2 +- .../routeTables/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Network/routeTables/.test/min/deploy.test.bicep | 2 +- .../trafficmanagerprofiles/.test/common/deploy.test.bicep | 2 +- .../trafficmanagerprofiles/.test/min/deploy.test.bicep | 2 +- .../virtualHubs/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep | 2 +- .../virtualNetworkGateways/.test/aadvpn/deploy.test.bicep | 2 +- .../virtualNetworkGateways/.test/expressRoute/deploy.test.bicep | 2 +- .../virtualNetworkGateways/.test/vpn/deploy.test.bicep | 2 +- .../virtualNetworks/.test/common/deploy.test.bicep | 2 +- .../virtualNetworks/.test/min/deploy.test.bicep | 2 +- .../virtualNetworks/.test/vnetPeering/deploy.test.bicep | 2 +- .../virtualWans/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Network/virtualWans/.test/min/deploy.test.bicep | 2 +- .../vpnGateways/.test/common/deploy.test.bicep | 2 +- .../Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep | 2 +- .../Microsoft.Network/vpnSites/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep | 2 +- .../workspaces/.test/common/deploy.test.bicep | 2 +- .../workspaces/.test/min/deploy.test.bicep | 2 +- .../solutions/.test/min/deploy.test.bicep | 2 +- .../solutions/.test/ms/deploy.test.bicep | 2 +- .../solutions/.test/nonms/deploy.test.bicep | 2 +- .../remediations/.test/mg.common/deploy.test.bicep | 2 +- .../capacities/.test/common/deploy.test.bicep | 2 +- .../capacities/.test/min/deploy.test.bicep | 2 +- .../vaults/.test/common/deploy.test.bicep | 2 +- .../vaults/.test/dr/deploy.test.bicep | 2 +- .../vaults/.test/min/deploy.test.bicep | 2 +- .../deploymentScripts/.test/cli/deploy.test.bicep | 2 +- .../deploymentScripts/.test/ps/deploy.test.bicep | 2 +- .../resourceGroups/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep | 2 +- .../azureSecurityCenter/.test/common/deploy.test.bicep | 2 +- .../namespaces/.test/common/deploy.test.bicep | 2 +- .../namespaces/.test/encr/deploy.test.bicep | 2 +- .../Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep | 2 +- .../Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep | 2 +- .../clusters/.test/cert/deploy.test.bicep | 2 +- .../clusters/.test/common/deploy.test.bicep | 2 +- .../clusters/.test/min/deploy.test.bicep | 2 +- .../webPubSub/.test/common/deploy.test.bicep | 2 +- .../webPubSub/.test/min/deploy.test.bicep | 2 +- .../webPubSub/.test/pe/deploy.test.bicep | 2 +- modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep | 2 +- modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep | 2 +- .../storageAccounts/.test/common/deploy.test.bicep | 2 +- .../storageAccounts/.test/encr/deploy.test.bicep | 2 +- .../storageAccounts/.test/min/deploy.test.bicep | 2 +- .../storageAccounts/.test/nfs/deploy.test.bicep | 2 +- .../storageAccounts/.test/v1/deploy.test.bicep | 2 +- .../privateLinkHubs/.test/common/deploy.test.bicep | 2 +- .../privateLinkHubs/.test/min/deploy.test.bicep | 2 +- .../Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep | 2 +- .../workspaces/.test/encrwsai/deploy.test.bicep | 2 +- .../workspaces/.test/encrwuai/deploy.test.bicep | 2 +- .../workspaces/.test/managedvnet/deploy.test.bicep | 2 +- .../Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep | 2 +- .../imageTemplates/.test/common/deploy.test.bicep | 2 +- .../imageTemplates/.test/min/deploy.test.bicep | 2 +- .../Microsoft.Web/connections/.test/common/deploy.test.bicep | 2 +- .../hostingEnvironments/.test/asev2/deploy.test.bicep | 2 +- .../hostingEnvironments/.test/asev3/deploy.test.bicep | 2 +- .../Microsoft.Web/serverfarms/.test/common/deploy.test.bicep | 2 +- .../sites/.test/functionAppCommon/deploy.test.bicep | 2 +- .../Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep | 2 +- .../Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep | 2 +- modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep | 2 +- modules/Microsoft.Web/sites/.test/webAppSlots/deploy.test.bicep | 2 +- .../Microsoft.Web/staticSites/.test/common/deploy.test.bicep | 2 +- modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep | 2 +- 233 files changed, 233 insertions(+), 233 deletions(-) diff --git a/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep b/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep index a3aa5b061d..a17aa98079 100644 --- a/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep +++ b/modules/Microsoft.AAD/DomainServices/.test/common/deploy.test.bicep @@ -63,7 +63,7 @@ resource keyVault 'Microsoft.KeyVault/vaults@2022-07-01' existing = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep b/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep index ac0dc5f0ff..7b491eb9b1 100644 --- a/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.AnalysisServices/servers/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}' diff --git a/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep b/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep index 7f1a4c6fc8..1836aa27b2 100644 --- a/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.AnalysisServices/servers/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}' diff --git a/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep b/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep index 08358ec977..ba8f9fbbf3 100644 --- a/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ApiManagement/service/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep b/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep index f419c910f3..5f7bd7ad22 100644 --- a/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep +++ b/modules/Microsoft.ApiManagement/service/.test/max/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep b/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep index 7edc3572d6..3164a07925 100644 --- a/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ApiManagement/service/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep b/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep index 1af9574739..48f7794c14 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep +++ b/modules/Microsoft.AppConfiguration/configurationStores/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep b/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep index 0ed426f42e..f0cd2346e6 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep +++ b/modules/Microsoft.AppConfiguration/configurationStores/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep b/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep index f997ed5e8e..77aefeb314 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.AppConfiguration/configurationStores/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep b/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep index b5090d12d9..3ba1852f57 100644 --- a/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Authorization/locks/.test/common/deploy.test.bicep @@ -32,7 +32,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry level: 'CanNotDelete' diff --git a/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep b/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep index 196cbe74d0..88624e9565 100644 --- a/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep +++ b/modules/Microsoft.Authorization/policyAssignments/.test/mg.common/deploy.test.bicep @@ -17,7 +17,7 @@ param enableDefaultTelemetry bool = true // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep b/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep index 30ff3fd6c5..cad23f1ca3 100644 --- a/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Automation/automationAccounts/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep b/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep index 3936eae935..844abaf74e 100644 --- a/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.Automation/automationAccounts/.test/encr/deploy.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep index 4189fe4b50..59216bc1a5 100644 --- a/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Automation/automationAccounts/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep b/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep index 1714ac5405..db2c23cdd8 100644 --- a/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Batch/batchAccounts/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep b/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep index 31615ad467..a051e51704 100644 --- a/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.Batch/batchAccounts/.test/encr/deploy.test.bicep @@ -48,7 +48,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep index 806432c85d..fda53fe57c 100644 --- a/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Batch/batchAccounts/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep b/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep index 1ab924bc68..b3052db42c 100644 --- a/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep +++ b/modules/Microsoft.CDN/profiles/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: 'dep-<>-test-${serviceShort}' location: location diff --git a/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep b/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep index f32824f651..c38ee84c79 100644 --- a/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Cache/redis/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep b/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep index 8598fd0add..71bfdf7ab1 100644 --- a/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Cache/redis/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep index d57822ba35..2fb4ee994c 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep index f908d5d5fb..1c002c344e 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/encr/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep index ffba4704f4..41fc9fc08d 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep b/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep index 9d9cb5d3c6..e31009c954 100644 --- a/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep +++ b/modules/Microsoft.CognitiveServices/accounts/.test/speech/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep index 0194cc3c8c..989cd92e96 100644 --- a/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/availabilitySets/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep b/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep index 970e37d8a7..90b634d899 100644 --- a/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Compute/availabilitySets/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep index 9c475f7f57..dfab72d982 100644 --- a/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/diskEncryptionSets/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep index 1635624b90..d6119b86c7 100644 --- a/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/galleries/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep b/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep index b71b773810..0ce82204aa 100644 --- a/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Compute/galleries/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep index cb6ba4cca7..2ccdbe9ee5 100644 --- a/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Compute/proximityPlacementGroups/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep index 5b126f0ff3..0563aff067 100644 --- a/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Compute/proximityPlacementGroups/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep index 4b2748d507..1de26b5f42 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.min/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep index 5141cbee32..3ca26ce892 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux.ssecmk/deploy.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep index 3b9d9e3cc6..fd1b2544db 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/linux/deploy.test.bicep @@ -61,7 +61,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep index dcaa9dba15..c30bc3b778 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows.min/deploy.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep index e0d1a02246..0a74ba589a 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/.test/windows/deploy.test.bicep @@ -64,7 +64,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep index 29db5a4f7a..4dedb86153 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/linux.atmg/deploy.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep index 521013d0cf..ada064e4da 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/linux.min/deploy.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep index 8710fa646e..4edd7250a9 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/linux/deploy.test.bicep @@ -65,7 +65,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}' diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep index fa5c1e01fc..0fca7109f8 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows.atmg/deploy.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep index ff5d6763d1..4f87a19fcc 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows.min/deploy.test.bicep @@ -45,7 +45,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep index a3bd0a7051..cd3f2fac19 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows.ssecmk/deploy.test.bicep @@ -51,7 +51,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep b/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep index 58a0905493..b76f1fffd4 100644 --- a/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep +++ b/modules/Microsoft.Compute/virtualMachines/.test/windows/deploy.test.bicep @@ -68,7 +68,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry location: location diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep index 1a30ff9906..2bdc97f476 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep index 050ede512d..0425d5faed 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/encr/deploy.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep index 1c8188e8b9..4652be8145 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep b/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep index 1736b01fb6..766b4bb4ad 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep +++ b/modules/Microsoft.ContainerInstance/containerGroups/.test/private/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep index dc372a2849..bf0630b238 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep index 6e2edfbff2..01aa464fad 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/encr/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep index 666b7b4c4e..87415348f8 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep b/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep index 690d6822fd..13ed69a1be 100644 --- a/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.ContainerRegistry/registries/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep b/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep index dc95d06a97..399441986b 100644 --- a/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep +++ b/modules/Microsoft.ContainerService/managedClusters/.test/azure/deploy.test.bicep @@ -62,7 +62,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep b/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep index 573afc3518..632d3588d7 100644 --- a/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep +++ b/modules/Microsoft.ContainerService/managedClusters/.test/kubenet/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep index aeae84bd19..8c19cea1b0 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/min/deploy.test.bicep @@ -37,7 +37,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep index 224ceeb084..19c956372e 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/private/deploy.test.bicep @@ -60,7 +60,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep index bfa7e7a11b..1b908b4d1e 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/.test/public/deploy.test.bicep @@ -64,7 +64,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep b/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep index 930fb281e8..a6dd293287 100644 --- a/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DataFactory/factories/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep b/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep index 0ab7c8baf2..55f0411430 100644 --- a/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DataFactory/factories/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep b/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep index 9246ac34fb..3b62b3863d 100644 --- a/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DataProtection/backupVaults/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep b/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep index e525d8e934..392ff8d3c4 100644 --- a/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DataProtection/backupVaults/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep index 0f019dcf78..df71c79098 100644 --- a/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Databricks/workspaces/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep index 03faee1f71..60c5ae9b6e 100644 --- a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep index 9053116eb8..745abad7bd 100644 --- a/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/applicationgroups/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep index 27d8586259..def5faa519 100644 --- a/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/hostpools/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep index 495f06d22c..b610e6ced5 100644 --- a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep index ee40156c2f..1501b66d84 100644 --- a/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/scalingplans/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep index 01119d5c8a..ff1060e1d7 100644 --- a/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/workspaces/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep index a347a235d0..657b93f8f1 100644 --- a/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DesktopVirtualization/workspaces/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep b/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep index e330bc7cd6..af4acfd86d 100644 --- a/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep +++ b/modules/Microsoft.DevTestLab/labs/.test/common/deploy.test.bicep @@ -49,7 +49,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep b/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep index 71e0332990..fd7565f5b7 100644 --- a/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep +++ b/modules/Microsoft.DevTestLab/labs/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' enableDefaultTelemetry: enableDefaultTelemetry diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep index 1999f041ee..b861c0d071 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/gremlindb/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}002' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep index 007adeae66..f9bb9e9f1a 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/mongodb/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep index 43b3209096..3946a3c4a7 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/plain/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep b/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep index 62df102dd5..705ae059f1 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep +++ b/modules/Microsoft.DocumentDB/databaseAccounts/.test/sqldb/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep b/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep index dfc908d386..da046de9ac 100644 --- a/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/domains/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep b/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep index 3c62a1e6ee..4e4cb22d41 100644 --- a/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/domains/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep b/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep index c5108043e8..cc53cfd746 100644 --- a/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/domains/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep b/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep index a90bbf1d0a..69b22e82ca 100644 --- a/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/systemTopics/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep b/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep index fee083c60a..0e2ff3d57c 100644 --- a/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/systemTopics/.test/min/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep b/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep index 87249f9c8f..2c9cd30de5 100644 --- a/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/topics/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep b/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep index 5026737433..9b62e0fc6d 100644 --- a/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/topics/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep b/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep index acb9899f65..be80e3d5b5 100644 --- a/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.EventGrid/topics/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep b/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep index 8ee21c2aff..6b54335474 100644 --- a/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.EventHub/namespaces/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep b/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep index 97376fe061..267bcbb7f0 100644 --- a/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.EventHub/namespaces/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep b/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep index 740211c7d8..cf17ddd976 100644 --- a/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.EventHub/namespaces/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep b/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep index f0daad3ae5..507c39d8e9 100644 --- a/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep +++ b/modules/Microsoft.HealthBot/healthBots/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep b/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep index bd46dfa46a..877a2fc57d 100644 --- a/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep +++ b/modules/Microsoft.HealthBot/healthBots/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep index 5d34831a71..1a336aa72e 100644 --- a/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/actionGroups/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep index bdffbb0040..4de5071219 100644 --- a/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Insights/actionGroups/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep index 72a0b1cd6f..d19d7c1633 100644 --- a/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/activityLogAlerts/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep index f4ffb57705..eee3cc87ef 100644 --- a/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/components/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep b/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep index c8aaba4d05..455c0ce0a9 100644 --- a/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Insights/components/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep index 65e2dd0fe2..81b1a41f0d 100644 --- a/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/diagnosticSettings/.test/common/deploy.test.bicep @@ -46,7 +46,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep index 312a491781..845c90c552 100644 --- a/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/metricAlerts/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep index d1e0794be8..757ec8f541 100644 --- a/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/privateLinkScopes/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep b/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep index 1af64586a0..8ef3764705 100644 --- a/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Insights/privateLinkScopes/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep b/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep index 011a96ea76..aee5ceb32d 100644 --- a/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Insights/scheduledQueryRules/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep b/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep index af929cdc23..51c493b04a 100644 --- a/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep +++ b/modules/Microsoft.KeyVault/vaults/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}002' diff --git a/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep b/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep index 747b5b24f8..2c6755cf86 100644 --- a/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep +++ b/modules/Microsoft.KeyVault/vaults/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}002' diff --git a/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep b/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep index d6f196ff32..5e455bb601 100644 --- a/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.KeyVault/vaults/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep index 4ac3b5b175..6bb57e2163 100644 --- a/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/extensions/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep index 2f009f1ac8..5df9abb63e 100644 --- a/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/extensions/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep index eceea81f3c..18142e89c5 100644 --- a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep index e99b582c01..5b863eaa87 100644 --- a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep +++ b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/.test/min/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep b/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep index 068a460018..4978881c10 100644 --- a/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Logic/workflows/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep index 22b9f47b68..024dc43f72 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.MachineLearningServices/workspaces/.test/common/deploy.test.bicep @@ -59,7 +59,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep b/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep index c3da6e4d1f..412412ee03 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.MachineLearningServices/workspaces/.test/encr/deploy.test.bicep @@ -49,7 +49,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep index adef3cec3d..bb76d6d086 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.MachineLearningServices/workspaces/.test/min/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep index 00f34d8985..8a835dc5c4 100644 --- a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep index dd707bb9e2..2b2d670fe4 100644 --- a/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Maintenance/maintenanceConfigurations/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep index f6fa00ce55..acb1a5a900 100644 --- a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep b/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep index 7f75910d79..2cf304e738 100644 --- a/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep +++ b/modules/Microsoft.ManagedServices/registrationDefinitions/.test/rg/deploy.test.bicep @@ -32,7 +32,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'Component Validation - <>${serviceShort} Resource group assignment' diff --git a/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep index 565b734d44..7d5e36bd5b 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.NetApp/netAppAccounts/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep index 785188102c..c8c481375b 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep +++ b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs3/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep index 8eccb1c3fc..020d566667 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep +++ b/modules/Microsoft.NetApp/netAppAccounts/.test/nfs41/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep index d11981dda5..845b71efbc 100644 --- a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/.test/common/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep index a19ee11cab..c911246807 100644 --- a/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/applicationGateways/.test/common/deploy.test.bicep @@ -61,7 +61,7 @@ var appGWName = '<>${serviceShort}001' var appGWExpectedResourceID = '${resourceGroup.id}/providers/Microsoft.Network/applicationGateways/${appGWName}' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: appGWName diff --git a/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep index 026013996b..30f0626547 100644 --- a/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/applicationSecurityGroups/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep index 27be339f34..ea0e6d600f 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/addpip/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep index 7f96b50091..77f0ea2ade 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep index f50cf3dcba..7710d573d6 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/custompip/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep index b55552a8b4..5e590fa607 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/hub/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep b/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep index e84163c6c1..c4e744bc0a 100644 --- a/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/azureFirewalls/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep b/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep index b7d8d25f23..efb9417c67 100644 --- a/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/bastionHosts/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep b/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep index e978735499..1fb80f7475 100644 --- a/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep +++ b/modules/Microsoft.Network/bastionHosts/.test/custompip/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep b/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep index 41a537f186..c1a81566db 100644 --- a/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/bastionHosts/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep b/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep index 75e6224aa0..fffa2e11d9 100644 --- a/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep +++ b/modules/Microsoft.Network/connections/.test/vnet2vnet/deploy.test.bicep @@ -50,7 +50,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep b/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep index fabb7c5300..b55b72dcf2 100644 --- a/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/ddosProtectionPlans/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep b/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep index d770291d77..3cb6108d72 100644 --- a/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/ddosProtectionPlans/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep index 987a829b0b..13136258df 100644 --- a/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/dnsResolvers/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep b/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep index c8d4a04ae6..bb4be55ef8 100644 --- a/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/expressRouteCircuits/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep b/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep index 431164a97f..5b6479463a 100644 --- a/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/expressRouteCircuits/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep b/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep index ff15878f80..9583588d73 100644 --- a/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/firewallPolicies/.test/common/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep b/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep index fdf9264bd6..c5b9380843 100644 --- a/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/firewallPolicies/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep b/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep index 58e348bcc9..804058156f 100644 --- a/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/frontDoors/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep b/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep index 6894d2b739..a6cd81f84c 100644 --- a/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/frontDoors/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep index 44eca7211f..740b0a6b8d 100644 --- a/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/ipGroups/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep index dbd08164ec..028c2e7856 100644 --- a/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/ipGroups/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep index 6b2cb2ac7c..6344a0a49f 100644 --- a/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/loadBalancers/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep b/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep index 087cbaf9b6..d7ff7e88cc 100644 --- a/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep +++ b/modules/Microsoft.Network/loadBalancers/.test/internal/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep b/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep index 25f90db05c..59a7c41cc7 100644 --- a/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/loadBalancers/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep index 5cb97f925b..fee38ffdfd 100644 --- a/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/localNetworkGateways/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep b/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep index 909f7da81c..32f0185d3e 100644 --- a/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/localNetworkGateways/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep index 7c9b782b2b..49c5b16be6 100644 --- a/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/natGateways/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep index f4c1f521ff..1e511fa3aa 100644 --- a/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkInterfaces/.test/common/deploy.test.bicep @@ -58,7 +58,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep b/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep index 3f90a62789..8c54417128 100644 --- a/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/networkInterfaces/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep index a4f671d8ab..10589fc9b1 100644 --- a/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkManagers/.test/common/deploy.test.bicep @@ -48,7 +48,7 @@ var networkManagerExpecetedResourceID = '${resourceGroup.id}/providers/Microsoft module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: networkManagerName enableDefaultTelemetry: enableDefaultTelemetry diff --git a/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep index cd3ea92142..54bb6637d4 100644 --- a/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkSecurityGroups/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep b/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep index 1c01d8c429..0c6dfc81c4 100644 --- a/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/networkSecurityGroups/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep b/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep index 6d99f07b84..a8c17bbe08 100644 --- a/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/networkWatchers/.test/common/deploy.test.bicep @@ -61,7 +61,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost var testLocation = 'westeurope' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'NetworkWatcher_${testLocation}' diff --git a/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep b/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep index e54211a7d0..fafe4a0400 100644 --- a/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/networkWatchers/.test/min/deploy.test.bicep @@ -34,7 +34,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var testLocation = 'northeurope' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry // Note: This value is not required and only set to enable testing diff --git a/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep b/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep index 605478fa74..be3a629708 100644 --- a/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/privateDnsZones/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001.com' diff --git a/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep b/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep index c36e9abd7b..021371ec03 100644 --- a/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/privateDnsZones/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001.com' diff --git a/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep b/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep index c4cd112c32..05c8b758df 100644 --- a/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/privateEndpoints/.test/common/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep b/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep index 3cdaf313f8..1ab515dfc6 100644 --- a/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/privateEndpoints/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep b/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep index 37631b6e4d..0c3829d310 100644 --- a/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/privateLinkServices/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep b/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep index 1fa6b46fc0..b6da74276a 100644 --- a/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/privateLinkServices/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep b/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep index 18b1ad2342..2441233817 100644 --- a/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPAddresses/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep b/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep index 29d773f902..84c21a6d10 100644 --- a/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPAddresses/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep b/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep index 05b0432ac0..bbac6ed624 100644 --- a/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPPrefixes/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep b/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep index 552b2dc6c8..f4c95f520c 100644 --- a/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/publicIPPrefixes/.test/min/deploy.test.bicep @@ -32,7 +32,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep b/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep index c08dc22d3d..320988302b 100644 --- a/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/routeTables/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep b/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep index b35b55a948..df072d22a1 100644 --- a/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/routeTables/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep b/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep index 8e12453d3c..0353492764 100644 --- a/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/trafficmanagerprofiles/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep b/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep index dd29c0f981..6fb5351b9e 100644 --- a/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/trafficmanagerprofiles/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var resourceName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: resourceName diff --git a/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep b/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep index 1707caf893..fb5a98879b 100644 --- a/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualHubs/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep b/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep index fc161a7e52..d8b02fdcfc 100644 --- a/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualHubs/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep index 7fa93df623..8b1695aed0 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworkGateways/.test/aadvpn/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep index 5406856eac..1b99f06a75 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworkGateways/.test/expressRoute/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep index 4db09d27b9..7ef55dad4e 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworkGateways/.test/vpn/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep index 2f40a9e812..f83ccfa7ed 100644 --- a/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworks/.test/common/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep index 59de1d77b1..2fec7d71b5 100644 --- a/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworks/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep b/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep index 25a037ac22..f03d2e1c22 100644 --- a/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualNetworks/.test/vnetPeering/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep b/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep index b75f0318bc..088bce8e11 100644 --- a/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualWans/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep b/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep index e6e03e38c6..8f91fb40a1 100644 --- a/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/virtualWans/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep b/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep index 71cf9bf401..04057700bc 100644 --- a/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnGateways/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep b/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep index bd31f02c02..143865d838 100644 --- a/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnGateways/.test/min/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep b/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep index 9fcbf61174..fc540ac80f 100644 --- a/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnSites/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep b/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep index b44071f62d..419ebd4815 100644 --- a/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Network/vpnSites/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep index 2d4a0fa799..345e092e0d 100644 --- a/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.OperationalInsights/workspaces/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep index 3595b5e396..79642d517c 100644 --- a/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.OperationalInsights/workspaces/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep b/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep index a9bd87057c..49f8605535 100644 --- a/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep +++ b/modules/Microsoft.OperationsManagement/solutions/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'Updates' diff --git a/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep b/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep index 916e73d2d4..4357f5bca3 100644 --- a/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep +++ b/modules/Microsoft.OperationsManagement/solutions/.test/ms/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: 'AzureAutomation' diff --git a/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep b/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep index 4ed2c693ca..21a718248e 100644 --- a/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep +++ b/modules/Microsoft.OperationsManagement/solutions/.test/nonms/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep b/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep index 1f8d11c5dc..efbce33e20 100644 --- a/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep +++ b/modules/Microsoft.PolicyInsights/remediations/.test/mg.common/deploy.test.bicep @@ -77,7 +77,7 @@ resource policySetAssignment 'Microsoft.Authorization/policyAssignments@2021-06- // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep b/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep index c822ec7371..70c100b6b2 100644 --- a/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep +++ b/modules/Microsoft.PowerBIDedicated/capacities/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep b/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep index 602235aa4b..f754a5997a 100644 --- a/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep +++ b/modules/Microsoft.PowerBIDedicated/capacities/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep b/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep index 1b22f9387f..44abd02263 100644 --- a/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep +++ b/modules/Microsoft.RecoveryServices/vaults/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep b/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep index 1752402d9d..d972269446 100644 --- a/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep +++ b/modules/Microsoft.RecoveryServices/vaults/.test/dr/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { var rsvName = '<>${serviceShort}001' module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: rsvName diff --git a/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep b/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep index 07d7d20fc3..b9337b53da 100644 --- a/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep +++ b/modules/Microsoft.RecoveryServices/vaults/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep b/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep index ab58ed7e03..52fd295308 100644 --- a/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep +++ b/modules/Microsoft.Resources/deploymentScripts/.test/cli/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep b/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep index d3b388d88c..1de440208b 100644 --- a/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep +++ b/modules/Microsoft.Resources/deploymentScripts/.test/ps/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep b/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep index 6bd62bb044..4a6ea3d2f9 100644 --- a/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Resources/resourceGroups/.test/common/deploy.test.bicep @@ -40,7 +40,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep b/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep index 583255d26c..92d1fface9 100644 --- a/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep +++ b/modules/Microsoft.Resources/tags/.test/rg/deploy.test.bicep @@ -32,7 +32,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry onlyUpdate: false diff --git a/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep b/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep index a1f96b5d8f..2abf6dd2bf 100644 --- a/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Security/azureSecurityCenter/.test/common/deploy.test.bicep @@ -40,7 +40,7 @@ module nestedDependencies 'dependencies.bicep' = { // ============== // module testDeployment '../../deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry scope: '/subscriptions/${subscription().subscriptionId}' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep index f09d1ab80e..9a671ddb61 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep index b288eb328e..7edc76414b 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/encr/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep index e8fad23cc0..b08cd87895 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep b/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep index 6873e185ac..f261d13716 100644 --- a/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.ServiceBus/namespaces/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep b/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep index 99a01cba48..3294cdce14 100644 --- a/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep +++ b/modules/Microsoft.ServiceFabric/clusters/.test/cert/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep b/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep index fad1656082..54d4c2d6ad 100644 --- a/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep +++ b/modules/Microsoft.ServiceFabric/clusters/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep b/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep index 1452cbe826..ac906e6507 100644 --- a/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep +++ b/modules/Microsoft.ServiceFabric/clusters/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep b/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep index 4b881a34b7..aae05a851b 100644 --- a/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep +++ b/modules/Microsoft.SignalRService/webPubSub/.test/common/deploy.test.bicep @@ -42,7 +42,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}-001' diff --git a/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep b/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep index 7c5b3e73d7..7d6f829a7a 100644 --- a/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep +++ b/modules/Microsoft.SignalRService/webPubSub/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}-001' diff --git a/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep b/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep index b3b0c1ab31..b36e628a16 100644 --- a/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.SignalRService/webPubSub/.test/pe/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}-001' diff --git a/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep b/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep index e5b90cc6d6..5903c40b45 100644 --- a/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep +++ b/modules/Microsoft.Sql/servers/.test/admin/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep b/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep index c7eb395731..6ce272d938 100644 --- a/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Sql/servers/.test/common/deploy.test.bicep @@ -62,7 +62,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep b/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep index 99610f9926..57fa3616c9 100644 --- a/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep +++ b/modules/Microsoft.Sql/servers/.test/pe/deploy.test.bicep @@ -46,7 +46,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>-${serviceShort}' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep index 72457d0e6f..3b037560d9 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/common/deploy.test.bicep @@ -56,7 +56,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep index c54e3b38f6..20b5b6e0fd 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/encr/deploy.test.bicep @@ -47,7 +47,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep index 204078caa7..01a1e63159 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep index 24a28c10a0..28580e312d 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/nfs/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep b/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep index b2a5b933f9..f9ce603f91 100644 --- a/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep +++ b/modules/Microsoft.Storage/storageAccounts/.test/v1/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep b/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep index 7b2caec1a2..ed298fb531 100644 --- a/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Synapse/privateLinkHubs/.test/common/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep b/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep index b229214e13..245f3f8d4b 100644 --- a/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Synapse/privateLinkHubs/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep index 522ddafc25..fb651f6e6f 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/common/deploy.test.bicep @@ -54,7 +54,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep index ec2bc8ca5e..3b215270c7 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/encrwsai/deploy.test.bicep @@ -43,7 +43,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep index fdad4bef43..19d23b4276 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/encrwuai/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep index 12b4c617f9..b1a2dcd535 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/managedvnet/deploy.test.bicep @@ -38,7 +38,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep b/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep index c55140e726..88be05e59b 100644 --- a/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Synapse/workspaces/.test/min/deploy.test.bicep @@ -38,7 +38,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { name: '<>${serviceShort}001' defaultDataLakeStorageAccountName: nestedDependencies.outputs.storageAccountName diff --git a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep index 56e6acd4ab..90bd3da52c 100644 --- a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep +++ b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/common/deploy.test.bicep @@ -60,7 +60,7 @@ resource msi_managedIdentityOperatorRoleAssignment 'Microsoft.Authorization/role module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep index 265f6dcaa0..f7aa3e6283 100644 --- a/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep +++ b/modules/Microsoft.VirtualMachineImages/imageTemplates/.test/min/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep b/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep index 5ea1cfaaa7..76f482dee0 100644 --- a/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Web/connections/.test/common/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry displayName: 'azuremonitorlogs' diff --git a/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep b/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep index 114e2e5fc9..4061a9622b 100644 --- a/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep +++ b/modules/Microsoft.Web/hostingEnvironments/.test/asev2/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep b/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep index 577be28ec3..c81374ff3a 100644 --- a/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep +++ b/modules/Microsoft.Web/hostingEnvironments/.test/asev3/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep b/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep index 051e68ae3f..4b1bf2896f 100644 --- a/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Web/serverfarms/.test/common/deploy.test.bicep @@ -55,7 +55,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep index e7f43790ec..57366d079f 100644 --- a/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/functionAppCommon/deploy.test.bicep @@ -59,7 +59,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost // For the below test case, please consider the guidelines described here: https://github.com/Azure/ResourceModules/wiki/Getting%20started%20-%20Scenario%202%20Onboard%20module%20library%20and%20CI%20environment#microsoftwebsites module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep index 3bdd051dd7..d227b2ce61 100644 --- a/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/functionAppMin/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep index 037dd62997..b652135ad5 100644 --- a/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/webAppCommon/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep index f008ecceb6..1048b4ae5e 100644 --- a/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/webAppMin/deploy.test.bicep @@ -41,7 +41,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/sites/.test/webAppSlots/deploy.test.bicep b/modules/Microsoft.Web/sites/.test/webAppSlots/deploy.test.bicep index a280356dd0..76f82424bb 100644 --- a/modules/Microsoft.Web/sites/.test/webAppSlots/deploy.test.bicep +++ b/modules/Microsoft.Web/sites/.test/webAppSlots/deploy.test.bicep @@ -57,7 +57,7 @@ module diagnosticDependencies '../../../../.shared/dependencyConstructs/diagnost module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep b/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep index 156f29ca90..037e1f4f40 100644 --- a/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep +++ b/modules/Microsoft.Web/staticSites/.test/common/deploy.test.bicep @@ -44,7 +44,7 @@ module nestedDependencies 'dependencies.bicep' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' diff --git a/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep b/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep index 72ba35c589..2031b1d3dc 100644 --- a/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep +++ b/modules/Microsoft.Web/staticSites/.test/min/deploy.test.bicep @@ -33,7 +33,7 @@ resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { module testDeployment '../../deploy.bicep' = { scope: resourceGroup - name: '${uniqueString(deployment().name)}-test-${serviceShort}' + name: '${uniqueString(deployment().name, location)}-test-${serviceShort}' params: { enableDefaultTelemetry: enableDefaultTelemetry name: '<>${serviceShort}001' From 7cf356c99a19b43a9873c16c81b5d5f5b5839960 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 16:33:09 +0100 Subject: [PATCH 02/21] Updated readmes --- .../Microsoft.AAD/DomainServices/readme.md | 2 +- .../servers/readme.md | 4 ++-- .../Microsoft.ApiManagement/service/readme.md | 8 +++---- .../configurationStores/readme.md | 6 ++--- .../Microsoft.Authorization/locks/readme.md | 2 +- .../policyAssignments/readme.md | 2 +- .../automationAccounts/readme.md | 6 ++--- .../Microsoft.Batch/batchAccounts/readme.md | 6 ++--- modules/Microsoft.CDN/profiles/readme.md | 2 +- modules/Microsoft.Cache/redis/readme.md | 4 ++-- .../accounts/readme.md | 8 +++---- .../availabilitySets/readme.md | 4 ++-- .../diskEncryptionSets/readme.md | 2 +- modules/Microsoft.Compute/galleries/readme.md | 4 ++-- .../proximityPlacementGroups/readme.md | 4 ++-- .../virtualMachineScaleSets/readme.md | 10 ++++---- .../virtualMachines/readme.md | 14 +++++------ .../containerGroups/readme.md | 8 +++---- .../registries/readme.md | 8 +++---- .../managedClusters/readme.md | 4 ++-- .../flexibleServers/readme.md | 6 ++--- .../Microsoft.DataFactory/factories/readme.md | 4 ++-- .../backupVaults/readme.md | 4 ++-- .../Microsoft.Databricks/workspaces/readme.md | 2 +- .../applicationgroups/readme.md | 4 ++-- .../hostpools/readme.md | 2 +- .../scalingplans/readme.md | 4 ++-- .../workspaces/readme.md | 4 ++-- modules/Microsoft.DevTestLab/labs/readme.md | 4 ++-- .../databaseAccounts/readme.md | 8 +++---- modules/Microsoft.EventGrid/domains/readme.md | 6 ++--- .../systemTopics/readme.md | 4 ++-- modules/Microsoft.EventGrid/topics/readme.md | 6 ++--- .../namespaces/eventHubs/readme.md | 2 +- .../Microsoft.EventHub/namespaces/readme.md | 8 +++---- .../Microsoft.HealthBot/healthBots/readme.md | 4 ++-- .../Microsoft.Insights/actionGroups/readme.md | 4 ++-- .../activityLogAlerts/readme.md | 2 +- .../Microsoft.Insights/components/readme.md | 4 ++-- .../diagnosticSettings/readme.md | 2 +- .../Microsoft.Insights/metricAlerts/readme.md | 2 +- .../privateLinkScopes/readme.md | 4 ++-- .../scheduledQueryRules/readme.md | 2 +- modules/Microsoft.KeyVault/vaults/readme.md | 6 ++--- .../extensions/readme.md | 4 ++-- .../fluxConfigurations/readme.md | 4 ++-- modules/Microsoft.Logic/workflows/readme.md | 2 +- .../workspaces/readme.md | 6 ++--- .../maintenanceConfigurations/readme.md | 4 ++-- .../userAssignedIdentities/readme.md | 2 +- .../registrationDefinitions/readme.md | 2 +- .../Microsoft.NetApp/netAppAccounts/readme.md | 6 ++--- .../readme.md | 2 +- .../applicationGateways/readme.md | 2 +- .../applicationSecurityGroups/readme.md | 2 +- .../azureFirewalls/readme.md | 10 ++++---- .../Microsoft.Network/bastionHosts/readme.md | 6 ++--- .../Microsoft.Network/connections/readme.md | 2 +- .../ddosProtectionPlans/readme.md | 4 ++-- .../Microsoft.Network/dnsResolvers/readme.md | 2 +- .../expressRouteCircuits/readme.md | 4 ++-- .../firewallPolicies/readme.md | 4 ++-- .../Microsoft.Network/frontDoors/readme.md | 4 ++-- modules/Microsoft.Network/ipGroups/readme.md | 4 ++-- .../Microsoft.Network/loadBalancers/readme.md | 6 ++--- .../localNetworkGateways/readme.md | 4 ++-- .../Microsoft.Network/natGateways/readme.md | 2 +- .../networkInterfaces/readme.md | 4 ++-- .../networkManagers/readme.md | 2 +- .../networkSecurityGroups/readme.md | 4 ++-- .../networkWatchers/readme.md | 4 ++-- .../privateDnsZones/readme.md | 4 ++-- .../privateEndpoints/readme.md | 4 ++-- .../privateLinkServices/readme.md | 4 ++-- .../publicIPAddresses/readme.md | 4 ++-- .../publicIPPrefixes/readme.md | 4 ++-- .../Microsoft.Network/routeTables/readme.md | 4 ++-- .../trafficmanagerprofiles/readme.md | 4 ++-- .../Microsoft.Network/virtualHubs/readme.md | 4 ++-- .../virtualNetworkGateways/readme.md | 6 ++--- .../virtualNetworks/readme.md | 6 ++--- .../Microsoft.Network/virtualWans/readme.md | 4 ++-- .../Microsoft.Network/vpnGateways/readme.md | 4 ++-- modules/Microsoft.Network/vpnSites/readme.md | 4 ++-- .../workspaces/readme.md | 4 ++-- .../solutions/readme.md | 6 ++--- .../remediations/readme.md | 2 +- .../capacities/readme.md | 4 ++-- .../vaults/readme.md | 6 ++--- .../deploymentScripts/readme.md | 4 ++-- .../resourceGroups/readme.md | 2 +- modules/Microsoft.Resources/tags/readme.md | 2 +- .../azureSecurityCenter/readme.md | 2 +- .../Microsoft.ServiceBus/namespaces/readme.md | 8 +++---- .../clusters/readme.md | 6 ++--- .../webPubSub/readme.md | 6 ++--- modules/Microsoft.Sql/servers/readme.md | 6 ++--- .../storageAccounts/readme.md | 10 ++++---- .../privateLinkHubs/readme.md | 4 ++-- .../Microsoft.Synapse/workspaces/readme.md | 10 ++++---- .../imageTemplates/readme.md | 4 ++-- modules/Microsoft.Web/connections/readme.md | 2 +- .../hostingEnvironments/readme.md | 4 ++-- modules/Microsoft.Web/serverfarms/readme.md | 2 +- modules/Microsoft.Web/sites/readme.md | 10 ++++---- modules/Microsoft.Web/sites/slots/readme.md | 23 +++++++++++++++++-- modules/Microsoft.Web/staticSites/readme.md | 4 ++-- 107 files changed, 257 insertions(+), 238 deletions(-) diff --git a/modules/Microsoft.AAD/DomainServices/readme.md b/modules/Microsoft.AAD/DomainServices/readme.md index dd917ee5ea..bddb5fb45b 100644 --- a/modules/Microsoft.AAD/DomainServices/readme.md +++ b/modules/Microsoft.AAD/DomainServices/readme.md @@ -228,7 +228,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module DomainServices './Microsoft.AAD/DomainServices/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aaddscom' + name: '${uniqueString(deployment().name, location)}-test-aaddscom' params: { // Required parameters domainName: '<>.onmicrosoft.com' diff --git a/modules/Microsoft.AnalysisServices/servers/readme.md b/modules/Microsoft.AnalysisServices/servers/readme.md index 423f6ffba2..9db05c7453 100644 --- a/modules/Microsoft.AnalysisServices/servers/readme.md +++ b/modules/Microsoft.AnalysisServices/servers/readme.md @@ -177,7 +177,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module servers './Microsoft.AnalysisServices/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-asscom' + name: '${uniqueString(deployment().name, location)}-test-asscom' params: { // Required parameters name: '<>asscom' @@ -407,7 +407,7 @@ module servers './Microsoft.AnalysisServices/servers/deploy.bicep' = { ```bicep module servers './Microsoft.AnalysisServices/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-assmin' + name: '${uniqueString(deployment().name, location)}-test-assmin' params: { // Required parameters name: '<>assmin' diff --git a/modules/Microsoft.ApiManagement/service/readme.md b/modules/Microsoft.ApiManagement/service/readme.md index ae4a06715a..0f669f75c2 100644 --- a/modules/Microsoft.ApiManagement/service/readme.md +++ b/modules/Microsoft.ApiManagement/service/readme.md @@ -76,7 +76,7 @@ This module deploys an API management service. | `newGuidValue` | string | `[newGuid()]` | | Necessary to create a new GUID. | | `notificationSenderEmail` | string | `'apimgmt-noreply@mail.windowsazure.com'` | | The notification sender email address for the service. | | `policies` | _[policies](policies/readme.md)_ array | `[]` | | Policies. | -| `portalSettings` | _[portalSettings](portalSettings/readme.md)_ array | `[]` | | Portal settings. | +| `portalSettings` | _[portalsettings](portalsettings/readme.md)_ array | `[]` | | Portal settings. | | `products` | _[products](products/readme.md)_ array | `[]` | | Products. | | `restore` | bool | `False` | | Undelete API Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored. | | `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | @@ -292,7 +292,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module service './Microsoft.ApiManagement/service/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apiscom' + name: '${uniqueString(deployment().name, location)}-test-apiscom' params: { // Required parameters name: '<>apiscom001' @@ -421,7 +421,7 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { ```bicep module service './Microsoft.ApiManagement/service/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apismax' + name: '${uniqueString(deployment().name, location)}-test-apismax' params: { // Required parameters name: '<>apismax001' @@ -760,7 +760,7 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { ```bicep module service './Microsoft.ApiManagement/service/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apismin' + name: '${uniqueString(deployment().name, location)}-test-apismin' params: { // Required parameters name: '<>apismin001' diff --git a/modules/Microsoft.AppConfiguration/configurationStores/readme.md b/modules/Microsoft.AppConfiguration/configurationStores/readme.md index 1b2d427f61..ccb2bde7b5 100644 --- a/modules/Microsoft.AppConfiguration/configurationStores/readme.md +++ b/modules/Microsoft.AppConfiguration/configurationStores/readme.md @@ -325,7 +325,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module configurationStores './Microsoft.AppConfiguration/configurationStores/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-acccom' + name: '${uniqueString(deployment().name, location)}-test-acccom' params: { // Required parameters name: '<>acccom001' @@ -468,7 +468,7 @@ module configurationStores './Microsoft.AppConfiguration/configurationStores/dep ```bicep module configurationStores './Microsoft.AppConfiguration/configurationStores/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-accmin' + name: '${uniqueString(deployment().name, location)}-test-accmin' params: { // Required parameters name: '<>accmin001' @@ -513,7 +513,7 @@ module configurationStores './Microsoft.AppConfiguration/configurationStores/dep ```bicep module configurationStores './Microsoft.AppConfiguration/configurationStores/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-accpe' + name: '${uniqueString(deployment().name, location)}-test-accpe' params: { // Required parameters name: '<>accpe001' diff --git a/modules/Microsoft.Authorization/locks/readme.md b/modules/Microsoft.Authorization/locks/readme.md index 4a045dee68..7ed67beb91 100644 --- a/modules/Microsoft.Authorization/locks/readme.md +++ b/modules/Microsoft.Authorization/locks/readme.md @@ -62,7 +62,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module locks './Microsoft.Authorization/locks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-alcom' + name: '${uniqueString(deployment().name, location)}-test-alcom' params: { // Required parameters level: 'CanNotDelete' diff --git a/modules/Microsoft.Authorization/policyAssignments/readme.md b/modules/Microsoft.Authorization/policyAssignments/readme.md index ba45b34935..818398bddd 100644 --- a/modules/Microsoft.Authorization/policyAssignments/readme.md +++ b/modules/Microsoft.Authorization/policyAssignments/readme.md @@ -190,7 +190,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module policyAssignments './Microsoft.Authorization/policyAssignments/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-apamgcom' + name: '${uniqueString(deployment().name, location)}-test-apamgcom' params: { // Required parameters name: '<>apamgcom001' diff --git a/modules/Microsoft.Automation/automationAccounts/readme.md b/modules/Microsoft.Automation/automationAccounts/readme.md index a26473280a..3e3c7ed8d8 100644 --- a/modules/Microsoft.Automation/automationAccounts/readme.md +++ b/modules/Microsoft.Automation/automationAccounts/readme.md @@ -402,7 +402,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aacom' + name: '${uniqueString(deployment().name, location)}-test-aacom' params: { // Required parameters name: '<>aacom001' @@ -817,7 +817,7 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice ```bicep module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aaencr' + name: '${uniqueString(deployment().name, location)}-test-aaencr' params: { // Required parameters name: '<>aaencr001' @@ -882,7 +882,7 @@ module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bice ```bicep module automationAccounts './Microsoft.Automation/automationAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-aamin' + name: '${uniqueString(deployment().name, location)}-test-aamin' params: { // Required parameters name: '<>aamin001' diff --git a/modules/Microsoft.Batch/batchAccounts/readme.md b/modules/Microsoft.Batch/batchAccounts/readme.md index 3e3d2d70a2..1d68cc6906 100644 --- a/modules/Microsoft.Batch/batchAccounts/readme.md +++ b/modules/Microsoft.Batch/batchAccounts/readme.md @@ -271,7 +271,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-bbacom' + name: '${uniqueString(deployment().name, location)}-test-bbacom' params: { // Required parameters name: '<>bbacom001' @@ -402,7 +402,7 @@ module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { ```bicep module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-bbaencr' + name: '${uniqueString(deployment().name, location)}-test-bbaencr' params: { // Required parameters name: '<>bbaencr001' @@ -503,7 +503,7 @@ module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { ```bicep module batchAccounts './Microsoft.Batch/batchAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-bbamin' + name: '${uniqueString(deployment().name, location)}-test-bbamin' params: { // Required parameters name: '<>bbamin001' diff --git a/modules/Microsoft.CDN/profiles/readme.md b/modules/Microsoft.CDN/profiles/readme.md index 03a79e2155..84c4c8f9f3 100644 --- a/modules/Microsoft.CDN/profiles/readme.md +++ b/modules/Microsoft.CDN/profiles/readme.md @@ -172,7 +172,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module profiles './Microsoft.CDN/profiles/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cdnpcom' + name: '${uniqueString(deployment().name, location)}-test-cdnpcom' params: { // Required parameters name: 'dep-<>-test-cdnpcom' diff --git a/modules/Microsoft.Cache/redis/readme.md b/modules/Microsoft.Cache/redis/readme.md index b507ac871c..e978f0b565 100644 --- a/modules/Microsoft.Cache/redis/readme.md +++ b/modules/Microsoft.Cache/redis/readme.md @@ -365,7 +365,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module redis './Microsoft.Cache/redis/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crcom' + name: '${uniqueString(deployment().name, location)}-test-crcom' params: { // Required parameters name: '<>crcom001' @@ -502,7 +502,7 @@ module redis './Microsoft.Cache/redis/deploy.bicep' = { ```bicep module redis './Microsoft.Cache/redis/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crmin' + name: '${uniqueString(deployment().name, location)}-test-crmin' params: { // Required parameters name: '<>crmin001' diff --git a/modules/Microsoft.CognitiveServices/accounts/readme.md b/modules/Microsoft.CognitiveServices/accounts/readme.md index 6110ac5793..0c1603f860 100644 --- a/modules/Microsoft.CognitiveServices/accounts/readme.md +++ b/modules/Microsoft.CognitiveServices/accounts/readme.md @@ -455,7 +455,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csacom' + name: '${uniqueString(deployment().name, location)}-test-csacom' params: { // Required parameters kind: 'Face' @@ -622,7 +622,7 @@ module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csaencr' + name: '${uniqueString(deployment().name, location)}-test-csaencr' params: { // Required parameters kind: 'SpeechServices' @@ -699,7 +699,7 @@ module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csamin' + name: '${uniqueString(deployment().name, location)}-test-csamin' params: { // Required parameters kind: 'SpeechServices' @@ -748,7 +748,7 @@ module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { ```bicep module accounts './Microsoft.CognitiveServices/accounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csaspeech' + name: '${uniqueString(deployment().name, location)}-test-csaspeech' params: { // Required parameters kind: 'SpeechServices' diff --git a/modules/Microsoft.Compute/availabilitySets/readme.md b/modules/Microsoft.Compute/availabilitySets/readme.md index 038d1fb823..02109955b4 100644 --- a/modules/Microsoft.Compute/availabilitySets/readme.md +++ b/modules/Microsoft.Compute/availabilitySets/readme.md @@ -169,7 +169,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module availabilitySets './Microsoft.Compute/availabilitySets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cascom' + name: '${uniqueString(deployment().name, location)}-test-cascom' params: { // Required parameters name: '<>cascom001' @@ -242,7 +242,7 @@ module availabilitySets './Microsoft.Compute/availabilitySets/deploy.bicep' = { ```bicep module availabilitySets './Microsoft.Compute/availabilitySets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-casmin' + name: '${uniqueString(deployment().name, location)}-test-casmin' params: { // Required parameters name: '<>casmin001' diff --git a/modules/Microsoft.Compute/diskEncryptionSets/readme.md b/modules/Microsoft.Compute/diskEncryptionSets/readme.md index 75ee5e1851..350721060f 100644 --- a/modules/Microsoft.Compute/diskEncryptionSets/readme.md +++ b/modules/Microsoft.Compute/diskEncryptionSets/readme.md @@ -175,7 +175,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module diskEncryptionSets './Microsoft.Compute/diskEncryptionSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cdescom' + name: '${uniqueString(deployment().name, location)}-test-cdescom' params: { // Required parameters keyName: '' diff --git a/modules/Microsoft.Compute/galleries/readme.md b/modules/Microsoft.Compute/galleries/readme.md index b6ebadc5cf..edc139095f 100644 --- a/modules/Microsoft.Compute/galleries/readme.md +++ b/modules/Microsoft.Compute/galleries/readme.md @@ -170,7 +170,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module galleries './Microsoft.Compute/galleries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cgcom' + name: '${uniqueString(deployment().name, location)}-test-cgcom' params: { // Required parameters name: '<>cgcom001' @@ -405,7 +405,7 @@ module galleries './Microsoft.Compute/galleries/deploy.bicep' = { ```bicep module galleries './Microsoft.Compute/galleries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cgmin' + name: '${uniqueString(deployment().name, location)}-test-cgmin' params: { // Required parameters name: '<>cgmin001' diff --git a/modules/Microsoft.Compute/proximityPlacementGroups/readme.md b/modules/Microsoft.Compute/proximityPlacementGroups/readme.md index 7a90844f7d..ffb00d0997 100644 --- a/modules/Microsoft.Compute/proximityPlacementGroups/readme.md +++ b/modules/Microsoft.Compute/proximityPlacementGroups/readme.md @@ -169,7 +169,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module proximityPlacementGroups './Microsoft.Compute/proximityPlacementGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cppgcom' + name: '${uniqueString(deployment().name, location)}-test-cppgcom' params: { // Required parameters name: '<>cppgcom001' @@ -288,7 +288,7 @@ module proximityPlacementGroups './Microsoft.Compute/proximityPlacementGroups/de ```bicep module proximityPlacementGroups './Microsoft.Compute/proximityPlacementGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cppgmin' + name: '${uniqueString(deployment().name, location)}-test-cppgmin' params: { // Required parameters name: '<>cppgmin001' diff --git a/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md b/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md index 7f2446d3db..522e82f6a0 100644 --- a/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md +++ b/modules/Microsoft.Compute/virtualMachineScaleSets/readme.md @@ -910,7 +910,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsslin' + name: '${uniqueString(deployment().name, location)}-test-cvmsslin' params: { // Required parameters adminUsername: 'scaleSetAdmin' @@ -1253,7 +1253,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsslinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmsslinmin' params: { // Required parameters adminUsername: 'scaleSetAdmin' @@ -1390,7 +1390,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsslcmk' + name: '${uniqueString(deployment().name, location)}-test-cvmsslcmk' params: { // Required parameters adminUsername: 'scaleSetAdmin' @@ -1565,7 +1565,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsswin' + name: '${uniqueString(deployment().name, location)}-test-cvmsswin' params: { // Required parameters adminUsername: 'localAdminUser' @@ -1890,7 +1890,7 @@ module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/depl ```bicep module virtualMachineScaleSets './Microsoft.Compute/virtualMachineScaleSets/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmsswinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmsswinmin' params: { // Required parameters adminUsername: 'localAdminUser' diff --git a/modules/Microsoft.Compute/virtualMachines/readme.md b/modules/Microsoft.Compute/virtualMachines/readme.md index c2249cc7c3..708b924375 100644 --- a/modules/Microsoft.Compute/virtualMachines/readme.md +++ b/modules/Microsoft.Compute/virtualMachines/readme.md @@ -1045,7 +1045,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmlincom' + name: '${uniqueString(deployment().name, location)}-test-cvmlincom' params: { // Required parameters adminUsername: 'localAdministrator' @@ -1472,7 +1472,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmlinatmg' + name: '${uniqueString(deployment().name, location)}-test-cvmlinatmg' params: { // Required parameters adminUsername: 'localAdminUser' @@ -1613,7 +1613,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmlinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmlinmin' params: { // Required parameters adminUsername: 'localAdminUser' @@ -1750,7 +1750,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwincom' + name: '${uniqueString(deployment().name, location)}-test-cvmwincom' params: { // Required parameters adminUsername: 'VMAdmin' @@ -2205,7 +2205,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwinatmg' + name: '${uniqueString(deployment().name, location)}-test-cvmwinatmg' params: { // Required parameters adminUsername: 'localAdministrator' @@ -2326,7 +2326,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwinmin' + name: '${uniqueString(deployment().name, location)}-test-cvmwinmin' params: { // Required parameters adminUsername: 'localAdminUser' @@ -2443,7 +2443,7 @@ module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { ```bicep module virtualMachines './Microsoft.Compute/virtualMachines/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cvmwincmk' + name: '${uniqueString(deployment().name, location)}-test-cvmwincmk' params: { // Required parameters adminUsername: 'VMAdministrator' diff --git a/modules/Microsoft.ContainerInstance/containerGroups/readme.md b/modules/Microsoft.ContainerInstance/containerGroups/readme.md index 418bef8451..fdc71f4dfd 100644 --- a/modules/Microsoft.ContainerInstance/containerGroups/readme.md +++ b/modules/Microsoft.ContainerInstance/containerGroups/readme.md @@ -306,7 +306,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgcom' + name: '${uniqueString(deployment().name, location)}-test-cicgcom' params: { // Required parameters containers: [ @@ -483,7 +483,7 @@ module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bic ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgecr' + name: '${uniqueString(deployment().name, location)}-test-cicgecr' params: { // Required parameters containers: [ @@ -668,7 +668,7 @@ module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bic ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgmin' + name: '${uniqueString(deployment().name, location)}-test-cicgmin' params: { // Required parameters containers: [ @@ -769,7 +769,7 @@ module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bic ```bicep module containerGroups './Microsoft.ContainerInstance/containerGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-cicgprivate' + name: '${uniqueString(deployment().name, location)}-test-cicgprivate' params: { // Required parameters containers: [ diff --git a/modules/Microsoft.ContainerRegistry/registries/readme.md b/modules/Microsoft.ContainerRegistry/registries/readme.md index d0c3ff817a..8dbe241ed0 100644 --- a/modules/Microsoft.ContainerRegistry/registries/readme.md +++ b/modules/Microsoft.ContainerRegistry/registries/readme.md @@ -383,7 +383,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrcom' + name: '${uniqueString(deployment().name, location)}-test-crrcom' params: { // Required parameters name: '<>crrcom001' @@ -582,7 +582,7 @@ module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrencr' + name: '${uniqueString(deployment().name, location)}-test-crrencr' params: { // Required parameters name: '<>crrencr001' @@ -655,7 +655,7 @@ module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrmin' + name: '${uniqueString(deployment().name, location)}-test-crrmin' params: { // Required parameters name: '<>crrmin001' @@ -700,7 +700,7 @@ module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { ```bicep module registries './Microsoft.ContainerRegistry/registries/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-crrpe' + name: '${uniqueString(deployment().name, location)}-test-crrpe' params: { // Required parameters name: '<>crrpe001' diff --git a/modules/Microsoft.ContainerService/managedClusters/readme.md b/modules/Microsoft.ContainerService/managedClusters/readme.md index 478c736504..510d76a2a0 100644 --- a/modules/Microsoft.ContainerService/managedClusters/readme.md +++ b/modules/Microsoft.ContainerService/managedClusters/readme.md @@ -381,7 +381,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module managedClusters './Microsoft.ContainerService/managedClusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csmaz' + name: '${uniqueString(deployment().name, location)}-test-csmaz' params: { // Required parameters name: '<>csmaz001' @@ -632,7 +632,7 @@ module managedClusters './Microsoft.ContainerService/managedClusters/deploy.bice ```bicep module managedClusters './Microsoft.ContainerService/managedClusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-csmkube' + name: '${uniqueString(deployment().name, location)}-test-csmkube' params: { // Required parameters name: '<>csmkube001' diff --git a/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md b/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md index 2f214106bc..23cc3b33e5 100644 --- a/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md +++ b/modules/Microsoft.DBforPostgreSQL/flexibleServers/readme.md @@ -382,7 +382,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dfpsfsmin' + name: '${uniqueString(deployment().name, location)}-test-dfpsfsmin' params: { // Required parameters administratorLogin: 'adminUserName' @@ -443,7 +443,7 @@ module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep ```bicep module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dfpsfspvt' + name: '${uniqueString(deployment().name, location)}-test-dfpsfspvt' params: { // Required parameters administratorLogin: 'adminUserName' @@ -584,7 +584,7 @@ module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep ```bicep module flexibleServers './Microsoft.DBforPostgreSQL/flexibleServers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dfpsfsp' + name: '${uniqueString(deployment().name, location)}-test-dfpsfsp' params: { // Required parameters administratorLogin: 'adminUserName' diff --git a/modules/Microsoft.DataFactory/factories/readme.md b/modules/Microsoft.DataFactory/factories/readme.md index e9217c8ddf..30d2be6dba 100644 --- a/modules/Microsoft.DataFactory/factories/readme.md +++ b/modules/Microsoft.DataFactory/factories/readme.md @@ -388,7 +388,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module factories './Microsoft.DataFactory/factories/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dffcom' + name: '${uniqueString(deployment().name, location)}-test-dffcom' params: { // Required parameters name: '<>dffcom001' @@ -589,7 +589,7 @@ module factories './Microsoft.DataFactory/factories/deploy.bicep' = { ```bicep module factories './Microsoft.DataFactory/factories/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dffmin' + name: '${uniqueString(deployment().name, location)}-test-dffmin' params: { // Required parameters name: '<>dffmin001' diff --git a/modules/Microsoft.DataProtection/backupVaults/readme.md b/modules/Microsoft.DataProtection/backupVaults/readme.md index d33ea63d80..a8b882b687 100644 --- a/modules/Microsoft.DataProtection/backupVaults/readme.md +++ b/modules/Microsoft.DataProtection/backupVaults/readme.md @@ -351,7 +351,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module backupVaults './Microsoft.DataProtection/backupVaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dpbvcom' + name: '${uniqueString(deployment().name, location)}-test-dpbvcom' params: { // Required parameters name: '<>dpbvcom001' @@ -550,7 +550,7 @@ module backupVaults './Microsoft.DataProtection/backupVaults/deploy.bicep' = { ```bicep module backupVaults './Microsoft.DataProtection/backupVaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dpbvmin' + name: '${uniqueString(deployment().name, location)}-test-dpbvmin' params: { // Required parameters name: '<>dpbvmin001' diff --git a/modules/Microsoft.Databricks/workspaces/readme.md b/modules/Microsoft.Databricks/workspaces/readme.md index 9e33368efe..9b0b0a68e7 100644 --- a/modules/Microsoft.Databricks/workspaces/readme.md +++ b/modules/Microsoft.Databricks/workspaces/readme.md @@ -239,7 +239,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.Databricks/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dwcom' + name: '${uniqueString(deployment().name, location)}-test-dwcom' params: { // Required parameters name: '<>dwcom001' diff --git a/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md b/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md index 4541711805..fc6ba7dd63 100644 --- a/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md +++ b/modules/Microsoft.DesktopVirtualization/applicationgroups/readme.md @@ -179,7 +179,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationgroups './Microsoft.DesktopVirtualization/applicationgroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvagcom' + name: '${uniqueString(deployment().name, location)}-test-dvagcom' params: { // Required parameters applicationGroupType: 'RemoteApp' @@ -326,7 +326,7 @@ module applicationgroups './Microsoft.DesktopVirtualization/applicationgroups/de ```bicep module applicationgroups './Microsoft.DesktopVirtualization/applicationgroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvagmin' + name: '${uniqueString(deployment().name, location)}-test-dvagmin' params: { // Required parameters applicationGroupType: 'RemoteApp' diff --git a/modules/Microsoft.DesktopVirtualization/hostpools/readme.md b/modules/Microsoft.DesktopVirtualization/hostpools/readme.md index e39711a77c..1535227cc4 100644 --- a/modules/Microsoft.DesktopVirtualization/hostpools/readme.md +++ b/modules/Microsoft.DesktopVirtualization/hostpools/readme.md @@ -276,7 +276,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module hostpools './Microsoft.DesktopVirtualization/hostpools/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvhpcom' + name: '${uniqueString(deployment().name, location)}-test-dvhpcom' params: { // Required parameters name: '<>dvhpcom001' diff --git a/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md b/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md index 4f046329ce..f97e512f98 100644 --- a/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md +++ b/modules/Microsoft.DesktopVirtualization/scalingplans/readme.md @@ -278,7 +278,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module scalingplans './Microsoft.DesktopVirtualization/scalingplans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvspcom' + name: '${uniqueString(deployment().name, location)}-test-dvspcom' params: { // Required parameters name: '<>dvspcom001' @@ -385,7 +385,7 @@ module scalingplans './Microsoft.DesktopVirtualization/scalingplans/deploy.bicep ```bicep module scalingplans './Microsoft.DesktopVirtualization/scalingplans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvspmin' + name: '${uniqueString(deployment().name, location)}-test-dvspmin' params: { // Required parameters name: '<>dvspmin001' diff --git a/modules/Microsoft.DesktopVirtualization/workspaces/readme.md b/modules/Microsoft.DesktopVirtualization/workspaces/readme.md index 649924807c..32043bde8e 100644 --- a/modules/Microsoft.DesktopVirtualization/workspaces/readme.md +++ b/modules/Microsoft.DesktopVirtualization/workspaces/readme.md @@ -176,7 +176,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.DesktopVirtualization/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvwcom' + name: '${uniqueString(deployment().name, location)}-test-dvwcom' params: { // Required parameters name: '<>dvwcom001' @@ -285,7 +285,7 @@ module workspaces './Microsoft.DesktopVirtualization/workspaces/deploy.bicep' = ```bicep module workspaces './Microsoft.DesktopVirtualization/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dvwmin' + name: '${uniqueString(deployment().name, location)}-test-dvwmin' params: { // Required parameters name: '<>dvwmin001' diff --git a/modules/Microsoft.DevTestLab/labs/readme.md b/modules/Microsoft.DevTestLab/labs/readme.md index 84fe33c280..b1c90e2705 100644 --- a/modules/Microsoft.DevTestLab/labs/readme.md +++ b/modules/Microsoft.DevTestLab/labs/readme.md @@ -236,7 +236,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module labs './Microsoft.DevTestLab/labs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dtllcom' + name: '${uniqueString(deployment().name, location)}-test-dtllcom' params: { // Required parameters name: '<>dtllcom001' @@ -767,7 +767,7 @@ module labs './Microsoft.DevTestLab/labs/deploy.bicep' = { ```bicep module labs './Microsoft.DevTestLab/labs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dtllmin' + name: '${uniqueString(deployment().name, location)}-test-dtllmin' params: { // Required parameters name: '<>dtllmin001' diff --git a/modules/Microsoft.DocumentDB/databaseAccounts/readme.md b/modules/Microsoft.DocumentDB/databaseAccounts/readme.md index df6399edc0..e2ba7d4d50 100644 --- a/modules/Microsoft.DocumentDB/databaseAccounts/readme.md +++ b/modules/Microsoft.DocumentDB/databaseAccounts/readme.md @@ -552,7 +552,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddagrm' + name: '${uniqueString(deployment().name, location)}-test-dddagrm' params: { // Required parameters locations: [ @@ -777,7 +777,7 @@ module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddamng' + name: '${uniqueString(deployment().name, location)}-test-dddamng' params: { // Required parameters locations: [ @@ -1266,7 +1266,7 @@ module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddapln' + name: '${uniqueString(deployment().name, location)}-test-dddapln' params: { // Required parameters locations: [ @@ -1381,7 +1381,7 @@ module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = ```bicep module databaseAccounts './Microsoft.DocumentDB/databaseAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-dddasql' + name: '${uniqueString(deployment().name, location)}-test-dddasql' params: { // Required parameters locations: [ diff --git a/modules/Microsoft.EventGrid/domains/readme.md b/modules/Microsoft.EventGrid/domains/readme.md index d295d25e45..a5fb4c37ea 100644 --- a/modules/Microsoft.EventGrid/domains/readme.md +++ b/modules/Microsoft.EventGrid/domains/readme.md @@ -285,7 +285,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module domains './Microsoft.EventGrid/domains/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egdcom' + name: '${uniqueString(deployment().name, location)}-test-egdcom' params: { // Required parameters name: '<>egdcom001' @@ -412,7 +412,7 @@ module domains './Microsoft.EventGrid/domains/deploy.bicep' = { ```bicep module domains './Microsoft.EventGrid/domains/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egdmin' + name: '${uniqueString(deployment().name, location)}-test-egdmin' params: { // Required parameters name: '<>egdmin001' @@ -457,7 +457,7 @@ module domains './Microsoft.EventGrid/domains/deploy.bicep' = { ```bicep module domains './Microsoft.EventGrid/domains/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egdpe' + name: '${uniqueString(deployment().name, location)}-test-egdpe' params: { // Required parameters name: '<>egdpe001' diff --git a/modules/Microsoft.EventGrid/systemTopics/readme.md b/modules/Microsoft.EventGrid/systemTopics/readme.md index 5be134a402..e32656d8d6 100644 --- a/modules/Microsoft.EventGrid/systemTopics/readme.md +++ b/modules/Microsoft.EventGrid/systemTopics/readme.md @@ -289,7 +289,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module systemTopics './Microsoft.EventGrid/systemTopics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egstcom' + name: '${uniqueString(deployment().name, location)}-test-egstcom' params: { // Required parameters name: '<>egstcom001' @@ -386,7 +386,7 @@ module systemTopics './Microsoft.EventGrid/systemTopics/deploy.bicep' = { ```bicep module systemTopics './Microsoft.EventGrid/systemTopics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egstmin' + name: '${uniqueString(deployment().name, location)}-test-egstmin' params: { // Required parameters name: '<>egstmin001' diff --git a/modules/Microsoft.EventGrid/topics/readme.md b/modules/Microsoft.EventGrid/topics/readme.md index 114b019ac9..c3ef81476b 100644 --- a/modules/Microsoft.EventGrid/topics/readme.md +++ b/modules/Microsoft.EventGrid/topics/readme.md @@ -283,7 +283,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module topics './Microsoft.EventGrid/topics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egtcom' + name: '${uniqueString(deployment().name, location)}-test-egtcom' params: { // Required parameters name: '<>egtcom001' @@ -410,7 +410,7 @@ module topics './Microsoft.EventGrid/topics/deploy.bicep' = { ```bicep module topics './Microsoft.EventGrid/topics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egtmin' + name: '${uniqueString(deployment().name, location)}-test-egtmin' params: { // Required parameters name: '<>egtmin001' @@ -455,7 +455,7 @@ module topics './Microsoft.EventGrid/topics/deploy.bicep' = { ```bicep module topics './Microsoft.EventGrid/topics/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-egtpe' + name: '${uniqueString(deployment().name, location)}-test-egtpe' params: { // Required parameters name: '<>egtpe001' diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md index 07a2043941..a2a0217bbe 100644 --- a/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md +++ b/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md @@ -47,7 +47,7 @@ This module deploys an Event Hub. | `captureDescriptionIntervalInSeconds` | int | `300` | | The time window allows you to set the frequency with which the capture to Azure Blobs will happen. | | `captureDescriptionSizeLimitInBytes` | int | `314572800` | | The size window defines the amount of data built up in your Event Hub before an capture operation. | | `captureDescriptionSkipEmptyArchives` | bool | `False` | | A value that indicates whether to Skip Empty Archives. | -| `consumerGroups` | _[consumerGroups](consumerGroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | +| `consumerGroups` | _[consumergroups](consumergroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | | `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | | `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | | `messageRetentionInDays` | int | `1` | | Number of days to retain the events for this Event Hub, value should be 1 to 7 days. | diff --git a/modules/Microsoft.EventHub/namespaces/readme.md b/modules/Microsoft.EventHub/namespaces/readme.md index 4dba17e344..57d38cc838 100644 --- a/modules/Microsoft.EventHub/namespaces/readme.md +++ b/modules/Microsoft.EventHub/namespaces/readme.md @@ -50,7 +50,7 @@ This module deploys an event hub namespace. | `diagnosticWorkspaceId` | string | `''` | | Resource ID of the diagnostic log analytics workspace. | | `disasterRecoveryConfig` | object | `{object}` | | The disaster recovery config for this namespace. | | `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | -| `eventHubs` | _[eventHubs](eventHubs/readme.md)_ array | `[]` | | The event hubs to deploy into this namespace. | +| `eventHubs` | _[eventhubs](eventhubs/readme.md)_ array | `[]` | | The event hubs to deploy into this namespace. | | `isAutoInflateEnabled` | bool | `False` | | Switch to enable the Auto Inflate feature of Event Hub. | | `location` | string | `[resourceGroup().location]` | | Location for all resources. | | `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | @@ -332,7 +332,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ehncom' + name: '${uniqueString(deployment().name, location)}-test-ehncom' params: { // Required parameters name: '<>ehncom001' @@ -633,7 +633,7 @@ module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ehnmin' + name: '${uniqueString(deployment().name, location)}-test-ehnmin' params: { // Required parameters name: '<>ehnmin001' @@ -678,7 +678,7 @@ module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.EventHub/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ehnpe' + name: '${uniqueString(deployment().name, location)}-test-ehnpe' params: { // Required parameters name: '<>ehnpe001' diff --git a/modules/Microsoft.HealthBot/healthBots/readme.md b/modules/Microsoft.HealthBot/healthBots/readme.md index bb0264f7ba..d5e7843f25 100644 --- a/modules/Microsoft.HealthBot/healthBots/readme.md +++ b/modules/Microsoft.HealthBot/healthBots/readme.md @@ -166,7 +166,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module healthBots './Microsoft.HealthBot/healthBots/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-hbhbcom' + name: '${uniqueString(deployment().name, location)}-test-hbhbcom' params: { // Required parameters name: '<>hbhbcom001' @@ -235,7 +235,7 @@ module healthBots './Microsoft.HealthBot/healthBots/deploy.bicep' = { ```bicep module healthBots './Microsoft.HealthBot/healthBots/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-hbhbmin' + name: '${uniqueString(deployment().name, location)}-test-hbhbmin' params: { // Required parameters name: '<>hbhbmin001' diff --git a/modules/Microsoft.Insights/actionGroups/readme.md b/modules/Microsoft.Insights/actionGroups/readme.md index 7648db2e30..e0152ded32 100644 --- a/modules/Microsoft.Insights/actionGroups/readme.md +++ b/modules/Microsoft.Insights/actionGroups/readme.md @@ -252,7 +252,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module actionGroups './Microsoft.Insights/actionGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iagcom' + name: '${uniqueString(deployment().name, location)}-test-iagcom' params: { // Required parameters groupShortName: 'agiagcom001' @@ -361,7 +361,7 @@ module actionGroups './Microsoft.Insights/actionGroups/deploy.bicep' = { ```bicep module actionGroups './Microsoft.Insights/actionGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iagmin' + name: '${uniqueString(deployment().name, location)}-test-iagmin' params: { // Required parameters groupShortName: 'agiagmin001' diff --git a/modules/Microsoft.Insights/activityLogAlerts/readme.md b/modules/Microsoft.Insights/activityLogAlerts/readme.md index 49a698c5e5..6313abd768 100644 --- a/modules/Microsoft.Insights/activityLogAlerts/readme.md +++ b/modules/Microsoft.Insights/activityLogAlerts/readme.md @@ -414,7 +414,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module activityLogAlerts './Microsoft.Insights/activityLogAlerts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ialacom' + name: '${uniqueString(deployment().name, location)}-test-ialacom' params: { // Required parameters conditions: [ diff --git a/modules/Microsoft.Insights/components/readme.md b/modules/Microsoft.Insights/components/readme.md index 1b4616ce52..5e9148c7d3 100644 --- a/modules/Microsoft.Insights/components/readme.md +++ b/modules/Microsoft.Insights/components/readme.md @@ -170,7 +170,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module components './Microsoft.Insights/components/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iccom' + name: '${uniqueString(deployment().name, location)}-test-iccom' params: { // Required parameters name: '<>iccom001' @@ -239,7 +239,7 @@ module components './Microsoft.Insights/components/deploy.bicep' = { ```bicep module components './Microsoft.Insights/components/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-icmin' + name: '${uniqueString(deployment().name, location)}-test-icmin' params: { // Required parameters name: '<>icmin001' diff --git a/modules/Microsoft.Insights/diagnosticSettings/readme.md b/modules/Microsoft.Insights/diagnosticSettings/readme.md index c1bd2f81ac..c1f7823e5b 100644 --- a/modules/Microsoft.Insights/diagnosticSettings/readme.md +++ b/modules/Microsoft.Insights/diagnosticSettings/readme.md @@ -60,7 +60,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module diagnosticSettings './Microsoft.Insights/diagnosticSettings/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-idscom' + name: '${uniqueString(deployment().name, location)}-test-idscom' params: { diagnosticEventHubAuthorizationRuleId: '' diagnosticEventHubName: '' diff --git a/modules/Microsoft.Insights/metricAlerts/readme.md b/modules/Microsoft.Insights/metricAlerts/readme.md index 7af039bd90..a608cf48af 100644 --- a/modules/Microsoft.Insights/metricAlerts/readme.md +++ b/modules/Microsoft.Insights/metricAlerts/readme.md @@ -396,7 +396,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module metricAlerts './Microsoft.Insights/metricAlerts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-imacom' + name: '${uniqueString(deployment().name, location)}-test-imacom' params: { // Required parameters criterias: [ diff --git a/modules/Microsoft.Insights/privateLinkScopes/readme.md b/modules/Microsoft.Insights/privateLinkScopes/readme.md index e6944e4d3a..9881a3ef8b 100644 --- a/modules/Microsoft.Insights/privateLinkScopes/readme.md +++ b/modules/Microsoft.Insights/privateLinkScopes/readme.md @@ -274,7 +274,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateLinkScopes './Microsoft.Insights/privateLinkScopes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iplscom' + name: '${uniqueString(deployment().name, location)}-test-iplscom' params: { // Required parameters name: '<>iplscom001' @@ -377,7 +377,7 @@ module privateLinkScopes './Microsoft.Insights/privateLinkScopes/deploy.bicep' = ```bicep module privateLinkScopes './Microsoft.Insights/privateLinkScopes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-iplsmin' + name: '${uniqueString(deployment().name, location)}-test-iplsmin' params: { // Required parameters name: '<>iplsmin001' diff --git a/modules/Microsoft.Insights/scheduledQueryRules/readme.md b/modules/Microsoft.Insights/scheduledQueryRules/readme.md index 0432b10e40..4e62b4da36 100644 --- a/modules/Microsoft.Insights/scheduledQueryRules/readme.md +++ b/modules/Microsoft.Insights/scheduledQueryRules/readme.md @@ -177,7 +177,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module scheduledQueryRules './Microsoft.Insights/scheduledQueryRules/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-isqrcom' + name: '${uniqueString(deployment().name, location)}-test-isqrcom' params: { // Required parameters criterias: { diff --git a/modules/Microsoft.KeyVault/vaults/readme.md b/modules/Microsoft.KeyVault/vaults/readme.md index d2bdbf95ad..4125f73134 100644 --- a/modules/Microsoft.KeyVault/vaults/readme.md +++ b/modules/Microsoft.KeyVault/vaults/readme.md @@ -411,7 +411,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kvvcom' + name: '${uniqueString(deployment().name, location)}-test-kvvcom' params: { name: '<>kvvcom002' accessPolicies: [ @@ -710,7 +710,7 @@ module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kvvmin' + name: '${uniqueString(deployment().name, location)}-test-kvvmin' params: { // Required parameters name: '<>kvvmin002' @@ -759,7 +759,7 @@ module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.KeyVault/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kvvpe' + name: '${uniqueString(deployment().name, location)}-test-kvvpe' params: { // Required parameters name: '<>kvvpe001' diff --git a/modules/Microsoft.KubernetesConfiguration/extensions/readme.md b/modules/Microsoft.KubernetesConfiguration/extensions/readme.md index a7eecf9bb6..08d5c117f1 100644 --- a/modules/Microsoft.KubernetesConfiguration/extensions/readme.md +++ b/modules/Microsoft.KubernetesConfiguration/extensions/readme.md @@ -86,7 +86,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module extensions './Microsoft.KubernetesConfiguration/extensions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcecom' + name: '${uniqueString(deployment().name, location)}-test-kcecom' params: { // Required parameters clusterName: '' @@ -167,7 +167,7 @@ module extensions './Microsoft.KubernetesConfiguration/extensions/deploy.bicep' ```bicep module extensions './Microsoft.KubernetesConfiguration/extensions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcemin' + name: '${uniqueString(deployment().name, location)}-test-kcemin' params: { // Required parameters clusterName: '' diff --git a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md index 1d209d0e70..4d281df1d9 100644 --- a/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md +++ b/modules/Microsoft.KubernetesConfiguration/fluxConfigurations/readme.md @@ -87,7 +87,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module fluxConfigurations './Microsoft.KubernetesConfiguration/fluxConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcfccom' + name: '${uniqueString(deployment().name, location)}-test-kcfccom' params: { // Required parameters clusterName: '' @@ -186,7 +186,7 @@ module fluxConfigurations './Microsoft.KubernetesConfiguration/fluxConfiguration ```bicep module fluxConfigurations './Microsoft.KubernetesConfiguration/fluxConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-kcfcmin' + name: '${uniqueString(deployment().name, location)}-test-kcfcmin' params: { // Required parameters clusterName: '' diff --git a/modules/Microsoft.Logic/workflows/readme.md b/modules/Microsoft.Logic/workflows/readme.md index 738c07cfc1..e338e09f2a 100644 --- a/modules/Microsoft.Logic/workflows/readme.md +++ b/modules/Microsoft.Logic/workflows/readme.md @@ -332,7 +332,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workflows './Microsoft.Logic/workflows/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-lwcom' + name: '${uniqueString(deployment().name, location)}-test-lwcom' params: { // Required parameters name: '<>lwcom001' diff --git a/modules/Microsoft.MachineLearningServices/workspaces/readme.md b/modules/Microsoft.MachineLearningServices/workspaces/readme.md index 6ce3365795..a763abdcc1 100644 --- a/modules/Microsoft.MachineLearningServices/workspaces/readme.md +++ b/modules/Microsoft.MachineLearningServices/workspaces/readme.md @@ -448,7 +448,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mlswcom' + name: '${uniqueString(deployment().name, location)}-test-mlswcom' params: { // Required parameters associatedApplicationInsightsResourceId: '' @@ -663,7 +663,7 @@ module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' ```bicep module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mlswecr' + name: '${uniqueString(deployment().name, location)}-test-mlswecr' params: { // Required parameters associatedApplicationInsightsResourceId: '' @@ -776,7 +776,7 @@ module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' ```bicep module workspaces './Microsoft.MachineLearningServices/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mlswmin' + name: '${uniqueString(deployment().name, location)}-test-mlswmin' params: { // Required parameters associatedApplicationInsightsResourceId: '' diff --git a/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md b/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md index c012944ee3..364ee0f25c 100644 --- a/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md +++ b/modules/Microsoft.Maintenance/maintenanceConfigurations/readme.md @@ -206,7 +206,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module maintenanceConfigurations './Microsoft.Maintenance/maintenanceConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mmccom' + name: '${uniqueString(deployment().name, location)}-test-mmccom' params: { // Required parameters name: '<>mmccom001' @@ -313,7 +313,7 @@ module maintenanceConfigurations './Microsoft.Maintenance/maintenanceConfigurati ```bicep module maintenanceConfigurations './Microsoft.Maintenance/maintenanceConfigurations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-mmcmin' + name: '${uniqueString(deployment().name, location)}-test-mmcmin' params: { // Required parameters name: '<>mmcmin001' diff --git a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md index 1766338bb7..ec3984508d 100644 --- a/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md +++ b/modules/Microsoft.ManagedIdentity/userAssignedIdentities/readme.md @@ -161,7 +161,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module userAssignedIdentities './Microsoft.ManagedIdentity/userAssignedIdentities/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-miuaicom' + name: '${uniqueString(deployment().name, location)}-test-miuaicom' params: { enableDefaultTelemetry: '' lock: 'CanNotDelete' diff --git a/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md b/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md index 5c1d561553..924da9a234 100644 --- a/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md +++ b/modules/Microsoft.ManagedServices/registrationDefinitions/readme.md @@ -274,7 +274,7 @@ module registrationDefinitions './Microsoft.ManagedServices/registrationDefiniti ```bicep module registrationDefinitions './Microsoft.ManagedServices/registrationDefinitions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-msrdrg' + name: '${uniqueString(deployment().name, location)}-test-msrdrg' params: { // Required parameters authorizations: [ diff --git a/modules/Microsoft.NetApp/netAppAccounts/readme.md b/modules/Microsoft.NetApp/netAppAccounts/readme.md index cb614afd13..31a60959dd 100644 --- a/modules/Microsoft.NetApp/netAppAccounts/readme.md +++ b/modules/Microsoft.NetApp/netAppAccounts/readme.md @@ -174,7 +174,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nanaamin' + name: '${uniqueString(deployment().name, location)}-test-nanaamin' params: { // Required parameters name: '<>nanaamin001' @@ -219,7 +219,7 @@ module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { ```bicep module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nanaanfs3' + name: '${uniqueString(deployment().name, location)}-test-nanaanfs3' params: { // Required parameters name: '<>nanaanfs3001' @@ -444,7 +444,7 @@ module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { ```bicep module netAppAccounts './Microsoft.NetApp/netAppAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nanaanfs41' + name: '${uniqueString(deployment().name, location)}-test-nanaanfs41' params: { // Required parameters name: '<>nanaanfs41001' diff --git a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md index 42b1568a44..a0c4dd8557 100644 --- a/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md +++ b/modules/Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/readme.md @@ -105,7 +105,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationGatewayWebApplicationFirewallPolicies './Microsoft.Network/applicationGatewayWebApplicationFirewallPolicies/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nagwafpcom' + name: '${uniqueString(deployment().name, location)}-test-nagwafpcom' params: { // Required parameters name: '<>nagwafpcom001' diff --git a/modules/Microsoft.Network/applicationGateways/readme.md b/modules/Microsoft.Network/applicationGateways/readme.md index 9be92e8bbc..71fcb1cea4 100644 --- a/modules/Microsoft.Network/applicationGateways/readme.md +++ b/modules/Microsoft.Network/applicationGateways/readme.md @@ -242,7 +242,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationGateways './Microsoft.Network/applicationGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nagcom' + name: '${uniqueString(deployment().name, location)}-test-nagcom' params: { // Required parameters name: '' diff --git a/modules/Microsoft.Network/applicationSecurityGroups/readme.md b/modules/Microsoft.Network/applicationSecurityGroups/readme.md index 2e3ac349f6..0733b895ea 100644 --- a/modules/Microsoft.Network/applicationSecurityGroups/readme.md +++ b/modules/Microsoft.Network/applicationSecurityGroups/readme.md @@ -165,7 +165,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module applicationSecurityGroups './Microsoft.Network/applicationSecurityGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nasgcom' + name: '${uniqueString(deployment().name, location)}-test-nasgcom' params: { // Required parameters name: '<>nasgcom001' diff --git a/modules/Microsoft.Network/azureFirewalls/readme.md b/modules/Microsoft.Network/azureFirewalls/readme.md index 7ee4314088..76070d5f42 100644 --- a/modules/Microsoft.Network/azureFirewalls/readme.md +++ b/modules/Microsoft.Network/azureFirewalls/readme.md @@ -329,7 +329,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafaddpip' + name: '${uniqueString(deployment().name, location)}-test-nafaddpip' params: { // Required parameters name: '<>nafaddpip001' @@ -392,7 +392,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafcom' + name: '${uniqueString(deployment().name, location)}-test-nafcom' params: { // Required parameters name: '<>nafcom001' @@ -667,7 +667,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafcstpip' + name: '${uniqueString(deployment().name, location)}-test-nafcstpip' params: { // Required parameters name: '<>nafcstpip001' @@ -766,7 +766,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafhub' + name: '${uniqueString(deployment().name, location)}-test-nafhub' params: { // Required parameters name: '<>nafhub001' @@ -831,7 +831,7 @@ module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { ```bicep module azureFirewalls './Microsoft.Network/azureFirewalls/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nafmin' + name: '${uniqueString(deployment().name, location)}-test-nafmin' params: { // Required parameters name: '<>nafmin001' diff --git a/modules/Microsoft.Network/bastionHosts/readme.md b/modules/Microsoft.Network/bastionHosts/readme.md index 22bced603c..62b06c8652 100644 --- a/modules/Microsoft.Network/bastionHosts/readme.md +++ b/modules/Microsoft.Network/bastionHosts/readme.md @@ -310,7 +310,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nbhcom' + name: '${uniqueString(deployment().name, location)}-test-nbhcom' params: { // Required parameters name: '<>nbhcom001' @@ -431,7 +431,7 @@ module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { ```bicep module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nbhctmpip' + name: '${uniqueString(deployment().name, location)}-test-nbhctmpip' params: { // Required parameters name: '<>nbhctmpip001' @@ -530,7 +530,7 @@ module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { ```bicep module bastionHosts './Microsoft.Network/bastionHosts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nbhmin' + name: '${uniqueString(deployment().name, location)}-test-nbhmin' params: { // Required parameters name: '<>nbhmin001' diff --git a/modules/Microsoft.Network/connections/readme.md b/modules/Microsoft.Network/connections/readme.md index e043e20490..97e453eafb 100644 --- a/modules/Microsoft.Network/connections/readme.md +++ b/modules/Microsoft.Network/connections/readme.md @@ -324,7 +324,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module connections './Microsoft.Network/connections/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ncvtv' + name: '${uniqueString(deployment().name, location)}-test-ncvtv' params: { // Required parameters name: '<>ncvtv001' diff --git a/modules/Microsoft.Network/ddosProtectionPlans/readme.md b/modules/Microsoft.Network/ddosProtectionPlans/readme.md index b454c908a0..1a468d5988 100644 --- a/modules/Microsoft.Network/ddosProtectionPlans/readme.md +++ b/modules/Microsoft.Network/ddosProtectionPlans/readme.md @@ -165,7 +165,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module ddosProtectionPlans './Microsoft.Network/ddosProtectionPlans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ndppcom' + name: '${uniqueString(deployment().name, location)}-test-ndppcom' params: { // Required parameters name: '<>ndppcom001' @@ -234,7 +234,7 @@ module ddosProtectionPlans './Microsoft.Network/ddosProtectionPlans/deploy.bicep ```bicep module ddosProtectionPlans './Microsoft.Network/ddosProtectionPlans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ndppmin' + name: '${uniqueString(deployment().name, location)}-test-ndppmin' params: { // Required parameters name: '<>ndppmin001' diff --git a/modules/Microsoft.Network/dnsResolvers/readme.md b/modules/Microsoft.Network/dnsResolvers/readme.md index 36afdce841..cb7304d127 100644 --- a/modules/Microsoft.Network/dnsResolvers/readme.md +++ b/modules/Microsoft.Network/dnsResolvers/readme.md @@ -252,7 +252,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module dnsResolvers './Microsoft.Network/dnsResolvers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ndrcom' + name: '${uniqueString(deployment().name, location)}-test-ndrcom' params: { // Required parameters name: '<>ndrcom001' diff --git a/modules/Microsoft.Network/expressRouteCircuits/readme.md b/modules/Microsoft.Network/expressRouteCircuits/readme.md index ec4e84e039..9757032943 100644 --- a/modules/Microsoft.Network/expressRouteCircuits/readme.md +++ b/modules/Microsoft.Network/expressRouteCircuits/readme.md @@ -187,7 +187,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module expressRouteCircuits './Microsoft.Network/expressRouteCircuits/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nerccom' + name: '${uniqueString(deployment().name, location)}-test-nerccom' params: { // Required parameters bandwidthInMbps: 50 @@ -296,7 +296,7 @@ module expressRouteCircuits './Microsoft.Network/expressRouteCircuits/deploy.bic ```bicep module expressRouteCircuits './Microsoft.Network/expressRouteCircuits/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nercmin' + name: '${uniqueString(deployment().name, location)}-test-nercmin' params: { // Required parameters bandwidthInMbps: 50 diff --git a/modules/Microsoft.Network/firewallPolicies/readme.md b/modules/Microsoft.Network/firewallPolicies/readme.md index fb6c1a02c6..5719472be0 100644 --- a/modules/Microsoft.Network/firewallPolicies/readme.md +++ b/modules/Microsoft.Network/firewallPolicies/readme.md @@ -156,7 +156,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module firewallPolicies './Microsoft.Network/firewallPolicies/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfpcom' + name: '${uniqueString(deployment().name, location)}-test-nfpcom' params: { // Required parameters name: '<>nfpcom001' @@ -279,7 +279,7 @@ module firewallPolicies './Microsoft.Network/firewallPolicies/deploy.bicep' = { ```bicep module firewallPolicies './Microsoft.Network/firewallPolicies/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfpmin' + name: '${uniqueString(deployment().name, location)}-test-nfpmin' params: { // Required parameters name: '<>nfpmin001' diff --git a/modules/Microsoft.Network/frontDoors/readme.md b/modules/Microsoft.Network/frontDoors/readme.md index e62e529fae..815d85c68c 100644 --- a/modules/Microsoft.Network/frontDoors/readme.md +++ b/modules/Microsoft.Network/frontDoors/readme.md @@ -182,7 +182,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module frontDoors './Microsoft.Network/frontDoors/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfdcom' + name: '${uniqueString(deployment().name, location)}-test-nfdcom' params: { // Required parameters backendPools: [ @@ -443,7 +443,7 @@ module frontDoors './Microsoft.Network/frontDoors/deploy.bicep' = { ```bicep module frontDoors './Microsoft.Network/frontDoors/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nfdmin' + name: '${uniqueString(deployment().name, location)}-test-nfdmin' params: { // Required parameters backendPools: [ diff --git a/modules/Microsoft.Network/ipGroups/readme.md b/modules/Microsoft.Network/ipGroups/readme.md index 545bb63139..382f92723d 100644 --- a/modules/Microsoft.Network/ipGroups/readme.md +++ b/modules/Microsoft.Network/ipGroups/readme.md @@ -166,7 +166,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module ipGroups './Microsoft.Network/ipGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nigcom' + name: '${uniqueString(deployment().name, location)}-test-nigcom' params: { // Required parameters name: '<>nigcom001' @@ -245,7 +245,7 @@ module ipGroups './Microsoft.Network/ipGroups/deploy.bicep' = { ```bicep module ipGroups './Microsoft.Network/ipGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nigmin' + name: '${uniqueString(deployment().name, location)}-test-nigmin' params: { // Required parameters name: '<>nigmin001' diff --git a/modules/Microsoft.Network/loadBalancers/readme.md b/modules/Microsoft.Network/loadBalancers/readme.md index c7aa6d7b7a..c8c2d2edfe 100644 --- a/modules/Microsoft.Network/loadBalancers/readme.md +++ b/modules/Microsoft.Network/loadBalancers/readme.md @@ -479,7 +479,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlbcom' + name: '${uniqueString(deployment().name, location)}-test-nlbcom' params: { // Required parameters frontendIPConfigurations: [ @@ -740,7 +740,7 @@ module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { ```bicep module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlbint' + name: '${uniqueString(deployment().name, location)}-test-nlbint' params: { // Required parameters frontendIPConfigurations: [ @@ -947,7 +947,7 @@ module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { ```bicep module loadBalancers './Microsoft.Network/loadBalancers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlbmin' + name: '${uniqueString(deployment().name, location)}-test-nlbmin' params: { // Required parameters frontendIPConfigurations: [ diff --git a/modules/Microsoft.Network/localNetworkGateways/readme.md b/modules/Microsoft.Network/localNetworkGateways/readme.md index 94ab304a5e..b8cd0db687 100644 --- a/modules/Microsoft.Network/localNetworkGateways/readme.md +++ b/modules/Microsoft.Network/localNetworkGateways/readme.md @@ -171,7 +171,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module localNetworkGateways './Microsoft.Network/localNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlngcom' + name: '${uniqueString(deployment().name, location)}-test-nlngcom' params: { // Required parameters localAddressPrefixes: [ @@ -260,7 +260,7 @@ module localNetworkGateways './Microsoft.Network/localNetworkGateways/deploy.bic ```bicep module localNetworkGateways './Microsoft.Network/localNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nlngmin' + name: '${uniqueString(deployment().name, location)}-test-nlngmin' params: { // Required parameters localAddressPrefixes: [ diff --git a/modules/Microsoft.Network/natGateways/readme.md b/modules/Microsoft.Network/natGateways/readme.md index 299e61ae10..74440ee945 100644 --- a/modules/Microsoft.Network/natGateways/readme.md +++ b/modules/Microsoft.Network/natGateways/readme.md @@ -183,7 +183,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module natGateways './Microsoft.Network/natGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nngcom' + name: '${uniqueString(deployment().name, location)}-test-nngcom' params: { // Required parameters name: '<>nngcom001' diff --git a/modules/Microsoft.Network/networkInterfaces/readme.md b/modules/Microsoft.Network/networkInterfaces/readme.md index c316337645..22eceb38d7 100644 --- a/modules/Microsoft.Network/networkInterfaces/readme.md +++ b/modules/Microsoft.Network/networkInterfaces/readme.md @@ -199,7 +199,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkInterfaces './Microsoft.Network/networkInterfaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnicom' + name: '${uniqueString(deployment().name, location)}-test-nnicom' params: { // Required parameters ipConfigurations: [ @@ -338,7 +338,7 @@ module networkInterfaces './Microsoft.Network/networkInterfaces/deploy.bicep' = ```bicep module networkInterfaces './Microsoft.Network/networkInterfaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnimin' + name: '${uniqueString(deployment().name, location)}-test-nnimin' params: { // Required parameters ipConfigurations: [ diff --git a/modules/Microsoft.Network/networkManagers/readme.md b/modules/Microsoft.Network/networkManagers/readme.md index d9452ac145..63b1c7bd84 100644 --- a/modules/Microsoft.Network/networkManagers/readme.md +++ b/modules/Microsoft.Network/networkManagers/readme.md @@ -553,7 +553,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkManagers './Microsoft.Network/networkManagers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnmcom' + name: '${uniqueString(deployment().name, location)}-test-nnmcom' params: { // Required parameters name: '' diff --git a/modules/Microsoft.Network/networkSecurityGroups/readme.md b/modules/Microsoft.Network/networkSecurityGroups/readme.md index 06084c8fc5..f5b9c9a160 100644 --- a/modules/Microsoft.Network/networkSecurityGroups/readme.md +++ b/modules/Microsoft.Network/networkSecurityGroups/readme.md @@ -175,7 +175,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkSecurityGroups './Microsoft.Network/networkSecurityGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnsgcom' + name: '${uniqueString(deployment().name, location)}-test-nnsgcom' params: { // Required parameters name: '<>nnsgcom001' @@ -394,7 +394,7 @@ module networkSecurityGroups './Microsoft.Network/networkSecurityGroups/deploy.b ```bicep module networkSecurityGroups './Microsoft.Network/networkSecurityGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnsgmin' + name: '${uniqueString(deployment().name, location)}-test-nnsgmin' params: { // Required parameters name: '<>nnsgmin001' diff --git a/modules/Microsoft.Network/networkWatchers/readme.md b/modules/Microsoft.Network/networkWatchers/readme.md index e7c4074b70..7ae2f38769 100644 --- a/modules/Microsoft.Network/networkWatchers/readme.md +++ b/modules/Microsoft.Network/networkWatchers/readme.md @@ -165,7 +165,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module networkWatchers './Microsoft.Network/networkWatchers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnwcom' + name: '${uniqueString(deployment().name, location)}-test-nnwcom' params: { connectionMonitors: [ { @@ -372,7 +372,7 @@ module networkWatchers './Microsoft.Network/networkWatchers/deploy.bicep' = { ```bicep module networkWatchers './Microsoft.Network/networkWatchers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nnwmin' + name: '${uniqueString(deployment().name, location)}-test-nnwmin' params: { enableDefaultTelemetry: '' location: '' diff --git a/modules/Microsoft.Network/privateDnsZones/readme.md b/modules/Microsoft.Network/privateDnsZones/readme.md index 8f8dfed50c..018b9ca0e5 100644 --- a/modules/Microsoft.Network/privateDnsZones/readme.md +++ b/modules/Microsoft.Network/privateDnsZones/readme.md @@ -183,7 +183,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateDnsZones './Microsoft.Network/privateDnsZones/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npdzcom' + name: '${uniqueString(deployment().name, location)}-test-npdzcom' params: { // Required parameters name: '<>npdzcom001.com' @@ -600,7 +600,7 @@ module privateDnsZones './Microsoft.Network/privateDnsZones/deploy.bicep' = { ```bicep module privateDnsZones './Microsoft.Network/privateDnsZones/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npdzmin' + name: '${uniqueString(deployment().name, location)}-test-npdzmin' params: { // Required parameters name: '<>npdzmin001.com' diff --git a/modules/Microsoft.Network/privateEndpoints/readme.md b/modules/Microsoft.Network/privateEndpoints/readme.md index 8cbbffe505..65e0dca040 100644 --- a/modules/Microsoft.Network/privateEndpoints/readme.md +++ b/modules/Microsoft.Network/privateEndpoints/readme.md @@ -298,7 +298,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateEndpoints './Microsoft.Network/privateEndpoints/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npecom' + name: '${uniqueString(deployment().name, location)}-test-npecom' params: { // Required parameters groupIds: [ @@ -433,7 +433,7 @@ module privateEndpoints './Microsoft.Network/privateEndpoints/deploy.bicep' = { ```bicep module privateEndpoints './Microsoft.Network/privateEndpoints/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npemin' + name: '${uniqueString(deployment().name, location)}-test-npemin' params: { // Required parameters groupIds: [ diff --git a/modules/Microsoft.Network/privateLinkServices/readme.md b/modules/Microsoft.Network/privateLinkServices/readme.md index e4f9bc692c..2e778217a3 100644 --- a/modules/Microsoft.Network/privateLinkServices/readme.md +++ b/modules/Microsoft.Network/privateLinkServices/readme.md @@ -441,7 +441,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateLinkServices './Microsoft.Network/privateLinkServices/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nplscom' + name: '${uniqueString(deployment().name, location)}-test-nplscom' params: { // Required parameters name: '<>nplscom001' @@ -584,7 +584,7 @@ module privateLinkServices './Microsoft.Network/privateLinkServices/deploy.bicep ```bicep module privateLinkServices './Microsoft.Network/privateLinkServices/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nplsmin' + name: '${uniqueString(deployment().name, location)}-test-nplsmin' params: { // Required parameters name: '<>nplsmin001' diff --git a/modules/Microsoft.Network/publicIPAddresses/readme.md b/modules/Microsoft.Network/publicIPAddresses/readme.md index 6da511ef1f..01aa70e72f 100644 --- a/modules/Microsoft.Network/publicIPAddresses/readme.md +++ b/modules/Microsoft.Network/publicIPAddresses/readme.md @@ -182,7 +182,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module publicIPAddresses './Microsoft.Network/publicIPAddresses/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npiacom' + name: '${uniqueString(deployment().name, location)}-test-npiacom' params: { // Required parameters name: '<>npiacom001' @@ -291,7 +291,7 @@ module publicIPAddresses './Microsoft.Network/publicIPAddresses/deploy.bicep' = ```bicep module publicIPAddresses './Microsoft.Network/publicIPAddresses/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npiamin' + name: '${uniqueString(deployment().name, location)}-test-npiamin' params: { // Required parameters name: '<>npiamin001' diff --git a/modules/Microsoft.Network/publicIPPrefixes/readme.md b/modules/Microsoft.Network/publicIPPrefixes/readme.md index f584fabce6..428ea37ac6 100644 --- a/modules/Microsoft.Network/publicIPPrefixes/readme.md +++ b/modules/Microsoft.Network/publicIPPrefixes/readme.md @@ -166,7 +166,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module publicIPPrefixes './Microsoft.Network/publicIPPrefixes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npipcom' + name: '${uniqueString(deployment().name, location)}-test-npipcom' params: { // Required parameters name: '<>npipcom001' @@ -239,7 +239,7 @@ module publicIPPrefixes './Microsoft.Network/publicIPPrefixes/deploy.bicep' = { ```bicep module publicIPPrefixes './Microsoft.Network/publicIPPrefixes/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-npipmin' + name: '${uniqueString(deployment().name, location)}-test-npipmin' params: { // Required parameters name: '<>npipmin001' diff --git a/modules/Microsoft.Network/routeTables/readme.md b/modules/Microsoft.Network/routeTables/readme.md index 5149c6e0f0..22194f61f9 100644 --- a/modules/Microsoft.Network/routeTables/readme.md +++ b/modules/Microsoft.Network/routeTables/readme.md @@ -256,7 +256,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module routeTables './Microsoft.Network/routeTables/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nrtcom' + name: '${uniqueString(deployment().name, location)}-test-nrtcom' params: { // Required parameters name: '<>nrtcom001' @@ -347,7 +347,7 @@ module routeTables './Microsoft.Network/routeTables/deploy.bicep' = { ```bicep module routeTables './Microsoft.Network/routeTables/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nrtmin' + name: '${uniqueString(deployment().name, location)}-test-nrtmin' params: { // Required parameters name: '<>nrtmin001' diff --git a/modules/Microsoft.Network/trafficmanagerprofiles/readme.md b/modules/Microsoft.Network/trafficmanagerprofiles/readme.md index c62a3ba5a7..983296dd92 100644 --- a/modules/Microsoft.Network/trafficmanagerprofiles/readme.md +++ b/modules/Microsoft.Network/trafficmanagerprofiles/readme.md @@ -270,7 +270,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module trafficmanagerprofiles './Microsoft.Network/trafficmanagerprofiles/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ntmpcom' + name: '${uniqueString(deployment().name, location)}-test-ntmpcom' params: { // Required parameters name: '' @@ -363,7 +363,7 @@ module trafficmanagerprofiles './Microsoft.Network/trafficmanagerprofiles/deploy ```bicep module trafficmanagerprofiles './Microsoft.Network/trafficmanagerprofiles/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ntmpmin' + name: '${uniqueString(deployment().name, location)}-test-ntmpmin' params: { // Required parameters name: '' diff --git a/modules/Microsoft.Network/virtualHubs/readme.md b/modules/Microsoft.Network/virtualHubs/readme.md index 262355651b..e00dc17162 100644 --- a/modules/Microsoft.Network/virtualHubs/readme.md +++ b/modules/Microsoft.Network/virtualHubs/readme.md @@ -123,7 +123,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualHubs './Microsoft.Network/virtualHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvhcom' + name: '${uniqueString(deployment().name, location)}-test-nvhcom' params: { // Required parameters addressPrefix: '10.1.0.0/16' @@ -236,7 +236,7 @@ module virtualHubs './Microsoft.Network/virtualHubs/deploy.bicep' = { ```bicep module virtualHubs './Microsoft.Network/virtualHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvhmin' + name: '${uniqueString(deployment().name, location)}-test-nvhmin' params: { // Required parameters addressPrefix: '10.0.0.0/16' diff --git a/modules/Microsoft.Network/virtualNetworkGateways/readme.md b/modules/Microsoft.Network/virtualNetworkGateways/readme.md index 186b37ce22..0b8214bc89 100644 --- a/modules/Microsoft.Network/virtualNetworkGateways/readme.md +++ b/modules/Microsoft.Network/virtualNetworkGateways/readme.md @@ -265,7 +265,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvngavpn' + name: '${uniqueString(deployment().name, location)}-test-nvngavpn' params: { // Required parameters name: '<>nvngavpn001' @@ -410,7 +410,7 @@ module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy ```bicep module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvger' + name: '${uniqueString(deployment().name, location)}-test-nvger' params: { // Required parameters name: '<>nvger001' @@ -535,7 +535,7 @@ module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy ```bicep module virtualNetworkGateways './Microsoft.Network/virtualNetworkGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvgvpn' + name: '${uniqueString(deployment().name, location)}-test-nvgvpn' params: { // Required parameters name: '<>nvgvpn001' diff --git a/modules/Microsoft.Network/virtualNetworks/readme.md b/modules/Microsoft.Network/virtualNetworks/readme.md index 4db563e67c..814564b41d 100644 --- a/modules/Microsoft.Network/virtualNetworks/readme.md +++ b/modules/Microsoft.Network/virtualNetworks/readme.md @@ -369,7 +369,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvncom' + name: '${uniqueString(deployment().name, location)}-test-nvncom' params: { // Required parameters addressPrefixes: [ @@ -572,7 +572,7 @@ module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { ```bicep module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvnmin' + name: '${uniqueString(deployment().name, location)}-test-nvnmin' params: { // Required parameters addressPrefixes: [ @@ -625,7 +625,7 @@ module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { ```bicep module virtualNetworks './Microsoft.Network/virtualNetworks/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvnpeer' + name: '${uniqueString(deployment().name, location)}-test-nvnpeer' params: { // Required parameters addressPrefixes: [ diff --git a/modules/Microsoft.Network/virtualWans/readme.md b/modules/Microsoft.Network/virtualWans/readme.md index ead29ef221..7ea98c2e44 100644 --- a/modules/Microsoft.Network/virtualWans/readme.md +++ b/modules/Microsoft.Network/virtualWans/readme.md @@ -169,7 +169,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module virtualWans './Microsoft.Network/virtualWans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvwcom' + name: '${uniqueString(deployment().name, location)}-test-nvwcom' params: { // Required parameters name: '<>nvwcom001' @@ -254,7 +254,7 @@ module virtualWans './Microsoft.Network/virtualWans/deploy.bicep' = { ```bicep module virtualWans './Microsoft.Network/virtualWans/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvwmin' + name: '${uniqueString(deployment().name, location)}-test-nvwmin' params: { // Required parameters name: '<>nvwmin001' diff --git a/modules/Microsoft.Network/vpnGateways/readme.md b/modules/Microsoft.Network/vpnGateways/readme.md index 7ee2f3848c..521efc8188 100644 --- a/modules/Microsoft.Network/vpnGateways/readme.md +++ b/modules/Microsoft.Network/vpnGateways/readme.md @@ -190,7 +190,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vpnGateways './Microsoft.Network/vpnGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvgcom' + name: '${uniqueString(deployment().name, location)}-test-nvgcom' params: { // Required parameters name: '<>nvgcom001' @@ -319,7 +319,7 @@ module vpnGateways './Microsoft.Network/vpnGateways/deploy.bicep' = { ```bicep module vpnGateways './Microsoft.Network/vpnGateways/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvgmin' + name: '${uniqueString(deployment().name, location)}-test-nvgmin' params: { // Required parameters name: '<>nvgmin001' diff --git a/modules/Microsoft.Network/vpnSites/readme.md b/modules/Microsoft.Network/vpnSites/readme.md index 8e11bf46f8..a590da6a4e 100644 --- a/modules/Microsoft.Network/vpnSites/readme.md +++ b/modules/Microsoft.Network/vpnSites/readme.md @@ -343,7 +343,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vpnSites './Microsoft.Network/vpnSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvscom' + name: '${uniqueString(deployment().name, location)}-test-nvscom' params: { // Required parameters name: '<>-nvscom' @@ -512,7 +512,7 @@ module vpnSites './Microsoft.Network/vpnSites/deploy.bicep' = { ```bicep module vpnSites './Microsoft.Network/vpnSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-nvsmin' + name: '${uniqueString(deployment().name, location)}-test-nvsmin' params: { // Required parameters name: '<>-nvsmin' diff --git a/modules/Microsoft.OperationalInsights/workspaces/readme.md b/modules/Microsoft.OperationalInsights/workspaces/readme.md index 27c5b8251d..6bfbd79e36 100644 --- a/modules/Microsoft.OperationalInsights/workspaces/readme.md +++ b/modules/Microsoft.OperationalInsights/workspaces/readme.md @@ -472,7 +472,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.OperationalInsights/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-oiwcom' + name: '${uniqueString(deployment().name, location)}-test-oiwcom' params: { // Required parameters name: '<>oiwcom001' @@ -825,7 +825,7 @@ module workspaces './Microsoft.OperationalInsights/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.OperationalInsights/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-oiwmin' + name: '${uniqueString(deployment().name, location)}-test-oiwmin' params: { // Required parameters name: '<>oiwmin001' diff --git a/modules/Microsoft.OperationsManagement/solutions/readme.md b/modules/Microsoft.OperationsManagement/solutions/readme.md index 773d7e94df..26066101ff 100644 --- a/modules/Microsoft.OperationsManagement/solutions/readme.md +++ b/modules/Microsoft.OperationsManagement/solutions/readme.md @@ -63,7 +63,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-omsmin' + name: '${uniqueString(deployment().name, location)}-test-omsmin' params: { // Required parameters logAnalyticsWorkspaceName: '' @@ -112,7 +112,7 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { ```bicep module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-omsms' + name: '${uniqueString(deployment().name, location)}-test-omsms' params: { // Required parameters logAnalyticsWorkspaceName: '' @@ -169,7 +169,7 @@ module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { ```bicep module solutions './Microsoft.OperationsManagement/solutions/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-omsnonms' + name: '${uniqueString(deployment().name, location)}-test-omsnonms' params: { // Required parameters logAnalyticsWorkspaceName: '' diff --git a/modules/Microsoft.PolicyInsights/remediations/readme.md b/modules/Microsoft.PolicyInsights/remediations/readme.md index 65ef013796..4a2a88a495 100644 --- a/modules/Microsoft.PolicyInsights/remediations/readme.md +++ b/modules/Microsoft.PolicyInsights/remediations/readme.md @@ -181,7 +181,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module remediations './Microsoft.PolicyInsights/remediations/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-pirmgcom' + name: '${uniqueString(deployment().name, location)}-test-pirmgcom' params: { // Required parameters name: '<>pirmgcom001' diff --git a/modules/Microsoft.PowerBIDedicated/capacities/readme.md b/modules/Microsoft.PowerBIDedicated/capacities/readme.md index 8ed7869d69..c0957dc64c 100644 --- a/modules/Microsoft.PowerBIDedicated/capacities/readme.md +++ b/modules/Microsoft.PowerBIDedicated/capacities/readme.md @@ -170,7 +170,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module capacities './Microsoft.PowerBIDedicated/capacities/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-pbdcapcom' + name: '${uniqueString(deployment().name, location)}-test-pbdcapcom' params: { // Required parameters members: [ @@ -261,7 +261,7 @@ module capacities './Microsoft.PowerBIDedicated/capacities/deploy.bicep' = { ```bicep module capacities './Microsoft.PowerBIDedicated/capacities/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-pbdcapmin' + name: '${uniqueString(deployment().name, location)}-test-pbdcapmin' params: { // Required parameters members: [ diff --git a/modules/Microsoft.RecoveryServices/vaults/readme.md b/modules/Microsoft.RecoveryServices/vaults/readme.md index be4c6b2941..2fad8279b0 100644 --- a/modules/Microsoft.RecoveryServices/vaults/readme.md +++ b/modules/Microsoft.RecoveryServices/vaults/readme.md @@ -945,7 +945,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rsvcom' + name: '${uniqueString(deployment().name, location)}-test-rsvcom' params: { // Required parameters name: '<>rsvcom001' @@ -1586,7 +1586,7 @@ module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rsvdr' + name: '${uniqueString(deployment().name, location)}-test-rsvdr' params: { // Required parameters name: '' @@ -1745,7 +1745,7 @@ module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { ```bicep module vaults './Microsoft.RecoveryServices/vaults/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rsvmin' + name: '${uniqueString(deployment().name, location)}-test-rsvmin' params: { // Required parameters name: '<>rsvmin001' diff --git a/modules/Microsoft.Resources/deploymentScripts/readme.md b/modules/Microsoft.Resources/deploymentScripts/readme.md index f98b03928e..690f512815 100644 --- a/modules/Microsoft.Resources/deploymentScripts/readme.md +++ b/modules/Microsoft.Resources/deploymentScripts/readme.md @@ -162,7 +162,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module deploymentScripts './Microsoft.Resources/deploymentScripts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rdscli' + name: '${uniqueString(deployment().name, location)}-test-rdscli' params: { // Required parameters name: '<>rdscli001' @@ -243,7 +243,7 @@ module deploymentScripts './Microsoft.Resources/deploymentScripts/deploy.bicep' ```bicep module deploymentScripts './Microsoft.Resources/deploymentScripts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rdsps' + name: '${uniqueString(deployment().name, location)}-test-rdsps' params: { // Required parameters name: '<>rdsps001' diff --git a/modules/Microsoft.Resources/resourceGroups/readme.md b/modules/Microsoft.Resources/resourceGroups/readme.md index efbf5eceee..13be5d0ba3 100644 --- a/modules/Microsoft.Resources/resourceGroups/readme.md +++ b/modules/Microsoft.Resources/resourceGroups/readme.md @@ -174,7 +174,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module resourceGroups './Microsoft.Resources/resourceGroups/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rrgcom' + name: '${uniqueString(deployment().name, location)}-test-rrgcom' params: { // Required parameters name: '<>rrgcom001' diff --git a/modules/Microsoft.Resources/tags/readme.md b/modules/Microsoft.Resources/tags/readme.md index d135e6a031..b81609b252 100644 --- a/modules/Microsoft.Resources/tags/readme.md +++ b/modules/Microsoft.Resources/tags/readme.md @@ -130,7 +130,7 @@ module tags './Microsoft.Resources/tags/deploy.bicep' = { ```bicep module tags './Microsoft.Resources/tags/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-rtrg' + name: '${uniqueString(deployment().name, location)}-test-rtrg' params: { enableDefaultTelemetry: '' onlyUpdate: false diff --git a/modules/Microsoft.Security/azureSecurityCenter/readme.md b/modules/Microsoft.Security/azureSecurityCenter/readme.md index b54473a6d5..909bc5a3cb 100644 --- a/modules/Microsoft.Security/azureSecurityCenter/readme.md +++ b/modules/Microsoft.Security/azureSecurityCenter/readme.md @@ -116,7 +116,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module azureSecurityCenter './Microsoft.Security/azureSecurityCenter/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sasccom' + name: '${uniqueString(deployment().name, location)}-test-sasccom' params: { // Required parameters workspaceId: '' diff --git a/modules/Microsoft.ServiceBus/namespaces/readme.md b/modules/Microsoft.ServiceBus/namespaces/readme.md index 8f710c6b03..373f766075 100644 --- a/modules/Microsoft.ServiceBus/namespaces/readme.md +++ b/modules/Microsoft.ServiceBus/namespaces/readme.md @@ -379,7 +379,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbncom' + name: '${uniqueString(deployment().name, location)}-test-sbncom' params: { // Required parameters name: '<>sbncom001' @@ -726,7 +726,7 @@ module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbnencr' + name: '${uniqueString(deployment().name, location)}-test-sbnencr' params: { // Required parameters name: '<>sbnencr001' @@ -901,7 +901,7 @@ module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbnmin' + name: '${uniqueString(deployment().name, location)}-test-sbnmin' params: { // Required parameters name: '<>sbnmin001' @@ -946,7 +946,7 @@ module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { ```bicep module namespaces './Microsoft.ServiceBus/namespaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sbnpe' + name: '${uniqueString(deployment().name, location)}-test-sbnpe' params: { // Required parameters name: '<>sbnpe001' diff --git a/modules/Microsoft.ServiceFabric/clusters/readme.md b/modules/Microsoft.ServiceFabric/clusters/readme.md index 4fb69abf79..ba9bd22358 100644 --- a/modules/Microsoft.ServiceFabric/clusters/readme.md +++ b/modules/Microsoft.ServiceFabric/clusters/readme.md @@ -248,7 +248,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sfccer' + name: '${uniqueString(deployment().name, location)}-test-sfccer' params: { // Required parameters managementEndpoint: 'https://<>sfccer001.westeurope.cloudapp.azure.com:19080' @@ -347,7 +347,7 @@ module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { ```bicep module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sfccom' + name: '${uniqueString(deployment().name, location)}-test-sfccom' params: { // Required parameters managementEndpoint: 'https://<>sfccom001.westeurope.cloudapp.azure.com:19080' @@ -754,7 +754,7 @@ module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { ```bicep module clusters './Microsoft.ServiceFabric/clusters/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sfcmin' + name: '${uniqueString(deployment().name, location)}-test-sfcmin' params: { // Required parameters managementEndpoint: 'https://<>sfcmin001.westeurope.cloudapp.azure.com:19080' diff --git a/modules/Microsoft.SignalRService/webPubSub/readme.md b/modules/Microsoft.SignalRService/webPubSub/readme.md index 2ea995aaa2..86f89f44e6 100644 --- a/modules/Microsoft.SignalRService/webPubSub/readme.md +++ b/modules/Microsoft.SignalRService/webPubSub/readme.md @@ -391,7 +391,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-srswpscom' + name: '${uniqueString(deployment().name, location)}-test-srswpscom' params: { // Required parameters name: '<>-srswpscom-001' @@ -568,7 +568,7 @@ module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { ```bicep module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-srswpsmin' + name: '${uniqueString(deployment().name, location)}-test-srswpsmin' params: { // Required parameters name: '<>-srswpsmin-001' @@ -613,7 +613,7 @@ module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { ```bicep module webPubSub './Microsoft.SignalRService/webPubSub/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-srswpspe' + name: '${uniqueString(deployment().name, location)}-test-srswpspe' params: { // Required parameters name: '<>-srswpspe-001' diff --git a/modules/Microsoft.Sql/servers/readme.md b/modules/Microsoft.Sql/servers/readme.md index 52a49ab27b..b0c33da5aa 100644 --- a/modules/Microsoft.Sql/servers/readme.md +++ b/modules/Microsoft.Sql/servers/readme.md @@ -374,7 +374,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module servers './Microsoft.Sql/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sqlsadmin' + name: '${uniqueString(deployment().name, location)}-test-sqlsadmin' params: { // Required parameters name: '<>-sqlsadmin' @@ -435,7 +435,7 @@ module servers './Microsoft.Sql/servers/deploy.bicep' = { ```bicep module servers './Microsoft.Sql/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sqlscom' + name: '${uniqueString(deployment().name, location)}-test-sqlscom' params: { name: '<>-sqlscom' administratorLogin: 'adminUserName' @@ -694,7 +694,7 @@ module servers './Microsoft.Sql/servers/deploy.bicep' = { ```bicep module servers './Microsoft.Sql/servers/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-sqlspe' + name: '${uniqueString(deployment().name, location)}-test-sqlspe' params: { // Required parameters name: '<>-sqlspe' diff --git a/modules/Microsoft.Storage/storageAccounts/readme.md b/modules/Microsoft.Storage/storageAccounts/readme.md index 5f2557a89f..2a9ea91bfd 100644 --- a/modules/Microsoft.Storage/storageAccounts/readme.md +++ b/modules/Microsoft.Storage/storageAccounts/readme.md @@ -417,7 +417,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssacom' + name: '${uniqueString(deployment().name, location)}-test-ssacom' params: { // Required parameters name: '<>ssacom001' @@ -834,7 +834,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-stsencr' + name: '${uniqueString(deployment().name, location)}-test-stsencr' params: { // Required parameters name: '<>stsencr001' @@ -957,7 +957,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssamin' + name: '${uniqueString(deployment().name, location)}-test-ssamin' params: { // Required parameters name: '<>ssamin001' @@ -1006,7 +1006,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssanfs' + name: '${uniqueString(deployment().name, location)}-test-ssanfs' params: { // Required parameters name: '<>ssanfs001' @@ -1141,7 +1141,7 @@ module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { ```bicep module storageAccounts './Microsoft.Storage/storageAccounts/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-ssav1' + name: '${uniqueString(deployment().name, location)}-test-ssav1' params: { // Required parameters name: '<>ssav1001' diff --git a/modules/Microsoft.Synapse/privateLinkHubs/readme.md b/modules/Microsoft.Synapse/privateLinkHubs/readme.md index 38db5bc6e2..0cf26f8230 100644 --- a/modules/Microsoft.Synapse/privateLinkHubs/readme.md +++ b/modules/Microsoft.Synapse/privateLinkHubs/readme.md @@ -272,7 +272,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module privateLinkHubs './Microsoft.Synapse/privateLinkHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-splhcom' + name: '${uniqueString(deployment().name, location)}-test-splhcom' params: { // Required parameters name: '<>splhcom001' @@ -377,7 +377,7 @@ module privateLinkHubs './Microsoft.Synapse/privateLinkHubs/deploy.bicep' = { ```bicep module privateLinkHubs './Microsoft.Synapse/privateLinkHubs/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-splhmin' + name: '${uniqueString(deployment().name, location)}-test-splhmin' params: { // Required parameters name: '<>splhmin001' diff --git a/modules/Microsoft.Synapse/workspaces/readme.md b/modules/Microsoft.Synapse/workspaces/readme.md index e9255c1d02..6e12694970 100644 --- a/modules/Microsoft.Synapse/workspaces/readme.md +++ b/modules/Microsoft.Synapse/workspaces/readme.md @@ -342,7 +342,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swcom' + name: '${uniqueString(deployment().name, location)}-test-swcom' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -487,7 +487,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swensa' + name: '${uniqueString(deployment().name, location)}-test-swensa' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -560,7 +560,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swenua' + name: '${uniqueString(deployment().name, location)}-test-swenua' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -629,7 +629,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swmanv' + name: '${uniqueString(deployment().name, location)}-test-swmanv' params: { // Required parameters defaultDataLakeStorageAccountName: '' @@ -698,7 +698,7 @@ module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { ```bicep module workspaces './Microsoft.Synapse/workspaces/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-swmin' + name: '${uniqueString(deployment().name, location)}-test-swmin' params: { // Required parameters defaultDataLakeStorageAccountName: '' diff --git a/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md b/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md index e413b416c1..025b4e2ead 100644 --- a/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md +++ b/modules/Microsoft.VirtualMachineImages/imageTemplates/readme.md @@ -353,7 +353,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module imageTemplates './Microsoft.VirtualMachineImages/imageTemplates/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-vmiitcom' + name: '${uniqueString(deployment().name, location)}-test-vmiitcom' params: { // Required parameters customizationSteps: [ @@ -508,7 +508,7 @@ module imageTemplates './Microsoft.VirtualMachineImages/imageTemplates/deploy.bi ```bicep module imageTemplates './Microsoft.VirtualMachineImages/imageTemplates/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-vmiitmin' + name: '${uniqueString(deployment().name, location)}-test-vmiitmin' params: { // Required parameters customizationSteps: [ diff --git a/modules/Microsoft.Web/connections/readme.md b/modules/Microsoft.Web/connections/readme.md index a8711987c2..356b6f2032 100644 --- a/modules/Microsoft.Web/connections/readme.md +++ b/modules/Microsoft.Web/connections/readme.md @@ -173,7 +173,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module connections './Microsoft.Web/connections/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wccom' + name: '${uniqueString(deployment().name, location)}-test-wccom' params: { // Required parameters displayName: 'azuremonitorlogs' diff --git a/modules/Microsoft.Web/hostingEnvironments/readme.md b/modules/Microsoft.Web/hostingEnvironments/readme.md index 954e1560b3..d843b2fb11 100644 --- a/modules/Microsoft.Web/hostingEnvironments/readme.md +++ b/modules/Microsoft.Web/hostingEnvironments/readme.md @@ -219,7 +219,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module hostingEnvironments './Microsoft.Web/hostingEnvironments/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-whasev2' + name: '${uniqueString(deployment().name, location)}-test-whasev2' params: { // Required parameters name: '<>whasev2001' @@ -334,7 +334,7 @@ module hostingEnvironments './Microsoft.Web/hostingEnvironments/deploy.bicep' = ```bicep module hostingEnvironments './Microsoft.Web/hostingEnvironments/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-whasev3' + name: '${uniqueString(deployment().name, location)}-test-whasev3' params: { // Required parameters name: '<>whasev3001' diff --git a/modules/Microsoft.Web/serverfarms/readme.md b/modules/Microsoft.Web/serverfarms/readme.md index df7d98029d..db9053a78f 100644 --- a/modules/Microsoft.Web/serverfarms/readme.md +++ b/modules/Microsoft.Web/serverfarms/readme.md @@ -219,7 +219,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module serverfarms './Microsoft.Web/serverfarms/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsfcom' + name: '${uniqueString(deployment().name, location)}-test-wsfcom' params: { // Required parameters name: '<>wsfcom001' diff --git a/modules/Microsoft.Web/sites/readme.md b/modules/Microsoft.Web/sites/readme.md index c442362d4a..f7e42aad9b 100644 --- a/modules/Microsoft.Web/sites/readme.md +++ b/modules/Microsoft.Web/sites/readme.md @@ -441,7 +441,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsfacom' + name: '${uniqueString(deployment().name, location)}-test-wsfacom' params: { // Required parameters kind: 'functionapp' @@ -740,7 +740,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsfamin' + name: '${uniqueString(deployment().name, location)}-test-wsfamin' params: { // Required parameters kind: 'functionapp' @@ -801,7 +801,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wswa' + name: '${uniqueString(deployment().name, location)}-test-wswa' params: { // Required parameters kind: 'app' @@ -954,7 +954,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wswamin' + name: '${uniqueString(deployment().name, location)}-test-wswamin' params: { // Required parameters kind: 'app' @@ -1007,7 +1007,7 @@ module sites './Microsoft.Web/sites/deploy.bicep' = { ```bicep module sites './Microsoft.Web/sites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wswa' + name: '${uniqueString(deployment().name, location)}-test-wswa' params: { // Required parameters kind: 'app' diff --git a/modules/Microsoft.Web/sites/slots/readme.md b/modules/Microsoft.Web/sites/slots/readme.md index ee2e27419e..02c1cd242d 100644 --- a/modules/Microsoft.Web/sites/slots/readme.md +++ b/modules/Microsoft.Web/sites/slots/readme.md @@ -205,7 +205,17 @@ To use Private Endpoint the following dependencies must be deployed: "/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/privateDnsZones/" // e.g. privatelink.vaultcore.azure.net, privatelink.azurecr.io, privatelink.blob.core.windows.net ] }, - "customDnsConfigs": [ // Optional + "ipConfigurations":[ + { + "name": "myIPconfigTest02", + "properties": { + "groupId": "blob", + "memberName": "blob", + "privateIPAddress": "10.0.0.30" + } + } + ], + "customDnsConfigs": [ { "fqdn": "customname.test.local", "ipAddresses": [ @@ -241,7 +251,6 @@ privateEndpoints: [ '/subscriptions/<>/resourceGroups/validation-rg/providers/Microsoft.Network/privateDnsZones/' // e.g. privatelink.vaultcore.azure.net, privatelink.azurecr.io, privatelink.blob.core.windows.net ] } - // Optional customDnsConfigs: [ { fqdn: 'customname.test.local' @@ -250,6 +259,16 @@ privateEndpoints: [ ] } ] + ipConfigurations:[ + { + name: 'myIPconfigTest02' + properties: { + groupId: 'blob' + memberName: 'blob' + privateIPAddress: '10.0.0.30' + } + } + ] } // Example showing only mandatory fields { diff --git a/modules/Microsoft.Web/staticSites/readme.md b/modules/Microsoft.Web/staticSites/readme.md index 210b12be8a..836502a6bd 100644 --- a/modules/Microsoft.Web/staticSites/readme.md +++ b/modules/Microsoft.Web/staticSites/readme.md @@ -359,7 +359,7 @@ The following module usage examples are retrieved from the content of the files ```bicep module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wsscom' + name: '${uniqueString(deployment().name, location)}-test-wsscom' params: { // Required parameters name: '<>wsscom001' @@ -508,7 +508,7 @@ module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { ```bicep module staticSites './Microsoft.Web/staticSites/deploy.bicep' = { - name: '${uniqueString(deployment().name)}-test-wssmin' + name: '${uniqueString(deployment().name, location)}-test-wssmin' params: { // Required parameters name: '<>wssmin001' From c241c7ff5b881f5b6464cbb9f6e85a26f66c4565 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:00:34 +0100 Subject: [PATCH 03/21] Update to latest --- .../eventHubs/consumerGroups/{deploy.bicep => ddeploy.bicep} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/{deploy.bicep => ddeploy.bicep} (100%) diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/ddeploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/ddeploy.bicep From 61c5aea281a9bf3629db82e4e10fb2313fcb5de0 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:04:27 +0100 Subject: [PATCH 04/21] Renamed folder to force case sensitivity --- .../ddeploy.bicep => consumerGGroups/deploy.bicep} | 0 .../eventHubs/{consumerGroups => consumerGGroups}/readme.md | 0 .../eventHubs/{consumerGroups => consumerGGroups}/version.json | 0 modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGroups/ddeploy.bicep => consumerGGroups/deploy.bicep} (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGroups => consumerGGroups}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGroups => consumerGGroups}/version.json (100%) diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/ddeploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/ddeploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep index 7e67012fce..a7afd3212b 100644 --- a/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep +++ b/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep @@ -155,7 +155,7 @@ resource eventHub_lock 'Microsoft.Authorization/locks@2020-05-01' = if (!empty(l scope: eventHub } -module eventHub_consumergroups 'consumerGroups/deploy.bicep' = [for (consumerGroup, index) in consumerGroups: { +module eventHub_consumergroups 'consumerGGroups/deploy.bicep' = [for (consumerGroup, index) in consumerGroups: { name: '${deployment().name}-ConsumerGroup-${index}' params: { namespaceName: namespaceName From 537aec93b3c7e5bc025fc8fa6a050037da351820 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:04:56 +0100 Subject: [PATCH 05/21] Renamed folder to force case sensitivity --- .../eventHubs/{consumerGGroups => consumerGroups}/deploy.bicep | 0 .../eventHubs/{consumerGGroups => consumerGroups}/readme.md | 0 .../eventHubs/{consumerGGroups => consumerGroups}/version.json | 0 modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGGroups => consumerGroups}/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGGroups => consumerGroups}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGGroups => consumerGroups}/version.json (100%) diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep index a7afd3212b..7e67012fce 100644 --- a/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep +++ b/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep @@ -155,7 +155,7 @@ resource eventHub_lock 'Microsoft.Authorization/locks@2020-05-01' = if (!empty(l scope: eventHub } -module eventHub_consumergroups 'consumerGGroups/deploy.bicep' = [for (consumerGroup, index) in consumerGroups: { +module eventHub_consumergroups 'consumerGroups/deploy.bicep' = [for (consumerGroup, index) in consumerGroups: { name: '${deployment().name}-ConsumerGroup-${index}' params: { namespaceName: namespaceName From 772b88f74ab252c6fb0b8cf75f672d93226cd2f0 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:07:40 +0100 Subject: [PATCH 06/21] Update to latest --- .../service/portalsettings/deploy.bicep | 47 ++++ .../service/portalsettings/readme.md | 50 +++++ .../service/portalsettings/version.json | 4 + .../.bicep/nested_roleAssignments.bicep | 73 +++++++ .../eventhubs/authorizationRules/deploy.bicep | 56 +++++ .../eventhubs/authorizationRules/readme.md | 51 +++++ .../eventhubs/authorizationRules/version.json | 4 + .../eventhubs/consumerGroups/deploy.bicep | 51 +++++ .../eventhubs/consumerGroups/readme.md | 51 +++++ .../eventhubs/consumerGroups/version.json | 4 + .../namespaces/eventhubs/deploy.bicep | 203 ++++++++++++++++++ .../namespaces/eventhubs/readme.md | 129 +++++++++++ .../namespaces/eventhubs/version.json | 4 + 13 files changed, 727 insertions(+) create mode 100644 modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep create mode 100644 modules/Microsoft.ApiManagement/service/portalsettings/readme.md create mode 100644 modules/Microsoft.ApiManagement/service/portalsettings/version.json create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/readme.md create mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/version.json diff --git a/modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep b/modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep new file mode 100644 index 0000000000..24b9c26d05 --- /dev/null +++ b/modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep @@ -0,0 +1,47 @@ +@description('Conditional. The name of the parent API Management service. Required if the template is used in a standalone deployment.') +param apiManagementServiceName string + +@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') +param enableDefaultTelemetry bool = true + +@description('Required. Portal setting name.') +@allowed([ + 'delegation' + 'signin' + 'signup' +]) +param name string + +@description('Optional. Portal setting properties.') +param properties object = {} + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +resource service 'Microsoft.ApiManagement/service@2021-08-01' existing = { + name: apiManagementServiceName +} + +resource portalSetting 'Microsoft.ApiManagement/service/portalsettings@2021-08-01' = if (!empty(properties)) { + name: any(name) + parent: service + properties: properties +} + +@description('The resource ID of the API management service portal setting.') +output resourceId string = portalSetting.id + +@description('The name of the API management service portal setting.') +output name string = portalSetting.name + +@description('The resource group the API management service portal setting was deployed into.') +output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.ApiManagement/service/portalsettings/readme.md b/modules/Microsoft.ApiManagement/service/portalsettings/readme.md new file mode 100644 index 0000000000..f79f0c969b --- /dev/null +++ b/modules/Microsoft.ApiManagement/service/portalsettings/readme.md @@ -0,0 +1,50 @@ +# API Management Service Portal Settings `[Microsoft.ApiManagement/service/portalsettings]` + +This module deploys API Management Service Portal Setting. + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Cross-referenced modules](#Cross-referenced-modules) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.ApiManagement/service/portalsettings` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/service) | + +## Parameters + +**Required parameters** + +| Parameter Name | Type | Allowed Values | Description | +| :-- | :-- | :-- | :-- | +| `name` | string | `[delegation, signin, signup]` | Portal setting name. | + +**Conditional parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `apiManagementServiceName` | string | The name of the parent API Management service. Required if the template is used in a standalone deployment. | + +**Optional parameters** + +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via a Globally Unique Identifier (GUID). | +| `properties` | object | `{object}` | Portal setting properties. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the API management service portal setting. | +| `resourceGroupName` | string | The resource group the API management service portal setting was deployed into. | +| `resourceId` | string | The resource ID of the API management service portal setting. | + +## Cross-referenced modules + +_None_ diff --git a/modules/Microsoft.ApiManagement/service/portalsettings/version.json b/modules/Microsoft.ApiManagement/service/portalsettings/version.json new file mode 100644 index 0000000000..56f8d9ca40 --- /dev/null +++ b/modules/Microsoft.ApiManagement/service/portalsettings/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.4" +} diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep new file mode 100644 index 0000000000..32a51f1a90 --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep @@ -0,0 +1,73 @@ +@sys.description('Required. The IDs of the principals to assign the role to.') +param principalIds array + +@sys.description('Required. The name of the role to assign. If it cannot be found you can specify the role definition ID instead.') +param roleDefinitionIdOrName string + +@sys.description('Required. The resource ID of the resource to apply the role assignment to.') +param resourceId string + +@sys.description('Optional. The principal type of the assigned principal ID.') +@allowed([ + 'ServicePrincipal' + 'Group' + 'User' + 'ForeignGroup' + 'Device' + '' +]) +param principalType string = '' + +@sys.description('Optional. The description of the role assignment.') +param description string = '' + +@sys.description('Optional. The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase "foo_storage_container".') +param condition string = '' + +@sys.description('Optional. Version of the condition.') +@allowed([ + '2.0' +]) +param conditionVersion string = '2.0' + +@sys.description('Optional. Id of the delegated managed identity resource.') +param delegatedManagedIdentityResourceId string = '' + +var builtInRoleNames = { + 'Azure Event Hubs Data Owner': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f526a384-b230-433a-b45c-95f59c4a2dec') + 'Azure Event Hubs Data Receiver': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'a638d3c7-ab3a-418d-83e6-5f17a39d4fde') + 'Azure Event Hubs Data Sender': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '2b629674-e913-4c01-ae53-ef4638d8f975') + Contributor: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b24988ac-6180-42a0-ab88-20f7382dd24c') + 'Log Analytics Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '92aaf0da-9dab-42b6-94a3-d43ce8d16293') + 'Log Analytics Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '73c42c96-874c-492b-b04d-ab87d138a893') + 'Managed Application Contributor Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '641177b8-a67a-45b9-a033-47bc880bb21e') + 'Managed Application Operator Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'c7393b34-138c-406f-901b-d8cf2b17e6ae') + 'Managed Applications Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b9331d33-8a36-4f8c-b097-4f54124fdb44') + 'Monitoring Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '749f88d5-cbae-40b8-bcfc-e573ddc772fa') + 'Monitoring Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '43d0d8ad-25c7-4714-9337-8ba259a9fe05') + Owner: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '8e3af657-a8ff-443c-a75c-2fe8c4bcb635') + Reader: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'acdd72a7-3385-48ef-bd42-f606fba81ae7') + 'Resource Policy Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '36243c78-bf99-498c-9df9-86d9f8d28608') + 'Role Based Access Control Administrator (Preview)': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f58310d9-a9f6-439a-9e8d-f62e7b41a168') + 'Schema Registry Contributor (Preview)': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '5dffeca3-4936-4216-b2bc-10343a5abb25') + 'Schema Registry Reader (Preview)': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '2c56ea50-c6b3-40a6-83c0-9d98858bc7d2') + 'User Access Administrator': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '18d7d88d-d35e-4fb5-a5c3-7773c20a72d9') +} + +resource eventHub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' existing = { + name: '${split(resourceId, '/')[8]}/${split(resourceId, '/')[10]}}' +} + +resource roleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = [for principalId in principalIds: { + name: guid(split(resourceId, '/')[0], split(resourceId, '/')[1], principalId, roleDefinitionIdOrName) + properties: { + description: description + roleDefinitionId: contains(builtInRoleNames, roleDefinitionIdOrName) ? builtInRoleNames[roleDefinitionIdOrName] : roleDefinitionIdOrName + principalId: principalId + principalType: !empty(principalType) ? any(principalType) : null + condition: !empty(condition) ? condition : null + conditionVersion: !empty(conditionVersion) && !empty(condition) ? conditionVersion : null + delegatedManagedIdentityResourceId: !empty(delegatedManagedIdentityResourceId) ? delegatedManagedIdentityResourceId : null + } + scope: eventHub +}] diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep new file mode 100644 index 0000000000..e7422f0f59 --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep @@ -0,0 +1,56 @@ +@description('Conditional. The name of the parent event hub namespace. Required if the template is used in a standalone deployment.') +param namespaceName string + +@description('Conditional. The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment.') +param eventHubName string + +@description('Required. The name of the authorization rule.') +param name string + +@description('Optional. The rights associated with the rule.') +@allowed([ + 'Listen' + 'Manage' + 'Send' +]) +param rights array = [] + +@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') +param enableDefaultTelemetry bool = true + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2021-11-01' existing = { + name: namespaceName + + resource eventhub 'eventHubs@2021-11-01' existing = { + name: eventHubName + } +} + +resource authorizationRule 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2021-11-01' = { + name: name + parent: namespace::eventhub + properties: { + rights: rights + } +} + +@description('The name of the authorization rule.') +output name string = authorizationRule.name + +@description('The resource ID of the authorization rule.') +output resourceId string = authorizationRule.id + +@description('The name of the resource group the authorization rule was created in.') +output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md new file mode 100644 index 0000000000..4c5c881b8f --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md @@ -0,0 +1,51 @@ +# EventHub Namespace EventHubs Authorization Rule `[Microsoft.EventHub/namespaces/eventhubs/authorizationRules]` + +This module deploys an EventHub Namespace EventHubs Authorization Rule + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Cross-referenced modules](#Cross-referenced-modules) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.EventHub/namespaces/eventhubs/authorizationRules` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/authorizationRules) | + +## Parameters + +**Required parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the authorization rule. | + +**Conditional parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `eventHubName` | string | The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment. | +| `namespaceName` | string | The name of the parent event hub namespace. Required if the template is used in a standalone deployment. | + +**Optional parameters** + +| Parameter Name | Type | Default Value | Allowed Values | Description | +| :-- | :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | +| `rights` | array | `[]` | `[Listen, Manage, Send]` | The rights associated with the rule. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the authorization rule. | +| `resourceGroupName` | string | The name of the resource group the authorization rule was created in. | +| `resourceId` | string | The resource ID of the authorization rule. | + +## Cross-referenced modules + +_None_ diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json new file mode 100644 index 0000000000..56f8d9ca40 --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.4" +} diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep new file mode 100644 index 0000000000..0d474bf3e1 --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep @@ -0,0 +1,51 @@ +@description('Conditional. The name of the parent event hub namespace. Required if the template is used in a standalone deployment.s.') +param namespaceName string + +@description('Conditional. The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment.') +param eventHubName string + +@description('Required. The name of the consumer group.') +param name string + +@description('Optional. User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.') +param userMetadata string = '' + +@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') +param enableDefaultTelemetry bool = true + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2021-11-01' existing = { + name: namespaceName + + resource eventhub 'eventHubs@2021-11-01' existing = { + name: eventHubName + } +} + +resource consumerGroup 'Microsoft.EventHub/namespaces/eventhubs/consumergroups@2021-11-01' = { + name: name + parent: namespace::eventhub + properties: { + userMetadata: !empty(userMetadata) ? userMetadata : null + } +} + +@description('The name of the consumer group.') +output name string = consumerGroup.name + +@description('The resource ID of the consumer group.') +output resourceId string = consumerGroup.id + +@description('The name of the resource group the consumer group was created in.') +output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md new file mode 100644 index 0000000000..690f5d3007 --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md @@ -0,0 +1,51 @@ +# EventHub Namespace EventHubs Consumer Group `[Microsoft.EventHub/namespaces/eventhubs/consumergroups]` + +This module deploys an EventHub Namespace EventHubs Consumer Group + +## Navigation + +- [Resource Types](#Resource-Types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Cross-referenced modules](#Cross-referenced-modules) + +## Resource Types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.EventHub/namespaces/eventhubs/consumergroups` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/consumergroups) | + +## Parameters + +**Required parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the consumer group. | + +**Conditional parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `eventHubName` | string | The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment. | +| `namespaceName` | string | The name of the parent event hub namespace. Required if the template is used in a standalone deployment.s. | + +**Optional parameters** + +| Parameter Name | Type | Default Value | Description | +| :-- | :-- | :-- | :-- | +| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via a Globally Unique Identifier (GUID). | +| `userMetadata` | string | `''` | User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored. | + + +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the consumer group. | +| `resourceGroupName` | string | The name of the resource group the consumer group was created in. | +| `resourceId` | string | The resource ID of the consumer group. | + +## Cross-referenced modules + +_None_ diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json new file mode 100644 index 0000000000..56f8d9ca40 --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.4" +} diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep new file mode 100644 index 0000000000..7e67012fce --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep @@ -0,0 +1,203 @@ +@description('Conditional. The name of the parent event hub namespace. Required if the template is used in a standalone deployment.') +param namespaceName string + +@description('Required. The name of the event hub.') +param name string + +@description('Optional. Authorization Rules for the event hub.') +param authorizationRules array = [ + { + name: 'RootManageSharedAccessKey' + rights: [ + 'Listen' + 'Manage' + 'Send' + ] + } +] + +@description('Optional. Number of days to retain the events for this Event Hub, value should be 1 to 7 days.') +@minValue(1) +@maxValue(7) +param messageRetentionInDays int = 1 + +@description('Optional. Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.') +@minValue(1) +@maxValue(32) +param partitionCount int = 2 + +@description('Optional. Enumerates the possible values for the status of the Event Hub.') +@allowed([ + 'Active' + 'Creating' + 'Deleting' + 'Disabled' + 'ReceiveDisabled' + 'Renaming' + 'Restoring' + 'SendDisabled' + 'Unknown' +]) +param status string = 'Active' + +@description('Optional. The consumer groups to create in this event hub instance.') +param consumerGroups array = [ + { + name: '$Default' + } +] + +@allowed([ + '' + 'CanNotDelete' + 'ReadOnly' +]) +@description('Optional. Specify the type of lock.') +param lock string = '' + +@description('Optional. Array of role assignment objects that contain the \'roleDefinitionIdOrName\' and \'principalId\' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: \'/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11\'.') +param roleAssignments array = [] + +@description('Optional. Name for capture destination.') +param captureDescriptionDestinationName string = 'EventHubArchive.AzureBlockBlob' + +@description('Optional. Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order.') +param captureDescriptionDestinationArchiveNameFormat string = '{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}' + +@description('Optional. Blob container Name.') +param captureDescriptionDestinationBlobContainer string = '' + +@description('Optional. Resource ID of the storage account to be used to create the blobs.') +param captureDescriptionDestinationStorageAccountResourceId string = '' + +@description('Optional. A value that indicates whether capture description is enabled.') +param captureDescriptionEnabled bool = false + +@description('Optional. Enumerates the possible values for the encoding format of capture description. Note: "AvroDeflate" will be deprecated in New API Version.') +@allowed([ + 'Avro' + 'AvroDeflate' +]) +param captureDescriptionEncoding string = 'Avro' + +@description('Optional. The time window allows you to set the frequency with which the capture to Azure Blobs will happen.') +@minValue(60) +@maxValue(900) +param captureDescriptionIntervalInSeconds int = 300 + +@description('Optional. The size window defines the amount of data built up in your Event Hub before an capture operation.') +@minValue(10485760) +@maxValue(524288000) +param captureDescriptionSizeLimitInBytes int = 314572800 + +@description('Optional. A value that indicates whether to Skip Empty Archives.') +param captureDescriptionSkipEmptyArchives bool = false + +@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') +param enableDefaultTelemetry bool = true + +var enableReferencedModulesTelemetry = false + +var eventHubPropertiesSimple = { + messageRetentionInDays: messageRetentionInDays + partitionCount: partitionCount + status: status +} +var eventHubPropertiesWithCapture = { + messageRetentionInDays: messageRetentionInDays + partitionCount: partitionCount + status: status + captureDescription: { + destination: { + name: captureDescriptionDestinationName + properties: { + archiveNameFormat: captureDescriptionDestinationArchiveNameFormat + blobContainer: captureDescriptionDestinationBlobContainer + storageAccountResourceId: captureDescriptionDestinationStorageAccountResourceId + } + } + enabled: captureDescriptionEnabled + encoding: captureDescriptionEncoding + intervalInSeconds: captureDescriptionIntervalInSeconds + sizeLimitInBytes: captureDescriptionSizeLimitInBytes + skipEmptyArchives: captureDescriptionSkipEmptyArchives + } +} + +resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { + name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' + properties: { + mode: 'Incremental' + template: { + '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' + contentVersion: '1.0.0.0' + resources: [] + } + } +} + +resource namespace 'Microsoft.EventHub/namespaces@2021-11-01' existing = { + name: namespaceName +} + +resource eventHub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' = { + name: name + parent: namespace + properties: captureDescriptionEnabled ? eventHubPropertiesWithCapture : eventHubPropertiesSimple +} + +resource eventHub_lock 'Microsoft.Authorization/locks@2020-05-01' = if (!empty(lock)) { + name: '${eventHub.name}-${lock}-lock' + properties: { + level: any(lock) + notes: lock == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' + } + scope: eventHub +} + +module eventHub_consumergroups 'consumerGroups/deploy.bicep' = [for (consumerGroup, index) in consumerGroups: { + name: '${deployment().name}-ConsumerGroup-${index}' + params: { + namespaceName: namespaceName + eventHubName: eventHub.name + name: consumerGroup.name + userMetadata: contains(consumerGroup, 'userMetadata') ? consumerGroup.userMetadata : '' + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +}] + +module eventHub_authorizationRules 'authorizationRules/deploy.bicep' = [for (authorizationRule, index) in authorizationRules: { + name: '${deployment().name}-AuthRule-${index}' + params: { + namespaceName: namespaceName + eventHubName: eventHub.name + name: authorizationRule.name + rights: contains(authorizationRule, 'rights') ? authorizationRule.rights : [] + enableDefaultTelemetry: enableReferencedModulesTelemetry + } +}] + +module eventHub_roleAssignments '.bicep/nested_roleAssignments.bicep' = [for (roleAssignment, index) in roleAssignments: { + name: '${deployment().name}-Rbac-${index}' + params: { + description: contains(roleAssignment, 'description') ? roleAssignment.description : '' + principalIds: roleAssignment.principalIds + principalType: contains(roleAssignment, 'principalType') ? roleAssignment.principalType : '' + roleDefinitionIdOrName: roleAssignment.roleDefinitionIdOrName + condition: contains(roleAssignment, 'condition') ? roleAssignment.condition : '' + delegatedManagedIdentityResourceId: contains(roleAssignment, 'delegatedManagedIdentityResourceId') ? roleAssignment.delegatedManagedIdentityResourceId : '' + resourceId: eventHub.id + } +}] + +@description('The name of the event hub.') +output name string = eventHub.name + +@description('The resource ID of the event hub.') +output eventHubId string = eventHub.id + +@description('The resource group the event hub was deployed into.') +output resourceGroupName string = resourceGroup().name + +@description('The authentication rule resource ID of the event hub.') +output resourceId string = az.resourceId('Microsoft.EventHub/namespaces/authorizationRules', namespaceName, 'RootManageSharedAccessKey') diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md b/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md new file mode 100644 index 0000000000..a2a0217bbe --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md @@ -0,0 +1,129 @@ +# EventHub `[Microsoft.EventHub/namespaces/eventhubs]` + +This module deploys an Event Hub. + +## Navigation + +- [Resource types](#Resource-types) +- [Parameters](#Parameters) +- [Outputs](#Outputs) +- [Cross-referenced modules](#Cross-referenced-modules) + +## Resource types + +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | +| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | +| `Microsoft.EventHub/namespaces/eventhubs` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs) | +| `Microsoft.EventHub/namespaces/eventhubs/authorizationRules` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/authorizationRules) | +| `Microsoft.EventHub/namespaces/eventhubs/consumergroups` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/consumergroups) | + +## Parameters + +**Required parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the event hub. | + +**Conditional parameters** + +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `namespaceName` | string | The name of the parent event hub namespace. Required if the template is used in a standalone deployment. | + +**Optional parameters** + +| Parameter Name | Type | Default Value | Allowed Values | Description | +| :-- | :-- | :-- | :-- | :-- | +| `authorizationRules` | _[authorizationRules](authorizationRules/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | Authorization Rules for the event hub. | +| `captureDescriptionDestinationArchiveNameFormat` | string | `'{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}'` | | Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order. | +| `captureDescriptionDestinationBlobContainer` | string | `''` | | Blob container Name. | +| `captureDescriptionDestinationName` | string | `'EventHubArchive.AzureBlockBlob'` | | Name for capture destination. | +| `captureDescriptionDestinationStorageAccountResourceId` | string | `''` | | Resource ID of the storage account to be used to create the blobs. | +| `captureDescriptionEnabled` | bool | `False` | | A value that indicates whether capture description is enabled. | +| `captureDescriptionEncoding` | string | `'Avro'` | `[Avro, AvroDeflate]` | Enumerates the possible values for the encoding format of capture description. Note: "AvroDeflate" will be deprecated in New API Version. | +| `captureDescriptionIntervalInSeconds` | int | `300` | | The time window allows you to set the frequency with which the capture to Azure Blobs will happen. | +| `captureDescriptionSizeLimitInBytes` | int | `314572800` | | The size window defines the amount of data built up in your Event Hub before an capture operation. | +| `captureDescriptionSkipEmptyArchives` | bool | `False` | | A value that indicates whether to Skip Empty Archives. | +| `consumerGroups` | _[consumergroups](consumergroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | +| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | +| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | +| `messageRetentionInDays` | int | `1` | | Number of days to retain the events for this Event Hub, value should be 1 to 7 days. | +| `partitionCount` | int | `2` | | Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. | +| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | +| `status` | string | `'Active'` | `[Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown]` | Enumerates the possible values for the status of the Event Hub. | + + +### Parameter Usage: `roleAssignments` + +Create a role assignment for the given resource. If you want to assign a service principal / managed identity that is created in the same deployment, make sure to also specify the `'principalType'` parameter and set it to `'ServicePrincipal'`. This will ensure the role assignment waits for the principal's propagation in Azure. + +
+ +Parameter JSON format + +```json +"roleAssignments": { + "value": [ + { + "roleDefinitionIdOrName": "Reader", + "description": "Reader Role Assignment", + "principalIds": [ + "12345678-1234-1234-1234-123456789012", // object 1 + "78945612-1234-1234-1234-123456789012" // object 2 + ] + }, + { + "roleDefinitionIdOrName": "/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11", + "principalIds": [ + "12345678-1234-1234-1234-123456789012" // object 1 + ], + "principalType": "ServicePrincipal" + } + ] +} +``` + +
+ +
+ +Bicep format + +```bicep +roleAssignments: [ + { + roleDefinitionIdOrName: 'Reader' + description: 'Reader Role Assignment' + principalIds: [ + '12345678-1234-1234-1234-123456789012' // object 1 + '78945612-1234-1234-1234-123456789012' // object 2 + ] + } + { + roleDefinitionIdOrName: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11' + principalIds: [ + '12345678-1234-1234-1234-123456789012' // object 1 + ] + principalType: 'ServicePrincipal' + } +] +``` + +
+

+ +## Outputs + +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `eventHubId` | string | The resource ID of the event hub. | +| `name` | string | The name of the event hub. | +| `resourceGroupName` | string | The resource group the event hub was deployed into. | +| `resourceId` | string | The authentication rule resource ID of the event hub. | + +## Cross-referenced modules + +_None_ diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/version.json b/modules/Microsoft.EventHub/namespaces/eventhubs/version.json new file mode 100644 index 0000000000..56f8d9ca40 --- /dev/null +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/version.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "0.4" +} From 0c4a6995586013abf73e9f843c14333332119276 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:10:51 +0100 Subject: [PATCH 07/21] Update to latest --- modules/Microsoft.EventHub/namespaces/eventHubs/readme.md | 2 +- modules/Microsoft.EventHub/namespaces/eventhubs/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md index a2a0217bbe..07a2043941 100644 --- a/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md +++ b/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md @@ -47,7 +47,7 @@ This module deploys an Event Hub. | `captureDescriptionIntervalInSeconds` | int | `300` | | The time window allows you to set the frequency with which the capture to Azure Blobs will happen. | | `captureDescriptionSizeLimitInBytes` | int | `314572800` | | The size window defines the amount of data built up in your Event Hub before an capture operation. | | `captureDescriptionSkipEmptyArchives` | bool | `False` | | A value that indicates whether to Skip Empty Archives. | -| `consumerGroups` | _[consumergroups](consumergroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | +| `consumerGroups` | _[consumerGroups](consumerGroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | | `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | | `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | | `messageRetentionInDays` | int | `1` | | Number of days to retain the events for this Event Hub, value should be 1 to 7 days. | diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md b/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md index a2a0217bbe..07a2043941 100644 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md +++ b/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md @@ -47,7 +47,7 @@ This module deploys an Event Hub. | `captureDescriptionIntervalInSeconds` | int | `300` | | The time window allows you to set the frequency with which the capture to Azure Blobs will happen. | | `captureDescriptionSizeLimitInBytes` | int | `314572800` | | The size window defines the amount of data built up in your Event Hub before an capture operation. | | `captureDescriptionSkipEmptyArchives` | bool | `False` | | A value that indicates whether to Skip Empty Archives. | -| `consumerGroups` | _[consumergroups](consumergroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | +| `consumerGroups` | _[consumerGroups](consumerGroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | | `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | | `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | | `messageRetentionInDays` | int | `1` | | Number of days to retain the events for this Event Hub, value should be 1 to 7 days. | From bc1fc40b7b92167f8e9e467cd91c16fcb15808f3 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:13:59 +0100 Subject: [PATCH 08/21] Update to latest --- .../service/deploy.bicep | 2 +- .../{deploy.bicep => ddeploy.bicep} | 0 .../service/portalsettings/deploy.bicep | 47 ------------------- .../Microsoft.ApiManagement/service/readme.md | 2 +- 4 files changed, 2 insertions(+), 49 deletions(-) rename modules/Microsoft.ApiManagement/service/portalSettings/{deploy.bicep => ddeploy.bicep} (100%) delete mode 100644 modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep diff --git a/modules/Microsoft.ApiManagement/service/deploy.bicep b/modules/Microsoft.ApiManagement/service/deploy.bicep index 28dcde6652..f13b05df59 100644 --- a/modules/Microsoft.ApiManagement/service/deploy.bicep +++ b/modules/Microsoft.ApiManagement/service/deploy.bicep @@ -376,7 +376,7 @@ module namedValues_resource 'namedValues/deploy.bicep' = [for (namedValue, index } }] -module portalSettings_resource 'portalSettings/deploy.bicep' = [for (portalSetting, index) in portalSettings: { +module portalSettings_resource 'portalSettings/ddeploy.bicep' = [for (portalSetting, index) in portalSettings: { name: '${uniqueString(deployment().name, location)}-Apim-PortalSetting-${index}' params: { apiManagementServiceName: apiManagementService.name diff --git a/modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep b/modules/Microsoft.ApiManagement/service/portalSettings/ddeploy.bicep similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep rename to modules/Microsoft.ApiManagement/service/portalSettings/ddeploy.bicep diff --git a/modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep b/modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep deleted file mode 100644 index 24b9c26d05..0000000000 --- a/modules/Microsoft.ApiManagement/service/portalsettings/deploy.bicep +++ /dev/null @@ -1,47 +0,0 @@ -@description('Conditional. The name of the parent API Management service. Required if the template is used in a standalone deployment.') -param apiManagementServiceName string - -@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') -param enableDefaultTelemetry bool = true - -@description('Required. Portal setting name.') -@allowed([ - 'delegation' - 'signin' - 'signup' -]) -param name string - -@description('Optional. Portal setting properties.') -param properties object = {} - -resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' - properties: { - mode: 'Incremental' - template: { - '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' - contentVersion: '1.0.0.0' - resources: [] - } - } -} - -resource service 'Microsoft.ApiManagement/service@2021-08-01' existing = { - name: apiManagementServiceName -} - -resource portalSetting 'Microsoft.ApiManagement/service/portalsettings@2021-08-01' = if (!empty(properties)) { - name: any(name) - parent: service - properties: properties -} - -@description('The resource ID of the API management service portal setting.') -output resourceId string = portalSetting.id - -@description('The name of the API management service portal setting.') -output name string = portalSetting.name - -@description('The resource group the API management service portal setting was deployed into.') -output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.ApiManagement/service/readme.md b/modules/Microsoft.ApiManagement/service/readme.md index 0f669f75c2..d9ec28bad0 100644 --- a/modules/Microsoft.ApiManagement/service/readme.md +++ b/modules/Microsoft.ApiManagement/service/readme.md @@ -76,7 +76,7 @@ This module deploys an API management service. | `newGuidValue` | string | `[newGuid()]` | | Necessary to create a new GUID. | | `notificationSenderEmail` | string | `'apimgmt-noreply@mail.windowsazure.com'` | | The notification sender email address for the service. | | `policies` | _[policies](policies/readme.md)_ array | `[]` | | Policies. | -| `portalSettings` | _[portalsettings](portalsettings/readme.md)_ array | `[]` | | Portal settings. | +| `portalSettings` | _[portalSettings](portalSettings/readme.md)_ array | `[]` | | Portal settings. | | `products` | _[products](products/readme.md)_ array | `[]` | | Products. | | `restore` | bool | `False` | | Undelete API Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored. | | `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | From b4cbb4b9f6c781022b8a035379a55bc8406ca866 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:14:32 +0100 Subject: [PATCH 09/21] Update to latest --- modules/Microsoft.ApiManagement/service/deploy.bicep | 2 +- .../service/portalSettings/{ddeploy.bicep => deploy.bicep} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/Microsoft.ApiManagement/service/portalSettings/{ddeploy.bicep => deploy.bicep} (100%) diff --git a/modules/Microsoft.ApiManagement/service/deploy.bicep b/modules/Microsoft.ApiManagement/service/deploy.bicep index f13b05df59..28dcde6652 100644 --- a/modules/Microsoft.ApiManagement/service/deploy.bicep +++ b/modules/Microsoft.ApiManagement/service/deploy.bicep @@ -376,7 +376,7 @@ module namedValues_resource 'namedValues/deploy.bicep' = [for (namedValue, index } }] -module portalSettings_resource 'portalSettings/ddeploy.bicep' = [for (portalSetting, index) in portalSettings: { +module portalSettings_resource 'portalSettings/deploy.bicep' = [for (portalSetting, index) in portalSettings: { name: '${uniqueString(deployment().name, location)}-Apim-PortalSetting-${index}' params: { apiManagementServiceName: apiManagementService.name diff --git a/modules/Microsoft.ApiManagement/service/portalSettings/ddeploy.bicep b/modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSettings/ddeploy.bicep rename to modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep From e7e3a79bbd3a98fb443cd6f2ce207deabfce297a Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:23:33 +0100 Subject: [PATCH 10/21] Update to latest --- .../Microsoft.ApiManagement/service/readme.md | 172 +++++++-------- .../eventHubs/{deploy.bicep => ddeploy.bicep} | 0 .../namespaces/eventhubs/deploy.bicep | 203 ------------------ 3 files changed, 83 insertions(+), 292 deletions(-) rename modules/Microsoft.EventHub/namespaces/eventHubs/{deploy.bicep => ddeploy.bicep} (100%) delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep diff --git a/modules/Microsoft.ApiManagement/service/readme.md b/modules/Microsoft.ApiManagement/service/readme.md index d9ec28bad0..d04ed17725 100644 --- a/modules/Microsoft.ApiManagement/service/readme.md +++ b/modules/Microsoft.ApiManagement/service/readme.md @@ -13,83 +13,82 @@ This module deploys an API management service. ## Resource types -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.ApiManagement/service` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service) | -| `Microsoft.ApiManagement/service/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis) | -| `Microsoft.ApiManagement/service/apis/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis/policies) | -| `Microsoft.ApiManagement/service/apiVersionSets` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apiVersionSets) | -| `Microsoft.ApiManagement/service/authorizationServers` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/authorizationServers) | -| `Microsoft.ApiManagement/service/backends` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/backends) | -| `Microsoft.ApiManagement/service/caches` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/caches) | -| `Microsoft.ApiManagement/service/identityProviders` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/identityProviders) | -| `Microsoft.ApiManagement/service/namedValues` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/namedValues) | -| `Microsoft.ApiManagement/service/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/policies) | -| `Microsoft.ApiManagement/service/portalsettings` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/service) | -| `Microsoft.ApiManagement/service/products` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products) | -| `Microsoft.ApiManagement/service/products/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/apis) | -| `Microsoft.ApiManagement/service/products/groups` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/groups) | -| `Microsoft.ApiManagement/service/subscriptions` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/subscriptions) | -| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | -| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | -| `Microsoft.Insights/diagnosticSettings` | [2021-05-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings) | +| Resource Type | API Version | +| :----------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ | +| `Microsoft.ApiManagement/service` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service) | +| `Microsoft.ApiManagement/service/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis) | +| `Microsoft.ApiManagement/service/apis/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis/policies) | +| `Microsoft.ApiManagement/service/apiVersionSets` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apiVersionSets) | +| `Microsoft.ApiManagement/service/authorizationServers` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/authorizationServers) | +| `Microsoft.ApiManagement/service/backends` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/backends) | +| `Microsoft.ApiManagement/service/caches` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/caches) | +| `Microsoft.ApiManagement/service/identityProviders` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/identityProviders) | +| `Microsoft.ApiManagement/service/namedValues` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/namedValues) | +| `Microsoft.ApiManagement/service/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/policies) | +| `Microsoft.ApiManagement/service/portalsettings` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/service) | +| `Microsoft.ApiManagement/service/products` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products) | +| `Microsoft.ApiManagement/service/products/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/apis) | +| `Microsoft.ApiManagement/service/products/groups` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/groups) | +| `Microsoft.ApiManagement/service/subscriptions` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/subscriptions) | +| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | +| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | +| `Microsoft.Insights/diagnosticSettings` | [2021-05-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings) | ## Parameters **Required parameters** -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the API Management service. | +| Parameter Name | Type | Description | +| :--------------- | :----- | :--------------------------------------------- | +| `name` | string | The name of the API Management service. | | `publisherEmail` | string | The email address of the owner of the service. | -| `publisherName` | string | The name of the owner of the service. | +| `publisherName` | string | The name of the owner of the service. | **Optional parameters** -| Parameter Name | Type | Default Value | Allowed Values | Description | -| :-- | :-- | :-- | :-- | :-- | -| `additionalLocations` | array | `[]` | | Additional datacenter locations of the API Management service. | -| `apis` | _[apis](apis/readme.md)_ array | `[]` | | APIs. | -| `apiVersionSets` | _[apiVersionSets](apiVersionSets/readme.md)_ array | `[]` | | API Version Sets. | -| `authorizationServers` | _[authorizationServers](authorizationServers/readme.md)_ array | `[]` | | Authorization servers. | -| `backends` | _[backends](backends/readme.md)_ array | `[]` | | Backends. | -| `caches` | _[caches](caches/readme.md)_ array | `[]` | | Caches. | -| `certificates` | array | `[]` | | List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10. | -| `customProperties` | object | `{object}` | | Custom properties of the API Management service. | -| `diagnosticEventHubAuthorizationRuleId` | string | `''` | | Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to. | -| `diagnosticEventHubName` | string | `''` | | Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. | -| `diagnosticLogCategoriesToEnable` | array | `[allLogs]` | `[allLogs, GatewayLogs]` | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. | -| `diagnosticLogsRetentionInDays` | int | `365` | | Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely. | -| `diagnosticMetricsToEnable` | array | `[AllMetrics]` | `[AllMetrics]` | The name of metrics that will be streamed. | -| `diagnosticSettingsName` | string | `[format('{0}-diagnosticSettings', parameters('name'))]` | | The name of the diagnostic setting, if deployed. | -| `diagnosticStorageAccountId` | string | `''` | | Resource ID of the diagnostic storage account. | -| `diagnosticWorkspaceId` | string | `''` | | Resource ID of the diagnostic log analytics workspace. | -| `disableGateway` | bool | `False` | | Property only valid for an API Management service deployed in multiple locations. This can be used to disable the gateway in master region. | -| `enableClientCertificate` | bool | `False` | | Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway. | -| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | -| `hostnameConfigurations` | array | `[]` | | Custom hostname configuration of the API Management service. | -| `identityProviders` | _[identityProviders](identityProviders/readme.md)_ array | `[]` | | Identity providers. | -| `location` | string | `[resourceGroup().location]` | | Location for all Resources. | -| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | -| `minApiVersion` | string | `''` | | Limit control plane API calls to API Management service with version equal to or newer than this value. | -| `namedValues` | _[namedValues](namedValues/readme.md)_ array | `[]` | | Named values. | -| `newGuidValue` | string | `[newGuid()]` | | Necessary to create a new GUID. | -| `notificationSenderEmail` | string | `'apimgmt-noreply@mail.windowsazure.com'` | | The notification sender email address for the service. | -| `policies` | _[policies](policies/readme.md)_ array | `[]` | | Policies. | -| `portalSettings` | _[portalSettings](portalSettings/readme.md)_ array | `[]` | | Portal settings. | -| `products` | _[products](products/readme.md)_ array | `[]` | | Products. | -| `restore` | bool | `False` | | Undelete API Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored. | -| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | -| `sku` | string | `'Developer'` | `[Basic, Consumption, Developer, Premium, Standard]` | The pricing tier of this API Management service. | -| `skuCount` | int | `1` | `[1, 2]` | The instance size of this API Management service. | -| `subnetResourceId` | string | `''` | | The full resource ID of a subnet in a virtual network to deploy the API Management service in. | -| `subscriptions` | _[subscriptions](subscriptions/readme.md)_ array | `[]` | | Subscriptions. | -| `systemAssignedIdentity` | bool | `False` | | Enables system assigned managed identity on the resource. | -| `tags` | object | `{object}` | | Tags of the resource. | -| `userAssignedIdentities` | object | `{object}` | | The ID(s) to assign to the resource. | -| `virtualNetworkType` | string | `'None'` | `[External, Internal, None]` | The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. | -| `zones` | array | `[]` | | A list of availability zones denoting where the resource needs to come from. | - +| Parameter Name | Type | Default Value | Allowed Values | Description | +| :-------------------------------------- | :------------------------------------------------------------- | :------------------------------------------------------- | :--------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `additionalLocations` | array | `[]` | | Additional datacenter locations of the API Management service. | +| `apis` | _[apis](apis/readme.md)_ array | `[]` | | APIs. | +| `apiVersionSets` | _[apiVersionSets](apiVersionSets/readme.md)_ array | `[]` | | API Version Sets. | +| `authorizationServers` | _[authorizationServers](authorizationServers/readme.md)_ array | `[]` | | Authorization servers. | +| `backends` | _[backends](backends/readme.md)_ array | `[]` | | Backends. | +| `caches` | _[caches](caches/readme.md)_ array | `[]` | | Caches. | +| `certificates` | array | `[]` | | List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10. | +| `customProperties` | object | `{object}` | | Custom properties of the API Management service. | +| `diagnosticEventHubAuthorizationRuleId` | string | `''` | | Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to. | +| `diagnosticEventHubName` | string | `''` | | Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. | +| `diagnosticLogCategoriesToEnable` | array | `[allLogs]` | `[allLogs, GatewayLogs]` | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. | +| `diagnosticLogsRetentionInDays` | int | `365` | | Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely. | +| `diagnosticMetricsToEnable` | array | `[AllMetrics]` | `[AllMetrics]` | The name of metrics that will be streamed. | +| `diagnosticSettingsName` | string | `[format('{0}-diagnosticSettings', parameters('name'))]` | | The name of the diagnostic setting, if deployed. | +| `diagnosticStorageAccountId` | string | `''` | | Resource ID of the diagnostic storage account. | +| `diagnosticWorkspaceId` | string | `''` | | Resource ID of the diagnostic log analytics workspace. | +| `disableGateway` | bool | `False` | | Property only valid for an API Management service deployed in multiple locations. This can be used to disable the gateway in master region. | +| `enableClientCertificate` | bool | `False` | | Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway. | +| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | +| `hostnameConfigurations` | array | `[]` | | Custom hostname configuration of the API Management service. | +| `identityProviders` | _[identityProviders](identityProviders/readme.md)_ array | `[]` | | Identity providers. | +| `location` | string | `[resourceGroup().location]` | | Location for all Resources. | +| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | +| `minApiVersion` | string | `''` | | Limit control plane API calls to API Management service with version equal to or newer than this value. | +| `namedValues` | _[namedValues](namedValues/readme.md)_ array | `[]` | | Named values. | +| `newGuidValue` | string | `[newGuid()]` | | Necessary to create a new GUID. | +| `notificationSenderEmail` | string | `'apimgmt-noreply@mail.windowsazure.com'` | | The notification sender email address for the service. | +| `policies` | _[policies](policies/readme.md)_ array | `[]` | | Policies. | +| `portalSettings` | _[portalSettings](portalSettings/readme.md)_ array | `[]` | | Portal settings. | +| `products` | _[products](products/readme.md)_ array | `[]` | | Products. | +| `restore` | bool | `False` | | Undelete API Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored. | +| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | +| `sku` | string | `'Developer'` | `[Basic, Consumption, Developer, Premium, Standard]` | The pricing tier of this API Management service. | +| `skuCount` | int | `1` | `[1, 2]` | The instance size of this API Management service. | +| `subnetResourceId` | string | `''` | | The full resource ID of a subnet in a virtual network to deploy the API Management service in. | +| `subscriptions` | _[subscriptions](subscriptions/readme.md)_ array | `[]` | | Subscriptions. | +| `systemAssignedIdentity` | bool | `False` | | Enables system assigned managed identity on the resource. | +| `tags` | object | `{object}` | | Tags of the resource. | +| `userAssignedIdentities` | object | `{object}` | | The ID(s) to assign to the resource. | +| `virtualNetworkType` | string | `'None'` | `[External, Internal, None]` | The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. | +| `zones` | array | `[]` | | A list of availability zones denoting where the resource needs to come from. | ### Parameter Usage: `roleAssignments` @@ -257,32 +256,33 @@ userAssignedIdentities: { ## Outputs -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `location` | string | The location the resource was deployed into. | -| `name` | string | The name of the API management service. | -| `resourceGroupName` | string | The resource group the API management service was deployed into. | -| `resourceId` | string | The resource ID of the API management service. | -| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. | +| Output Name | Type | Description | +| :-------------------------- | :----- | :--------------------------------------------------------------- | +| `location` | string | The location the resource was deployed into. | +| `name` | string | The name of the API management service. | +| `resourceGroupName` | string | The resource group the API management service was deployed into. | +| `resourceId` | string | The resource ID of the API management service. | +| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. | ## Considerations -- *None* +- _None_ ## Cross-referenced modules This section gives you an overview of all local-referenced module files (i.e., other CARML modules that are referenced in this module) and all remote-referenced files (i.e., Bicep modules that are referenced from a Bicep Registry or Template Specs). -| Reference | Type | -| :-- | :-- | +| Reference | Type | +| :--------------------------------------------- | :-------------- | | `Microsoft.ApiManagement/authorizationServers` | Local reference | ## Deployment examples The following module usage examples are retrieved from the content of the files hosted in the module's `.test` folder. - >**Note**: The name of each example is based on the name of the file from which it is taken. - >**Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order. +> **Note**: The name of each example is based on the name of the file from which it is taken. + +> **Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order.

Example 1: Common

@@ -398,9 +398,7 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { "roleAssignments": { "value": [ { - "principalIds": [ - "" - ], + "principalIds": [""], "principalType": "ServicePrincipal", "roleDefinitionIdOrName": "Reader" } @@ -606,9 +604,7 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { "clientIdSecretName": "", "clientRegistrationEndpoint": "http://localhost", "clientSecretSecretName": "", - "grantTypes": [ - "authorizationCode" - ], + "grantTypes": ["authorizationCode"], "name": "AuthServer1", "tokenEndpoint": "" } @@ -722,9 +718,7 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { "roleAssignments": { "value": [ { - "principalIds": [ - "" - ], + "principalIds": [""], "principalType": "ServicePrincipal", "roleDefinitionIdOrName": "Reader" } diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/ddeploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/ddeploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep deleted file mode 100644 index 7e67012fce..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/deploy.bicep +++ /dev/null @@ -1,203 +0,0 @@ -@description('Conditional. The name of the parent event hub namespace. Required if the template is used in a standalone deployment.') -param namespaceName string - -@description('Required. The name of the event hub.') -param name string - -@description('Optional. Authorization Rules for the event hub.') -param authorizationRules array = [ - { - name: 'RootManageSharedAccessKey' - rights: [ - 'Listen' - 'Manage' - 'Send' - ] - } -] - -@description('Optional. Number of days to retain the events for this Event Hub, value should be 1 to 7 days.') -@minValue(1) -@maxValue(7) -param messageRetentionInDays int = 1 - -@description('Optional. Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.') -@minValue(1) -@maxValue(32) -param partitionCount int = 2 - -@description('Optional. Enumerates the possible values for the status of the Event Hub.') -@allowed([ - 'Active' - 'Creating' - 'Deleting' - 'Disabled' - 'ReceiveDisabled' - 'Renaming' - 'Restoring' - 'SendDisabled' - 'Unknown' -]) -param status string = 'Active' - -@description('Optional. The consumer groups to create in this event hub instance.') -param consumerGroups array = [ - { - name: '$Default' - } -] - -@allowed([ - '' - 'CanNotDelete' - 'ReadOnly' -]) -@description('Optional. Specify the type of lock.') -param lock string = '' - -@description('Optional. Array of role assignment objects that contain the \'roleDefinitionIdOrName\' and \'principalId\' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: \'/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11\'.') -param roleAssignments array = [] - -@description('Optional. Name for capture destination.') -param captureDescriptionDestinationName string = 'EventHubArchive.AzureBlockBlob' - -@description('Optional. Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order.') -param captureDescriptionDestinationArchiveNameFormat string = '{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}' - -@description('Optional. Blob container Name.') -param captureDescriptionDestinationBlobContainer string = '' - -@description('Optional. Resource ID of the storage account to be used to create the blobs.') -param captureDescriptionDestinationStorageAccountResourceId string = '' - -@description('Optional. A value that indicates whether capture description is enabled.') -param captureDescriptionEnabled bool = false - -@description('Optional. Enumerates the possible values for the encoding format of capture description. Note: "AvroDeflate" will be deprecated in New API Version.') -@allowed([ - 'Avro' - 'AvroDeflate' -]) -param captureDescriptionEncoding string = 'Avro' - -@description('Optional. The time window allows you to set the frequency with which the capture to Azure Blobs will happen.') -@minValue(60) -@maxValue(900) -param captureDescriptionIntervalInSeconds int = 300 - -@description('Optional. The size window defines the amount of data built up in your Event Hub before an capture operation.') -@minValue(10485760) -@maxValue(524288000) -param captureDescriptionSizeLimitInBytes int = 314572800 - -@description('Optional. A value that indicates whether to Skip Empty Archives.') -param captureDescriptionSkipEmptyArchives bool = false - -@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') -param enableDefaultTelemetry bool = true - -var enableReferencedModulesTelemetry = false - -var eventHubPropertiesSimple = { - messageRetentionInDays: messageRetentionInDays - partitionCount: partitionCount - status: status -} -var eventHubPropertiesWithCapture = { - messageRetentionInDays: messageRetentionInDays - partitionCount: partitionCount - status: status - captureDescription: { - destination: { - name: captureDescriptionDestinationName - properties: { - archiveNameFormat: captureDescriptionDestinationArchiveNameFormat - blobContainer: captureDescriptionDestinationBlobContainer - storageAccountResourceId: captureDescriptionDestinationStorageAccountResourceId - } - } - enabled: captureDescriptionEnabled - encoding: captureDescriptionEncoding - intervalInSeconds: captureDescriptionIntervalInSeconds - sizeLimitInBytes: captureDescriptionSizeLimitInBytes - skipEmptyArchives: captureDescriptionSkipEmptyArchives - } -} - -resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' - properties: { - mode: 'Incremental' - template: { - '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' - contentVersion: '1.0.0.0' - resources: [] - } - } -} - -resource namespace 'Microsoft.EventHub/namespaces@2021-11-01' existing = { - name: namespaceName -} - -resource eventHub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' = { - name: name - parent: namespace - properties: captureDescriptionEnabled ? eventHubPropertiesWithCapture : eventHubPropertiesSimple -} - -resource eventHub_lock 'Microsoft.Authorization/locks@2020-05-01' = if (!empty(lock)) { - name: '${eventHub.name}-${lock}-lock' - properties: { - level: any(lock) - notes: lock == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot modify the resource or child resources.' - } - scope: eventHub -} - -module eventHub_consumergroups 'consumerGroups/deploy.bicep' = [for (consumerGroup, index) in consumerGroups: { - name: '${deployment().name}-ConsumerGroup-${index}' - params: { - namespaceName: namespaceName - eventHubName: eventHub.name - name: consumerGroup.name - userMetadata: contains(consumerGroup, 'userMetadata') ? consumerGroup.userMetadata : '' - enableDefaultTelemetry: enableReferencedModulesTelemetry - } -}] - -module eventHub_authorizationRules 'authorizationRules/deploy.bicep' = [for (authorizationRule, index) in authorizationRules: { - name: '${deployment().name}-AuthRule-${index}' - params: { - namespaceName: namespaceName - eventHubName: eventHub.name - name: authorizationRule.name - rights: contains(authorizationRule, 'rights') ? authorizationRule.rights : [] - enableDefaultTelemetry: enableReferencedModulesTelemetry - } -}] - -module eventHub_roleAssignments '.bicep/nested_roleAssignments.bicep' = [for (roleAssignment, index) in roleAssignments: { - name: '${deployment().name}-Rbac-${index}' - params: { - description: contains(roleAssignment, 'description') ? roleAssignment.description : '' - principalIds: roleAssignment.principalIds - principalType: contains(roleAssignment, 'principalType') ? roleAssignment.principalType : '' - roleDefinitionIdOrName: roleAssignment.roleDefinitionIdOrName - condition: contains(roleAssignment, 'condition') ? roleAssignment.condition : '' - delegatedManagedIdentityResourceId: contains(roleAssignment, 'delegatedManagedIdentityResourceId') ? roleAssignment.delegatedManagedIdentityResourceId : '' - resourceId: eventHub.id - } -}] - -@description('The name of the event hub.') -output name string = eventHub.name - -@description('The resource ID of the event hub.') -output eventHubId string = eventHub.id - -@description('The resource group the event hub was deployed into.') -output resourceGroupName string = resourceGroup().name - -@description('The authentication rule resource ID of the event hub.') -output resourceId string = az.resourceId('Microsoft.EventHub/namespaces/authorizationRules', namespaceName, 'RootManageSharedAccessKey') From 263adc52678219b1ea5e89de8fae3b50d77cc2f8 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:23:42 +0100 Subject: [PATCH 11/21] Update to latest --- .../namespaces/eventHubs/{ddeploy.bicep => deploy.bicep} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename modules/Microsoft.EventHub/namespaces/eventHubs/{ddeploy.bicep => deploy.bicep} (100%) diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/ddeploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/ddeploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep From 3764d9a52269fe6d88d70dd6434072ba73d2fc8f Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:24:50 +0100 Subject: [PATCH 12/21] Update to latest --- .../deploy.bicep | 0 .../readme.md | 0 .../version.json | 0 .../eventhubs/consumerGroups/deploy.bicep | 51 ------------------- .../eventhubs/consumerGroups/readme.md | 51 ------------------- .../eventhubs/consumerGroups/version.json | 4 -- 6 files changed, 106 deletions(-) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGroups => consumerGGroups}/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGroups => consumerGGroups}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGroups => consumerGGroups}/version.json (100%) delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep deleted file mode 100644 index 0d474bf3e1..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/deploy.bicep +++ /dev/null @@ -1,51 +0,0 @@ -@description('Conditional. The name of the parent event hub namespace. Required if the template is used in a standalone deployment.s.') -param namespaceName string - -@description('Conditional. The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment.') -param eventHubName string - -@description('Required. The name of the consumer group.') -param name string - -@description('Optional. User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.') -param userMetadata string = '' - -@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') -param enableDefaultTelemetry bool = true - -resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' - properties: { - mode: 'Incremental' - template: { - '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' - contentVersion: '1.0.0.0' - resources: [] - } - } -} - -resource namespace 'Microsoft.EventHub/namespaces@2021-11-01' existing = { - name: namespaceName - - resource eventhub 'eventHubs@2021-11-01' existing = { - name: eventHubName - } -} - -resource consumerGroup 'Microsoft.EventHub/namespaces/eventhubs/consumergroups@2021-11-01' = { - name: name - parent: namespace::eventhub - properties: { - userMetadata: !empty(userMetadata) ? userMetadata : null - } -} - -@description('The name of the consumer group.') -output name string = consumerGroup.name - -@description('The resource ID of the consumer group.') -output resourceId string = consumerGroup.id - -@description('The name of the resource group the consumer group was created in.') -output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md deleted file mode 100644 index 690f5d3007..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/readme.md +++ /dev/null @@ -1,51 +0,0 @@ -# EventHub Namespace EventHubs Consumer Group `[Microsoft.EventHub/namespaces/eventhubs/consumergroups]` - -This module deploys an EventHub Namespace EventHubs Consumer Group - -## Navigation - -- [Resource Types](#Resource-Types) -- [Parameters](#Parameters) -- [Outputs](#Outputs) -- [Cross-referenced modules](#Cross-referenced-modules) - -## Resource Types - -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.EventHub/namespaces/eventhubs/consumergroups` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/consumergroups) | - -## Parameters - -**Required parameters** - -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the consumer group. | - -**Conditional parameters** - -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `eventHubName` | string | The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment. | -| `namespaceName` | string | The name of the parent event hub namespace. Required if the template is used in a standalone deployment.s. | - -**Optional parameters** - -| Parameter Name | Type | Default Value | Description | -| :-- | :-- | :-- | :-- | -| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via a Globally Unique Identifier (GUID). | -| `userMetadata` | string | `''` | User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored. | - - -## Outputs - -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the consumer group. | -| `resourceGroupName` | string | The name of the resource group the consumer group was created in. | -| `resourceId` | string | The resource ID of the consumer group. | - -## Cross-referenced modules - -_None_ diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json deleted file mode 100644 index 56f8d9ca40..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/consumerGroups/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.4" -} From 6b7f14b32712bbc4a8758e38db42de37a62f58e7 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:24:58 +0100 Subject: [PATCH 13/21] Update to latest --- .../eventHubs/{consumerGGroups => consumerGroups}/deploy.bicep | 0 .../eventHubs/{consumerGGroups => consumerGroups}/readme.md | 0 .../eventHubs/{consumerGGroups => consumerGroups}/version.json | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGGroups => consumerGroups}/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGGroups => consumerGroups}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/eventHubs/{consumerGGroups => consumerGroups}/version.json (100%) diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGGroups/version.json rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json From c8db761710c5f044a14919b4000e0f315037bbc1 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:25:49 +0100 Subject: [PATCH 14/21] Update to latest --- .../{authorizationRules => authorizationRRules}/deploy.bicep | 0 .../{authorizationRules => authorizationRRules}/readme.md | 0 .../{authorizationRules => authorizationRRules}/version.json | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename modules/Microsoft.EventHub/namespaces/{authorizationRules => authorizationRRules}/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{authorizationRules => authorizationRRules}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{authorizationRules => authorizationRRules}/version.json (100%) diff --git a/modules/Microsoft.EventHub/namespaces/authorizationRules/deploy.bicep b/modules/Microsoft.EventHub/namespaces/authorizationRRules/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/authorizationRules/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/authorizationRRules/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/authorizationRules/readme.md b/modules/Microsoft.EventHub/namespaces/authorizationRRules/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/authorizationRules/readme.md rename to modules/Microsoft.EventHub/namespaces/authorizationRRules/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/authorizationRules/version.json b/modules/Microsoft.EventHub/namespaces/authorizationRRules/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/authorizationRules/version.json rename to modules/Microsoft.EventHub/namespaces/authorizationRRules/version.json From 913e0950996cea797c6e0c665404b81f617d31cd Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:25:56 +0100 Subject: [PATCH 15/21] Update to latest --- .../{authorizationRRules => authorizationRules}/deploy.bicep | 0 .../{authorizationRRules => authorizationRules}/readme.md | 0 .../{authorizationRRules => authorizationRules}/version.json | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename modules/Microsoft.EventHub/namespaces/{authorizationRRules => authorizationRules}/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{authorizationRRules => authorizationRules}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{authorizationRRules => authorizationRules}/version.json (100%) diff --git a/modules/Microsoft.EventHub/namespaces/authorizationRRules/deploy.bicep b/modules/Microsoft.EventHub/namespaces/authorizationRules/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/authorizationRRules/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/authorizationRules/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/authorizationRRules/readme.md b/modules/Microsoft.EventHub/namespaces/authorizationRules/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/authorizationRRules/readme.md rename to modules/Microsoft.EventHub/namespaces/authorizationRules/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/authorizationRRules/version.json b/modules/Microsoft.EventHub/namespaces/authorizationRules/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/authorizationRRules/version.json rename to modules/Microsoft.EventHub/namespaces/authorizationRules/version.json From 7b02072752891c9324bf251437a374cf8081f628 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:27:20 +0100 Subject: [PATCH 16/21] Update to latest --- .../.bicep/nested_roleAssignments.bicep | 0 .../authorizationRules/deploy.bicep | 0 .../authorizationRules/readme.md | 0 .../authorizationRules/version.json | 0 .../consumerGroups/deploy.bicep | 0 .../consumerGroups/readme.md | 0 .../consumerGroups/version.json | 0 .../{eventHubs => eventHHubs}/deploy.bicep | 0 .../{eventHubs => eventHHubs}/readme.md | 0 .../{eventHubs => eventHHubs}/version.json | 0 .../.bicep/nested_roleAssignments.bicep | 73 ---------- .../eventhubs/authorizationRules/deploy.bicep | 56 -------- .../eventhubs/authorizationRules/readme.md | 51 ------- .../eventhubs/authorizationRules/version.json | 4 - .../namespaces/eventhubs/readme.md | 129 ------------------ .../namespaces/eventhubs/version.json | 4 - 16 files changed, 317 deletions(-) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/.bicep/nested_roleAssignments.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/authorizationRules/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/authorizationRules/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/authorizationRules/version.json (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/consumerGroups/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/consumerGroups/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/consumerGroups/version.json (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{eventHubs => eventHHubs}/version.json (100%) delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/readme.md delete mode 100644 modules/Microsoft.EventHub/namespaces/eventhubs/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/.bicep/nested_roleAssignments.bicep b/modules/Microsoft.EventHub/namespaces/eventHHubs/.bicep/nested_roleAssignments.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/.bicep/nested_roleAssignments.bicep rename to modules/Microsoft.EventHub/namespaces/eventHHubs/.bicep/nested_roleAssignments.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/readme.md b/modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/version.json b/modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/version.json rename to modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json rename to modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHHubs/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHHubs/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md b/modules/Microsoft.EventHub/namespaces/eventHHubs/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHHubs/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHubs/version.json b/modules/Microsoft.EventHub/namespaces/eventHHubs/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHubs/version.json rename to modules/Microsoft.EventHub/namespaces/eventHHubs/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep deleted file mode 100644 index 32a51f1a90..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/.bicep/nested_roleAssignments.bicep +++ /dev/null @@ -1,73 +0,0 @@ -@sys.description('Required. The IDs of the principals to assign the role to.') -param principalIds array - -@sys.description('Required. The name of the role to assign. If it cannot be found you can specify the role definition ID instead.') -param roleDefinitionIdOrName string - -@sys.description('Required. The resource ID of the resource to apply the role assignment to.') -param resourceId string - -@sys.description('Optional. The principal type of the assigned principal ID.') -@allowed([ - 'ServicePrincipal' - 'Group' - 'User' - 'ForeignGroup' - 'Device' - '' -]) -param principalType string = '' - -@sys.description('Optional. The description of the role assignment.') -param description string = '' - -@sys.description('Optional. The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase "foo_storage_container".') -param condition string = '' - -@sys.description('Optional. Version of the condition.') -@allowed([ - '2.0' -]) -param conditionVersion string = '2.0' - -@sys.description('Optional. Id of the delegated managed identity resource.') -param delegatedManagedIdentityResourceId string = '' - -var builtInRoleNames = { - 'Azure Event Hubs Data Owner': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f526a384-b230-433a-b45c-95f59c4a2dec') - 'Azure Event Hubs Data Receiver': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'a638d3c7-ab3a-418d-83e6-5f17a39d4fde') - 'Azure Event Hubs Data Sender': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '2b629674-e913-4c01-ae53-ef4638d8f975') - Contributor: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b24988ac-6180-42a0-ab88-20f7382dd24c') - 'Log Analytics Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '92aaf0da-9dab-42b6-94a3-d43ce8d16293') - 'Log Analytics Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '73c42c96-874c-492b-b04d-ab87d138a893') - 'Managed Application Contributor Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '641177b8-a67a-45b9-a033-47bc880bb21e') - 'Managed Application Operator Role': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'c7393b34-138c-406f-901b-d8cf2b17e6ae') - 'Managed Applications Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'b9331d33-8a36-4f8c-b097-4f54124fdb44') - 'Monitoring Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '749f88d5-cbae-40b8-bcfc-e573ddc772fa') - 'Monitoring Reader': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '43d0d8ad-25c7-4714-9337-8ba259a9fe05') - Owner: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '8e3af657-a8ff-443c-a75c-2fe8c4bcb635') - Reader: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'acdd72a7-3385-48ef-bd42-f606fba81ae7') - 'Resource Policy Contributor': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '36243c78-bf99-498c-9df9-86d9f8d28608') - 'Role Based Access Control Administrator (Preview)': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f58310d9-a9f6-439a-9e8d-f62e7b41a168') - 'Schema Registry Contributor (Preview)': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '5dffeca3-4936-4216-b2bc-10343a5abb25') - 'Schema Registry Reader (Preview)': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '2c56ea50-c6b3-40a6-83c0-9d98858bc7d2') - 'User Access Administrator': subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '18d7d88d-d35e-4fb5-a5c3-7773c20a72d9') -} - -resource eventHub 'Microsoft.EventHub/namespaces/eventhubs@2021-11-01' existing = { - name: '${split(resourceId, '/')[8]}/${split(resourceId, '/')[10]}}' -} - -resource roleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = [for principalId in principalIds: { - name: guid(split(resourceId, '/')[0], split(resourceId, '/')[1], principalId, roleDefinitionIdOrName) - properties: { - description: description - roleDefinitionId: contains(builtInRoleNames, roleDefinitionIdOrName) ? builtInRoleNames[roleDefinitionIdOrName] : roleDefinitionIdOrName - principalId: principalId - principalType: !empty(principalType) ? any(principalType) : null - condition: !empty(condition) ? condition : null - conditionVersion: !empty(conditionVersion) && !empty(condition) ? conditionVersion : null - delegatedManagedIdentityResourceId: !empty(delegatedManagedIdentityResourceId) ? delegatedManagedIdentityResourceId : null - } - scope: eventHub -}] diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep deleted file mode 100644 index e7422f0f59..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/deploy.bicep +++ /dev/null @@ -1,56 +0,0 @@ -@description('Conditional. The name of the parent event hub namespace. Required if the template is used in a standalone deployment.') -param namespaceName string - -@description('Conditional. The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment.') -param eventHubName string - -@description('Required. The name of the authorization rule.') -param name string - -@description('Optional. The rights associated with the rule.') -@allowed([ - 'Listen' - 'Manage' - 'Send' -]) -param rights array = [] - -@description('Optional. Enable telemetry via a Globally Unique Identifier (GUID).') -param enableDefaultTelemetry bool = true - -resource defaultTelemetry 'Microsoft.Resources/deployments@2021-04-01' = if (enableDefaultTelemetry) { - name: 'pid-47ed15a6-730a-4827-bcb4-0fd963ffbd82-${uniqueString(deployment().name)}' - properties: { - mode: 'Incremental' - template: { - '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#' - contentVersion: '1.0.0.0' - resources: [] - } - } -} - -resource namespace 'Microsoft.EventHub/namespaces@2021-11-01' existing = { - name: namespaceName - - resource eventhub 'eventHubs@2021-11-01' existing = { - name: eventHubName - } -} - -resource authorizationRule 'Microsoft.EventHub/namespaces/eventhubs/authorizationRules@2021-11-01' = { - name: name - parent: namespace::eventhub - properties: { - rights: rights - } -} - -@description('The name of the authorization rule.') -output name string = authorizationRule.name - -@description('The resource ID of the authorization rule.') -output resourceId string = authorizationRule.id - -@description('The name of the resource group the authorization rule was created in.') -output resourceGroupName string = resourceGroup().name diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md deleted file mode 100644 index 4c5c881b8f..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/readme.md +++ /dev/null @@ -1,51 +0,0 @@ -# EventHub Namespace EventHubs Authorization Rule `[Microsoft.EventHub/namespaces/eventhubs/authorizationRules]` - -This module deploys an EventHub Namespace EventHubs Authorization Rule - -## Navigation - -- [Resource Types](#Resource-Types) -- [Parameters](#Parameters) -- [Outputs](#Outputs) -- [Cross-referenced modules](#Cross-referenced-modules) - -## Resource Types - -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.EventHub/namespaces/eventhubs/authorizationRules` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/authorizationRules) | - -## Parameters - -**Required parameters** - -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the authorization rule. | - -**Conditional parameters** - -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `eventHubName` | string | The name of the parent event hub namespace event hub. Required if the template is used in a standalone deployment. | -| `namespaceName` | string | The name of the parent event hub namespace. Required if the template is used in a standalone deployment. | - -**Optional parameters** - -| Parameter Name | Type | Default Value | Allowed Values | Description | -| :-- | :-- | :-- | :-- | :-- | -| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | -| `rights` | array | `[]` | `[Listen, Manage, Send]` | The rights associated with the rule. | - - -## Outputs - -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the authorization rule. | -| `resourceGroupName` | string | The name of the resource group the authorization rule was created in. | -| `resourceId` | string | The resource ID of the authorization rule. | - -## Cross-referenced modules - -_None_ diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json b/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json deleted file mode 100644 index 56f8d9ca40..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/authorizationRules/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.4" -} diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md b/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md deleted file mode 100644 index 07a2043941..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/readme.md +++ /dev/null @@ -1,129 +0,0 @@ -# EventHub `[Microsoft.EventHub/namespaces/eventhubs]` - -This module deploys an Event Hub. - -## Navigation - -- [Resource types](#Resource-types) -- [Parameters](#Parameters) -- [Outputs](#Outputs) -- [Cross-referenced modules](#Cross-referenced-modules) - -## Resource types - -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | -| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | -| `Microsoft.EventHub/namespaces/eventhubs` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs) | -| `Microsoft.EventHub/namespaces/eventhubs/authorizationRules` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/authorizationRules) | -| `Microsoft.EventHub/namespaces/eventhubs/consumergroups` | [2021-11-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.EventHub/2021-11-01/namespaces/eventhubs/consumergroups) | - -## Parameters - -**Required parameters** - -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the event hub. | - -**Conditional parameters** - -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `namespaceName` | string | The name of the parent event hub namespace. Required if the template is used in a standalone deployment. | - -**Optional parameters** - -| Parameter Name | Type | Default Value | Allowed Values | Description | -| :-- | :-- | :-- | :-- | :-- | -| `authorizationRules` | _[authorizationRules](authorizationRules/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | Authorization Rules for the event hub. | -| `captureDescriptionDestinationArchiveNameFormat` | string | `'{Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}'` | | Blob naming convention for archive, e.g. {Namespace}/{EventHub}/{PartitionId}/{Year}/{Month}/{Day}/{Hour}/{Minute}/{Second}. Here all the parameters (Namespace,EventHub .. etc) are mandatory irrespective of order. | -| `captureDescriptionDestinationBlobContainer` | string | `''` | | Blob container Name. | -| `captureDescriptionDestinationName` | string | `'EventHubArchive.AzureBlockBlob'` | | Name for capture destination. | -| `captureDescriptionDestinationStorageAccountResourceId` | string | `''` | | Resource ID of the storage account to be used to create the blobs. | -| `captureDescriptionEnabled` | bool | `False` | | A value that indicates whether capture description is enabled. | -| `captureDescriptionEncoding` | string | `'Avro'` | `[Avro, AvroDeflate]` | Enumerates the possible values for the encoding format of capture description. Note: "AvroDeflate" will be deprecated in New API Version. | -| `captureDescriptionIntervalInSeconds` | int | `300` | | The time window allows you to set the frequency with which the capture to Azure Blobs will happen. | -| `captureDescriptionSizeLimitInBytes` | int | `314572800` | | The size window defines the amount of data built up in your Event Hub before an capture operation. | -| `captureDescriptionSkipEmptyArchives` | bool | `False` | | A value that indicates whether to Skip Empty Archives. | -| `consumerGroups` | _[consumerGroups](consumerGroups/readme.md)_ array | `[System.Management.Automation.OrderedHashtable]` | | The consumer groups to create in this event hub instance. | -| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | -| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | -| `messageRetentionInDays` | int | `1` | | Number of days to retain the events for this Event Hub, value should be 1 to 7 days. | -| `partitionCount` | int | `2` | | Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. | -| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | -| `status` | string | `'Active'` | `[Active, Creating, Deleting, Disabled, ReceiveDisabled, Renaming, Restoring, SendDisabled, Unknown]` | Enumerates the possible values for the status of the Event Hub. | - - -### Parameter Usage: `roleAssignments` - -Create a role assignment for the given resource. If you want to assign a service principal / managed identity that is created in the same deployment, make sure to also specify the `'principalType'` parameter and set it to `'ServicePrincipal'`. This will ensure the role assignment waits for the principal's propagation in Azure. - -
- -Parameter JSON format - -```json -"roleAssignments": { - "value": [ - { - "roleDefinitionIdOrName": "Reader", - "description": "Reader Role Assignment", - "principalIds": [ - "12345678-1234-1234-1234-123456789012", // object 1 - "78945612-1234-1234-1234-123456789012" // object 2 - ] - }, - { - "roleDefinitionIdOrName": "/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11", - "principalIds": [ - "12345678-1234-1234-1234-123456789012" // object 1 - ], - "principalType": "ServicePrincipal" - } - ] -} -``` - -
- -
- -Bicep format - -```bicep -roleAssignments: [ - { - roleDefinitionIdOrName: 'Reader' - description: 'Reader Role Assignment' - principalIds: [ - '12345678-1234-1234-1234-123456789012' // object 1 - '78945612-1234-1234-1234-123456789012' // object 2 - ] - } - { - roleDefinitionIdOrName: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11' - principalIds: [ - '12345678-1234-1234-1234-123456789012' // object 1 - ] - principalType: 'ServicePrincipal' - } -] -``` - -
-

- -## Outputs - -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `eventHubId` | string | The resource ID of the event hub. | -| `name` | string | The name of the event hub. | -| `resourceGroupName` | string | The resource group the event hub was deployed into. | -| `resourceId` | string | The authentication rule resource ID of the event hub. | - -## Cross-referenced modules - -_None_ diff --git a/modules/Microsoft.EventHub/namespaces/eventhubs/version.json b/modules/Microsoft.EventHub/namespaces/eventhubs/version.json deleted file mode 100644 index 56f8d9ca40..0000000000 --- a/modules/Microsoft.EventHub/namespaces/eventhubs/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.4" -} From 73c42b9339e60e5c5b2d2592940829ec8ff01106 Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:27:29 +0100 Subject: [PATCH 17/21] Update to latest --- .../{eventHHubs => eventHubs}/.bicep/nested_roleAssignments.bicep | 0 .../{eventHHubs => eventHubs}/authorizationRules/deploy.bicep | 0 .../{eventHHubs => eventHubs}/authorizationRules/readme.md | 0 .../{eventHHubs => eventHubs}/authorizationRules/version.json | 0 .../{eventHHubs => eventHubs}/consumerGroups/deploy.bicep | 0 .../namespaces/{eventHHubs => eventHubs}/consumerGroups/readme.md | 0 .../{eventHHubs => eventHubs}/consumerGroups/version.json | 0 .../namespaces/{eventHHubs => eventHubs}/deploy.bicep | 0 .../namespaces/{eventHHubs => eventHubs}/readme.md | 0 .../namespaces/{eventHHubs => eventHubs}/version.json | 0 10 files changed, 0 insertions(+), 0 deletions(-) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/.bicep/nested_roleAssignments.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/authorizationRules/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/authorizationRules/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/authorizationRules/version.json (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/consumerGroups/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/consumerGroups/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/consumerGroups/version.json (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/deploy.bicep (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/readme.md (100%) rename modules/Microsoft.EventHub/namespaces/{eventHHubs => eventHubs}/version.json (100%) diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/.bicep/nested_roleAssignments.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/.bicep/nested_roleAssignments.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/.bicep/nested_roleAssignments.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/.bicep/nested_roleAssignments.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/version.json b/modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/authorizationRules/version.json rename to modules/Microsoft.EventHub/namespaces/eventHubs/authorizationRules/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/version.json b/modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/consumerGroups/version.json rename to modules/Microsoft.EventHub/namespaces/eventHubs/consumerGroups/version.json diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/deploy.bicep b/modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/deploy.bicep rename to modules/Microsoft.EventHub/namespaces/eventHubs/deploy.bicep diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/readme.md b/modules/Microsoft.EventHub/namespaces/eventHubs/readme.md similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/readme.md rename to modules/Microsoft.EventHub/namespaces/eventHubs/readme.md diff --git a/modules/Microsoft.EventHub/namespaces/eventHHubs/version.json b/modules/Microsoft.EventHub/namespaces/eventHubs/version.json similarity index 100% rename from modules/Microsoft.EventHub/namespaces/eventHHubs/version.json rename to modules/Microsoft.EventHub/namespaces/eventHubs/version.json From 958ab205df6a8ca1ac55038e81fd5a99de8cf24d Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:28:46 +0100 Subject: [PATCH 18/21] Update to latest --- modules/Microsoft.EventHub/namespaces/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Microsoft.EventHub/namespaces/readme.md b/modules/Microsoft.EventHub/namespaces/readme.md index 57d38cc838..e4b48dde9e 100644 --- a/modules/Microsoft.EventHub/namespaces/readme.md +++ b/modules/Microsoft.EventHub/namespaces/readme.md @@ -50,7 +50,7 @@ This module deploys an event hub namespace. | `diagnosticWorkspaceId` | string | `''` | | Resource ID of the diagnostic log analytics workspace. | | `disasterRecoveryConfig` | object | `{object}` | | The disaster recovery config for this namespace. | | `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | -| `eventHubs` | _[eventhubs](eventhubs/readme.md)_ array | `[]` | | The event hubs to deploy into this namespace. | +| `eventHubs` | _[eventHubs](eventHubs/readme.md)_ array | `[]` | | The event hubs to deploy into this namespace. | | `isAutoInflateEnabled` | bool | `False` | | Switch to enable the Auto Inflate feature of Event Hub. | | `location` | string | `[resourceGroup().location]` | | Location for all resources. | | `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | From 666098d4c1dd26b45cfd14e56cb0348da6f6cf5b Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:29:46 +0100 Subject: [PATCH 19/21] Update to latest --- .../deploy.bicep | 0 .../readme.md | 0 .../version.json | 0 .../service/portalsettings/readme.md | 50 ------------------- .../service/portalsettings/version.json | 4 -- 5 files changed, 54 deletions(-) rename modules/Microsoft.ApiManagement/service/{portalSettings => portalSSettings}/deploy.bicep (100%) rename modules/Microsoft.ApiManagement/service/{portalSettings => portalSSettings}/readme.md (100%) rename modules/Microsoft.ApiManagement/service/{portalSettings => portalSSettings}/version.json (100%) delete mode 100644 modules/Microsoft.ApiManagement/service/portalsettings/readme.md delete mode 100644 modules/Microsoft.ApiManagement/service/portalsettings/version.json diff --git a/modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep b/modules/Microsoft.ApiManagement/service/portalSSettings/deploy.bicep similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep rename to modules/Microsoft.ApiManagement/service/portalSSettings/deploy.bicep diff --git a/modules/Microsoft.ApiManagement/service/portalSettings/readme.md b/modules/Microsoft.ApiManagement/service/portalSSettings/readme.md similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSettings/readme.md rename to modules/Microsoft.ApiManagement/service/portalSSettings/readme.md diff --git a/modules/Microsoft.ApiManagement/service/portalSettings/version.json b/modules/Microsoft.ApiManagement/service/portalSSettings/version.json similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSettings/version.json rename to modules/Microsoft.ApiManagement/service/portalSSettings/version.json diff --git a/modules/Microsoft.ApiManagement/service/portalsettings/readme.md b/modules/Microsoft.ApiManagement/service/portalsettings/readme.md deleted file mode 100644 index f79f0c969b..0000000000 --- a/modules/Microsoft.ApiManagement/service/portalsettings/readme.md +++ /dev/null @@ -1,50 +0,0 @@ -# API Management Service Portal Settings `[Microsoft.ApiManagement/service/portalsettings]` - -This module deploys API Management Service Portal Setting. - -## Navigation - -- [Resource Types](#Resource-Types) -- [Parameters](#Parameters) -- [Outputs](#Outputs) -- [Cross-referenced modules](#Cross-referenced-modules) - -## Resource Types - -| Resource Type | API Version | -| :-- | :-- | -| `Microsoft.ApiManagement/service/portalsettings` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/service) | - -## Parameters - -**Required parameters** - -| Parameter Name | Type | Allowed Values | Description | -| :-- | :-- | :-- | :-- | -| `name` | string | `[delegation, signin, signup]` | Portal setting name. | - -**Conditional parameters** - -| Parameter Name | Type | Description | -| :-- | :-- | :-- | -| `apiManagementServiceName` | string | The name of the parent API Management service. Required if the template is used in a standalone deployment. | - -**Optional parameters** - -| Parameter Name | Type | Default Value | Description | -| :-- | :-- | :-- | :-- | -| `enableDefaultTelemetry` | bool | `True` | Enable telemetry via a Globally Unique Identifier (GUID). | -| `properties` | object | `{object}` | Portal setting properties. | - - -## Outputs - -| Output Name | Type | Description | -| :-- | :-- | :-- | -| `name` | string | The name of the API management service portal setting. | -| `resourceGroupName` | string | The resource group the API management service portal setting was deployed into. | -| `resourceId` | string | The resource ID of the API management service portal setting. | - -## Cross-referenced modules - -_None_ diff --git a/modules/Microsoft.ApiManagement/service/portalsettings/version.json b/modules/Microsoft.ApiManagement/service/portalsettings/version.json deleted file mode 100644 index 56f8d9ca40..0000000000 --- a/modules/Microsoft.ApiManagement/service/portalsettings/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "0.4" -} From c4089b8e02c386d7fce1dac667c234e499155aea Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:29:56 +0100 Subject: [PATCH 20/21] Update to latest --- .../service/{portalSSettings => portalSettings}/deploy.bicep | 0 .../service/{portalSSettings => portalSettings}/readme.md | 0 .../service/{portalSSettings => portalSettings}/version.json | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename modules/Microsoft.ApiManagement/service/{portalSSettings => portalSettings}/deploy.bicep (100%) rename modules/Microsoft.ApiManagement/service/{portalSSettings => portalSettings}/readme.md (100%) rename modules/Microsoft.ApiManagement/service/{portalSSettings => portalSettings}/version.json (100%) diff --git a/modules/Microsoft.ApiManagement/service/portalSSettings/deploy.bicep b/modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSSettings/deploy.bicep rename to modules/Microsoft.ApiManagement/service/portalSettings/deploy.bicep diff --git a/modules/Microsoft.ApiManagement/service/portalSSettings/readme.md b/modules/Microsoft.ApiManagement/service/portalSettings/readme.md similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSSettings/readme.md rename to modules/Microsoft.ApiManagement/service/portalSettings/readme.md diff --git a/modules/Microsoft.ApiManagement/service/portalSSettings/version.json b/modules/Microsoft.ApiManagement/service/portalSettings/version.json similarity index 100% rename from modules/Microsoft.ApiManagement/service/portalSSettings/version.json rename to modules/Microsoft.ApiManagement/service/portalSettings/version.json From 2054f6200801d923a4d7418b0f9fb355d85351cb Mon Sep 17 00:00:00 2001 From: AlexanderSehr Date: Fri, 13 Jan 2023 17:32:12 +0100 Subject: [PATCH 21/21] Update to latest --- .../Microsoft.ApiManagement/service/readme.md | 170 +++++++++--------- 1 file changed, 88 insertions(+), 82 deletions(-) diff --git a/modules/Microsoft.ApiManagement/service/readme.md b/modules/Microsoft.ApiManagement/service/readme.md index d04ed17725..92da9ba59a 100644 --- a/modules/Microsoft.ApiManagement/service/readme.md +++ b/modules/Microsoft.ApiManagement/service/readme.md @@ -13,82 +13,83 @@ This module deploys an API management service. ## Resource types -| Resource Type | API Version | -| :----------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------ | -| `Microsoft.ApiManagement/service` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service) | -| `Microsoft.ApiManagement/service/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis) | -| `Microsoft.ApiManagement/service/apis/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis/policies) | -| `Microsoft.ApiManagement/service/apiVersionSets` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apiVersionSets) | -| `Microsoft.ApiManagement/service/authorizationServers` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/authorizationServers) | -| `Microsoft.ApiManagement/service/backends` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/backends) | -| `Microsoft.ApiManagement/service/caches` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/caches) | -| `Microsoft.ApiManagement/service/identityProviders` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/identityProviders) | -| `Microsoft.ApiManagement/service/namedValues` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/namedValues) | -| `Microsoft.ApiManagement/service/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/policies) | -| `Microsoft.ApiManagement/service/portalsettings` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/service) | -| `Microsoft.ApiManagement/service/products` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products) | -| `Microsoft.ApiManagement/service/products/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/apis) | -| `Microsoft.ApiManagement/service/products/groups` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/groups) | -| `Microsoft.ApiManagement/service/subscriptions` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/subscriptions) | -| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | -| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | -| `Microsoft.Insights/diagnosticSettings` | [2021-05-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings) | +| Resource Type | API Version | +| :-- | :-- | +| `Microsoft.ApiManagement/service` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service) | +| `Microsoft.ApiManagement/service/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis) | +| `Microsoft.ApiManagement/service/apis/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apis/policies) | +| `Microsoft.ApiManagement/service/apiVersionSets` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/apiVersionSets) | +| `Microsoft.ApiManagement/service/authorizationServers` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/authorizationServers) | +| `Microsoft.ApiManagement/service/backends` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/backends) | +| `Microsoft.ApiManagement/service/caches` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/caches) | +| `Microsoft.ApiManagement/service/identityProviders` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/identityProviders) | +| `Microsoft.ApiManagement/service/namedValues` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/namedValues) | +| `Microsoft.ApiManagement/service/policies` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/policies) | +| `Microsoft.ApiManagement/service/portalsettings` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/service) | +| `Microsoft.ApiManagement/service/products` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products) | +| `Microsoft.ApiManagement/service/products/apis` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/apis) | +| `Microsoft.ApiManagement/service/products/groups` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/products/groups) | +| `Microsoft.ApiManagement/service/subscriptions` | [2021-08-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.ApiManagement/2021-08-01/service/subscriptions) | +| `Microsoft.Authorization/locks` | [2020-05-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2020-05-01/locks) | +| `Microsoft.Authorization/roleAssignments` | [2022-04-01](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Authorization/2022-04-01/roleAssignments) | +| `Microsoft.Insights/diagnosticSettings` | [2021-05-01-preview](https://docs.microsoft.com/en-us/azure/templates/Microsoft.Insights/2021-05-01-preview/diagnosticSettings) | ## Parameters **Required parameters** -| Parameter Name | Type | Description | -| :--------------- | :----- | :--------------------------------------------- | -| `name` | string | The name of the API Management service. | +| Parameter Name | Type | Description | +| :-- | :-- | :-- | +| `name` | string | The name of the API Management service. | | `publisherEmail` | string | The email address of the owner of the service. | -| `publisherName` | string | The name of the owner of the service. | +| `publisherName` | string | The name of the owner of the service. | **Optional parameters** -| Parameter Name | Type | Default Value | Allowed Values | Description | -| :-------------------------------------- | :------------------------------------------------------------- | :------------------------------------------------------- | :--------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `additionalLocations` | array | `[]` | | Additional datacenter locations of the API Management service. | -| `apis` | _[apis](apis/readme.md)_ array | `[]` | | APIs. | -| `apiVersionSets` | _[apiVersionSets](apiVersionSets/readme.md)_ array | `[]` | | API Version Sets. | -| `authorizationServers` | _[authorizationServers](authorizationServers/readme.md)_ array | `[]` | | Authorization servers. | -| `backends` | _[backends](backends/readme.md)_ array | `[]` | | Backends. | -| `caches` | _[caches](caches/readme.md)_ array | `[]` | | Caches. | -| `certificates` | array | `[]` | | List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10. | -| `customProperties` | object | `{object}` | | Custom properties of the API Management service. | -| `diagnosticEventHubAuthorizationRuleId` | string | `''` | | Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to. | -| `diagnosticEventHubName` | string | `''` | | Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. | -| `diagnosticLogCategoriesToEnable` | array | `[allLogs]` | `[allLogs, GatewayLogs]` | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. | -| `diagnosticLogsRetentionInDays` | int | `365` | | Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely. | -| `diagnosticMetricsToEnable` | array | `[AllMetrics]` | `[AllMetrics]` | The name of metrics that will be streamed. | -| `diagnosticSettingsName` | string | `[format('{0}-diagnosticSettings', parameters('name'))]` | | The name of the diagnostic setting, if deployed. | -| `diagnosticStorageAccountId` | string | `''` | | Resource ID of the diagnostic storage account. | -| `diagnosticWorkspaceId` | string | `''` | | Resource ID of the diagnostic log analytics workspace. | -| `disableGateway` | bool | `False` | | Property only valid for an API Management service deployed in multiple locations. This can be used to disable the gateway in master region. | -| `enableClientCertificate` | bool | `False` | | Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway. | -| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | -| `hostnameConfigurations` | array | `[]` | | Custom hostname configuration of the API Management service. | -| `identityProviders` | _[identityProviders](identityProviders/readme.md)_ array | `[]` | | Identity providers. | -| `location` | string | `[resourceGroup().location]` | | Location for all Resources. | -| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | -| `minApiVersion` | string | `''` | | Limit control plane API calls to API Management service with version equal to or newer than this value. | -| `namedValues` | _[namedValues](namedValues/readme.md)_ array | `[]` | | Named values. | -| `newGuidValue` | string | `[newGuid()]` | | Necessary to create a new GUID. | -| `notificationSenderEmail` | string | `'apimgmt-noreply@mail.windowsazure.com'` | | The notification sender email address for the service. | -| `policies` | _[policies](policies/readme.md)_ array | `[]` | | Policies. | -| `portalSettings` | _[portalSettings](portalSettings/readme.md)_ array | `[]` | | Portal settings. | -| `products` | _[products](products/readme.md)_ array | `[]` | | Products. | -| `restore` | bool | `False` | | Undelete API Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored. | -| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | -| `sku` | string | `'Developer'` | `[Basic, Consumption, Developer, Premium, Standard]` | The pricing tier of this API Management service. | -| `skuCount` | int | `1` | `[1, 2]` | The instance size of this API Management service. | -| `subnetResourceId` | string | `''` | | The full resource ID of a subnet in a virtual network to deploy the API Management service in. | -| `subscriptions` | _[subscriptions](subscriptions/readme.md)_ array | `[]` | | Subscriptions. | -| `systemAssignedIdentity` | bool | `False` | | Enables system assigned managed identity on the resource. | -| `tags` | object | `{object}` | | Tags of the resource. | -| `userAssignedIdentities` | object | `{object}` | | The ID(s) to assign to the resource. | -| `virtualNetworkType` | string | `'None'` | `[External, Internal, None]` | The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. | -| `zones` | array | `[]` | | A list of availability zones denoting where the resource needs to come from. | +| Parameter Name | Type | Default Value | Allowed Values | Description | +| :-- | :-- | :-- | :-- | :-- | +| `additionalLocations` | array | `[]` | | Additional datacenter locations of the API Management service. | +| `apis` | _[apis](apis/readme.md)_ array | `[]` | | APIs. | +| `apiVersionSets` | _[apiVersionSets](apiVersionSets/readme.md)_ array | `[]` | | API Version Sets. | +| `authorizationServers` | _[authorizationServers](authorizationServers/readme.md)_ array | `[]` | | Authorization servers. | +| `backends` | _[backends](backends/readme.md)_ array | `[]` | | Backends. | +| `caches` | _[caches](caches/readme.md)_ array | `[]` | | Caches. | +| `certificates` | array | `[]` | | List of Certificates that need to be installed in the API Management service. Max supported certificates that can be installed is 10. | +| `customProperties` | object | `{object}` | | Custom properties of the API Management service. | +| `diagnosticEventHubAuthorizationRuleId` | string | `''` | | Resource ID of the diagnostic event hub authorization rule for the Event Hubs namespace in which the event hub should be created or streamed to. | +| `diagnosticEventHubName` | string | `''` | | Name of the diagnostic event hub within the namespace to which logs are streamed. Without this, an event hub is created for each log category. | +| `diagnosticLogCategoriesToEnable` | array | `[allLogs]` | `[allLogs, GatewayLogs]` | The name of logs that will be streamed. "allLogs" includes all possible logs for the resource. | +| `diagnosticLogsRetentionInDays` | int | `365` | | Specifies the number of days that logs will be kept for; a value of 0 will retain data indefinitely. | +| `diagnosticMetricsToEnable` | array | `[AllMetrics]` | `[AllMetrics]` | The name of metrics that will be streamed. | +| `diagnosticSettingsName` | string | `[format('{0}-diagnosticSettings', parameters('name'))]` | | The name of the diagnostic setting, if deployed. | +| `diagnosticStorageAccountId` | string | `''` | | Resource ID of the diagnostic storage account. | +| `diagnosticWorkspaceId` | string | `''` | | Resource ID of the diagnostic log analytics workspace. | +| `disableGateway` | bool | `False` | | Property only valid for an API Management service deployed in multiple locations. This can be used to disable the gateway in master region. | +| `enableClientCertificate` | bool | `False` | | Property only meant to be used for Consumption SKU Service. This enforces a client certificate to be presented on each request to the gateway. This also enables the ability to authenticate the certificate in the policy on the gateway. | +| `enableDefaultTelemetry` | bool | `True` | | Enable telemetry via a Globally Unique Identifier (GUID). | +| `hostnameConfigurations` | array | `[]` | | Custom hostname configuration of the API Management service. | +| `identityProviders` | _[identityProviders](identityProviders/readme.md)_ array | `[]` | | Identity providers. | +| `location` | string | `[resourceGroup().location]` | | Location for all Resources. | +| `lock` | string | `''` | `['', CanNotDelete, ReadOnly]` | Specify the type of lock. | +| `minApiVersion` | string | `''` | | Limit control plane API calls to API Management service with version equal to or newer than this value. | +| `namedValues` | _[namedValues](namedValues/readme.md)_ array | `[]` | | Named values. | +| `newGuidValue` | string | `[newGuid()]` | | Necessary to create a new GUID. | +| `notificationSenderEmail` | string | `'apimgmt-noreply@mail.windowsazure.com'` | | The notification sender email address for the service. | +| `policies` | _[policies](policies/readme.md)_ array | `[]` | | Policies. | +| `portalSettings` | _[portalSettings](portalSettings/readme.md)_ array | `[]` | | Portal settings. | +| `products` | _[products](products/readme.md)_ array | `[]` | | Products. | +| `restore` | bool | `False` | | Undelete API Management Service if it was previously soft-deleted. If this flag is specified and set to True all other properties will be ignored. | +| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. | +| `sku` | string | `'Developer'` | `[Basic, Consumption, Developer, Premium, Standard]` | The pricing tier of this API Management service. | +| `skuCount` | int | `1` | `[1, 2]` | The instance size of this API Management service. | +| `subnetResourceId` | string | `''` | | The full resource ID of a subnet in a virtual network to deploy the API Management service in. | +| `subscriptions` | _[subscriptions](subscriptions/readme.md)_ array | `[]` | | Subscriptions. | +| `systemAssignedIdentity` | bool | `False` | | Enables system assigned managed identity on the resource. | +| `tags` | object | `{object}` | | Tags of the resource. | +| `userAssignedIdentities` | object | `{object}` | | The ID(s) to assign to the resource. | +| `virtualNetworkType` | string | `'None'` | `[External, Internal, None]` | The type of VPN in which API Management service needs to be configured in. None (Default Value) means the API Management service is not part of any Virtual Network, External means the API Management deployment is set up inside a Virtual Network having an internet Facing Endpoint, and Internal means that API Management deployment is setup inside a Virtual Network having an Intranet Facing Endpoint only. | +| `zones` | array | `[]` | | A list of availability zones denoting where the resource needs to come from. | + ### Parameter Usage: `roleAssignments` @@ -256,13 +257,13 @@ userAssignedIdentities: { ## Outputs -| Output Name | Type | Description | -| :-------------------------- | :----- | :--------------------------------------------------------------- | -| `location` | string | The location the resource was deployed into. | -| `name` | string | The name of the API management service. | -| `resourceGroupName` | string | The resource group the API management service was deployed into. | -| `resourceId` | string | The resource ID of the API management service. | -| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. | +| Output Name | Type | Description | +| :-- | :-- | :-- | +| `location` | string | The location the resource was deployed into. | +| `name` | string | The name of the API management service. | +| `resourceGroupName` | string | The resource group the API management service was deployed into. | +| `resourceId` | string | The resource ID of the API management service. | +| `systemAssignedPrincipalId` | string | The principal ID of the system assigned identity. | ## Considerations @@ -272,17 +273,16 @@ userAssignedIdentities: { This section gives you an overview of all local-referenced module files (i.e., other CARML modules that are referenced in this module) and all remote-referenced files (i.e., Bicep modules that are referenced from a Bicep Registry or Template Specs). -| Reference | Type | -| :--------------------------------------------- | :-------------- | +| Reference | Type | +| :-- | :-- | | `Microsoft.ApiManagement/authorizationServers` | Local reference | ## Deployment examples The following module usage examples are retrieved from the content of the files hosted in the module's `.test` folder. + >**Note**: The name of each example is based on the name of the file from which it is taken. -> **Note**: The name of each example is based on the name of the file from which it is taken. - -> **Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order. + >**Note**: Each example lists all the required parameters first, followed by the rest - each in alphabetical order.

Example 1: Common

@@ -398,7 +398,9 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { "roleAssignments": { "value": [ { - "principalIds": [""], + "principalIds": [ + "" + ], "principalType": "ServicePrincipal", "roleDefinitionIdOrName": "Reader" } @@ -604,7 +606,9 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { "clientIdSecretName": "", "clientRegistrationEndpoint": "http://localhost", "clientSecretSecretName": "", - "grantTypes": ["authorizationCode"], + "grantTypes": [ + "authorizationCode" + ], "name": "AuthServer1", "tokenEndpoint": "" } @@ -718,7 +722,9 @@ module service './Microsoft.ApiManagement/service/deploy.bicep' = { "roleAssignments": { "value": [ { - "principalIds": [""], + "principalIds": [ + "" + ], "principalType": "ServicePrincipal", "roleDefinitionIdOrName": "Reader" }