import * as pulumi from "@pulumi/pulumi"; /** * This data source can read the Interface Switchport configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@pulumi/iosxe"; * * const example = iosxe.getInterfaceSwitchport({ * name: "1/0/3", * type: "GigabitEthernet", * }); * ``` */ export declare function getInterfaceSwitchport(args: GetInterfaceSwitchportArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInterfaceSwitchport. */ export interface GetInterfaceSwitchportArgs { /** * A device name from the provider configuration. */ device?: string; name: string; /** * Interface type */ type: string; } /** * A collection of values returned by getInterfaceSwitchport. */ export interface GetInterfaceSwitchportResult { readonly accessVlan: string; /** * A device name from the provider configuration. */ readonly device?: string; /** * Set port host */ readonly host: boolean; /** * The path of the retrieved object. */ readonly id: string; /** * Set trunking mode to ACCESS unconditionally */ readonly modeAccess: boolean; /** * set trunking mode to TUNNEL unconditionally */ readonly modeDot1qTunnel: boolean; /** * Set the mode to private-vlan host */ readonly modePrivateVlanHost: boolean; /** * Set the mode to private-vlan promiscuous */ readonly modePrivateVlanPromiscuous: boolean; /** * Set the mode to private-vlan trunk */ readonly modePrivateVlanTrunk: boolean; /** * Set trunking mode to TRUNK unconditionally */ readonly modeTrunk: boolean; readonly name: string; /** * Device will not engage in negotiation protocol on this interface */ readonly nonegotiate: boolean; readonly trunkAllowedVlans: string; /** * no VLANs */ readonly trunkAllowedVlansNone: boolean; readonly trunkNativeVlan: number; readonly trunkNativeVlanTag: boolean; /** * Interface type */ readonly type: string; } /** * This data source can read the Interface Switchport configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@pulumi/iosxe"; * * const example = iosxe.getInterfaceSwitchport({ * name: "1/0/3", * type: "GigabitEthernet", * }); * ``` */ export declare function getInterfaceSwitchportOutput(args: GetInterfaceSwitchportOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getInterfaceSwitchport. */ export interface GetInterfaceSwitchportOutputArgs { /** * A device name from the provider configuration. */ device?: pulumi.Input; name: pulumi.Input; /** * Interface type */ type: pulumi.Input; }