--- layout: page title: proxmox_virtual_environment_sdn_subnet parent: Resources subcategory: Virtual Environment description: |- Manages SDN Subnets in Proxmox VE. --- # Resource: proxmox_virtual_environment_sdn_subnet Manages SDN Subnets in Proxmox VE. ## Schema ### Required - `subnet` (String) The name/ID of the subnet. - `vnet` (String) The VNet to which this subnet belongs. ### Optional - `dhcp_dns_server` (String) The DNS server used for DHCP. - `dhcp_range` (Attributes List) List of DHCP ranges (start and end IPs). (see [below for nested schema](#nestedatt--dhcp_range)) - `dnszoneprefix` (String) Prefix used for DNS zone delegation. - `gateway` (String) The gateway address for the subnet. - `snat` (Boolean) Whether SNAT is enabled for the subnet. ### Read-Only - `canonical_name` (String) Canonical name of the subnet (e.g. zoneM-10.10.0.0-24). - `id` (String) The unique identifier of this resource. - `type` (String) Subnet type (set default at 'subnet') ### Nested Schema for `dhcp_range` Required: - `end_address` (String) End of the DHCP range. - `start_address` (String) Start of the DHCP range.