subnet_prefix |
List of subnets with their prefixes and optional service endpoints and delegations |
map(object({ name = string ip = list(string) service_endpoints = optional(list(object({ service = string })), []) delegations = optional(list(object({ name = string service_name = string actions = list(string) })), []) private_endpoint_network_policies = optional(string, null) private_link_service_network_policies_enabled = optional(string, null) })) |
{ "example-subnet-1": { "delegations": [ { "actions": [ "Microsoft.Network/virtualNetworks/subnets/action" ], "name": "delegation1", "service_name": "Microsoft.Web/serverFarms" } ], "ip": [ "10.0.1.0/24" ], "name": "subnet-1", "private_endpoint_network_policies": "Disabled", "private_link_service_network_policies_enabled": false, "service_endpoints": [ { "service": "Microsoft.Storage" }, { "service": "Microsoft.Sql" } ] }, "example-subnet-2": { "delegations": [ { "actions": [ "Microsoft.Network/virtualNetworks/subnets/action" ], "name": "delegation2", "service_name": "Microsoft.Web/serverFarms" } ], "ip": [ "10.0.2.0/24" ], "name": "subnet-2", "private_endpoint_network_policies": "Disabled", "private_link_service_network_policies_enabled": false, "service_endpoints": [ { "service": "Microsoft.Storage" } ] } } |
no |