Data Source: proxmox_virtual_environment_sdn_vnet¶
Warning
Deprecated: Use proxmox_sdn_vnet instead. This data source will be removed in v1.0.
Retrieves information about an existing SDN VNet.
Example Usage¶
data "proxmox_virtual_environment_sdn_vnet" "example" {
id = "vnet1"
}
output "data_proxmox_virtual_environment_sdn_vnet" {
value = {
id = data.proxmox_virtual_environment_sdn_vnet.example.id
zone = data.proxmox_virtual_environment_sdn_vnet.example.zone
alias = data.proxmox_virtual_environment_sdn_vnet.example.alias
isolate_ports = data.proxmox_virtual_environment_sdn_vnet.example.isolate_ports
tag = data.proxmox_virtual_environment_sdn_vnet.example.tag
vlan_aware = data.proxmox_virtual_environment_sdn_vnet.example.vlan_aware
}
}
Schema¶
Required¶
id(String) The unique identifier of the SDN VNet.
Read-Only¶
alias(String) An optional alias for this VNet.isolate_ports(Boolean) Isolate ports within this VNet.tag(Number) Tag value for VLAN/VXLAN (can't be used with other zone types).vlan_aware(Boolean) Allow VM VLANs to pass through this VNet.zone(String) The zone to which this VNet belongs.