1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. SDNZone
  5. getSimple
Proxmox Virtual Environment (Proxmox VE) v7.4.0 published on Sunday, Aug 17, 2025 by Daniel Muehlbachler-Pietrzykowski

proxmoxve.SDNZone.getSimple

Explore with Pulumi AI

proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v7.4.0 published on Sunday, Aug 17, 2025 by Daniel Muehlbachler-Pietrzykowski

    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.SDNZone.getSimple({
        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),
        dns_zone: example.then(example => example.dnsZone),
        ipam: example.then(example => example.ipam),
        reverse_dns: example.then(example => example.reverseDns),
    };
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    example = proxmoxve.SDNZone.get_simple(id="simple1")
    pulumi.export("dataProxmoxVirtualEnvironmentSdnZoneSimple", {
        "id": example.id,
        "nodes": example.nodes,
        "mtu": example.mtu,
        "dns": example.dns,
        "dns_zone": example.dns_zone,
        "ipam": example.ipam,
        "reverse_dns": example.reverse_dns,
    })
    
    package main
    
    import (
    	"github.com/muhlba91/pulumi-proxmoxve/sdk/v7/go/proxmoxve/sdnzone"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := sdnzone.GetSimple(ctx, &sdnzone.GetSimpleArgs{
    			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,
    			"dns_zone":    example.DnsZone,
    			"ipam":        example.Ipam,
    			"reverse_dns": example.ReverseDns,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        var example = ProxmoxVE.SDNZone.GetSimple.Invoke(new()
        {
            Id = "simple1",
        });
    
        return new Dictionary<string, object?>
        {
            ["dataProxmoxVirtualEnvironmentSdnZoneSimple"] = 
            {
                { "id", example.Apply(getSimpleResult => getSimpleResult.Id) },
                { "nodes", example.Apply(getSimpleResult => getSimpleResult.Nodes) },
                { "mtu", example.Apply(getSimpleResult => getSimpleResult.Mtu) },
                { "dns", example.Apply(getSimpleResult => getSimpleResult.Dns) },
                { "dns_zone", example.Apply(getSimpleResult => getSimpleResult.DnsZone) },
                { "ipam", example.Apply(getSimpleResult => getSimpleResult.Ipam) },
                { "reverse_dns", example.Apply(getSimpleResult => getSimpleResult.ReverseDns) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.proxmoxve.SDNZone.SDNZoneFunctions;
    import com.pulumi.proxmoxve.SDNZone.inputs.GetSimpleArgs;
    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 = SDNZoneFunctions.getSimple(GetSimpleArgs.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("dns_zone", example.dnsZone()),
                Map.entry("ipam", example.ipam()),
                Map.entry("reverse_dns", example.reverseDns())
            ));
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: proxmoxve:SDNZone:getSimple
          arguments:
            id: simple1
    outputs:
      dataProxmoxVirtualEnvironmentSdnZoneSimple:
        id: ${example.id}
        nodes: ${example.nodes}
        mtu: ${example.mtu}
        dns: ${example.dns}
        dns_zone: ${example.dnsZone}
        ipam: ${example.ipam}
        reverse_dns: ${example.reverseDns}
    

    Using getSimple

    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 getSimple(args: GetSimpleArgs, opts?: InvokeOptions): Promise<GetSimpleResult>
    function getSimpleOutput(args: GetSimpleOutputArgs, opts?: InvokeOptions): Output<GetSimpleResult>
    def get_simple(id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetSimpleResult
    def get_simple_output(id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetSimpleResult]
    func LookupSimple(ctx *Context, args *LookupSimpleArgs, opts ...InvokeOption) (*LookupSimpleResult, error)
    func LookupSimpleOutput(ctx *Context, args *LookupSimpleOutputArgs, opts ...InvokeOption) LookupSimpleResultOutput

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

    public static class GetSimple 
    {
        public static Task<GetSimpleResult> InvokeAsync(GetSimpleArgs args, InvokeOptions? opts = null)
        public static Output<GetSimpleResult> Invoke(GetSimpleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSimpleResult> getSimple(GetSimpleArgs args, InvokeOptions options)
    public static Output<GetSimpleResult> getSimple(GetSimpleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:SDNZone/getSimple:getSimple
      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.

    getSimple Result

    The following output properties are available:

    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
    ReverseDns string
    Reverse DNS API server address.
    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
    ReverseDns string
    Reverse DNS API server address.
    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
    reverseDns String
    Reverse DNS API server address.
    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
    reverseDns string
    Reverse DNS API server address.
    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
    reverse_dns str
    Reverse DNS API server address.
    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
    reverseDns String
    Reverse DNS API server address.

    Package Details

    Repository
    proxmoxve muhlba91/pulumi-proxmoxve
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the proxmox Terraform Provider.
    proxmoxve logo
    Proxmox Virtual Environment (Proxmox VE) v7.4.0 published on Sunday, Aug 17, 2025 by Daniel Muehlbachler-Pietrzykowski