import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage the VTP configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.Vtp("example", { * domain: "TESTDOMAIN", * file: "TEST", * "interface": "Gi1/0/1", * modeClientMst: true, * modeClientUnknown: true, * modeClientVlan: true, * modeOffMst: true, * modeOffVlan: true, * modeServerMst: true, * modeServerUnknown: true, * modeServerVlan: true, * modeTransparentMst: true, * modeTransparentUnknown: true, * modeTransparentVlan: true, * password: "test123", * passwordHidden: true, * version: 3, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/vtp:Vtp example "Cisco-IOS-XE-native:native/vtp" * ``` */ export declare class Vtp extends pulumi.CustomResource { /** * Get an existing Vtp 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?: VtpState, opts?: pulumi.CustomResourceOptions): Vtp; /** * Returns true if the given object is an instance of Vtp. 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 Vtp; /** * 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 the name of the VTP administrative domain. */ readonly domain: pulumi.Output; /** * Configure IFS filesystem file where VTP configuration is stored. */ readonly file: pulumi.Output; /** * The name of the interface providing the VTP updater ID for this device */ readonly interface: pulumi.Output; /** * Use only this interface's IP address as the VTP IP updater address */ readonly interfaceOnly: pulumi.Output; /** * Set the mode for MST VTP instance */ readonly modeClientMst: pulumi.Output; /** * Set the mode for unknown VTP instances */ readonly modeClientUnknown: pulumi.Output; /** * Set the mode for VLAN VTP instance */ readonly modeClientVlan: pulumi.Output; /** * Set the mode for MST VTP instance */ readonly modeOffMst: pulumi.Output; /** * Set the mode for unknown VTP instances */ readonly modeOffUnknown: pulumi.Output; /** * Set the mode for VLAN VTP instance */ readonly modeOffVlan: pulumi.Output; /** * Set the mode for MST VTP instance */ readonly modeServerMst: pulumi.Output; /** * Set the mode for unknown VTP instances */ readonly modeServerUnknown: pulumi.Output; /** * Set the mode for VLAN VTP instance */ readonly modeServerVlan: pulumi.Output; /** * Set the mode for MST VTP instance */ readonly modeTransparentMst: pulumi.Output; /** * Set the mode for unknown VTP instances */ readonly modeTransparentUnknown: pulumi.Output; /** * Set the mode for VLAN VTP instance */ readonly modeTransparentVlan: pulumi.Output; /** * The ascii password for the VTP administrative domain */ readonly password: pulumi.Output; /** * Set the VTP password hidden option */ readonly passwordHidden: pulumi.Output; /** * Specify the vtp password in encrypted form */ readonly passwordSecret: pulumi.Output; /** * Set the administrative domain to permit pruning */ readonly pruning: pulumi.Output; /** * Set the administrative domain to VTP version - Range: `1`-`3` */ readonly version: pulumi.Output; /** * Create a Vtp 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?: VtpArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Vtp resources. */ export interface VtpState { /** * 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 the name of the VTP administrative domain. */ domain?: pulumi.Input; /** * Configure IFS filesystem file where VTP configuration is stored. */ file?: pulumi.Input; /** * The name of the interface providing the VTP updater ID for this device */ interface?: pulumi.Input; /** * Use only this interface's IP address as the VTP IP updater address */ interfaceOnly?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeClientMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeClientUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeClientVlan?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeOffMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeOffUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeOffVlan?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeServerMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeServerUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeServerVlan?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeTransparentMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeTransparentUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeTransparentVlan?: pulumi.Input; /** * The ascii password for the VTP administrative domain */ password?: pulumi.Input; /** * Set the VTP password hidden option */ passwordHidden?: pulumi.Input; /** * Specify the vtp password in encrypted form */ passwordSecret?: pulumi.Input; /** * Set the administrative domain to permit pruning */ pruning?: pulumi.Input; /** * Set the administrative domain to VTP version - Range: `1`-`3` */ version?: pulumi.Input; } /** * The set of arguments for constructing a Vtp resource. */ export interface VtpArgs { /** * 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 the name of the VTP administrative domain. */ domain?: pulumi.Input; /** * Configure IFS filesystem file where VTP configuration is stored. */ file?: pulumi.Input; /** * The name of the interface providing the VTP updater ID for this device */ interface?: pulumi.Input; /** * Use only this interface's IP address as the VTP IP updater address */ interfaceOnly?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeClientMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeClientUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeClientVlan?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeOffMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeOffUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeOffVlan?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeServerMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeServerUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeServerVlan?: pulumi.Input; /** * Set the mode for MST VTP instance */ modeTransparentMst?: pulumi.Input; /** * Set the mode for unknown VTP instances */ modeTransparentUnknown?: pulumi.Input; /** * Set the mode for VLAN VTP instance */ modeTransparentVlan?: pulumi.Input; /** * The ascii password for the VTP administrative domain */ password?: pulumi.Input; /** * Set the VTP password hidden option */ passwordHidden?: pulumi.Input; /** * Specify the vtp password in encrypted form */ passwordSecret?: pulumi.Input; /** * Set the administrative domain to permit pruning */ pruning?: pulumi.Input; /** * Set the administrative domain to VTP version - Range: `1`-`3` */ version?: pulumi.Input; }