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