iosxe.Vtp
Explore with Pulumi AI
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)
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Vtp resource accepts the following input properties:
- Delete
Mode 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
- Interface
Only bool - Use only this interface's IP address as the VTP IP updater address
- Mode
Client boolMst - Set the mode for MST VTP instance
- Mode
Client boolUnknown - Set the mode for unknown VTP instances
- Mode
Client boolVlan - Set the mode for VLAN VTP instance
- Mode
Off boolMst - Set the mode for MST VTP instance
- Mode
Off boolUnknown - Set the mode for unknown VTP instances
- Mode
Off boolVlan - Set the mode for VLAN VTP instance
- Mode
Server boolMst - Set the mode for MST VTP instance
- Mode
Server boolUnknown - Set the mode for unknown VTP instances
- Mode
Server boolVlan - Set the mode for VLAN VTP instance
- Mode
Transparent boolMst - Set the mode for MST VTP instance
- Mode
Transparent boolUnknown - Set the mode for unknown VTP instances
- Mode
Transparent boolVlan - Set the mode for VLAN VTP instance
- Password string
- The ascii password for the VTP administrative domain
- 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
- Delete
Mode 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
- Interface
Only bool - Use only this interface's IP address as the VTP IP updater address
- Mode
Client boolMst - Set the mode for MST VTP instance
- Mode
Client boolUnknown - Set the mode for unknown VTP instances
- Mode
Client boolVlan - Set the mode for VLAN VTP instance
- Mode
Off boolMst - Set the mode for MST VTP instance
- Mode
Off boolUnknown - Set the mode for unknown VTP instances
- Mode
Off boolVlan - Set the mode for VLAN VTP instance
- Mode
Server boolMst - Set the mode for MST VTP instance
- Mode
Server boolUnknown - Set the mode for unknown VTP instances
- Mode
Server boolVlan - Set the mode for VLAN VTP instance
- Mode
Transparent boolMst - Set the mode for MST VTP instance
- Mode
Transparent boolUnknown - Set the mode for unknown VTP instances
- Mode
Transparent boolVlan - Set the mode for VLAN VTP instance
- Password string
- The ascii password for the VTP administrative domain
- 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
- delete
Mode 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
Only 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
- mode
Client BooleanMst - Set the mode for MST VTP instance
- mode
Client BooleanUnknown - Set the mode for unknown VTP instances
- mode
Client BooleanVlan - Set the mode for VLAN VTP instance
- mode
Off BooleanMst - Set the mode for MST VTP instance
- mode
Off BooleanUnknown - Set the mode for unknown VTP instances
- mode
Off BooleanVlan - Set the mode for VLAN VTP instance
- mode
Server BooleanMst - Set the mode for MST VTP instance
- mode
Server BooleanUnknown - Set the mode for unknown VTP instances
- mode
Server BooleanVlan - Set the mode for VLAN VTP instance
- mode
Transparent BooleanMst - Set the mode for MST VTP instance
- mode
Transparent BooleanUnknown - Set the mode for unknown VTP instances
- mode
Transparent BooleanVlan - Set the mode for VLAN VTP instance
- password String
- The ascii password for the VTP administrative domain
- Boolean
- Set the VTP password hidden option
- password
Secret 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
- delete
Mode 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
- interface
Only boolean - Use only this interface's IP address as the VTP IP updater address
- mode
Client booleanMst - Set the mode for MST VTP instance
- mode
Client booleanUnknown - Set the mode for unknown VTP instances
- mode
Client booleanVlan - Set the mode for VLAN VTP instance
- mode
Off booleanMst - Set the mode for MST VTP instance
- mode
Off booleanUnknown - Set the mode for unknown VTP instances
- mode
Off booleanVlan - Set the mode for VLAN VTP instance
- mode
Server booleanMst - Set the mode for MST VTP instance
- mode
Server booleanUnknown - Set the mode for unknown VTP instances
- mode
Server booleanVlan - Set the mode for VLAN VTP instance
- mode
Transparent booleanMst - Set the mode for MST VTP instance
- mode
Transparent booleanUnknown - Set the mode for unknown VTP instances
- mode
Transparent booleanVlan - Set the mode for VLAN VTP instance
- password string
- The ascii password for the VTP administrative domain
- boolean
- Set the VTP password hidden option
- password
Secret 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_ boolmst - Set the mode for MST VTP instance
- mode_
client_ boolunknown - Set the mode for unknown VTP instances
- mode_
client_ boolvlan - Set the mode for VLAN VTP instance
- mode_
off_ boolmst - Set the mode for MST VTP instance
- mode_
off_ boolunknown - Set the mode for unknown VTP instances
- mode_
off_ boolvlan - Set the mode for VLAN VTP instance
- mode_
server_ boolmst - Set the mode for MST VTP instance
- mode_
server_ boolunknown - Set the mode for unknown VTP instances
- mode_
server_ boolvlan - Set the mode for VLAN VTP instance
- mode_
transparent_ boolmst - Set the mode for MST VTP instance
- mode_
transparent_ boolunknown - Set the mode for unknown VTP instances
- mode_
transparent_ boolvlan - Set the mode for VLAN VTP instance
- password str
- The ascii password for the VTP administrative domain
- 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
- delete
Mode 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
- interface
Only Boolean - Use only this interface's IP address as the VTP IP updater address
- mode
Client BooleanMst - Set the mode for MST VTP instance
- mode
Client BooleanUnknown - Set the mode for unknown VTP instances
- mode
Client BooleanVlan - Set the mode for VLAN VTP instance
- mode
Off BooleanMst - Set the mode for MST VTP instance
- mode
Off BooleanUnknown - Set the mode for unknown VTP instances
- mode
Off BooleanVlan - Set the mode for VLAN VTP instance
- mode
Server BooleanMst - Set the mode for MST VTP instance
- mode
Server BooleanUnknown - Set the mode for unknown VTP instances
- mode
Server BooleanVlan - Set the mode for VLAN VTP instance
- mode
Transparent BooleanMst - Set the mode for MST VTP instance
- mode
Transparent BooleanUnknown - Set the mode for unknown VTP instances
- mode
Transparent BooleanVlan - Set the mode for VLAN VTP instance
- password String
- The ascii password for the VTP administrative domain
- Boolean
- Set the VTP password hidden option
- password
Secret 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.
- Delete
Mode 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
- Interface
Only bool - Use only this interface's IP address as the VTP IP updater address
- Mode
Client boolMst - Set the mode for MST VTP instance
- Mode
Client boolUnknown - Set the mode for unknown VTP instances
- Mode
Client boolVlan - Set the mode for VLAN VTP instance
- Mode
Off boolMst - Set the mode for MST VTP instance
- Mode
Off boolUnknown - Set the mode for unknown VTP instances
- Mode
Off boolVlan - Set the mode for VLAN VTP instance
- Mode
Server boolMst - Set the mode for MST VTP instance
- Mode
Server boolUnknown - Set the mode for unknown VTP instances
- Mode
Server boolVlan - Set the mode for VLAN VTP instance
- Mode
Transparent boolMst - Set the mode for MST VTP instance
- Mode
Transparent boolUnknown - Set the mode for unknown VTP instances
- Mode
Transparent boolVlan - Set the mode for VLAN VTP instance
- Password string
- The ascii password for the VTP administrative domain
- 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
- Delete
Mode 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
- Interface
Only bool - Use only this interface's IP address as the VTP IP updater address
- Mode
Client boolMst - Set the mode for MST VTP instance
- Mode
Client boolUnknown - Set the mode for unknown VTP instances
- Mode
Client boolVlan - Set the mode for VLAN VTP instance
- Mode
Off boolMst - Set the mode for MST VTP instance
- Mode
Off boolUnknown - Set the mode for unknown VTP instances
- Mode
Off boolVlan - Set the mode for VLAN VTP instance
- Mode
Server boolMst - Set the mode for MST VTP instance
- Mode
Server boolUnknown - Set the mode for unknown VTP instances
- Mode
Server boolVlan - Set the mode for VLAN VTP instance
- Mode
Transparent boolMst - Set the mode for MST VTP instance
- Mode
Transparent boolUnknown - Set the mode for unknown VTP instances
- Mode
Transparent boolVlan - Set the mode for VLAN VTP instance
- Password string
- The ascii password for the VTP administrative domain
- 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
- delete
Mode 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
Only 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
- mode
Client BooleanMst - Set the mode for MST VTP instance
- mode
Client BooleanUnknown - Set the mode for unknown VTP instances
- mode
Client BooleanVlan - Set the mode for VLAN VTP instance
- mode
Off BooleanMst - Set the mode for MST VTP instance
- mode
Off BooleanUnknown - Set the mode for unknown VTP instances
- mode
Off BooleanVlan - Set the mode for VLAN VTP instance
- mode
Server BooleanMst - Set the mode for MST VTP instance
- mode
Server BooleanUnknown - Set the mode for unknown VTP instances
- mode
Server BooleanVlan - Set the mode for VLAN VTP instance
- mode
Transparent BooleanMst - Set the mode for MST VTP instance
- mode
Transparent BooleanUnknown - Set the mode for unknown VTP instances
- mode
Transparent BooleanVlan - Set the mode for VLAN VTP instance
- password String
- The ascii password for the VTP administrative domain
- Boolean
- Set the VTP password hidden option
- password
Secret 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
- delete
Mode 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
- interface
Only boolean - Use only this interface's IP address as the VTP IP updater address
- mode
Client booleanMst - Set the mode for MST VTP instance
- mode
Client booleanUnknown - Set the mode for unknown VTP instances
- mode
Client booleanVlan - Set the mode for VLAN VTP instance
- mode
Off booleanMst - Set the mode for MST VTP instance
- mode
Off booleanUnknown - Set the mode for unknown VTP instances
- mode
Off booleanVlan - Set the mode for VLAN VTP instance
- mode
Server booleanMst - Set the mode for MST VTP instance
- mode
Server booleanUnknown - Set the mode for unknown VTP instances
- mode
Server booleanVlan - Set the mode for VLAN VTP instance
- mode
Transparent booleanMst - Set the mode for MST VTP instance
- mode
Transparent booleanUnknown - Set the mode for unknown VTP instances
- mode
Transparent booleanVlan - Set the mode for VLAN VTP instance
- password string
- The ascii password for the VTP administrative domain
- boolean
- Set the VTP password hidden option
- password
Secret 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_ boolmst - Set the mode for MST VTP instance
- mode_
client_ boolunknown - Set the mode for unknown VTP instances
- mode_
client_ boolvlan - Set the mode for VLAN VTP instance
- mode_
off_ boolmst - Set the mode for MST VTP instance
- mode_
off_ boolunknown - Set the mode for unknown VTP instances
- mode_
off_ boolvlan - Set the mode for VLAN VTP instance
- mode_
server_ boolmst - Set the mode for MST VTP instance
- mode_
server_ boolunknown - Set the mode for unknown VTP instances
- mode_
server_ boolvlan - Set the mode for VLAN VTP instance
- mode_
transparent_ boolmst - Set the mode for MST VTP instance
- mode_
transparent_ boolunknown - Set the mode for unknown VTP instances
- mode_
transparent_ boolvlan - Set the mode for VLAN VTP instance
- password str
- The ascii password for the VTP administrative domain
- 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
- delete
Mode 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
- interface
Only Boolean - Use only this interface's IP address as the VTP IP updater address
- mode
Client BooleanMst - Set the mode for MST VTP instance
- mode
Client BooleanUnknown - Set the mode for unknown VTP instances
- mode
Client BooleanVlan - Set the mode for VLAN VTP instance
- mode
Off BooleanMst - Set the mode for MST VTP instance
- mode
Off BooleanUnknown - Set the mode for unknown VTP instances
- mode
Off BooleanVlan - Set the mode for VLAN VTP instance
- mode
Server BooleanMst - Set the mode for MST VTP instance
- mode
Server BooleanUnknown - Set the mode for unknown VTP instances
- mode
Server BooleanVlan - Set the mode for VLAN VTP instance
- mode
Transparent BooleanMst - Set the mode for MST VTP instance
- mode
Transparent BooleanUnknown - Set the mode for unknown VTP instances
- mode
Transparent BooleanVlan - Set the mode for VLAN VTP instance
- password String
- The ascii password for the VTP administrative domain
- Boolean
- Set the VTP password hidden option
- password
Secret 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.