import * as pulumi from "@pulumi/pulumi"; /** * > **Deprecated:** Use `proxmoxve.network/linux.Vlan` instead. This resource will be removed in v1.0. * * Manages a Linux VLAN network interface in a Proxmox VE node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * // using VLAN tag * const vlan99 = new proxmoxve.network.linux.VlanLegacy("vlan99", { * nodeName: "pve", * name: "eno0.99", * comment: "VLAN 99", * }); * // using custom network interface name * const vlan98 = new proxmoxve.network.linux.VlanLegacy("vlan98", { * nodeName: "pve", * name: "vlan_lab", * "interface": "eno0", * vlan: 98, * comment: "VLAN 98", * }); * ``` * * ## Import * * !/usr/bin/env sh * Interfaces can be imported using the `node_name:iface` format, e.g. * * ```sh * $ pulumi import proxmoxve:network/linux/vlanLegacy:VlanLegacy vlan99 pve:vlan99 * ``` */ export declare class VlanLegacy extends pulumi.CustomResource { /** * Get an existing VlanLegacy 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?: VlanLegacyState, opts?: pulumi.CustomResourceOptions): VlanLegacy; /** * Returns true if the given object is an instance of VlanLegacy. 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 VlanLegacy; /** * 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 VLAN raw device. See also `name`. */ readonly interface: pulumi.Output; /** * The interface MTU. */ readonly mtu: pulumi.Output; /** * The interface name. Either add the VLAN tag number to an existing interface name, e.g. `ens18.21` (and do not set `interface` and `vlan`), or use custom name, e.g. `vlanLab` (`interface` and `vlan` are then required). */ readonly name: pulumi.Output; /** * The name of the node. */ readonly nodeName: pulumi.Output; /** * Timeout for network reload operations in seconds (defaults to `100`). */ readonly timeoutReload: pulumi.Output; /** * The VLAN tag. See also `name`. */ readonly vlan: pulumi.Output; /** * Create a VlanLegacy 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: VlanLegacyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VlanLegacy resources. */ export interface VlanLegacyState { /** * 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 VLAN raw device. See also `name`. */ interface?: pulumi.Input; /** * The interface MTU. */ mtu?: pulumi.Input; /** * The interface name. Either add the VLAN tag number to an existing interface name, e.g. `ens18.21` (and do not set `interface` and `vlan`), or use custom name, e.g. `vlanLab` (`interface` and `vlan` are then required). */ name?: pulumi.Input; /** * The name of the node. */ nodeName?: pulumi.Input; /** * Timeout for network reload operations in seconds (defaults to `100`). */ timeoutReload?: pulumi.Input; /** * The VLAN tag. See also `name`. */ vlan?: pulumi.Input; } /** * The set of arguments for constructing a VlanLegacy resource. */ export interface VlanLegacyArgs { /** * 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 VLAN raw device. See also `name`. */ interface?: pulumi.Input; /** * The interface MTU. */ mtu?: pulumi.Input; /** * The interface name. Either add the VLAN tag number to an existing interface name, e.g. `ens18.21` (and do not set `interface` and `vlan`), or use custom name, e.g. `vlanLab` (`interface` and `vlan` are then required). */ name?: pulumi.Input; /** * The name of the node. */ nodeName: pulumi.Input; /** * Timeout for network reload operations in seconds (defaults to `100`). */ timeoutReload?: pulumi.Input; /** * The VLAN tag. See also `name`. */ vlan?: pulumi.Input; } //# sourceMappingURL=vlanLegacy.d.ts.map