import * as pulumi from "@pulumi/pulumi"; /** * Manages a Linux Bridge network interface in a Proxmox VE node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const vlan99 = new proxmoxve.network.linux.Vlan("vlan99", { * nodeName: "pve", * name: "ens18.99", * }); * const vmbr99 = new proxmoxve.network.linux.Bridge("vmbr99", { * nodeName: "pve", * name: "vmbr99", * address: "99.99.99.99/16", * comment: "vmbr99 comment", * ports: ["ens18.99"], * vlanAware: true, * vids: "2-4094", * }, { * dependsOn: [vlan99], * }); * ``` * * ## Import * * !/usr/bin/env sh * Interfaces can be imported using the `node_name:iface` format, e.g. * * ```sh * $ pulumi import proxmoxve:network/linux/bridge:Bridge vmbr99 pve:vmbr99 * ``` */ export declare class Bridge extends pulumi.CustomResource { /** * Get an existing Bridge resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: BridgeState, opts?: pulumi.CustomResourceOptions): Bridge; /** * Returns true if the given object is an instance of Bridge. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Bridge; /** * The interface IPv4/CIDR address. */ readonly address: pulumi.Output; /** * The interface IPv6/CIDR address. */ readonly address6: pulumi.Output; /** * Automatically start interface on boot (defaults to `true`). */ readonly autostart: pulumi.Output; /** * Comment for the interface. */ readonly comment: pulumi.Output; /** * Default gateway address. */ readonly gateway: pulumi.Output; /** * Default IPv6 gateway address. */ readonly gateway6: pulumi.Output; /** * The interface MTU. */ readonly mtu: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; /** * The name of the node. */ readonly nodeName: pulumi.Output; /** * The interface bridge ports. */ readonly ports: pulumi.Output; /** * Timeout for network reload operations in seconds (defaults to `100`). */ readonly timeoutReload: pulumi.Output; /** * VLAN IDs allowed on the bridge (Linux Bridge `bridge-vids`). Space-separated list of VLAN IDs and/or hyphenated ranges (e.g. `"2-4094"`, `"1 20 130"`, or `"1 10-20 30"`). Requires `vlanAware = true`. PVE/ifupdown2 fills in `2-4094` as the implicit default for VLAN-aware bridges when this attribute is omitted; the provider surfaces that default in state. */ readonly vids: pulumi.Output; /** * Whether the interface bridge is VLAN aware (defaults to `false`). */ readonly vlanAware: pulumi.Output; /** * Create a Bridge resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: BridgeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Bridge resources. */ export interface BridgeState { /** * The interface IPv4/CIDR address. */ address?: pulumi.Input; /** * The interface IPv6/CIDR address. */ address6?: pulumi.Input; /** * Automatically start interface on boot (defaults to `true`). */ autostart?: pulumi.Input; /** * Comment for the interface. */ comment?: pulumi.Input; /** * Default gateway address. */ gateway?: pulumi.Input; /** * Default IPv6 gateway address. */ gateway6?: pulumi.Input; /** * The interface MTU. */ mtu?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * The name of the node. */ nodeName?: pulumi.Input; /** * The interface bridge ports. */ ports?: pulumi.Input[] | undefined>; /** * Timeout for network reload operations in seconds (defaults to `100`). */ timeoutReload?: pulumi.Input; /** * VLAN IDs allowed on the bridge (Linux Bridge `bridge-vids`). Space-separated list of VLAN IDs and/or hyphenated ranges (e.g. `"2-4094"`, `"1 20 130"`, or `"1 10-20 30"`). Requires `vlanAware = true`. PVE/ifupdown2 fills in `2-4094` as the implicit default for VLAN-aware bridges when this attribute is omitted; the provider surfaces that default in state. */ vids?: pulumi.Input; /** * Whether the interface bridge is VLAN aware (defaults to `false`). */ vlanAware?: pulumi.Input; } /** * The set of arguments for constructing a Bridge resource. */ export interface BridgeArgs { /** * The interface IPv4/CIDR address. */ address?: pulumi.Input; /** * The interface IPv6/CIDR address. */ address6?: pulumi.Input; /** * Automatically start interface on boot (defaults to `true`). */ autostart?: pulumi.Input; /** * Comment for the interface. */ comment?: pulumi.Input; /** * Default gateway address. */ gateway?: pulumi.Input; /** * Default IPv6 gateway address. */ gateway6?: pulumi.Input; /** * The interface MTU. */ mtu?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * The name of the node. */ nodeName: pulumi.Input; /** * The interface bridge ports. */ ports?: pulumi.Input[] | undefined>; /** * Timeout for network reload operations in seconds (defaults to `100`). */ timeoutReload?: pulumi.Input; /** * VLAN IDs allowed on the bridge (Linux Bridge `bridge-vids`). Space-separated list of VLAN IDs and/or hyphenated ranges (e.g. `"2-4094"`, `"1 20 130"`, or `"1 10-20 30"`). Requires `vlanAware = true`. PVE/ifupdown2 fills in `2-4094` as the implicit default for VLAN-aware bridges when this attribute is omitted; the provider surfaces that default in state. */ vids?: pulumi.Input; /** * Whether the interface bridge is VLAN aware (defaults to `false`). */ vlanAware?: pulumi.Input; } //# sourceMappingURL=bridge.d.ts.map