0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-22 19:38:35 +00:00
terraform-provider-proxmox/docs/data-sources/virtual_environment_sdn_zone_simple.md
Pavel Boldyrev 6b73d822a5
feat(sdn): add support for zone resources and datasources (#2046)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-31 20:30:18 -04:00

2.0 KiB

layout title parent subcategory description
page proxmox_virtual_environment_sdn_zone_simple Data Sources Virtual Environment Retrieves information about a Simple Zone in Proxmox SDN. It will create an isolated VNet bridge. This bridge is not linked to a physical interface, and VM traffic is only local on each the node. It can be used in NAT or routed setups.

Data Source: proxmox_virtual_environment_sdn_zone_simple

Retrieves information about a Simple Zone in Proxmox SDN. It will create an isolated VNet bridge. This bridge is not linked to a physical interface, and VM traffic is only local on each the node. It can be used in NAT or routed setups.

Example Usage

data "proxmox_virtual_environment_sdn_zone_simple" "example" {
  id = "simple1"
}

output "data_proxmox_virtual_environment_sdn_zone_simple" {
  value = {
    id          = data.proxmox_virtual_environment_sdn_zone_simple.example.id
    nodes       = data.proxmox_virtual_environment_sdn_zone_simple.example.nodes
    mtu         = data.proxmox_virtual_environment_sdn_zone_simple.example.mtu
    dns         = data.proxmox_virtual_environment_sdn_zone_simple.example.dns
    dns_zone    = data.proxmox_virtual_environment_sdn_zone_simple.example.dns_zone
    ipam        = data.proxmox_virtual_environment_sdn_zone_simple.example.ipam
    reverse_dns = data.proxmox_virtual_environment_sdn_zone_simple.example.reverse_dns
  }
}

Schema

Required

  • id (String) The unique identifier of the SDN zone.

Read-Only

  • dns (String) DNS API server address.
  • dns_zone (String) DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
  • ipam (String) IP Address Management system.
  • mtu (Number) MTU value for the zone.
  • nodes (Set of String) The Proxmox nodes which the zone and associated VNets are deployed on
  • reverse_dns (String) Reverse DNS API server address.