1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. sdn
  5. sdn/zone
  6. getSimpleLegacy
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
proxmoxve logo
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski

    Deprecated: Use proxmoxve.sdn/zone.Simple instead. This data source will be removed in v1.0.

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const example = proxmoxve.sdn.zone.getSimpleLegacy({
        id: "simple1",
    });
    export const dataProxmoxVirtualEnvironmentSdnZoneSimple = {
        id: example.then(example => example.id),
        nodes: example.then(example => example.nodes),
        mtu: example.then(example => example.mtu),
        dns: example.then(example => example.dns),
        dnsZone: example.then(example => example.dnsZone),
        ipam: example.then(example => example.ipam),
        reverseDns: example.then(example => example.reverseDns),
    };
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    example = proxmoxve.sdn.zone.get_simple_legacy(id="simple1")
    pulumi.export("dataProxmoxVirtualEnvironmentSdnZoneSimple", {
        "id": example.id,
        "nodes": example.nodes,
        "mtu": example.mtu,
        "dns": example.dns,
        "dnsZone": example.dns_zone,
        "ipam": example.ipam,
        "reverseDns": example.reverse_dns,
    })
    
    package main
    
    import (
    	"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/sdn"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := sdn.GetSimpleLegacy(ctx, &zone.GetSimpleLegacyArgs{
    			Id: "simple1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("dataProxmoxVirtualEnvironmentSdnZoneSimple", pulumi.Map{
    			"id":         example.Id,
    			"nodes":      example.Nodes,
    			"mtu":        example.Mtu,
    			"dns":        example.Dns,
    			"dnsZone":    example.DnsZone,
    			"ipam":       example.Ipam,
    			"reverseDns": example.ReverseDns,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        var example = ProxmoxVE.Sdn.Zone.GetSimpleLegacy.Invoke(new()
        {
            Id = "simple1",
        });
    
        return new Dictionary<string, object?>
        {
            ["dataProxmoxVirtualEnvironmentSdnZoneSimple"] = 
            {
                { "id", example.Apply(getSimpleLegacyResult => getSimpleLegacyResult.Id) },
                { "nodes", example.Apply(getSimpleLegacyResult => getSimpleLegacyResult.Nodes) },
                { "mtu", example.Apply(getSimpleLegacyResult => getSimpleLegacyResult.Mtu) },
                { "dns", example.Apply(getSimpleLegacyResult => getSimpleLegacyResult.Dns) },
                { "dnsZone", example.Apply(getSimpleLegacyResult => getSimpleLegacyResult.DnsZone) },
                { "ipam", example.Apply(getSimpleLegacyResult => getSimpleLegacyResult.Ipam) },
                { "reverseDns", example.Apply(getSimpleLegacyResult => getSimpleLegacyResult.ReverseDns) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.proxmoxve.sdn_zone.Sdn_zoneFunctions;
    import com.pulumi.proxmoxve.sdn.inputs.GetSimpleLegacyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = Sdn_zoneFunctions.getSimpleLegacy(GetSimpleLegacyArgs.builder()
                .id("simple1")
                .build());
    
            ctx.export("dataProxmoxVirtualEnvironmentSdnZoneSimple", Map.ofEntries(
                Map.entry("id", example.id()),
                Map.entry("nodes", example.nodes()),
                Map.entry("mtu", example.mtu()),
                Map.entry("dns", example.dns()),
                Map.entry("dnsZone", example.dnsZone()),
                Map.entry("ipam", example.ipam()),
                Map.entry("reverseDns", example.reverseDns())
            ));
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: proxmoxve:sdn/zone:getSimpleLegacy
          arguments:
            id: simple1
    outputs:
      dataProxmoxVirtualEnvironmentSdnZoneSimple:
        id: ${example.id}
        nodes: ${example.nodes}
        mtu: ${example.mtu}
        dns: ${example.dns}
        dnsZone: ${example.dnsZone}
        ipam: ${example.ipam}
        reverseDns: ${example.reverseDns}
    

    Using getSimpleLegacy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSimpleLegacy(args: GetSimpleLegacyArgs, opts?: InvokeOptions): Promise<GetSimpleLegacyResult>
    function getSimpleLegacyOutput(args: GetSimpleLegacyOutputArgs, opts?: InvokeOptions): Output<GetSimpleLegacyResult>
    def get_simple_legacy(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetSimpleLegacyResult
    def get_simple_legacy_output(id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetSimpleLegacyResult]
    func LookupSimpleLegacy(ctx *Context, args *LookupSimpleLegacyArgs, opts ...InvokeOption) (*LookupSimpleLegacyResult, error)
    func LookupSimpleLegacyOutput(ctx *Context, args *LookupSimpleLegacyOutputArgs, opts ...InvokeOption) LookupSimpleLegacyResultOutput

    > Note: This function is named LookupSimpleLegacy in the Go SDK.

    public static class GetSimpleLegacy 
    {
        public static Task<GetSimpleLegacyResult> InvokeAsync(GetSimpleLegacyArgs args, InvokeOptions? opts = null)
        public static Output<GetSimpleLegacyResult> Invoke(GetSimpleLegacyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSimpleLegacyResult> getSimpleLegacy(GetSimpleLegacyArgs args, InvokeOptions options)
    public static Output<GetSimpleLegacyResult> getSimpleLegacy(GetSimpleLegacyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:sdn/zone/getSimpleLegacy:getSimpleLegacy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The unique identifier of the SDN zone.
    Id string
    The unique identifier of the SDN zone.
    id String
    The unique identifier of the SDN zone.
    id string
    The unique identifier of the SDN zone.
    id str
    The unique identifier of the SDN zone.
    id String
    The unique identifier of the SDN zone.

    getSimpleLegacy Result

    The following output properties are available:

    Dhcp string
    The type of the DHCP backend for this zone.
    Dns string
    DNS API server address.
    DnsZone string
    DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
    Id string
    The unique identifier of the SDN zone.
    Ipam string
    IP Address Management system.
    Mtu int
    MTU value for the zone.
    Nodes List<string>
    The Proxmox nodes which the zone and associated VNets are deployed on
    Pending bool
    Indicates if the zone has pending configuration changes that need to be applied.
    ReverseDns string
    Reverse DNS API server address.
    State string
    Indicates the current state of the zone.
    Dhcp string
    The type of the DHCP backend for this zone.
    Dns string
    DNS API server address.
    DnsZone string
    DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
    Id string
    The unique identifier of the SDN zone.
    Ipam string
    IP Address Management system.
    Mtu int
    MTU value for the zone.
    Nodes []string
    The Proxmox nodes which the zone and associated VNets are deployed on
    Pending bool
    Indicates if the zone has pending configuration changes that need to be applied.
    ReverseDns string
    Reverse DNS API server address.
    State string
    Indicates the current state of the zone.
    dhcp String
    The type of the DHCP backend for this zone.
    dns String
    DNS API server address.
    dnsZone String
    DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
    id String
    The unique identifier of the SDN zone.
    ipam String
    IP Address Management system.
    mtu Integer
    MTU value for the zone.
    nodes List<String>
    The Proxmox nodes which the zone and associated VNets are deployed on
    pending Boolean
    Indicates if the zone has pending configuration changes that need to be applied.
    reverseDns String
    Reverse DNS API server address.
    state String
    Indicates the current state of the zone.
    dhcp string
    The type of the DHCP backend for this zone.
    dns string
    DNS API server address.
    dnsZone string
    DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
    id string
    The unique identifier of the SDN zone.
    ipam string
    IP Address Management system.
    mtu number
    MTU value for the zone.
    nodes string[]
    The Proxmox nodes which the zone and associated VNets are deployed on
    pending boolean
    Indicates if the zone has pending configuration changes that need to be applied.
    reverseDns string
    Reverse DNS API server address.
    state string
    Indicates the current state of the zone.
    dhcp str
    The type of the DHCP backend for this zone.
    dns str
    DNS API server address.
    dns_zone str
    DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
    id str
    The unique identifier of the SDN zone.
    ipam str
    IP Address Management system.
    mtu int
    MTU value for the zone.
    nodes Sequence[str]
    The Proxmox nodes which the zone and associated VNets are deployed on
    pending bool
    Indicates if the zone has pending configuration changes that need to be applied.
    reverse_dns str
    Reverse DNS API server address.
    state str
    Indicates the current state of the zone.
    dhcp String
    The type of the DHCP backend for this zone.
    dns String
    DNS API server address.
    dnsZone String
    DNS domain name. Used to register hostnames, such as <hostname>.<domain>. The DNS zone must already exist on the DNS server.
    id String
    The unique identifier of the SDN zone.
    ipam String
    IP Address Management system.
    mtu Number
    MTU value for the zone.
    nodes List<String>
    The Proxmox nodes which the zone and associated VNets are deployed on
    pending Boolean
    Indicates if the zone has pending configuration changes that need to be applied.
    reverseDns String
    Reverse DNS API server address.
    state String
    Indicates the current state of the zone.

    Package Details

    Repository
    proxmoxve muhlba91/pulumi-proxmoxve
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the proxmox Terraform Provider.
    proxmoxve logo
    Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
    published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
      Try Pulumi Cloud free. Your team will thank you.