1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. Vtp
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.Vtp

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This resource can manage the VTP configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Lbrlabs.PulumiPackage.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Iosxe.Vtp("example", new()
        {
            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,
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iosxe.NewVtp(ctx, "example", &iosxe.VtpArgs{
    			Domain:                 pulumi.String("TESTDOMAIN"),
    			File:                   pulumi.String("TEST"),
    			Interface:              pulumi.String("Gi1/0/1"),
    			ModeClientMst:          pulumi.Bool(true),
    			ModeClientUnknown:      pulumi.Bool(true),
    			ModeClientVlan:         pulumi.Bool(true),
    			ModeOffMst:             pulumi.Bool(true),
    			ModeOffVlan:            pulumi.Bool(true),
    			ModeServerMst:          pulumi.Bool(true),
    			ModeServerUnknown:      pulumi.Bool(true),
    			ModeServerVlan:         pulumi.Bool(true),
    			ModeTransparentMst:     pulumi.Bool(true),
    			ModeTransparentUnknown: pulumi.Bool(true),
    			ModeTransparentVlan:    pulumi.Bool(true),
    			Password:               pulumi.String("test123"),
    			PasswordHidden:         pulumi.Bool(true),
    			Version:                pulumi.Int(3),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.Vtp;
    import com.pulumi.iosxe.VtpArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Vtp("example", VtpArgs.builder()        
                .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)
                .build());
    
        }
    }
    
    import pulumi
    import lbrlabs_pulumi_iosxe as iosxe
    
    example = iosxe.Vtp("example",
        domain="TESTDOMAIN",
        file="TEST",
        interface="Gi1/0/1",
        mode_client_mst=True,
        mode_client_unknown=True,
        mode_client_vlan=True,
        mode_off_mst=True,
        mode_off_vlan=True,
        mode_server_mst=True,
        mode_server_unknown=True,
        mode_server_vlan=True,
        mode_transparent_mst=True,
        mode_transparent_unknown=True,
        mode_transparent_vlan=True,
        password="test123",
        password_hidden=True,
        version=3)
    
    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,
    });
    
    resources:
      example:
        type: iosxe:Vtp
        properties:
          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
    

    Create Vtp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Vtp(name: string, args?: VtpArgs, opts?: CustomResourceOptions);
    @overload
    def Vtp(resource_name: str,
            args: Optional[VtpArgs] = None,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Vtp(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            delete_mode: Optional[str] = None,
            device: Optional[str] = None,
            domain: Optional[str] = None,
            file: Optional[str] = None,
            interface: Optional[str] = None,
            interface_only: Optional[bool] = None,
            mode_client_mst: Optional[bool] = None,
            mode_client_unknown: Optional[bool] = None,
            mode_client_vlan: Optional[bool] = None,
            mode_off_mst: Optional[bool] = None,
            mode_off_unknown: Optional[bool] = None,
            mode_off_vlan: Optional[bool] = None,
            mode_server_mst: Optional[bool] = None,
            mode_server_unknown: Optional[bool] = None,
            mode_server_vlan: Optional[bool] = None,
            mode_transparent_mst: Optional[bool] = None,
            mode_transparent_unknown: Optional[bool] = None,
            mode_transparent_vlan: Optional[bool] = None,
            password: Optional[str] = None,
            password_hidden: Optional[bool] = None,
            password_secret: Optional[bool] = None,
            pruning: Optional[bool] = None,
            version: Optional[int] = None)
    func NewVtp(ctx *Context, name string, args *VtpArgs, opts ...ResourceOption) (*Vtp, error)
    public Vtp(string name, VtpArgs? args = null, CustomResourceOptions? opts = null)
    public Vtp(String name, VtpArgs args)
    public Vtp(String name, VtpArgs args, CustomResourceOptions options)
    
    type: iosxe:Vtp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VtpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VtpArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VtpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VtpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VtpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vtpResource = new Iosxe.Vtp("vtpResource", new()
    {
        DeleteMode = "string",
        Device = "string",
        Domain = "string",
        File = "string",
        Interface = "string",
        InterfaceOnly = false,
        ModeClientMst = false,
        ModeClientUnknown = false,
        ModeClientVlan = false,
        ModeOffMst = false,
        ModeOffUnknown = false,
        ModeOffVlan = false,
        ModeServerMst = false,
        ModeServerUnknown = false,
        ModeServerVlan = false,
        ModeTransparentMst = false,
        ModeTransparentUnknown = false,
        ModeTransparentVlan = false,
        Password = "string",
        PasswordHidden = false,
        PasswordSecret = false,
        Pruning = false,
        Version = 0,
    });
    
    example, err := iosxe.NewVtp(ctx, "vtpResource", &iosxe.VtpArgs{
    	DeleteMode:             pulumi.String("string"),
    	Device:                 pulumi.String("string"),
    	Domain:                 pulumi.String("string"),
    	File:                   pulumi.String("string"),
    	Interface:              pulumi.String("string"),
    	InterfaceOnly:          pulumi.Bool(false),
    	ModeClientMst:          pulumi.Bool(false),
    	ModeClientUnknown:      pulumi.Bool(false),
    	ModeClientVlan:         pulumi.Bool(false),
    	ModeOffMst:             pulumi.Bool(false),
    	ModeOffUnknown:         pulumi.Bool(false),
    	ModeOffVlan:            pulumi.Bool(false),
    	ModeServerMst:          pulumi.Bool(false),
    	ModeServerUnknown:      pulumi.Bool(false),
    	ModeServerVlan:         pulumi.Bool(false),
    	ModeTransparentMst:     pulumi.Bool(false),
    	ModeTransparentUnknown: pulumi.Bool(false),
    	ModeTransparentVlan:    pulumi.Bool(false),
    	Password:               pulumi.String("string"),
    	PasswordHidden:         pulumi.Bool(false),
    	PasswordSecret:         pulumi.Bool(false),
    	Pruning:                pulumi.Bool(false),
    	Version:                pulumi.Int(0),
    })
    
    var vtpResource = new Vtp("vtpResource", VtpArgs.builder()
        .deleteMode("string")
        .device("string")
        .domain("string")
        .file("string")
        .interface_("string")
        .interfaceOnly(false)
        .modeClientMst(false)
        .modeClientUnknown(false)
        .modeClientVlan(false)
        .modeOffMst(false)
        .modeOffUnknown(false)
        .modeOffVlan(false)
        .modeServerMst(false)
        .modeServerUnknown(false)
        .modeServerVlan(false)
        .modeTransparentMst(false)
        .modeTransparentUnknown(false)
        .modeTransparentVlan(false)
        .password("string")
        .passwordHidden(false)
        .passwordSecret(false)
        .pruning(false)
        .version(0)
        .build());
    
    vtp_resource = iosxe.Vtp("vtpResource",
        delete_mode="string",
        device="string",
        domain="string",
        file="string",
        interface="string",
        interface_only=False,
        mode_client_mst=False,
        mode_client_unknown=False,
        mode_client_vlan=False,
        mode_off_mst=False,
        mode_off_unknown=False,
        mode_off_vlan=False,
        mode_server_mst=False,
        mode_server_unknown=False,
        mode_server_vlan=False,
        mode_transparent_mst=False,
        mode_transparent_unknown=False,
        mode_transparent_vlan=False,
        password="string",
        password_hidden=False,
        password_secret=False,
        pruning=False,
        version=0)
    
    const vtpResource = new iosxe.Vtp("vtpResource", {
        deleteMode: "string",
        device: "string",
        domain: "string",
        file: "string",
        "interface": "string",
        interfaceOnly: false,
        modeClientMst: false,
        modeClientUnknown: false,
        modeClientVlan: false,
        modeOffMst: false,
        modeOffUnknown: false,
        modeOffVlan: false,
        modeServerMst: false,
        modeServerUnknown: false,
        modeServerVlan: false,
        modeTransparentMst: false,
        modeTransparentUnknown: false,
        modeTransparentVlan: false,
        password: "string",
        passwordHidden: false,
        passwordSecret: false,
        pruning: false,
        version: 0,
    });
    
    type: iosxe:Vtp
    properties:
        deleteMode: string
        device: string
        domain: string
        file: string
        interface: string
        interfaceOnly: false
        modeClientMst: false
        modeClientUnknown: false
        modeClientVlan: false
        modeOffMst: false
        modeOffUnknown: false
        modeOffVlan: false
        modeServerMst: false
        modeServerUnknown: false
        modeServerVlan: false
        modeTransparentMst: false
        modeTransparentUnknown: false
        modeTransparentVlan: false
        password: string
        passwordHidden: false
        passwordSecret: false
        pruning: false
        version: 0
    

    Vtp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Vtp resource accepts the following input properties:

    DeleteMode string
    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
    Device string
    A device name from the provider configuration.
    Domain string
    Set the name of the VTP administrative domain.
    File string
    Configure IFS filesystem file where VTP configuration is stored.
    Interface string
    The name of the interface providing the VTP updater ID for this device
    InterfaceOnly bool
    Use only this interface's IP address as the VTP IP updater address
    ModeClientMst bool
    Set the mode for MST VTP instance
    ModeClientUnknown bool
    Set the mode for unknown VTP instances
    ModeClientVlan bool
    Set the mode for VLAN VTP instance
    ModeOffMst bool
    Set the mode for MST VTP instance
    ModeOffUnknown bool
    Set the mode for unknown VTP instances
    ModeOffVlan bool
    Set the mode for VLAN VTP instance
    ModeServerMst bool
    Set the mode for MST VTP instance
    ModeServerUnknown bool
    Set the mode for unknown VTP instances
    ModeServerVlan bool
    Set the mode for VLAN VTP instance
    ModeTransparentMst bool
    Set the mode for MST VTP instance
    ModeTransparentUnknown bool
    Set the mode for unknown VTP instances
    ModeTransparentVlan bool
    Set the mode for VLAN VTP instance
    Password string
    The ascii password for the VTP administrative domain
    PasswordHidden bool
    Set the VTP password hidden option
    PasswordSecret bool
    Specify the vtp password in encrypted form
    Pruning bool
    Set the administrative domain to permit pruning
    Version int
    Set the administrative domain to VTP version - Range: 1-3
    DeleteMode string
    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
    Device string
    A device name from the provider configuration.
    Domain string
    Set the name of the VTP administrative domain.
    File string
    Configure IFS filesystem file where VTP configuration is stored.
    Interface string
    The name of the interface providing the VTP updater ID for this device
    InterfaceOnly bool
    Use only this interface's IP address as the VTP IP updater address
    ModeClientMst bool
    Set the mode for MST VTP instance
    ModeClientUnknown bool
    Set the mode for unknown VTP instances
    ModeClientVlan bool
    Set the mode for VLAN VTP instance
    ModeOffMst bool
    Set the mode for MST VTP instance
    ModeOffUnknown bool
    Set the mode for unknown VTP instances
    ModeOffVlan bool
    Set the mode for VLAN VTP instance
    ModeServerMst bool
    Set the mode for MST VTP instance
    ModeServerUnknown bool
    Set the mode for unknown VTP instances
    ModeServerVlan bool
    Set the mode for VLAN VTP instance
    ModeTransparentMst bool
    Set the mode for MST VTP instance
    ModeTransparentUnknown bool
    Set the mode for unknown VTP instances
    ModeTransparentVlan bool
    Set the mode for VLAN VTP instance
    Password string
    The ascii password for the VTP administrative domain
    PasswordHidden bool
    Set the VTP password hidden option
    PasswordSecret bool
    Specify the vtp password in encrypted form
    Pruning bool
    Set the administrative domain to permit pruning
    Version int
    Set the administrative domain to VTP version - Range: 1-3
    deleteMode String
    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
    device String
    A device name from the provider configuration.
    domain String
    Set the name of the VTP administrative domain.
    file String
    Configure IFS filesystem file where VTP configuration is stored.
    interfaceOnly Boolean
    Use only this interface's IP address as the VTP IP updater address
    interface_ String
    The name of the interface providing the VTP updater ID for this device
    modeClientMst Boolean
    Set the mode for MST VTP instance
    modeClientUnknown Boolean
    Set the mode for unknown VTP instances
    modeClientVlan Boolean
    Set the mode for VLAN VTP instance
    modeOffMst Boolean
    Set the mode for MST VTP instance
    modeOffUnknown Boolean
    Set the mode for unknown VTP instances
    modeOffVlan Boolean
    Set the mode for VLAN VTP instance
    modeServerMst Boolean
    Set the mode for MST VTP instance
    modeServerUnknown Boolean
    Set the mode for unknown VTP instances
    modeServerVlan Boolean
    Set the mode for VLAN VTP instance
    modeTransparentMst Boolean
    Set the mode for MST VTP instance
    modeTransparentUnknown Boolean
    Set the mode for unknown VTP instances
    modeTransparentVlan Boolean
    Set the mode for VLAN VTP instance
    password String
    The ascii password for the VTP administrative domain
    passwordHidden Boolean
    Set the VTP password hidden option
    passwordSecret Boolean
    Specify the vtp password in encrypted form
    pruning Boolean
    Set the administrative domain to permit pruning
    version Integer
    Set the administrative domain to VTP version - Range: 1-3
    deleteMode string
    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
    device string
    A device name from the provider configuration.
    domain string
    Set the name of the VTP administrative domain.
    file string
    Configure IFS filesystem file where VTP configuration is stored.
    interface string
    The name of the interface providing the VTP updater ID for this device
    interfaceOnly boolean
    Use only this interface's IP address as the VTP IP updater address
    modeClientMst boolean
    Set the mode for MST VTP instance
    modeClientUnknown boolean
    Set the mode for unknown VTP instances
    modeClientVlan boolean
    Set the mode for VLAN VTP instance
    modeOffMst boolean
    Set the mode for MST VTP instance
    modeOffUnknown boolean
    Set the mode for unknown VTP instances
    modeOffVlan boolean
    Set the mode for VLAN VTP instance
    modeServerMst boolean
    Set the mode for MST VTP instance
    modeServerUnknown boolean
    Set the mode for unknown VTP instances
    modeServerVlan boolean
    Set the mode for VLAN VTP instance
    modeTransparentMst boolean
    Set the mode for MST VTP instance
    modeTransparentUnknown boolean
    Set the mode for unknown VTP instances
    modeTransparentVlan boolean
    Set the mode for VLAN VTP instance
    password string
    The ascii password for the VTP administrative domain
    passwordHidden boolean
    Set the VTP password hidden option
    passwordSecret boolean
    Specify the vtp password in encrypted form
    pruning boolean
    Set the administrative domain to permit pruning
    version number
    Set the administrative domain to VTP version - Range: 1-3
    delete_mode str
    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
    device str
    A device name from the provider configuration.
    domain str
    Set the name of the VTP administrative domain.
    file str
    Configure IFS filesystem file where VTP configuration is stored.
    interface str
    The name of the interface providing the VTP updater ID for this device
    interface_only bool
    Use only this interface's IP address as the VTP IP updater address
    mode_client_mst bool
    Set the mode for MST VTP instance
    mode_client_unknown bool
    Set the mode for unknown VTP instances
    mode_client_vlan bool
    Set the mode for VLAN VTP instance
    mode_off_mst bool
    Set the mode for MST VTP instance
    mode_off_unknown bool
    Set the mode for unknown VTP instances
    mode_off_vlan bool
    Set the mode for VLAN VTP instance
    mode_server_mst bool
    Set the mode for MST VTP instance
    mode_server_unknown bool
    Set the mode for unknown VTP instances
    mode_server_vlan bool
    Set the mode for VLAN VTP instance
    mode_transparent_mst bool
    Set the mode for MST VTP instance
    mode_transparent_unknown bool
    Set the mode for unknown VTP instances
    mode_transparent_vlan bool
    Set the mode for VLAN VTP instance
    password str
    The ascii password for the VTP administrative domain
    password_hidden bool
    Set the VTP password hidden option
    password_secret bool
    Specify the vtp password in encrypted form
    pruning bool
    Set the administrative domain to permit pruning
    version int
    Set the administrative domain to VTP version - Range: 1-3
    deleteMode String
    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
    device String
    A device name from the provider configuration.
    domain String
    Set the name of the VTP administrative domain.
    file String
    Configure IFS filesystem file where VTP configuration is stored.
    interface String
    The name of the interface providing the VTP updater ID for this device
    interfaceOnly Boolean
    Use only this interface's IP address as the VTP IP updater address
    modeClientMst Boolean
    Set the mode for MST VTP instance
    modeClientUnknown Boolean
    Set the mode for unknown VTP instances
    modeClientVlan Boolean
    Set the mode for VLAN VTP instance
    modeOffMst Boolean
    Set the mode for MST VTP instance
    modeOffUnknown Boolean
    Set the mode for unknown VTP instances
    modeOffVlan Boolean
    Set the mode for VLAN VTP instance
    modeServerMst Boolean
    Set the mode for MST VTP instance
    modeServerUnknown Boolean
    Set the mode for unknown VTP instances
    modeServerVlan Boolean
    Set the mode for VLAN VTP instance
    modeTransparentMst Boolean
    Set the mode for MST VTP instance
    modeTransparentUnknown Boolean
    Set the mode for unknown VTP instances
    modeTransparentVlan Boolean
    Set the mode for VLAN VTP instance
    password String
    The ascii password for the VTP administrative domain
    passwordHidden Boolean
    Set the VTP password hidden option
    passwordSecret Boolean
    Specify the vtp password in encrypted form
    pruning Boolean
    Set the administrative domain to permit pruning
    version Number
    Set the administrative domain to VTP version - Range: 1-3

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Vtp resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Vtp Resource

    Get an existing Vtp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VtpState, opts?: CustomResourceOptions): Vtp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            delete_mode: Optional[str] = None,
            device: Optional[str] = None,
            domain: Optional[str] = None,
            file: Optional[str] = None,
            interface: Optional[str] = None,
            interface_only: Optional[bool] = None,
            mode_client_mst: Optional[bool] = None,
            mode_client_unknown: Optional[bool] = None,
            mode_client_vlan: Optional[bool] = None,
            mode_off_mst: Optional[bool] = None,
            mode_off_unknown: Optional[bool] = None,
            mode_off_vlan: Optional[bool] = None,
            mode_server_mst: Optional[bool] = None,
            mode_server_unknown: Optional[bool] = None,
            mode_server_vlan: Optional[bool] = None,
            mode_transparent_mst: Optional[bool] = None,
            mode_transparent_unknown: Optional[bool] = None,
            mode_transparent_vlan: Optional[bool] = None,
            password: Optional[str] = None,
            password_hidden: Optional[bool] = None,
            password_secret: Optional[bool] = None,
            pruning: Optional[bool] = None,
            version: Optional[int] = None) -> Vtp
    func GetVtp(ctx *Context, name string, id IDInput, state *VtpState, opts ...ResourceOption) (*Vtp, error)
    public static Vtp Get(string name, Input<string> id, VtpState? state, CustomResourceOptions? opts = null)
    public static Vtp get(String name, Output<String> id, VtpState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DeleteMode string
    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
    Device string
    A device name from the provider configuration.
    Domain string
    Set the name of the VTP administrative domain.
    File string
    Configure IFS filesystem file where VTP configuration is stored.
    Interface string
    The name of the interface providing the VTP updater ID for this device
    InterfaceOnly bool
    Use only this interface's IP address as the VTP IP updater address
    ModeClientMst bool
    Set the mode for MST VTP instance
    ModeClientUnknown bool
    Set the mode for unknown VTP instances
    ModeClientVlan bool
    Set the mode for VLAN VTP instance
    ModeOffMst bool
    Set the mode for MST VTP instance
    ModeOffUnknown bool
    Set the mode for unknown VTP instances
    ModeOffVlan bool
    Set the mode for VLAN VTP instance
    ModeServerMst bool
    Set the mode for MST VTP instance
    ModeServerUnknown bool
    Set the mode for unknown VTP instances
    ModeServerVlan bool
    Set the mode for VLAN VTP instance
    ModeTransparentMst bool
    Set the mode for MST VTP instance
    ModeTransparentUnknown bool
    Set the mode for unknown VTP instances
    ModeTransparentVlan bool
    Set the mode for VLAN VTP instance
    Password string
    The ascii password for the VTP administrative domain
    PasswordHidden bool
    Set the VTP password hidden option
    PasswordSecret bool
    Specify the vtp password in encrypted form
    Pruning bool
    Set the administrative domain to permit pruning
    Version int
    Set the administrative domain to VTP version - Range: 1-3
    DeleteMode string
    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
    Device string
    A device name from the provider configuration.
    Domain string
    Set the name of the VTP administrative domain.
    File string
    Configure IFS filesystem file where VTP configuration is stored.
    Interface string
    The name of the interface providing the VTP updater ID for this device
    InterfaceOnly bool
    Use only this interface's IP address as the VTP IP updater address
    ModeClientMst bool
    Set the mode for MST VTP instance
    ModeClientUnknown bool
    Set the mode for unknown VTP instances
    ModeClientVlan bool
    Set the mode for VLAN VTP instance
    ModeOffMst bool
    Set the mode for MST VTP instance
    ModeOffUnknown bool
    Set the mode for unknown VTP instances
    ModeOffVlan bool
    Set the mode for VLAN VTP instance
    ModeServerMst bool
    Set the mode for MST VTP instance
    ModeServerUnknown bool
    Set the mode for unknown VTP instances
    ModeServerVlan bool
    Set the mode for VLAN VTP instance
    ModeTransparentMst bool
    Set the mode for MST VTP instance
    ModeTransparentUnknown bool
    Set the mode for unknown VTP instances
    ModeTransparentVlan bool
    Set the mode for VLAN VTP instance
    Password string
    The ascii password for the VTP administrative domain
    PasswordHidden bool
    Set the VTP password hidden option
    PasswordSecret bool
    Specify the vtp password in encrypted form
    Pruning bool
    Set the administrative domain to permit pruning
    Version int
    Set the administrative domain to VTP version - Range: 1-3
    deleteMode String
    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
    device String
    A device name from the provider configuration.
    domain String
    Set the name of the VTP administrative domain.
    file String
    Configure IFS filesystem file where VTP configuration is stored.
    interfaceOnly Boolean
    Use only this interface's IP address as the VTP IP updater address
    interface_ String
    The name of the interface providing the VTP updater ID for this device
    modeClientMst Boolean
    Set the mode for MST VTP instance
    modeClientUnknown Boolean
    Set the mode for unknown VTP instances
    modeClientVlan Boolean
    Set the mode for VLAN VTP instance
    modeOffMst Boolean
    Set the mode for MST VTP instance
    modeOffUnknown Boolean
    Set the mode for unknown VTP instances
    modeOffVlan Boolean
    Set the mode for VLAN VTP instance
    modeServerMst Boolean
    Set the mode for MST VTP instance
    modeServerUnknown Boolean
    Set the mode for unknown VTP instances
    modeServerVlan Boolean
    Set the mode for VLAN VTP instance
    modeTransparentMst Boolean
    Set the mode for MST VTP instance
    modeTransparentUnknown Boolean
    Set the mode for unknown VTP instances
    modeTransparentVlan Boolean
    Set the mode for VLAN VTP instance
    password String
    The ascii password for the VTP administrative domain
    passwordHidden Boolean
    Set the VTP password hidden option
    passwordSecret Boolean
    Specify the vtp password in encrypted form
    pruning Boolean
    Set the administrative domain to permit pruning
    version Integer
    Set the administrative domain to VTP version - Range: 1-3
    deleteMode string
    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
    device string
    A device name from the provider configuration.
    domain string
    Set the name of the VTP administrative domain.
    file string
    Configure IFS filesystem file where VTP configuration is stored.
    interface string
    The name of the interface providing the VTP updater ID for this device
    interfaceOnly boolean
    Use only this interface's IP address as the VTP IP updater address
    modeClientMst boolean
    Set the mode for MST VTP instance
    modeClientUnknown boolean
    Set the mode for unknown VTP instances
    modeClientVlan boolean
    Set the mode for VLAN VTP instance
    modeOffMst boolean
    Set the mode for MST VTP instance
    modeOffUnknown boolean
    Set the mode for unknown VTP instances
    modeOffVlan boolean
    Set the mode for VLAN VTP instance
    modeServerMst boolean
    Set the mode for MST VTP instance
    modeServerUnknown boolean
    Set the mode for unknown VTP instances
    modeServerVlan boolean
    Set the mode for VLAN VTP instance
    modeTransparentMst boolean
    Set the mode for MST VTP instance
    modeTransparentUnknown boolean
    Set the mode for unknown VTP instances
    modeTransparentVlan boolean
    Set the mode for VLAN VTP instance
    password string
    The ascii password for the VTP administrative domain
    passwordHidden boolean
    Set the VTP password hidden option
    passwordSecret boolean
    Specify the vtp password in encrypted form
    pruning boolean
    Set the administrative domain to permit pruning
    version number
    Set the administrative domain to VTP version - Range: 1-3
    delete_mode str
    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
    device str
    A device name from the provider configuration.
    domain str
    Set the name of the VTP administrative domain.
    file str
    Configure IFS filesystem file where VTP configuration is stored.
    interface str
    The name of the interface providing the VTP updater ID for this device
    interface_only bool
    Use only this interface's IP address as the VTP IP updater address
    mode_client_mst bool
    Set the mode for MST VTP instance
    mode_client_unknown bool
    Set the mode for unknown VTP instances
    mode_client_vlan bool
    Set the mode for VLAN VTP instance
    mode_off_mst bool
    Set the mode for MST VTP instance
    mode_off_unknown bool
    Set the mode for unknown VTP instances
    mode_off_vlan bool
    Set the mode for VLAN VTP instance
    mode_server_mst bool
    Set the mode for MST VTP instance
    mode_server_unknown bool
    Set the mode for unknown VTP instances
    mode_server_vlan bool
    Set the mode for VLAN VTP instance
    mode_transparent_mst bool
    Set the mode for MST VTP instance
    mode_transparent_unknown bool
    Set the mode for unknown VTP instances
    mode_transparent_vlan bool
    Set the mode for VLAN VTP instance
    password str
    The ascii password for the VTP administrative domain
    password_hidden bool
    Set the VTP password hidden option
    password_secret bool
    Specify the vtp password in encrypted form
    pruning bool
    Set the administrative domain to permit pruning
    version int
    Set the administrative domain to VTP version - Range: 1-3
    deleteMode String
    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
    device String
    A device name from the provider configuration.
    domain String
    Set the name of the VTP administrative domain.
    file String
    Configure IFS filesystem file where VTP configuration is stored.
    interface String
    The name of the interface providing the VTP updater ID for this device
    interfaceOnly Boolean
    Use only this interface's IP address as the VTP IP updater address
    modeClientMst Boolean
    Set the mode for MST VTP instance
    modeClientUnknown Boolean
    Set the mode for unknown VTP instances
    modeClientVlan Boolean
    Set the mode for VLAN VTP instance
    modeOffMst Boolean
    Set the mode for MST VTP instance
    modeOffUnknown Boolean
    Set the mode for unknown VTP instances
    modeOffVlan Boolean
    Set the mode for VLAN VTP instance
    modeServerMst Boolean
    Set the mode for MST VTP instance
    modeServerUnknown Boolean
    Set the mode for unknown VTP instances
    modeServerVlan Boolean
    Set the mode for VLAN VTP instance
    modeTransparentMst Boolean
    Set the mode for MST VTP instance
    modeTransparentUnknown Boolean
    Set the mode for unknown VTP instances
    modeTransparentVlan Boolean
    Set the mode for VLAN VTP instance
    password String
    The ascii password for the VTP administrative domain
    passwordHidden Boolean
    Set the VTP password hidden option
    passwordSecret Boolean
    Specify the vtp password in encrypted form
    pruning Boolean
    Set the administrative domain to permit pruning
    version Number
    Set the administrative domain to VTP version - Range: 1-3

    Import

     $ pulumi import iosxe:index/vtp:Vtp example "Cisco-IOS-XE-native:native/vtp"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    iosxe lbrlabs/pulumi-iosxe
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs