1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. Sdn
  5. getVnet
Proxmox Virtual Environment (Proxmox VE) v7.7.0 published on Sunday, Oct 12, 2025 by Daniel Muehlbachler-Pietrzykowski

proxmoxve.Sdn.getVnet

Explore with Pulumi AI

proxmoxve logo
Proxmox Virtual Environment (Proxmox VE) v7.7.0 published on Sunday, Oct 12, 2025 by Daniel Muehlbachler-Pietrzykowski

    Retrieves information about an existing SDN VNet.

    Using getVnet

    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 getVnet(args: GetVnetArgs, opts?: InvokeOptions): Promise<GetVnetResult>
    function getVnetOutput(args: GetVnetOutputArgs, opts?: InvokeOptions): Output<GetVnetResult>
    def get_vnet(id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetVnetResult
    def get_vnet_output(id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetVnetResult]
    func LookupVnet(ctx *Context, args *LookupVnetArgs, opts ...InvokeOption) (*LookupVnetResult, error)
    func LookupVnetOutput(ctx *Context, args *LookupVnetOutputArgs, opts ...InvokeOption) LookupVnetResultOutput

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

    public static class GetVnet 
    {
        public static Task<GetVnetResult> InvokeAsync(GetVnetArgs args, InvokeOptions? opts = null)
        public static Output<GetVnetResult> Invoke(GetVnetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVnetResult> getVnet(GetVnetArgs args, InvokeOptions options)
    public static Output<GetVnetResult> getVnet(GetVnetArgs args, InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:Sdn/getVnet:getVnet
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getVnet Result

    The following output properties are available:

    Alias string
    An optional alias for this VNet.
    Id string
    The unique identifier of the SDN VNet.
    IsolatePorts bool
    Isolate ports within this VNet.
    Tag int
    Tag value for VLAN/VXLAN (can't be used with other zone types).
    VlanAware bool
    Allow VM VLANs to pass through this VNet.
    Zone string
    The zone to which this VNet belongs.
    Alias string
    An optional alias for this VNet.
    Id string
    The unique identifier of the SDN VNet.
    IsolatePorts bool
    Isolate ports within this VNet.
    Tag int
    Tag value for VLAN/VXLAN (can't be used with other zone types).
    VlanAware bool
    Allow VM VLANs to pass through this VNet.
    Zone string
    The zone to which this VNet belongs.
    alias String
    An optional alias for this VNet.
    id String
    The unique identifier of the SDN VNet.
    isolatePorts Boolean
    Isolate ports within this VNet.
    tag Integer
    Tag value for VLAN/VXLAN (can't be used with other zone types).
    vlanAware Boolean
    Allow VM VLANs to pass through this VNet.
    zone String
    The zone to which this VNet belongs.
    alias string
    An optional alias for this VNet.
    id string
    The unique identifier of the SDN VNet.
    isolatePorts boolean
    Isolate ports within this VNet.
    tag number
    Tag value for VLAN/VXLAN (can't be used with other zone types).
    vlanAware boolean
    Allow VM VLANs to pass through this VNet.
    zone string
    The zone to which this VNet belongs.
    alias str
    An optional alias for this VNet.
    id str
    The unique identifier of the SDN VNet.
    isolate_ports bool
    Isolate ports within this VNet.
    tag int
    Tag value for VLAN/VXLAN (can't be used with other zone types).
    vlan_aware bool
    Allow VM VLANs to pass through this VNet.
    zone str
    The zone to which this VNet belongs.
    alias String
    An optional alias for this VNet.
    id String
    The unique identifier of the SDN VNet.
    isolatePorts Boolean
    Isolate ports within this VNet.
    tag Number
    Tag value for VLAN/VXLAN (can't be used with other zone types).
    vlanAware Boolean
    Allow VM VLANs to pass through this VNet.
    zone String
    The zone to which this VNet belongs.

    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.7.0 published on Sunday, Oct 12, 2025 by Daniel Muehlbachler-Pietrzykowski
      AI Agentic Workflows: Register now