import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the VLAN configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.Vlan("example", { * shutdown: false, * vlanId: 123, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/vlan:Vlan example "Cisco-IOS-XE-native:native/vlan/Cisco-IOS-XE-vlan:vlan-list=123" * ``` */ export declare class Vlan extends pulumi.CustomResource { /** * Get an existing Vlan 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?: VlanState, opts?: pulumi.CustomResourceOptions): Vlan; /** * Returns true if the given object is an instance of Vlan. 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 Vlan; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * Ascii name of the VLAN */ readonly name: pulumi.Output; /** * Configure association between private VLANs */ readonly privateVlanAssociation: pulumi.Output; /** * Configure the VLAN as a community private VLAN */ readonly privateVlanCommunity: pulumi.Output; /** * Configure the VLAN as an isolated private VLAN */ readonly privateVlanIsolated: pulumi.Output; /** * Configure the VLAN as a primary private VLAN */ readonly privateVlanPrimary: pulumi.Output; /** * Configure as Remote SPAN VLAN */ readonly remoteSpan: pulumi.Output; /** * Shutdown VLAN switching */ readonly shutdown: pulumi.Output; /** * a single VLAN id (allowed value range 1-4094)or Comma-separated VLAN id range.e.g. 99 or 1-30 or 1-20,30,40-50 - Range: * `1`-`4094` */ readonly vlanId: pulumi.Output; /** * Create a Vlan 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: VlanArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Vlan resources. */ export interface VlanState { /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Ascii name of the VLAN */ name?: pulumi.Input; /** * Configure association between private VLANs */ privateVlanAssociation?: pulumi.Input; /** * Configure the VLAN as a community private VLAN */ privateVlanCommunity?: pulumi.Input; /** * Configure the VLAN as an isolated private VLAN */ privateVlanIsolated?: pulumi.Input; /** * Configure the VLAN as a primary private VLAN */ privateVlanPrimary?: pulumi.Input; /** * Configure as Remote SPAN VLAN */ remoteSpan?: pulumi.Input; /** * Shutdown VLAN switching */ shutdown?: pulumi.Input; /** * a single VLAN id (allowed value range 1-4094)or Comma-separated VLAN id range.e.g. 99 or 1-30 or 1-20,30,40-50 - Range: * `1`-`4094` */ vlanId?: pulumi.Input; } /** * The set of arguments for constructing a Vlan resource. */ export interface VlanArgs { /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Ascii name of the VLAN */ name?: pulumi.Input; /** * Configure association between private VLANs */ privateVlanAssociation?: pulumi.Input; /** * Configure the VLAN as a community private VLAN */ privateVlanCommunity?: pulumi.Input; /** * Configure the VLAN as an isolated private VLAN */ privateVlanIsolated?: pulumi.Input; /** * Configure the VLAN as a primary private VLAN */ privateVlanPrimary?: pulumi.Input; /** * Configure as Remote SPAN VLAN */ remoteSpan?: pulumi.Input; /** * Shutdown VLAN switching */ shutdown?: pulumi.Input; /** * a single VLAN id (allowed value range 1-4094)or Comma-separated VLAN id range.e.g. 99 or 1-30 or 1-20,30,40-50 - Range: * `1`-`4094` */ vlanId: pulumi.Input; }