This commit is contained in:
Marvin Buss 2021-02-05 00:37:44 +01:00
Родитель 3b6579e111
Коммит ea12ece535
3 изменённых файлов: 109 добавлений и 321 удалений

Просмотреть файл

@ -30,9 +30,35 @@
"description": "Specifies the admin password of the virtual machines."
}
},
"enableAzureFirewall": {
"enableDnsAndFirewall": {
"type": "bool",
"defaultValue": true
"defaultValue": true,
"metadata": {
"description": "Specifies whether Private DNS zones and Azure Firewall should be deployed."
}
},
"dnsServerAdresses": {
"type": "array",
"defaultValue": [
"10.0.0.4"
],
"metadata": {
"description": "Specifies a list of internal IP adresses of your DNS forwarders or internal IP address of your Azure Firewall if you have enabled DNS forwarding."
}
},
"firewallPrivateIp": {
"type": "string",
"defaultValue": "10.0.0.4",
"metadata": {
"description": "Specifies the private IP of your (Azure) Firewall."
}
},
"privateDnsZoneResourceGroupId": {
"type": "string",
"defaultValue": "",
"metadata": {
"description": "Specifies the ID of the resource group of the private dns zones, if you already have one that should be used."
}
}
},
"functions": [],
@ -40,10 +66,12 @@
"enterpriseScaleAnalyticsCompanyPrefix": "[parameters('enterpriseScaleAnalyticsCompanyPrefix')]",
"dataHubSubscriptionId": "[parameters('dataHubSubscriptionId')]",
"location": "[parameters('location')]",
"vmAdminPassword": "[parameters('vmAdminPassword')]",
"enableAzureFirewall": "[parameters('enableAzureFirewall')]",
"networkTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/docs/reference/deploy.network.json?token=AIHRGTXMDVLQNB4R5JDMYP3ADMR3U",
"servicesTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/docs/reference/deploy.services.json?token=AIHRGTUGHS4HVTWQKMQOEH3ADMR5A"
"dnsServerAdresses": "[parameters('dnsServerAdresses')]",
"firewallPrivateIp": "[parameters('firewallPrivateIp')]",
"privateDnsZoneResourceGroupId": "[parameters('privateDnsZoneResourceGroupId')]",
"enableDnsAndFirewall": "[parameters('enableDnsAndFirewall')]",
"networkTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/docs/reference/deploy.network.json",
"servicesTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/docs/reference/deploy.services.json"
},
"resources": [
{
@ -64,8 +92,14 @@
"enterpriseScaleAnalyticsCompanyPrefix": {
"value": "[variables('enterpriseScaleAnalyticsCompanyPrefix')]"
},
"enableAzureFirewall": {
"value": "[variables('enableAzureFirewall')]"
"enableDnsAndFirewall": {
"value": "[variables('enableDnsAndFirewall')]"
},
"dnsServerAdresses": {
"value": "[variables('dnsServerAdresses')]"
},
"firewallPrivateIp": {
"value": "[variables('firewallPrivateIp')]"
}
}
},
@ -93,16 +127,10 @@
"value": "[variables('enterpriseScaleAnalyticsCompanyPrefix')]"
},
"subnetId": {
"value": "[reference('networkDeployment').outputs.subnetId.value]"
},
"privateLinkSubnetId": {
"value": "[reference('networkDeployment').outputs.privateLinkSubnetId.value]"
},
"privateDnsZoneResourceGroupId": {
"value": "[reference('networkDeployment').outputs.privateDnsZoneResourceGroupId.value]"
},
"vmAdminPassword": {
"value": "[variables('vmAdminPassword')]"
"value": "[if(variables('enableDnsAndFirewall'), reference('networkDeployment').outputs.privateDnsZoneResourceGroupId.value, variables('privateDnsZoneResourceGroupId'))]"
}
}
},
@ -112,7 +140,7 @@
"outputs": {
"firewallPrivateIp": {
"type": "string",
"value": "[reference('networkDeployment').outputs.firewallName.value]"
"value": "[reference('networkDeployment').outputs.firewallPrivateIp.value]"
},
"privateDnsZoneResourceGroupId": {
"type": "string",

Просмотреть файл

@ -16,22 +16,43 @@
"description": "Specifies the location for all resources."
}
},
"enableAzureFirewall": {
"enableDnsAndFirewall": {
"type": "bool",
"defaultValue": true
"defaultValue": true,
"metadata": {
"description": "Specifies whether Private DNS zones and Azure Firewall should be deployed."
}
},
"dnsServerAdresses": {
"type": "array",
"defaultValue": [
"10.0.0.4"
],
"metadata": {
"description": "Specifies a list of internal IP adresses of your DNS forwarders or internal IP address of your Azure Firewall if you have enabled DNS forwarding."
}
},
"firewallPrivateIp": {
"type": "string",
"defaultValue": "10.0.0.4",
"metadata": {
"description": "Specifies the private IP of your (Azure) Firewall."
}
}
},
"functions": [],
"variables": {
"enterpriseScaleAnalyticsCompanyPrefix": "[parameters('enterpriseScaleAnalyticsCompanyPrefix')]",
"location": "[parameters('location')]",
"enableAzureFirewall": "[parameters('enableAzureFirewall')]",
"dnsServerAdresses": "[parameters('dnsServerAdresses')]",
"firewallPrivateIp": "[parameters('firewallPrivateIp')]",
"enableDnsAndFirewall": "[parameters('enableDnsAndFirewall')]",
"networkResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-network')]",
"privateDnsZoneResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-global-dns')]",
"vnetTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/VirtualNetwork/deploy.vnet.json?token=AIHRGTW6PTVPD6URG3WF7ODADMRAS",
"privateDnsZoneTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/PrivateDns/deploy.privateDns.json?token=AIHRGTVTXVNXEQSN54GCG7DADMRES",
"firewallPolicyTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/FirewallPolicy/deploy.firewallPolicy.json?token=AIHRGTXVXXPUQP7C6QHCMWTADMRIQ",
"firewallTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/Firewall/deploy.firewall.json?token=AIHRGTTJWKJOXKIL2X4WW6DADMRGQ",
"vnetTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/VirtualNetwork/deploy.vnet.json",
"privateDnsZoneTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/PrivateDns/deploy.privateDns.json",
"firewallPolicyTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/FirewallPolicy/deploy.firewallPolicy.json",
"firewallTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/Firewall/deploy.firewall.json",
"privateDnsZoneNames": [
"privatelink.afs.azure.net",
"privatelink.analysis.windows.net",
@ -88,6 +109,7 @@
"properties": {}
},
{
"condition": "[variables('enableDnsAndFirewall')]",
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2020-06-01",
"name": "[variables('privateDnsZoneResourceGroupName')]",
@ -113,18 +135,28 @@
},
"vnetName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-vnet'), 64)]"
},
"dataHubName": {
"value": "dh"
},
"dnsServerAdresses": {
"value": "[variables('dnsServerAdresses')]"
},
"firewallPrivateIp": {
"value": "[variables('firewallPrivateIp')]"
}
}
},
"resourceGroup": "[variables('networkResourceGroupName')]"
},
{
"condition": "[variables('enableDnsAndFirewall')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "privateDnsZoneDeployment",
"name": "privateDnsZone001Deployment",
"dependsOn": [
"vnetDeployment",
"[resourceId('Microsoft.Resources/resourceGroups', variables('networkResourceGroupName'))]"
"[resourceId('Microsoft.Resources/resourceGroups', variables('privateDnsZoneResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
@ -144,10 +176,10 @@
"resourceGroup": "[variables('privateDnsZoneResourceGroupName')]"
},
{
"condition": "[variables('enableAzureFirewall')]",
"condition": "[variables('enableDnsAndFirewall')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "firewallPolicyDeployment",
"name": "firewallPolicy001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('networkResourceGroupName'))]"
],
@ -169,13 +201,13 @@
"resourceGroup": "[variables('networkResourceGroupName')]"
},
{
"condition": "[variables('enableAzureFirewall')]",
"condition": "[variables('enableDnsAndFirewall')]",
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "firewallDeployment",
"name": "firewall001Deployment",
"dependsOn": [
"vnetDeployment",
"firewallPolicyDeployment",
"firewallPolicy001Deployment",
"[resourceId('Microsoft.Resources/resourceGroups', variables('networkResourceGroupName'))]"
],
"properties": {
@ -213,11 +245,11 @@
},
"privateDnsZoneResourceGroupId": {
"type": "string",
"value": "[resourceId('Microsoft.Resources/resourceGroups', variables('privateDnsZoneResourceGroupName'))]"
"value": "[if(variables('enableDnsAndFirewall'), resourceId('Microsoft.Resources/resourceGroups', variables('privateDnsZoneResourceGroupName')), null())]"
},
"firewallPrivateIp": {
"type": "string",
"value": "[if(variables('enableAzureFirewall'), reference('firewallDeployment').outputs.firewallPrivateIp.value, null())]"
"value": "[if(variables('enableDnsAndFirewall'), reference('firewallDeployment').outputs.firewallPrivateIp.value, null())]"
}
}
}

Просмотреть файл

@ -23,25 +23,12 @@
"description": "Specifies the id of the subnet that should be used for non private link private endpoints."
}
},
"privateLinkSubnetId": {
"type": "string",
"defaultValue": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/<your-rg-name>/providers/Microsoft.Network/virtualNetworks/<your-vnet-name>/subnets/<your-subnet-name>",
"metadata": {
"description": "Specifies the id of the subnet that should be used for private endpoints."
}
},
"privateDnsZoneResourceGroupId": {
"type": "string",
"defaultValue": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/<your-rg-name>",
"metadata": {
"description": "Specifies the ID of the resource group of the private dns zones."
}
},
"vmAdminPassword": {
"type": "securestring",
"metadata": {
"description": "Specifies the admin password of the virtual machines."
}
}
},
"functions": [],
@ -49,27 +36,17 @@
"enterpriseScaleAnalyticsCompanyPrefix": "[parameters('enterpriseScaleAnalyticsCompanyPrefix')]",
"location": "[parameters('location')]",
"subnetId": "[parameters('subnetId')]",
"privateLinkSubnetId": "[parameters('privateLinkSubnetId')]",
"vmAdminPassword": "[parameters('vmAdminPassword')]",
"privateDnsZoneResourceGroupId": "[parameters('privateDnsZoneResourceGroupId')]",
"privateDnsZoneResourceGroupName": "[last(split(variables('privateDnsZoneResourceGroupId'), '/'))]",
"governanceResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-governance')]",
"containerResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-container')]",
"managementResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-mgmt')]",
"integrationResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-integration')]",
"consumptionResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-consumption')]",
"loggingResourceGroupName": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-logging')]",
"purviewRegions": ["brazilsouth", "eastus", "eastus2", "southeastasia", "westeurope"],
"containerRegistryTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/ContainerRegistry/deploy.containerRegistry.json?token=AIHRGTVMJI7A6QKV2OJV37LADMRK2",
"keyVaultTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/KeyVault/deploy.keyVault.json?token=AIHRGTW3LXSAVG5ZU52IAH3ADMRMU",
"logAnalyticsTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/LogAnalytics/deploy.logAnalytics.json?token=AIHRGTXTLJZN6E33IE2L3ULADMROK",
"storageTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/Storage/deploy.storage.json?token=AIHRGTSUXZHQF6ZN5H4ZA5DADMRQA",
"dataFactoryTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/DataFactory/deploy.dataFactory.json?token=AIHRGTVALL24L3BDJ5YSNITADMRRS",
"powerBiTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/PowerBi/deploy.powerBi.json?token=AIHRGTTCDEL3BROAOELDETLADMRTG",
"shirTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/docs/reference/deploy.shir.json?token=AIHRGTTYMQ46AUFB2OTZPDLADMRZS",
"purviewTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/Purview/deploy.purview.json?token=AIHRGTSD4TBDYDGHWCKDWETADMRUU",
"synapsePrivateLinkHubTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/SynapsePrivateLinkHub/deploy.synapsePrivateLinkHub.json?token=AIHRGTTZCCF2X2QUQEQRNODADMRWG",
"shirScriptLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/SelfHostedIntegrationRuntime/installSHIRGateway.ps1?token=AIHRGTXFTRZAVAKYRQA2BY3ADMRX6"
"containerRegistryTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/ContainerRegistry/deploy.containerRegistry.json",
"keyVaultTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/KeyVault/deploy.keyVault.json",
"purviewTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/Purview/deploy.purview.json",
"synapsePrivateLinkHubTemplateLink": "https://raw.githubusercontent.com/Azure/data-hub/main/infra/SynapsePrivateLinkHub/deploy.synapsePrivateLinkHub.json"
},
"resources": [
{
@ -93,13 +70,6 @@
"location": "[variables('location')]",
"properties": {}
},
{
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2020-06-01",
"name": "[variables('integrationResourceGroupName')]",
"location": "[variables('location')]",
"properties": {}
},
{
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2020-06-01",
@ -107,49 +77,12 @@
"location": "[variables('location')]",
"properties": {}
},
{
"type": "Microsoft.Resources/resourceGroups",
"apiVersion": "2020-06-01",
"name": "[variables('loggingResourceGroupName')]",
"location": "[variables('location')]",
"properties": {}
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "containerRegistry001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('containerResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('containerRegistryTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"containerRegistryName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), 'dhcontainerregistry001', uniqueString(subscription().subscriptionId, resourceGroup().id)), 50)]"
},
"subnetId": {
"value": "[variables('privateLinkSubnetId')]"
},
"privateDnsZoneId": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.azurecr.io')]"
}
}
},
"resourceGroup": "[variables('containerResourceGroupName')]"
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "keyVault001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('managementResourceGroupName'))]"
"[resourceId('Microsoft.Resources/resourceGroups', variables('governanceResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
@ -165,67 +98,7 @@
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-keyvault001', uniqueString(subscription().subscriptionId, resourceGroup().id)), 24)]"
},
"subnetId": {
"value": "[variables('privateLinkSubnetId')]"
},
"privateDnsZoneId": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.vaultcore.azure.net')]"
}
}
},
"resourceGroup": "[variables('managementResourceGroupName')]"
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "keyVault002Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('loggingResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('keyVaultTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"keyVaultName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-keyvault002', uniqueString(subscription().subscriptionId, resourceGroup().id)), 24)]"
},
"subnetId": {
"value": "[variables('privateLinkSubnetId')]"
},
"privateDnsZoneId": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.vaultcore.azure.net')]"
}
}
},
"resourceGroup": "[variables('loggingResourceGroupName')]"
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "keyVault003Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('governanceResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('keyVaultTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"keyVaultName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-keyvault003', uniqueString(subscription().subscriptionId, resourceGroup().id)), 24)]"
},
"subnetId": {
"value": "[variables('privateLinkSubnetId')]"
"value": "[variables('subnetId')]"
},
"privateDnsZoneId": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.vaultcore.azure.net')]"
@ -237,7 +110,7 @@
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "purview003Deployment",
"name": "purview001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('governanceResourceGroupName'))]"
],
@ -261,142 +134,37 @@
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "logAnalytics001Deployment",
"name": "containerRegistry001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('loggingResourceGroupName'))]",
"keyVault002Deployment"
"[resourceId('Microsoft.Resources/resourceGroups', variables('containerResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('logAnalyticsTemplateLink')]",
"uri": "[variables('containerRegistryTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"logAnalyticsWorkspaceName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-la001', uniqueString(subscription().subscriptionId, resourceGroup().id)), 63)]"
},
"keyVaultId": {
"value": "[reference('keyVault002Deployment').outputs.keyVaultId.value]"
}
}
},
"resourceGroup": "[variables('loggingResourceGroupName')]"
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "storage001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('integrationResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('storageTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"storageAccountName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), 'datahubstorage001', uniqueString(subscription().subscriptionId, resourceGroup().id)), 24)]"
},
"storageAccountType": {
"value": "Standard_LRS"
}
}
},
"resourceGroup": "[variables('integrationResourceGroupName')]"
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "dataFactory001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('integrationResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('dataFactoryTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"dataFactoryName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-datafactory001', uniqueString(subscription().subscriptionId, resourceGroup().id)), 63)]"
},
"subnetId": {
"value": "[variables('privateLinkSubnetId')]"
},
"privateDnsZoneIdDataFactory": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.datafactory.azure.net')]"
},
"privateDnsZoneIdPortal": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.azure.com')]"
}
}
},
"resourceGroup": "[variables('integrationResourceGroupName')]"
},
{
"condition": true,
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "shir001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('integrationResourceGroupName'))]",
"dataFactory001Deployment"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('shirTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"vmssName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), 'dhSHIR001'), 64)]"
},
"vmssSkuTier": {
"value": "Standard"
},
"vmssSkuName": {
"value": "Standard_A1_v2"
},
"vmssAdminUsername": {
"value": "VmssMainUser"
},
"vmssAdminPassword": {
"value": "[variables('vmAdminPassword')]"
},
"dataFactoryId": {
"value": "[reference('dataFactory001Deployment').outputs.dataFactoryId.value]"
"containerRegistryName": {
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), 'dhcontainerregistry001', uniqueString(subscription().subscriptionId, resourceGroup().id)), 50)]"
},
"subnetId": {
"value": "[variables('subnetId')]"
},
"fileUri": {
"value": "[variables('shirScriptLink')]"
"privateDnsZoneId": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.azurecr.io')]"
}
}
},
"resourceGroup": "[variables('integrationResourceGroupName')]"
"resourceGroup": "[variables('containerResourceGroupName')]"
},
{
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "synapsePrivateLinkHubDeployment",
"name": "synapsePrivateLinkHub001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('consumptionResourceGroupName'))]"
],
@ -414,53 +182,13 @@
"value": "[take(concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), 'dhsynapseprivatelinkhub'), 45)]"
},
"subnetId": {
"value": "[variables('privateLinkSubnetId')]"
"value": "[variables('subnetId')]"
},
"privateDnsZoneId": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.azuresynapse.net')]"
}
}
},
"resourceGroup": "[variables('integrationResourceGroupName')]"
},
{
"condition": false,
"type": "Microsoft.Resources/deployments",
"apiVersion": "2020-06-01",
"name": "powerBi001Deployment",
"dependsOn": [
"[resourceId('Microsoft.Resources/resourceGroups', variables('consumptionResourceGroupName'))]"
],
"properties": {
"mode": "Incremental",
"templateLink": {
"uri": "[variables('powerBiTemplateLink')]",
"contentVersion": "1.0.0.0"
},
"parameters": {
"location": {
"value": "[variables('location')]"
},
"powerBiName": {
"value": "[concat(variables('enterpriseScaleAnalyticsCompanyPrefix'), '-dh-powerbi001')]"
},
"tenantId": {
"value": "[subscription().tenantId]"
},
"subnetId": {
"value": "[variables('privateLinkSubnetId')]"
},
"privateDnsZoneIdAnalysis": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.analysis.windows.net')]"
},
"privateDnsZoneIdPbiDedicated": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.pbidedicated.windows.net')]"
},
"privateDnsZoneIdPowerQuery": {
"value": "[concat('/subscriptions/', subscription().subscriptionId, '/resourceGroups/', variables('privateDnsZoneResourceGroupName'), '/providers/Microsoft.Network/privateDnsZones/privatelink.tip1.powerquery.microsoft.com')]"
}
}
},
"resourceGroup": "[variables('consumptionResourceGroupName')]"
}
],