0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-08 06:45:00 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_sdn_subnet.md
MacherelR 58ff2ff240 feat(sdn)!: add SDN support for zones, vnets, subnets with validation and tests
BREAKING CHANGE: introduces sdn support.

Signed-off-by: MacherelR <64424331+MacherelR@users.noreply.github.com>
2025-06-24 08:31:40 +02:00

1.2 KiB

layout title parent subcategory description
page proxmox_virtual_environment_sdn_subnet Resources Virtual Environment 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)
  • 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.