import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the Interface Switchport configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.InterfaceSwitchport("example", { * accessVlan: "100", * host: false, * modeAccess: false, * modeDot1qTunnel: false, * modePrivateVlanHost: false, * modePrivateVlanPromiscuous: false, * modePrivateVlanTrunk: false, * modeTrunk: true, * nonegotiate: false, * trunkAllowedVlans: "100,101", * trunkNativeVlan: 100, * type: "GigabitEthernet", * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/interfaceSwitchport:InterfaceSwitchport example "Cisco-IOS-XE-native:native/interface/GigabitEthernet=1/0/3/switchport-config/switchport" * ``` */ export declare class InterfaceSwitchport extends pulumi.CustomResource { /** * Get an existing InterfaceSwitchport 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?: InterfaceSwitchportState, opts?: pulumi.CustomResourceOptions): InterfaceSwitchport; /** * Returns true if the given object is an instance of InterfaceSwitchport. 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 InterfaceSwitchport; readonly accessVlan: pulumi.Output; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ readonly deleteMode: pulumi.Output; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * Set port host */ readonly host: pulumi.Output; /** * Set trunking mode to ACCESS unconditionally */ readonly modeAccess: pulumi.Output; /** * set trunking mode to TUNNEL unconditionally */ readonly modeDot1qTunnel: pulumi.Output; /** * Set the mode to private-vlan host */ readonly modePrivateVlanHost: pulumi.Output; /** * Set the mode to private-vlan promiscuous */ readonly modePrivateVlanPromiscuous: pulumi.Output; /** * Set the mode to private-vlan trunk */ readonly modePrivateVlanTrunk: pulumi.Output; /** * Set trunking mode to TRUNK unconditionally */ readonly modeTrunk: pulumi.Output; readonly name: pulumi.Output; /** * Device will not engage in negotiation protocol on this interface */ readonly nonegotiate: pulumi.Output; readonly trunkAllowedVlans: pulumi.Output; /** * no VLANs */ readonly trunkAllowedVlansNone: pulumi.Output; /** * - Range: `1`-`4094` */ readonly trunkNativeVlan: pulumi.Output; readonly trunkNativeVlanTag: pulumi.Output; /** * Interface type - Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, * `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`, `Port-channel` */ readonly type: pulumi.Output; /** * Create a InterfaceSwitchport 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: InterfaceSwitchportArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InterfaceSwitchport resources. */ export interface InterfaceSwitchportState { accessVlan?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Set port host */ host?: pulumi.Input; /** * Set trunking mode to ACCESS unconditionally */ modeAccess?: pulumi.Input; /** * set trunking mode to TUNNEL unconditionally */ modeDot1qTunnel?: pulumi.Input; /** * Set the mode to private-vlan host */ modePrivateVlanHost?: pulumi.Input; /** * Set the mode to private-vlan promiscuous */ modePrivateVlanPromiscuous?: pulumi.Input; /** * Set the mode to private-vlan trunk */ modePrivateVlanTrunk?: pulumi.Input; /** * Set trunking mode to TRUNK unconditionally */ modeTrunk?: pulumi.Input; name?: pulumi.Input; /** * Device will not engage in negotiation protocol on this interface */ nonegotiate?: pulumi.Input; trunkAllowedVlans?: pulumi.Input; /** * no VLANs */ trunkAllowedVlansNone?: pulumi.Input; /** * - Range: `1`-`4094` */ trunkNativeVlan?: pulumi.Input; trunkNativeVlanTag?: pulumi.Input; /** * Interface type - Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, * `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`, `Port-channel` */ type?: pulumi.Input; } /** * The set of arguments for constructing a InterfaceSwitchport resource. */ export interface InterfaceSwitchportArgs { accessVlan?: pulumi.Input; /** * Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being * managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. * Default value is `all`. - Choices: `all`, `attributes` */ deleteMode?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * Set port host */ host?: pulumi.Input; /** * Set trunking mode to ACCESS unconditionally */ modeAccess?: pulumi.Input; /** * set trunking mode to TUNNEL unconditionally */ modeDot1qTunnel?: pulumi.Input; /** * Set the mode to private-vlan host */ modePrivateVlanHost?: pulumi.Input; /** * Set the mode to private-vlan promiscuous */ modePrivateVlanPromiscuous?: pulumi.Input; /** * Set the mode to private-vlan trunk */ modePrivateVlanTrunk?: pulumi.Input; /** * Set trunking mode to TRUNK unconditionally */ modeTrunk?: pulumi.Input; name?: pulumi.Input; /** * Device will not engage in negotiation protocol on this interface */ nonegotiate?: pulumi.Input; trunkAllowedVlans?: pulumi.Input; /** * no VLANs */ trunkAllowedVlansNone?: pulumi.Input; /** * - Range: `1`-`4094` */ trunkNativeVlan?: pulumi.Input; trunkNativeVlanTag?: pulumi.Input; /** * Interface type - Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, * `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`, `Port-channel` */ type: pulumi.Input; }