1. Packages
  2. Packages
  3. Proxmox Virtual Environment (Proxmox VE)
  4. API Docs
  5. network
  6. network/linux
  7. BridgeLegacy
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
proxmoxve logo
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski

    Deprecated: Use proxmoxve.network/linux.Bridge instead. This resource will be removed in v1.0.

    Manages a Linux Bridge network interface in a Proxmox VE node.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const vlan99 = new proxmoxve.network.linux.VlanLegacy("vlan99", {
        nodeName: "pve",
        name: "ens18.99",
    });
    const vmbr99 = new proxmoxve.network.linux.BridgeLegacy("vmbr99", {
        nodeName: "pve",
        name: "vmbr99",
        address: "99.99.99.99/16",
        comment: "vmbr99 comment",
        ports: ["ens18.99"],
    }, {
        dependsOn: [vlan99],
    });
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    vlan99 = proxmoxve.network.linux.VlanLegacy("vlan99",
        node_name="pve",
        name="ens18.99")
    vmbr99 = proxmoxve.network.linux.BridgeLegacy("vmbr99",
        node_name="pve",
        name="vmbr99",
        address="99.99.99.99/16",
        comment="vmbr99 comment",
        ports=["ens18.99"],
        opts = pulumi.ResourceOptions(depends_on=[vlan99]))
    
    package main
    
    import (
    	"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		vlan99, err := network.NewVlanLegacy(ctx, "vlan99", &network.VlanLegacyArgs{
    			NodeName: pulumi.String("pve"),
    			Name:     pulumi.String("ens18.99"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewBridgeLegacy(ctx, "vmbr99", &network.BridgeLegacyArgs{
    			NodeName: pulumi.String("pve"),
    			Name:     pulumi.String("vmbr99"),
    			Address:  pulumi.String("99.99.99.99/16"),
    			Comment:  pulumi.String("vmbr99 comment"),
    			Ports: pulumi.StringArray{
    				pulumi.String("ens18.99"),
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			vlan99,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        var vlan99 = new ProxmoxVE.Network.Linux.VlanLegacy("vlan99", new()
        {
            NodeName = "pve",
            Name = "ens18.99",
        });
    
        var vmbr99 = new ProxmoxVE.Network.Linux.BridgeLegacy("vmbr99", new()
        {
            NodeName = "pve",
            Name = "vmbr99",
            Address = "99.99.99.99/16",
            Comment = "vmbr99 comment",
            Ports = new[]
            {
                "ens18.99",
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                vlan99,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import io.muehlbachler.pulumi.proxmoxve.network.VlanLegacy;
    import io.muehlbachler.pulumi.proxmoxve.network.VlanLegacyArgs;
    import io.muehlbachler.pulumi.proxmoxve.network.BridgeLegacy;
    import io.muehlbachler.pulumi.proxmoxve.network.BridgeLegacyArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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) {
            var vlan99 = new VlanLegacy("vlan99", VlanLegacyArgs.builder()
                .nodeName("pve")
                .name("ens18.99")
                .build());
    
            var vmbr99 = new BridgeLegacy("vmbr99", BridgeLegacyArgs.builder()
                .nodeName("pve")
                .name("vmbr99")
                .address("99.99.99.99/16")
                .comment("vmbr99 comment")
                .ports("ens18.99")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(vlan99)
                    .build());
    
        }
    }
    
    resources:
      vmbr99:
        type: proxmoxve:network/linux:BridgeLegacy
        properties:
          nodeName: pve
          name: vmbr99
          address: 99.99.99.99/16
          comment: vmbr99 comment
          ports:
            - ens18.99
        options:
          dependsOn:
            - ${vlan99}
      vlan99:
        type: proxmoxve:network/linux:VlanLegacy
        properties:
          nodeName: pve
          name: ens18.99
    

    Create BridgeLegacy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BridgeLegacy(name: string, args: BridgeLegacyArgs, opts?: CustomResourceOptions);
    @overload
    def BridgeLegacy(resource_name: str,
                     args: BridgeLegacyArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def BridgeLegacy(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     node_name: Optional[str] = None,
                     address: Optional[str] = None,
                     address6: Optional[str] = None,
                     autostart: Optional[bool] = None,
                     comment: Optional[str] = None,
                     gateway: Optional[str] = None,
                     gateway6: Optional[str] = None,
                     mtu: Optional[int] = None,
                     name: Optional[str] = None,
                     ports: Optional[Sequence[str]] = None,
                     timeout_reload: Optional[int] = None,
                     vlan_aware: Optional[bool] = None)
    func NewBridgeLegacy(ctx *Context, name string, args BridgeLegacyArgs, opts ...ResourceOption) (*BridgeLegacy, error)
    public BridgeLegacy(string name, BridgeLegacyArgs args, CustomResourceOptions? opts = null)
    public BridgeLegacy(String name, BridgeLegacyArgs args)
    public BridgeLegacy(String name, BridgeLegacyArgs args, CustomResourceOptions options)
    
    type: proxmoxve:network/linux/bridgeLegacy:BridgeLegacy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BridgeLegacyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BridgeLegacyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BridgeLegacyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BridgeLegacyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BridgeLegacyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BridgeLegacy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BridgeLegacy resource accepts the following input properties:

    NodeName string
    The name of the node.
    Address string
    The interface IPv4/CIDR address.
    Address6 string
    The interface IPv6/CIDR address.
    Autostart bool
    Automatically start interface on boot (defaults to true).
    Comment string
    Comment for the interface.
    Gateway string
    Default gateway address.
    Gateway6 string
    Default IPv6 gateway address.
    Mtu int
    The interface MTU.
    Name string
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    Ports List<string>
    The interface bridge ports.
    TimeoutReload int
    Timeout for network reload operations in seconds (defaults to 100).
    VlanAware bool
    Whether the interface bridge is VLAN aware (defaults to false).
    NodeName string
    The name of the node.
    Address string
    The interface IPv4/CIDR address.
    Address6 string
    The interface IPv6/CIDR address.
    Autostart bool
    Automatically start interface on boot (defaults to true).
    Comment string
    Comment for the interface.
    Gateway string
    Default gateway address.
    Gateway6 string
    Default IPv6 gateway address.
    Mtu int
    The interface MTU.
    Name string
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    Ports []string
    The interface bridge ports.
    TimeoutReload int
    Timeout for network reload operations in seconds (defaults to 100).
    VlanAware bool
    Whether the interface bridge is VLAN aware (defaults to false).
    nodeName String
    The name of the node.
    address String
    The interface IPv4/CIDR address.
    address6 String
    The interface IPv6/CIDR address.
    autostart Boolean
    Automatically start interface on boot (defaults to true).
    comment String
    Comment for the interface.
    gateway String
    Default gateway address.
    gateway6 String
    Default IPv6 gateway address.
    mtu Integer
    The interface MTU.
    name String
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    ports List<String>
    The interface bridge ports.
    timeoutReload Integer
    Timeout for network reload operations in seconds (defaults to 100).
    vlanAware Boolean
    Whether the interface bridge is VLAN aware (defaults to false).
    nodeName string
    The name of the node.
    address string
    The interface IPv4/CIDR address.
    address6 string
    The interface IPv6/CIDR address.
    autostart boolean
    Automatically start interface on boot (defaults to true).
    comment string
    Comment for the interface.
    gateway string
    Default gateway address.
    gateway6 string
    Default IPv6 gateway address.
    mtu number
    The interface MTU.
    name string
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    ports string[]
    The interface bridge ports.
    timeoutReload number
    Timeout for network reload operations in seconds (defaults to 100).
    vlanAware boolean
    Whether the interface bridge is VLAN aware (defaults to false).
    node_name str
    The name of the node.
    address str
    The interface IPv4/CIDR address.
    address6 str
    The interface IPv6/CIDR address.
    autostart bool
    Automatically start interface on boot (defaults to true).
    comment str
    Comment for the interface.
    gateway str
    Default gateway address.
    gateway6 str
    Default IPv6 gateway address.
    mtu int
    The interface MTU.
    name str
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    ports Sequence[str]
    The interface bridge ports.
    timeout_reload int
    Timeout for network reload operations in seconds (defaults to 100).
    vlan_aware bool
    Whether the interface bridge is VLAN aware (defaults to false).
    nodeName String
    The name of the node.
    address String
    The interface IPv4/CIDR address.
    address6 String
    The interface IPv6/CIDR address.
    autostart Boolean
    Automatically start interface on boot (defaults to true).
    comment String
    Comment for the interface.
    gateway String
    Default gateway address.
    gateway6 String
    Default IPv6 gateway address.
    mtu Number
    The interface MTU.
    name String
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    ports List<String>
    The interface bridge ports.
    timeoutReload Number
    Timeout for network reload operations in seconds (defaults to 100).
    vlanAware Boolean
    Whether the interface bridge is VLAN aware (defaults to false).

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BridgeLegacy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BridgeLegacy Resource

    Get an existing BridgeLegacy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BridgeLegacyState, opts?: CustomResourceOptions): BridgeLegacy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            address6: Optional[str] = None,
            autostart: Optional[bool] = None,
            comment: Optional[str] = None,
            gateway: Optional[str] = None,
            gateway6: Optional[str] = None,
            mtu: Optional[int] = None,
            name: Optional[str] = None,
            node_name: Optional[str] = None,
            ports: Optional[Sequence[str]] = None,
            timeout_reload: Optional[int] = None,
            vlan_aware: Optional[bool] = None) -> BridgeLegacy
    func GetBridgeLegacy(ctx *Context, name string, id IDInput, state *BridgeLegacyState, opts ...ResourceOption) (*BridgeLegacy, error)
    public static BridgeLegacy Get(string name, Input<string> id, BridgeLegacyState? state, CustomResourceOptions? opts = null)
    public static BridgeLegacy get(String name, Output<String> id, BridgeLegacyState state, CustomResourceOptions options)
    resources:  _:    type: proxmoxve:network/linux/bridgeLegacy:BridgeLegacy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Address string
    The interface IPv4/CIDR address.
    Address6 string
    The interface IPv6/CIDR address.
    Autostart bool
    Automatically start interface on boot (defaults to true).
    Comment string
    Comment for the interface.
    Gateway string
    Default gateway address.
    Gateway6 string
    Default IPv6 gateway address.
    Mtu int
    The interface MTU.
    Name string
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    NodeName string
    The name of the node.
    Ports List<string>
    The interface bridge ports.
    TimeoutReload int
    Timeout for network reload operations in seconds (defaults to 100).
    VlanAware bool
    Whether the interface bridge is VLAN aware (defaults to false).
    Address string
    The interface IPv4/CIDR address.
    Address6 string
    The interface IPv6/CIDR address.
    Autostart bool
    Automatically start interface on boot (defaults to true).
    Comment string
    Comment for the interface.
    Gateway string
    Default gateway address.
    Gateway6 string
    Default IPv6 gateway address.
    Mtu int
    The interface MTU.
    Name string
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    NodeName string
    The name of the node.
    Ports []string
    The interface bridge ports.
    TimeoutReload int
    Timeout for network reload operations in seconds (defaults to 100).
    VlanAware bool
    Whether the interface bridge is VLAN aware (defaults to false).
    address String
    The interface IPv4/CIDR address.
    address6 String
    The interface IPv6/CIDR address.
    autostart Boolean
    Automatically start interface on boot (defaults to true).
    comment String
    Comment for the interface.
    gateway String
    Default gateway address.
    gateway6 String
    Default IPv6 gateway address.
    mtu Integer
    The interface MTU.
    name String
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    nodeName String
    The name of the node.
    ports List<String>
    The interface bridge ports.
    timeoutReload Integer
    Timeout for network reload operations in seconds (defaults to 100).
    vlanAware Boolean
    Whether the interface bridge is VLAN aware (defaults to false).
    address string
    The interface IPv4/CIDR address.
    address6 string
    The interface IPv6/CIDR address.
    autostart boolean
    Automatically start interface on boot (defaults to true).
    comment string
    Comment for the interface.
    gateway string
    Default gateway address.
    gateway6 string
    Default IPv6 gateway address.
    mtu number
    The interface MTU.
    name string
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    nodeName string
    The name of the node.
    ports string[]
    The interface bridge ports.
    timeoutReload number
    Timeout for network reload operations in seconds (defaults to 100).
    vlanAware boolean
    Whether the interface bridge is VLAN aware (defaults to false).
    address str
    The interface IPv4/CIDR address.
    address6 str
    The interface IPv6/CIDR address.
    autostart bool
    Automatically start interface on boot (defaults to true).
    comment str
    Comment for the interface.
    gateway str
    Default gateway address.
    gateway6 str
    Default IPv6 gateway address.
    mtu int
    The interface MTU.
    name str
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    node_name str
    The name of the node.
    ports Sequence[str]
    The interface bridge ports.
    timeout_reload int
    Timeout for network reload operations in seconds (defaults to 100).
    vlan_aware bool
    Whether the interface bridge is VLAN aware (defaults to false).
    address String
    The interface IPv4/CIDR address.
    address6 String
    The interface IPv6/CIDR address.
    autostart Boolean
    Automatically start interface on boot (defaults to true).
    comment String
    Comment for the interface.
    gateway String
    Default gateway address.
    gateway6 String
    Default IPv6 gateway address.
    mtu Number
    The interface MTU.
    name String
    The interface name. Commonly vmbr[N], where 0 ≤ N ≤ 4094 (vmbr0 - vmbr4094), but can be any string containing only letters, numbers, and underscores (_), starting with a letter and at most 10 characters long.
    nodeName String
    The name of the node.
    ports List<String>
    The interface bridge ports.
    timeoutReload Number
    Timeout for network reload operations in seconds (defaults to 100).
    vlanAware Boolean
    Whether the interface bridge is VLAN aware (defaults to false).

    Import

    !/usr/bin/env sh Interfaces can be imported using the node_name:iface format, e.g.

    $ pulumi import proxmoxve:network/linux/bridgeLegacy:BridgeLegacy vmbr99 pve:vmbr99
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.1.0
    published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
      Try Pulumi Cloud free. Your team will thank you.