From 59eff37404cb706366f43b0cf11710e928b0c40d Mon Sep 17 00:00:00 2001 From: Marvin Buss Date: Mon, 10 Aug 2020 16:48:16 +0200 Subject: [PATCH] updated subnets --- infra/VirtualNetwork/deploy.vnet.json | 66 +++++++++++++-------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/infra/VirtualNetwork/deploy.vnet.json b/infra/VirtualNetwork/deploy.vnet.json index 618d16f..035fa55 100644 --- a/infra/VirtualNetwork/deploy.vnet.json +++ b/infra/VirtualNetwork/deploy.vnet.json @@ -44,41 +44,41 @@ "addressPrefixes": [ "10.0.0.0/16" ] - } - }, - "resources": [ - { - "type": "subnets", - "apiVersion": "2020-05-01", - "name": "datahub-subnet", - "location": "[variables('location')]", - "dependsOn": [ - "[resourceId('Microsoft.Network/virtualNetworks', variables('vnetName'))]" - ], - "properties": { - "addressPrefix": "10.0.0.0/24", - "privateEndpointNetworkPolicies": "Enabled", - "privateLinkServiceNetworkPolicies": "Enabled", - "networkSecurityGroup": { - "id": "[resourceId('Microsoft.Network/networkSecurityGroups', 'datahub-nsg')]" + }, + "subnets": [ + { + "type": "subnets", + "apiVersion": "2020-05-01", + "name": "datahub-subnet", + "location": "[variables('location')]", + "dependsOn": [ + "[resourceId('Microsoft.Network/virtualNetworks', variables('vnetName'))]" + ], + "properties": { + "addressPrefix": "10.0.0.0/24", + "privateEndpointNetworkPolicies": "Enabled", + "privateLinkServiceNetworkPolicies": "Enabled", + "networkSecurityGroup": { + "id": "[resourceId('Microsoft.Network/networkSecurityGroups', 'datahub-nsg')]" + } + } + }, + { + "type": "subnets", + "apiVersion": "2020-05-01", + "name": "datahub-privatelink-subnet", + "location": "[variables('location')]", + "dependsOn": [ + "[resourceId('Microsoft.Network/virtualNetworks', variables('vnetName'))]" + ], + "properties": { + "addressPrefix": "10.0.1.0/24", + "privateEndpointNetworkPolicies": "Disabled", + "privateLinkServiceNetworkPolicies": "Disabled" } } - }, - { - "type": "subnets", - "apiVersion": "2020-05-01", - "name": "datahub-privatelink-subnet", - "location": "[variables('location')]", - "dependsOn": [ - "[resourceId('Microsoft.Network/virtualNetworks', variables('vnetName'))]" - ], - "properties": { - "addressPrefix": "10.0.1.0/24", - "privateEndpointNetworkPolicies": "Disabled", - "privateLinkServiceNetworkPolicies": "Disabled" - } - } - ] + ] + } } ] } \ No newline at end of file