Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MaxMelcher/df618d4b4cc2a2612965f6515bad5e2d to your computer and use it in GitHub Desktop.
Save MaxMelcher/df618d4b4cc2a2612965f6515bad5e2d to your computer and use it in GitHub Desktop.
Azure Subnet update Private Endpoint Policy
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
},
"variables": {
},
"resources": [
{
"type": "Microsoft.Network/virtualNetworks/subnets",
"apiVersion": "2020-07-01",
"name": "vnet/subnet2",
"location": "westeurope",
"properties": {
"addressPrefix": "12.0.1.0/24",
"privateEndpointNetworkPolicies": "Enabled",
"privateLinkServiceNetworkPolicies": "Disabled"
}
}
],
"outputs": {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment