Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

VNET: Removed subnet property from main deployment #1081

Merged
merged 2 commits into from
Mar 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions arm/Microsoft.Network/virtualNetworks/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,6 @@ resource virtualNetwork 'Microsoft.Network/virtualNetworks@2021-05-01' = {
ddosProtectionPlan: !empty(ddosProtectionPlanId) ? ddosProtectionPlan : null
dhcpOptions: !empty(dnsServers) ? dnsServers_var : null
enableDdosProtection: !empty(ddosProtectionPlanId)
subnets: [for subnet in subnets: {
name: subnet.name
properties: {
addressPrefix: subnet.addressPrefix
delegations: contains(subnet, 'delegations') ? subnet.delegations : null
privateEndpointNetworkPolicies: contains(subnet, 'privateEndpointNetworkPolicies') ? subnet.privateEndpointNetworkPolicies : null
privateLinkServiceNetworkPolicies: contains(subnet, 'privateLinkServiceNetworkPolicies') ? subnet.privateLinkServiceNetworkPolicies : null
}
}]
}
}

Expand Down