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

iosxe.Template

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 Template configuration.

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.Template;
    import com.pulumi.iosxe.TemplateArgs;
    import com.pulumi.iosxe.inputs.TemplateIpAccessGroupArgs;
    import com.pulumi.iosxe.inputs.TemplateSwitchportPortSecurityMaximumRangeArgs;
    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 Template("example", TemplateArgs.builder()        
                .accessSessionClosed(true)
                .accessSessionControlDirection("both")
                .accessSessionHostMode("single-host")
                .accessSessionInterfaceTemplateSticky(true)
                .accessSessionInterfaceTemplateStickyTimer(100)
                .accessSessionMonitor(true)
                .accessSessionPortControl("auto")
                .authenticationPeriodic(true)
                .authenticationTimerReauthenticateServer(true)
                .ctsManual(true)
                .ctsManualPolicyStaticSgt(100)
                .ctsManualPolicyStaticTrusted(false)
                .ctsManualPropagateSgt(false)
                .ctsRoleBasedEnforcement(false)
                .deviceTracking(true)
                .deviceTrackingVlanRange("100-199")
                .dot1xMaxReauthReq(3)
                .dot1xMaxReq(3)
                .dot1xPae("both")
                .dot1xTimeoutTxPeriod(2)
                .ipAccessGroups(TemplateIpAccessGroupArgs.builder()
                    .access_list("ACL1")
                    .direction("in")
                    .build())
                .ipDhcpSnoopingLimitRate(10)
                .ipDhcpSnoopingTrust(true)
                .loadInterval(30)
                .mab(true)
                .mabEap(true)
                .servicePolicyInput("SP1")
                .servicePolicyOutput("SP2")
                .servicePolicyTypeControlSubscriber("dot1x_policy")
                .spanningTreeBpduguardEnable(true)
                .spanningTreePortfast(true)
                .spanningTreePortfastDisable(false)
                .spanningTreePortfastEdge(false)
                .spanningTreePortfastNetwork(false)
                .stormControlActionShutdown(true)
                .stormControlActionTrap(true)
                .stormControlBroadcastLevelBpsThreshold(10)
                .stormControlBroadcastLevelPpsThreshold("10")
                .stormControlBroadcastLevelThreshold(10)
                .stormControlMulticastLevelBpsThreshold(10000)
                .stormControlMulticastLevelPpsThreshold("10")
                .stormControlMulticastLevelThreshold(10)
                .subscriberAgingProbe(true)
                .switchportAccessVlan(200)
                .switchportBlockUnicast(false)
                .switchportModeAccess(false)
                .switchportModeTrunk(true)
                .switchportNonegotiate(false)
                .switchportPortSecurity(true)
                .switchportPortSecurityAgingStatic(false)
                .switchportPortSecurityAgingTime(100)
                .switchportPortSecurityAgingType(true)
                .switchportPortSecurityAgingTypeInactivity(true)
                .switchportPortSecurityMaximumRanges(TemplateSwitchportPortSecurityMaximumRangeArgs.builder()
                    .range(100)
                    .vlan(true)
                    .vlan_access(true)
                    .build())
                .switchportPortSecurityViolationProtect(false)
                .switchportPortSecurityViolationRestrict(false)
                .switchportPortSecurityViolationShutdown(false)
                .switchportPrivateVlanHostAssociationPrimaryRange(301)
                .switchportPrivateVlanHostAssociationSecondaryRange(302)
                .switchportTrunkAllowedVlans("500-599")
                .switchportTrunkNativeVlanVlanId(10)
                .switchportVoiceVlan(201)
                .templateName("TEMP1")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      example:
        type: iosxe:Template
        properties:
          accessSessionClosed: true
          accessSessionControlDirection: both
          accessSessionHostMode: single-host
          accessSessionInterfaceTemplateSticky: true
          accessSessionInterfaceTemplateStickyTimer: 100
          accessSessionMonitor: true
          accessSessionPortControl: auto
          authenticationPeriodic: true
          authenticationTimerReauthenticateServer: true
          ctsManual: true
          ctsManualPolicyStaticSgt: 100
          ctsManualPolicyStaticTrusted: false
          ctsManualPropagateSgt: false
          ctsRoleBasedEnforcement: false
          deviceTracking: true
          deviceTrackingVlanRange: 100-199
          dot1xMaxReauthReq: 3
          dot1xMaxReq: 3
          dot1xPae: both
          dot1xTimeoutTxPeriod: 2
          ipAccessGroups:
            - access_list: ACL1
              direction: in
          ipDhcpSnoopingLimitRate: 10
          ipDhcpSnoopingTrust: true
          loadInterval: 30
          mab: true
          mabEap: true
          servicePolicyInput: SP1
          servicePolicyOutput: SP2
          servicePolicyTypeControlSubscriber: dot1x_policy
          spanningTreeBpduguardEnable: true
          spanningTreePortfast: true
          spanningTreePortfastDisable: false
          spanningTreePortfastEdge: false
          spanningTreePortfastNetwork: false
          stormControlActionShutdown: true
          stormControlActionTrap: true
          stormControlBroadcastLevelBpsThreshold: 10
          stormControlBroadcastLevelPpsThreshold: '10'
          stormControlBroadcastLevelThreshold: 10
          stormControlMulticastLevelBpsThreshold: 10000
          stormControlMulticastLevelPpsThreshold: '10'
          stormControlMulticastLevelThreshold: 10
          subscriberAgingProbe: true
          switchportAccessVlan: 200
          switchportBlockUnicast: false
          switchportModeAccess: false
          switchportModeTrunk: true
          switchportNonegotiate: false
          switchportPortSecurity: true
          switchportPortSecurityAgingStatic: false
          switchportPortSecurityAgingTime: 100
          switchportPortSecurityAgingType: true
          switchportPortSecurityAgingTypeInactivity: true
          switchportPortSecurityMaximumRanges:
            - range: 100
              vlan: true
              vlan_access: true
          switchportPortSecurityViolationProtect: false
          switchportPortSecurityViolationRestrict: false
          switchportPortSecurityViolationShutdown: false
          switchportPrivateVlanHostAssociationPrimaryRange: 301
          switchportPrivateVlanHostAssociationSecondaryRange: 302
          switchportTrunkAllowedVlans: 500-599
          switchportTrunkNativeVlanVlanId: 10
          switchportVoiceVlan: 201
          templateName: TEMP1
    

    Create Template Resource

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

    Constructor syntax

    new Template(name: string, args: TemplateArgs, opts?: CustomResourceOptions);
    @overload
    def Template(resource_name: str,
                 args: TemplateArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Template(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 template_name: Optional[str] = None,
                 access_session_closed: Optional[bool] = None,
                 access_session_control_direction: Optional[str] = None,
                 access_session_host_mode: Optional[str] = None,
                 access_session_interface_template_sticky: Optional[bool] = None,
                 access_session_interface_template_sticky_timer: Optional[int] = None,
                 access_session_monitor: Optional[bool] = None,
                 access_session_port_control: Optional[str] = None,
                 authentication_periodic: Optional[bool] = None,
                 authentication_timer_reauthenticate_range: Optional[int] = None,
                 authentication_timer_reauthenticate_server: Optional[bool] = None,
                 cts_manual: Optional[bool] = None,
                 cts_manual_policy_static_sgt: Optional[int] = None,
                 cts_manual_policy_static_trusted: Optional[bool] = None,
                 cts_manual_propagate_sgt: Optional[bool] = None,
                 cts_role_based_enforcement: Optional[bool] = None,
                 delete_mode: Optional[str] = None,
                 device: Optional[str] = None,
                 device_tracking: Optional[bool] = None,
                 device_tracking_attach_policies: Optional[Sequence[TemplateDeviceTrackingAttachPolicyArgs]] = None,
                 device_tracking_vlan_range: Optional[str] = None,
                 dot1x_max_reauth_req: Optional[int] = None,
                 dot1x_max_req: Optional[int] = None,
                 dot1x_pae: Optional[str] = None,
                 dot1x_timeout_tx_period: Optional[int] = None,
                 ip_access_groups: Optional[Sequence[TemplateIpAccessGroupArgs]] = None,
                 ip_dhcp_snooping_limit_rate: Optional[int] = None,
                 ip_dhcp_snooping_trust: Optional[bool] = None,
                 load_interval: Optional[int] = None,
                 mab: Optional[bool] = None,
                 mab_eap: Optional[bool] = None,
                 service_policy_input: Optional[str] = None,
                 service_policy_output: Optional[str] = None,
                 service_policy_type_control_subscriber: Optional[str] = None,
                 source_template: Optional[str] = None,
                 spanning_tree_bpduguard_enable: Optional[bool] = None,
                 spanning_tree_portfast: Optional[bool] = None,
                 spanning_tree_portfast_disable: Optional[bool] = None,
                 spanning_tree_portfast_edge: Optional[bool] = None,
                 spanning_tree_portfast_network: Optional[bool] = None,
                 spanning_tree_service_policy: Optional[bool] = None,
                 storm_control_action_shutdown: Optional[bool] = None,
                 storm_control_action_trap: Optional[bool] = None,
                 storm_control_broadcast_level_bps_threshold: Optional[float] = None,
                 storm_control_broadcast_level_pps_threshold: Optional[str] = None,
                 storm_control_broadcast_level_threshold: Optional[float] = None,
                 storm_control_multicast_level_bps_threshold: Optional[float] = None,
                 storm_control_multicast_level_pps_threshold: Optional[str] = None,
                 storm_control_multicast_level_threshold: Optional[float] = None,
                 subscriber_aging_inactivity_timer_probe: Optional[bool] = None,
                 subscriber_aging_inactivity_timer_value: Optional[int] = None,
                 subscriber_aging_probe: Optional[bool] = None,
                 switchport_access_vlan: Optional[int] = None,
                 switchport_block_unicast: Optional[bool] = None,
                 switchport_mode_access: Optional[bool] = None,
                 switchport_mode_trunk: Optional[bool] = None,
                 switchport_nonegotiate: Optional[bool] = None,
                 switchport_port_security: Optional[bool] = None,
                 switchport_port_security_aging_static: Optional[bool] = None,
                 switchport_port_security_aging_time: Optional[int] = None,
                 switchport_port_security_aging_type: Optional[bool] = None,
                 switchport_port_security_aging_type_inactivity: Optional[bool] = None,
                 switchport_port_security_maximum_ranges: Optional[Sequence[TemplateSwitchportPortSecurityMaximumRangeArgs]] = None,
                 switchport_port_security_violation_protect: Optional[bool] = None,
                 switchport_port_security_violation_restrict: Optional[bool] = None,
                 switchport_port_security_violation_shutdown: Optional[bool] = None,
                 switchport_private_vlan_host_association_primary_range: Optional[int] = None,
                 switchport_private_vlan_host_association_secondary_range: Optional[int] = None,
                 switchport_trunk_allowed_vlans: Optional[str] = None,
                 switchport_trunk_allowed_vlans_all: Optional[bool] = None,
                 switchport_trunk_allowed_vlans_none: Optional[bool] = None,
                 switchport_trunk_native_vlan_tag: Optional[bool] = None,
                 switchport_trunk_native_vlan_vlan_id: Optional[int] = None,
                 switchport_voice_vlan: Optional[int] = None)
    func NewTemplate(ctx *Context, name string, args TemplateArgs, opts ...ResourceOption) (*Template, error)
    public Template(string name, TemplateArgs args, CustomResourceOptions? opts = null)
    public Template(String name, TemplateArgs args)
    public Template(String name, TemplateArgs args, CustomResourceOptions options)
    
    type: iosxe:Template
    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 TemplateArgs
    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 TemplateArgs
    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 TemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TemplateArgs
    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 templateResource = new Iosxe.Template("templateResource", new()
    {
        TemplateName = "string",
        AccessSessionClosed = false,
        AccessSessionControlDirection = "string",
        AccessSessionHostMode = "string",
        AccessSessionInterfaceTemplateSticky = false,
        AccessSessionInterfaceTemplateStickyTimer = 0,
        AccessSessionMonitor = false,
        AccessSessionPortControl = "string",
        AuthenticationPeriodic = false,
        AuthenticationTimerReauthenticateRange = 0,
        AuthenticationTimerReauthenticateServer = false,
        CtsManual = false,
        CtsManualPolicyStaticSgt = 0,
        CtsManualPolicyStaticTrusted = false,
        CtsManualPropagateSgt = false,
        CtsRoleBasedEnforcement = false,
        DeleteMode = "string",
        Device = "string",
        DeviceTracking = false,
        DeviceTrackingAttachPolicies = new[]
        {
            new Iosxe.Inputs.TemplateDeviceTrackingAttachPolicyArgs
            {
                PolicyName = "string",
                VlanRange = "string",
            },
        },
        DeviceTrackingVlanRange = "string",
        Dot1xMaxReauthReq = 0,
        Dot1xMaxReq = 0,
        Dot1xPae = "string",
        Dot1xTimeoutTxPeriod = 0,
        IpAccessGroups = new[]
        {
            new Iosxe.Inputs.TemplateIpAccessGroupArgs
            {
                Direction = "string",
                AccessList = "string",
            },
        },
        IpDhcpSnoopingLimitRate = 0,
        IpDhcpSnoopingTrust = false,
        LoadInterval = 0,
        Mab = false,
        MabEap = false,
        ServicePolicyInput = "string",
        ServicePolicyOutput = "string",
        ServicePolicyTypeControlSubscriber = "string",
        SourceTemplate = "string",
        SpanningTreeBpduguardEnable = false,
        SpanningTreePortfast = false,
        SpanningTreePortfastDisable = false,
        SpanningTreePortfastEdge = false,
        SpanningTreePortfastNetwork = false,
        SpanningTreeServicePolicy = false,
        StormControlActionShutdown = false,
        StormControlActionTrap = false,
        StormControlBroadcastLevelBpsThreshold = 0,
        StormControlBroadcastLevelPpsThreshold = "string",
        StormControlBroadcastLevelThreshold = 0,
        StormControlMulticastLevelBpsThreshold = 0,
        StormControlMulticastLevelPpsThreshold = "string",
        StormControlMulticastLevelThreshold = 0,
        SubscriberAgingInactivityTimerProbe = false,
        SubscriberAgingInactivityTimerValue = 0,
        SubscriberAgingProbe = false,
        SwitchportAccessVlan = 0,
        SwitchportBlockUnicast = false,
        SwitchportModeAccess = false,
        SwitchportModeTrunk = false,
        SwitchportNonegotiate = false,
        SwitchportPortSecurity = false,
        SwitchportPortSecurityAgingStatic = false,
        SwitchportPortSecurityAgingTime = 0,
        SwitchportPortSecurityAgingType = false,
        SwitchportPortSecurityAgingTypeInactivity = false,
        SwitchportPortSecurityMaximumRanges = new[]
        {
            new Iosxe.Inputs.TemplateSwitchportPortSecurityMaximumRangeArgs
            {
                Range = 0,
                Vlan = false,
                VlanAccess = false,
            },
        },
        SwitchportPortSecurityViolationProtect = false,
        SwitchportPortSecurityViolationRestrict = false,
        SwitchportPortSecurityViolationShutdown = false,
        SwitchportPrivateVlanHostAssociationPrimaryRange = 0,
        SwitchportPrivateVlanHostAssociationSecondaryRange = 0,
        SwitchportTrunkAllowedVlans = "string",
        SwitchportTrunkAllowedVlansAll = false,
        SwitchportTrunkAllowedVlansNone = false,
        SwitchportTrunkNativeVlanTag = false,
        SwitchportTrunkNativeVlanVlanId = 0,
        SwitchportVoiceVlan = 0,
    });
    
    example, err := iosxe.NewTemplate(ctx, "templateResource", &iosxe.TemplateArgs{
    	TemplateName:                              pulumi.String("string"),
    	AccessSessionClosed:                       pulumi.Bool(false),
    	AccessSessionControlDirection:             pulumi.String("string"),
    	AccessSessionHostMode:                     pulumi.String("string"),
    	AccessSessionInterfaceTemplateSticky:      pulumi.Bool(false),
    	AccessSessionInterfaceTemplateStickyTimer: pulumi.Int(0),
    	AccessSessionMonitor:                      pulumi.Bool(false),
    	AccessSessionPortControl:                  pulumi.String("string"),
    	AuthenticationPeriodic:                    pulumi.Bool(false),
    	AuthenticationTimerReauthenticateRange:    pulumi.Int(0),
    	AuthenticationTimerReauthenticateServer:   pulumi.Bool(false),
    	CtsManual:                                 pulumi.Bool(false),
    	CtsManualPolicyStaticSgt:                  pulumi.Int(0),
    	CtsManualPolicyStaticTrusted:              pulumi.Bool(false),
    	CtsManualPropagateSgt:                     pulumi.Bool(false),
    	CtsRoleBasedEnforcement:                   pulumi.Bool(false),
    	DeleteMode:                                pulumi.String("string"),
    	Device:                                    pulumi.String("string"),
    	DeviceTracking:                            pulumi.Bool(false),
    	DeviceTrackingAttachPolicies: iosxe.TemplateDeviceTrackingAttachPolicyArray{
    		&iosxe.TemplateDeviceTrackingAttachPolicyArgs{
    			PolicyName: pulumi.String("string"),
    			VlanRange:  pulumi.String("string"),
    		},
    	},
    	DeviceTrackingVlanRange: pulumi.String("string"),
    	Dot1xMaxReauthReq:       pulumi.Int(0),
    	Dot1xMaxReq:             pulumi.Int(0),
    	Dot1xPae:                pulumi.String("string"),
    	Dot1xTimeoutTxPeriod:    pulumi.Int(0),
    	IpAccessGroups: iosxe.TemplateIpAccessGroupArray{
    		&iosxe.TemplateIpAccessGroupArgs{
    			Direction:  pulumi.String("string"),
    			AccessList: pulumi.String("string"),
    		},
    	},
    	IpDhcpSnoopingLimitRate:                   pulumi.Int(0),
    	IpDhcpSnoopingTrust:                       pulumi.Bool(false),
    	LoadInterval:                              pulumi.Int(0),
    	Mab:                                       pulumi.Bool(false),
    	MabEap:                                    pulumi.Bool(false),
    	ServicePolicyInput:                        pulumi.String("string"),
    	ServicePolicyOutput:                       pulumi.String("string"),
    	ServicePolicyTypeControlSubscriber:        pulumi.String("string"),
    	SourceTemplate:                            pulumi.String("string"),
    	SpanningTreeBpduguardEnable:               pulumi.Bool(false),
    	SpanningTreePortfast:                      pulumi.Bool(false),
    	SpanningTreePortfastDisable:               pulumi.Bool(false),
    	SpanningTreePortfastEdge:                  pulumi.Bool(false),
    	SpanningTreePortfastNetwork:               pulumi.Bool(false),
    	SpanningTreeServicePolicy:                 pulumi.Bool(false),
    	StormControlActionShutdown:                pulumi.Bool(false),
    	StormControlActionTrap:                    pulumi.Bool(false),
    	StormControlBroadcastLevelBpsThreshold:    pulumi.Float64(0),
    	StormControlBroadcastLevelPpsThreshold:    pulumi.String("string"),
    	StormControlBroadcastLevelThreshold:       pulumi.Float64(0),
    	StormControlMulticastLevelBpsThreshold:    pulumi.Float64(0),
    	StormControlMulticastLevelPpsThreshold:    pulumi.String("string"),
    	StormControlMulticastLevelThreshold:       pulumi.Float64(0),
    	SubscriberAgingInactivityTimerProbe:       pulumi.Bool(false),
    	SubscriberAgingInactivityTimerValue:       pulumi.Int(0),
    	SubscriberAgingProbe:                      pulumi.Bool(false),
    	SwitchportAccessVlan:                      pulumi.Int(0),
    	SwitchportBlockUnicast:                    pulumi.Bool(false),
    	SwitchportModeAccess:                      pulumi.Bool(false),
    	SwitchportModeTrunk:                       pulumi.Bool(false),
    	SwitchportNonegotiate:                     pulumi.Bool(false),
    	SwitchportPortSecurity:                    pulumi.Bool(false),
    	SwitchportPortSecurityAgingStatic:         pulumi.Bool(false),
    	SwitchportPortSecurityAgingTime:           pulumi.Int(0),
    	SwitchportPortSecurityAgingType:           pulumi.Bool(false),
    	SwitchportPortSecurityAgingTypeInactivity: pulumi.Bool(false),
    	SwitchportPortSecurityMaximumRanges: iosxe.TemplateSwitchportPortSecurityMaximumRangeArray{
    		&iosxe.TemplateSwitchportPortSecurityMaximumRangeArgs{
    			Range:      pulumi.Int(0),
    			Vlan:       pulumi.Bool(false),
    			VlanAccess: pulumi.Bool(false),
    		},
    	},
    	SwitchportPortSecurityViolationProtect:             pulumi.Bool(false),
    	SwitchportPortSecurityViolationRestrict:            pulumi.Bool(false),
    	SwitchportPortSecurityViolationShutdown:            pulumi.Bool(false),
    	SwitchportPrivateVlanHostAssociationPrimaryRange:   pulumi.Int(0),
    	SwitchportPrivateVlanHostAssociationSecondaryRange: pulumi.Int(0),
    	SwitchportTrunkAllowedVlans:                        pulumi.String("string"),
    	SwitchportTrunkAllowedVlansAll:                     pulumi.Bool(false),
    	SwitchportTrunkAllowedVlansNone:                    pulumi.Bool(false),
    	SwitchportTrunkNativeVlanTag:                       pulumi.Bool(false),
    	SwitchportTrunkNativeVlanVlanId:                    pulumi.Int(0),
    	SwitchportVoiceVlan:                                pulumi.Int(0),
    })
    
    var templateResource = new Template("templateResource", TemplateArgs.builder()
        .templateName("string")
        .accessSessionClosed(false)
        .accessSessionControlDirection("string")
        .accessSessionHostMode("string")
        .accessSessionInterfaceTemplateSticky(false)
        .accessSessionInterfaceTemplateStickyTimer(0)
        .accessSessionMonitor(false)
        .accessSessionPortControl("string")
        .authenticationPeriodic(false)
        .authenticationTimerReauthenticateRange(0)
        .authenticationTimerReauthenticateServer(false)
        .ctsManual(false)
        .ctsManualPolicyStaticSgt(0)
        .ctsManualPolicyStaticTrusted(false)
        .ctsManualPropagateSgt(false)
        .ctsRoleBasedEnforcement(false)
        .deleteMode("string")
        .device("string")
        .deviceTracking(false)
        .deviceTrackingAttachPolicies(TemplateDeviceTrackingAttachPolicyArgs.builder()
            .policyName("string")
            .vlanRange("string")
            .build())
        .deviceTrackingVlanRange("string")
        .dot1xMaxReauthReq(0)
        .dot1xMaxReq(0)
        .dot1xPae("string")
        .dot1xTimeoutTxPeriod(0)
        .ipAccessGroups(TemplateIpAccessGroupArgs.builder()
            .direction("string")
            .accessList("string")
            .build())
        .ipDhcpSnoopingLimitRate(0)
        .ipDhcpSnoopingTrust(false)
        .loadInterval(0)
        .mab(false)
        .mabEap(false)
        .servicePolicyInput("string")
        .servicePolicyOutput("string")
        .servicePolicyTypeControlSubscriber("string")
        .sourceTemplate("string")
        .spanningTreeBpduguardEnable(false)
        .spanningTreePortfast(false)
        .spanningTreePortfastDisable(false)
        .spanningTreePortfastEdge(false)
        .spanningTreePortfastNetwork(false)
        .spanningTreeServicePolicy(false)
        .stormControlActionShutdown(false)
        .stormControlActionTrap(false)
        .stormControlBroadcastLevelBpsThreshold(0)
        .stormControlBroadcastLevelPpsThreshold("string")
        .stormControlBroadcastLevelThreshold(0)
        .stormControlMulticastLevelBpsThreshold(0)
        .stormControlMulticastLevelPpsThreshold("string")
        .stormControlMulticastLevelThreshold(0)
        .subscriberAgingInactivityTimerProbe(false)
        .subscriberAgingInactivityTimerValue(0)
        .subscriberAgingProbe(false)
        .switchportAccessVlan(0)
        .switchportBlockUnicast(false)
        .switchportModeAccess(false)
        .switchportModeTrunk(false)
        .switchportNonegotiate(false)
        .switchportPortSecurity(false)
        .switchportPortSecurityAgingStatic(false)
        .switchportPortSecurityAgingTime(0)
        .switchportPortSecurityAgingType(false)
        .switchportPortSecurityAgingTypeInactivity(false)
        .switchportPortSecurityMaximumRanges(TemplateSwitchportPortSecurityMaximumRangeArgs.builder()
            .range(0)
            .vlan(false)
            .vlanAccess(false)
            .build())
        .switchportPortSecurityViolationProtect(false)
        .switchportPortSecurityViolationRestrict(false)
        .switchportPortSecurityViolationShutdown(false)
        .switchportPrivateVlanHostAssociationPrimaryRange(0)
        .switchportPrivateVlanHostAssociationSecondaryRange(0)
        .switchportTrunkAllowedVlans("string")
        .switchportTrunkAllowedVlansAll(false)
        .switchportTrunkAllowedVlansNone(false)
        .switchportTrunkNativeVlanTag(false)
        .switchportTrunkNativeVlanVlanId(0)
        .switchportVoiceVlan(0)
        .build());
    
    template_resource = iosxe.Template("templateResource",
        template_name="string",
        access_session_closed=False,
        access_session_control_direction="string",
        access_session_host_mode="string",
        access_session_interface_template_sticky=False,
        access_session_interface_template_sticky_timer=0,
        access_session_monitor=False,
        access_session_port_control="string",
        authentication_periodic=False,
        authentication_timer_reauthenticate_range=0,
        authentication_timer_reauthenticate_server=False,
        cts_manual=False,
        cts_manual_policy_static_sgt=0,
        cts_manual_policy_static_trusted=False,
        cts_manual_propagate_sgt=False,
        cts_role_based_enforcement=False,
        delete_mode="string",
        device="string",
        device_tracking=False,
        device_tracking_attach_policies=[{
            "policy_name": "string",
            "vlan_range": "string",
        }],
        device_tracking_vlan_range="string",
        dot1x_max_reauth_req=0,
        dot1x_max_req=0,
        dot1x_pae="string",
        dot1x_timeout_tx_period=0,
        ip_access_groups=[{
            "direction": "string",
            "access_list": "string",
        }],
        ip_dhcp_snooping_limit_rate=0,
        ip_dhcp_snooping_trust=False,
        load_interval=0,
        mab=False,
        mab_eap=False,
        service_policy_input="string",
        service_policy_output="string",
        service_policy_type_control_subscriber="string",
        source_template="string",
        spanning_tree_bpduguard_enable=False,
        spanning_tree_portfast=False,
        spanning_tree_portfast_disable=False,
        spanning_tree_portfast_edge=False,
        spanning_tree_portfast_network=False,
        spanning_tree_service_policy=False,
        storm_control_action_shutdown=False,
        storm_control_action_trap=False,
        storm_control_broadcast_level_bps_threshold=0,
        storm_control_broadcast_level_pps_threshold="string",
        storm_control_broadcast_level_threshold=0,
        storm_control_multicast_level_bps_threshold=0,
        storm_control_multicast_level_pps_threshold="string",
        storm_control_multicast_level_threshold=0,
        subscriber_aging_inactivity_timer_probe=False,
        subscriber_aging_inactivity_timer_value=0,
        subscriber_aging_probe=False,
        switchport_access_vlan=0,
        switchport_block_unicast=False,
        switchport_mode_access=False,
        switchport_mode_trunk=False,
        switchport_nonegotiate=False,
        switchport_port_security=False,
        switchport_port_security_aging_static=False,
        switchport_port_security_aging_time=0,
        switchport_port_security_aging_type=False,
        switchport_port_security_aging_type_inactivity=False,
        switchport_port_security_maximum_ranges=[{
            "range": 0,
            "vlan": False,
            "vlan_access": False,
        }],
        switchport_port_security_violation_protect=False,
        switchport_port_security_violation_restrict=False,
        switchport_port_security_violation_shutdown=False,
        switchport_private_vlan_host_association_primary_range=0,
        switchport_private_vlan_host_association_secondary_range=0,
        switchport_trunk_allowed_vlans="string",
        switchport_trunk_allowed_vlans_all=False,
        switchport_trunk_allowed_vlans_none=False,
        switchport_trunk_native_vlan_tag=False,
        switchport_trunk_native_vlan_vlan_id=0,
        switchport_voice_vlan=0)
    
    const templateResource = new iosxe.Template("templateResource", {
        templateName: "string",
        accessSessionClosed: false,
        accessSessionControlDirection: "string",
        accessSessionHostMode: "string",
        accessSessionInterfaceTemplateSticky: false,
        accessSessionInterfaceTemplateStickyTimer: 0,
        accessSessionMonitor: false,
        accessSessionPortControl: "string",
        authenticationPeriodic: false,
        authenticationTimerReauthenticateRange: 0,
        authenticationTimerReauthenticateServer: false,
        ctsManual: false,
        ctsManualPolicyStaticSgt: 0,
        ctsManualPolicyStaticTrusted: false,
        ctsManualPropagateSgt: false,
        ctsRoleBasedEnforcement: false,
        deleteMode: "string",
        device: "string",
        deviceTracking: false,
        deviceTrackingAttachPolicies: [{
            policyName: "string",
            vlanRange: "string",
        }],
        deviceTrackingVlanRange: "string",
        dot1xMaxReauthReq: 0,
        dot1xMaxReq: 0,
        dot1xPae: "string",
        dot1xTimeoutTxPeriod: 0,
        ipAccessGroups: [{
            direction: "string",
            accessList: "string",
        }],
        ipDhcpSnoopingLimitRate: 0,
        ipDhcpSnoopingTrust: false,
        loadInterval: 0,
        mab: false,
        mabEap: false,
        servicePolicyInput: "string",
        servicePolicyOutput: "string",
        servicePolicyTypeControlSubscriber: "string",
        sourceTemplate: "string",
        spanningTreeBpduguardEnable: false,
        spanningTreePortfast: false,
        spanningTreePortfastDisable: false,
        spanningTreePortfastEdge: false,
        spanningTreePortfastNetwork: false,
        spanningTreeServicePolicy: false,
        stormControlActionShutdown: false,
        stormControlActionTrap: false,
        stormControlBroadcastLevelBpsThreshold: 0,
        stormControlBroadcastLevelPpsThreshold: "string",
        stormControlBroadcastLevelThreshold: 0,
        stormControlMulticastLevelBpsThreshold: 0,
        stormControlMulticastLevelPpsThreshold: "string",
        stormControlMulticastLevelThreshold: 0,
        subscriberAgingInactivityTimerProbe: false,
        subscriberAgingInactivityTimerValue: 0,
        subscriberAgingProbe: false,
        switchportAccessVlan: 0,
        switchportBlockUnicast: false,
        switchportModeAccess: false,
        switchportModeTrunk: false,
        switchportNonegotiate: false,
        switchportPortSecurity: false,
        switchportPortSecurityAgingStatic: false,
        switchportPortSecurityAgingTime: 0,
        switchportPortSecurityAgingType: false,
        switchportPortSecurityAgingTypeInactivity: false,
        switchportPortSecurityMaximumRanges: [{
            range: 0,
            vlan: false,
            vlanAccess: false,
        }],
        switchportPortSecurityViolationProtect: false,
        switchportPortSecurityViolationRestrict: false,
        switchportPortSecurityViolationShutdown: false,
        switchportPrivateVlanHostAssociationPrimaryRange: 0,
        switchportPrivateVlanHostAssociationSecondaryRange: 0,
        switchportTrunkAllowedVlans: "string",
        switchportTrunkAllowedVlansAll: false,
        switchportTrunkAllowedVlansNone: false,
        switchportTrunkNativeVlanTag: false,
        switchportTrunkNativeVlanVlanId: 0,
        switchportVoiceVlan: 0,
    });
    
    type: iosxe:Template
    properties:
        accessSessionClosed: false
        accessSessionControlDirection: string
        accessSessionHostMode: string
        accessSessionInterfaceTemplateSticky: false
        accessSessionInterfaceTemplateStickyTimer: 0
        accessSessionMonitor: false
        accessSessionPortControl: string
        authenticationPeriodic: false
        authenticationTimerReauthenticateRange: 0
        authenticationTimerReauthenticateServer: false
        ctsManual: false
        ctsManualPolicyStaticSgt: 0
        ctsManualPolicyStaticTrusted: false
        ctsManualPropagateSgt: false
        ctsRoleBasedEnforcement: false
        deleteMode: string
        device: string
        deviceTracking: false
        deviceTrackingAttachPolicies:
            - policyName: string
              vlanRange: string
        deviceTrackingVlanRange: string
        dot1xMaxReauthReq: 0
        dot1xMaxReq: 0
        dot1xPae: string
        dot1xTimeoutTxPeriod: 0
        ipAccessGroups:
            - accessList: string
              direction: string
        ipDhcpSnoopingLimitRate: 0
        ipDhcpSnoopingTrust: false
        loadInterval: 0
        mab: false
        mabEap: false
        servicePolicyInput: string
        servicePolicyOutput: string
        servicePolicyTypeControlSubscriber: string
        sourceTemplate: string
        spanningTreeBpduguardEnable: false
        spanningTreePortfast: false
        spanningTreePortfastDisable: false
        spanningTreePortfastEdge: false
        spanningTreePortfastNetwork: false
        spanningTreeServicePolicy: false
        stormControlActionShutdown: false
        stormControlActionTrap: false
        stormControlBroadcastLevelBpsThreshold: 0
        stormControlBroadcastLevelPpsThreshold: string
        stormControlBroadcastLevelThreshold: 0
        stormControlMulticastLevelBpsThreshold: 0
        stormControlMulticastLevelPpsThreshold: string
        stormControlMulticastLevelThreshold: 0
        subscriberAgingInactivityTimerProbe: false
        subscriberAgingInactivityTimerValue: 0
        subscriberAgingProbe: false
        switchportAccessVlan: 0
        switchportBlockUnicast: false
        switchportModeAccess: false
        switchportModeTrunk: false
        switchportNonegotiate: false
        switchportPortSecurity: false
        switchportPortSecurityAgingStatic: false
        switchportPortSecurityAgingTime: 0
        switchportPortSecurityAgingType: false
        switchportPortSecurityAgingTypeInactivity: false
        switchportPortSecurityMaximumRanges:
            - range: 0
              vlan: false
              vlanAccess: false
        switchportPortSecurityViolationProtect: false
        switchportPortSecurityViolationRestrict: false
        switchportPortSecurityViolationShutdown: false
        switchportPrivateVlanHostAssociationPrimaryRange: 0
        switchportPrivateVlanHostAssociationSecondaryRange: 0
        switchportTrunkAllowedVlans: string
        switchportTrunkAllowedVlansAll: false
        switchportTrunkAllowedVlansNone: false
        switchportTrunkNativeVlanTag: false
        switchportTrunkNativeVlanVlanId: 0
        switchportVoiceVlan: 0
        templateName: string
    

    Template 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 Template resource accepts the following input properties:

    TemplateName string
    Template name
    AccessSessionClosed bool
    Enable closed access on port (disabled by default, i.e. open access)
    AccessSessionControlDirection string
    Set the control-direction on the interface - Choices: both, in
    AccessSessionHostMode string
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    AccessSessionInterfaceTemplateSticky bool
    Interface templates set to sticky
    AccessSessionInterfaceTemplateStickyTimer int
    Sticky timer value - Range: 1-65535
    AccessSessionMonitor bool
    Apply template to monitor access sessions on the port
    AccessSessionPortControl string
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    AuthenticationPeriodic bool
    Enable or Disable Reauthentication for this port
    AuthenticationTimerReauthenticateRange int
    Enter a value between 1 and 65535 - Range: 1-65535
    AuthenticationTimerReauthenticateServer bool
    Obtain re-authentication timeout value from the server
    CtsManual bool
    Supply local configuration for CTS parameters
    CtsManualPolicyStaticSgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    CtsManualPolicyStaticTrusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    CtsManualPropagateSgt bool
    CTS SGT Propagation configuration
    CtsRoleBasedEnforcement bool
    Enable Role-based Access Control enforcement
    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.
    DeviceTracking bool
    Configure device-tracking on the interface
    DeviceTrackingAttachPolicies List<Lbrlabs.PulumiPackage.Iosxe.Inputs.TemplateDeviceTrackingAttachPolicy>
    policy name for device tracking
    DeviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    Dot1xMaxReauthReq int
    Max No. of Reauthentication Attempts - Range: 1-10
    Dot1xMaxReq int
    Max No. of Retries - Range: 1-10
    Dot1xPae string
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    Dot1xTimeoutTxPeriod int
    Timeout for supplicant retries - Range: 1-65535
    IpAccessGroups List<Lbrlabs.PulumiPackage.Iosxe.Inputs.TemplateIpAccessGroup>
    Access control list for IP packets
    IpDhcpSnoopingLimitRate int
    DHCP snooping rate limit - Range: 1-2048
    IpDhcpSnoopingTrust bool
    DHCP Snooping trust config
    LoadInterval int
    Load interval delay in seconds - Range: 30-600
    Mab bool
    MAC Authentication Bypass Interface Config Commands
    MabEap bool
    Use EAP authentication for MAC Auth Bypass
    ServicePolicyInput string
    policy-map name
    ServicePolicyOutput string
    policy-map name
    ServicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    SourceTemplate string
    Get config from a template
    SpanningTreeBpduguardEnable bool
    Enable BPDU guard for this interface
    SpanningTreePortfast bool
    Portfast options for the interface
    SpanningTreePortfastDisable bool
    Disable portfast for this interface
    SpanningTreePortfastEdge bool
    Enable portfast edge on the interface
    SpanningTreePortfastNetwork bool
    Enable portfast network on the interface
    SpanningTreeServicePolicy bool
    help
    StormControlActionShutdown bool
    Shutdown this interface if a storm occurs
    StormControlActionTrap bool
    Send SNMP trap if a storm occurs
    StormControlBroadcastLevelBpsThreshold double
    Enter threshold
    StormControlBroadcastLevelPpsThreshold string
    Enter threshold
    StormControlBroadcastLevelThreshold double
    Enter threshold
    StormControlMulticastLevelBpsThreshold double
    Enter threshold
    StormControlMulticastLevelPpsThreshold string
    Enter threshold
    StormControlMulticastLevelThreshold double
    Enter threshold
    SubscriberAgingInactivityTimerProbe bool
    ARP probe
    SubscriberAgingInactivityTimerValue int
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    SubscriberAgingProbe bool
    ARP probe
    SwitchportAccessVlan int
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    SwitchportBlockUnicast bool
    Block unknown unicast addresses
    SwitchportModeAccess bool
    Set trunking mode to ACCESS unconditionally
    SwitchportModeTrunk bool
    Set trunking mode to TRUNK unconditionally
    SwitchportNonegotiate bool
    Device will not engage in negotiation protocol on this interface
    SwitchportPortSecurity bool
    Security related command
    SwitchportPortSecurityAgingStatic bool
    Enable aging for configured secure addresses
    SwitchportPortSecurityAgingTime int
    Port-security aging time - Range: 1-1440
    SwitchportPortSecurityAgingType bool
    Port-security aging type
    SwitchportPortSecurityAgingTypeInactivity bool
    Aging based on inactivity time period
    SwitchportPortSecurityMaximumRanges List<Lbrlabs.PulumiPackage.Iosxe.Inputs.TemplateSwitchportPortSecurityMaximumRange>
    SwitchportPortSecurityViolationProtect bool
    Security violation protect mode
    SwitchportPortSecurityViolationRestrict bool
    Security violation restrict mode
    SwitchportPortSecurityViolationShutdown bool
    Security violation shutdown mode
    SwitchportPrivateVlanHostAssociationPrimaryRange int
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    SwitchportPrivateVlanHostAssociationSecondaryRange int
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    SwitchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    SwitchportTrunkAllowedVlansAll bool
    all VLANs
    SwitchportTrunkAllowedVlansNone bool
    no VLANs
    SwitchportTrunkNativeVlanTag bool
    Set native VLAN tagging state
    SwitchportTrunkNativeVlanVlanId int
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    SwitchportVoiceVlan int
    Vlan for voice traffic - Range: 1-4094
    TemplateName string
    Template name
    AccessSessionClosed bool
    Enable closed access on port (disabled by default, i.e. open access)
    AccessSessionControlDirection string
    Set the control-direction on the interface - Choices: both, in
    AccessSessionHostMode string
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    AccessSessionInterfaceTemplateSticky bool
    Interface templates set to sticky
    AccessSessionInterfaceTemplateStickyTimer int
    Sticky timer value - Range: 1-65535
    AccessSessionMonitor bool
    Apply template to monitor access sessions on the port
    AccessSessionPortControl string
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    AuthenticationPeriodic bool
    Enable or Disable Reauthentication for this port
    AuthenticationTimerReauthenticateRange int
    Enter a value between 1 and 65535 - Range: 1-65535
    AuthenticationTimerReauthenticateServer bool
    Obtain re-authentication timeout value from the server
    CtsManual bool
    Supply local configuration for CTS parameters
    CtsManualPolicyStaticSgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    CtsManualPolicyStaticTrusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    CtsManualPropagateSgt bool
    CTS SGT Propagation configuration
    CtsRoleBasedEnforcement bool
    Enable Role-based Access Control enforcement
    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.
    DeviceTracking bool
    Configure device-tracking on the interface
    DeviceTrackingAttachPolicies []TemplateDeviceTrackingAttachPolicyArgs
    policy name for device tracking
    DeviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    Dot1xMaxReauthReq int
    Max No. of Reauthentication Attempts - Range: 1-10
    Dot1xMaxReq int
    Max No. of Retries - Range: 1-10
    Dot1xPae string
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    Dot1xTimeoutTxPeriod int
    Timeout for supplicant retries - Range: 1-65535
    IpAccessGroups []TemplateIpAccessGroupArgs
    Access control list for IP packets
    IpDhcpSnoopingLimitRate int
    DHCP snooping rate limit - Range: 1-2048
    IpDhcpSnoopingTrust bool
    DHCP Snooping trust config
    LoadInterval int
    Load interval delay in seconds - Range: 30-600
    Mab bool
    MAC Authentication Bypass Interface Config Commands
    MabEap bool
    Use EAP authentication for MAC Auth Bypass
    ServicePolicyInput string
    policy-map name
    ServicePolicyOutput string
    policy-map name
    ServicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    SourceTemplate string
    Get config from a template
    SpanningTreeBpduguardEnable bool
    Enable BPDU guard for this interface
    SpanningTreePortfast bool
    Portfast options for the interface
    SpanningTreePortfastDisable bool
    Disable portfast for this interface
    SpanningTreePortfastEdge bool
    Enable portfast edge on the interface
    SpanningTreePortfastNetwork bool
    Enable portfast network on the interface
    SpanningTreeServicePolicy bool
    help
    StormControlActionShutdown bool
    Shutdown this interface if a storm occurs
    StormControlActionTrap bool
    Send SNMP trap if a storm occurs
    StormControlBroadcastLevelBpsThreshold float64
    Enter threshold
    StormControlBroadcastLevelPpsThreshold string
    Enter threshold
    StormControlBroadcastLevelThreshold float64
    Enter threshold
    StormControlMulticastLevelBpsThreshold float64
    Enter threshold
    StormControlMulticastLevelPpsThreshold string
    Enter threshold
    StormControlMulticastLevelThreshold float64
    Enter threshold
    SubscriberAgingInactivityTimerProbe bool
    ARP probe
    SubscriberAgingInactivityTimerValue int
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    SubscriberAgingProbe bool
    ARP probe
    SwitchportAccessVlan int
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    SwitchportBlockUnicast bool
    Block unknown unicast addresses
    SwitchportModeAccess bool
    Set trunking mode to ACCESS unconditionally
    SwitchportModeTrunk bool
    Set trunking mode to TRUNK unconditionally
    SwitchportNonegotiate bool
    Device will not engage in negotiation protocol on this interface
    SwitchportPortSecurity bool
    Security related command
    SwitchportPortSecurityAgingStatic bool
    Enable aging for configured secure addresses
    SwitchportPortSecurityAgingTime int
    Port-security aging time - Range: 1-1440
    SwitchportPortSecurityAgingType bool
    Port-security aging type
    SwitchportPortSecurityAgingTypeInactivity bool
    Aging based on inactivity time period
    SwitchportPortSecurityMaximumRanges []TemplateSwitchportPortSecurityMaximumRangeArgs
    SwitchportPortSecurityViolationProtect bool
    Security violation protect mode
    SwitchportPortSecurityViolationRestrict bool
    Security violation restrict mode
    SwitchportPortSecurityViolationShutdown bool
    Security violation shutdown mode
    SwitchportPrivateVlanHostAssociationPrimaryRange int
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    SwitchportPrivateVlanHostAssociationSecondaryRange int
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    SwitchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    SwitchportTrunkAllowedVlansAll bool
    all VLANs
    SwitchportTrunkAllowedVlansNone bool
    no VLANs
    SwitchportTrunkNativeVlanTag bool
    Set native VLAN tagging state
    SwitchportTrunkNativeVlanVlanId int
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    SwitchportVoiceVlan int
    Vlan for voice traffic - Range: 1-4094
    templateName String
    Template name
    accessSessionClosed Boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection String
    Set the control-direction on the interface - Choices: both, in
    accessSessionHostMode String
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    accessSessionInterfaceTemplateSticky Boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer Integer
    Sticky timer value - Range: 1-65535
    accessSessionMonitor Boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl String
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authenticationPeriodic Boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange Integer
    Enter a value between 1 and 65535 - Range: 1-65535
    authenticationTimerReauthenticateServer Boolean
    Obtain re-authentication timeout value from the server
    ctsManual Boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt Integer
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    ctsManualPolicyStaticTrusted Boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt Boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement Boolean
    Enable Role-based Access Control enforcement
    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.
    deviceTracking Boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies List<TemplateDeviceTrackingAttachPolicy>
    policy name for device tracking
    deviceTrackingVlanRange String
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq Integer
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1xMaxReq Integer
    Max No. of Retries - Range: 1-10
    dot1xPae String
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1xTimeoutTxPeriod Integer
    Timeout for supplicant retries - Range: 1-65535
    ipAccessGroups List<TemplateIpAccessGroup>
    Access control list for IP packets
    ipDhcpSnoopingLimitRate Integer
    DHCP snooping rate limit - Range: 1-2048
    ipDhcpSnoopingTrust Boolean
    DHCP Snooping trust config
    loadInterval Integer
    Load interval delay in seconds - Range: 30-600
    mab Boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap Boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput String
    policy-map name
    servicePolicyOutput String
    policy-map name
    servicePolicyTypeControlSubscriber String
    Apply a subscriber control policy to the interface
    sourceTemplate String
    Get config from a template
    spanningTreeBpduguardEnable Boolean
    Enable BPDU guard for this interface
    spanningTreePortfast Boolean
    Portfast options for the interface
    spanningTreePortfastDisable Boolean
    Disable portfast for this interface
    spanningTreePortfastEdge Boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork Boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy Boolean
    help
    stormControlActionShutdown Boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap Boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold Double
    Enter threshold
    stormControlBroadcastLevelPpsThreshold String
    Enter threshold
    stormControlBroadcastLevelThreshold Double
    Enter threshold
    stormControlMulticastLevelBpsThreshold Double
    Enter threshold
    stormControlMulticastLevelPpsThreshold String
    Enter threshold
    stormControlMulticastLevelThreshold Double
    Enter threshold
    subscriberAgingInactivityTimerProbe Boolean
    ARP probe
    subscriberAgingInactivityTimerValue Integer
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriberAgingProbe Boolean
    ARP probe
    switchportAccessVlan Integer
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchportBlockUnicast Boolean
    Block unknown unicast addresses
    switchportModeAccess Boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk Boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate Boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity Boolean
    Security related command
    switchportPortSecurityAgingStatic Boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime Integer
    Port-security aging time - Range: 1-1440
    switchportPortSecurityAgingType Boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity Boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges List<TemplateSwitchportPortSecurityMaximumRange>
    switchportPortSecurityViolationProtect Boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict Boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown Boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange Integer
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchportPrivateVlanHostAssociationSecondaryRange Integer
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchportTrunkAllowedVlans String
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll Boolean
    all VLANs
    switchportTrunkAllowedVlansNone Boolean
    no VLANs
    switchportTrunkNativeVlanTag Boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId Integer
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchportVoiceVlan Integer
    Vlan for voice traffic - Range: 1-4094
    templateName string
    Template name
    accessSessionClosed boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection string
    Set the control-direction on the interface - Choices: both, in
    accessSessionHostMode string
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    accessSessionInterfaceTemplateSticky boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer number
    Sticky timer value - Range: 1-65535
    accessSessionMonitor boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl string
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authenticationPeriodic boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange number
    Enter a value between 1 and 65535 - Range: 1-65535
    authenticationTimerReauthenticateServer boolean
    Obtain re-authentication timeout value from the server
    ctsManual boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt number
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    ctsManualPolicyStaticTrusted boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement boolean
    Enable Role-based Access Control enforcement
    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.
    deviceTracking boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies TemplateDeviceTrackingAttachPolicy[]
    policy name for device tracking
    deviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq number
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1xMaxReq number
    Max No. of Retries - Range: 1-10
    dot1xPae string
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1xTimeoutTxPeriod number
    Timeout for supplicant retries - Range: 1-65535
    ipAccessGroups TemplateIpAccessGroup[]
    Access control list for IP packets
    ipDhcpSnoopingLimitRate number
    DHCP snooping rate limit - Range: 1-2048
    ipDhcpSnoopingTrust boolean
    DHCP Snooping trust config
    loadInterval number
    Load interval delay in seconds - Range: 30-600
    mab boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput string
    policy-map name
    servicePolicyOutput string
    policy-map name
    servicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    sourceTemplate string
    Get config from a template
    spanningTreeBpduguardEnable boolean
    Enable BPDU guard for this interface
    spanningTreePortfast boolean
    Portfast options for the interface
    spanningTreePortfastDisable boolean
    Disable portfast for this interface
    spanningTreePortfastEdge boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy boolean
    help
    stormControlActionShutdown boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold number
    Enter threshold
    stormControlBroadcastLevelPpsThreshold string
    Enter threshold
    stormControlBroadcastLevelThreshold number
    Enter threshold
    stormControlMulticastLevelBpsThreshold number
    Enter threshold
    stormControlMulticastLevelPpsThreshold string
    Enter threshold
    stormControlMulticastLevelThreshold number
    Enter threshold
    subscriberAgingInactivityTimerProbe boolean
    ARP probe
    subscriberAgingInactivityTimerValue number
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriberAgingProbe boolean
    ARP probe
    switchportAccessVlan number
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchportBlockUnicast boolean
    Block unknown unicast addresses
    switchportModeAccess boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity boolean
    Security related command
    switchportPortSecurityAgingStatic boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime number
    Port-security aging time - Range: 1-1440
    switchportPortSecurityAgingType boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges TemplateSwitchportPortSecurityMaximumRange[]
    switchportPortSecurityViolationProtect boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange number
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchportPrivateVlanHostAssociationSecondaryRange number
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll boolean
    all VLANs
    switchportTrunkAllowedVlansNone boolean
    no VLANs
    switchportTrunkNativeVlanTag boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId number
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchportVoiceVlan number
    Vlan for voice traffic - Range: 1-4094
    template_name str
    Template name
    access_session_closed bool
    Enable closed access on port (disabled by default, i.e. open access)
    access_session_control_direction str
    Set the control-direction on the interface - Choices: both, in
    access_session_host_mode str
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    access_session_interface_template_sticky bool
    Interface templates set to sticky
    access_session_interface_template_sticky_timer int
    Sticky timer value - Range: 1-65535
    access_session_monitor bool
    Apply template to monitor access sessions on the port
    access_session_port_control str
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authentication_periodic bool
    Enable or Disable Reauthentication for this port
    authentication_timer_reauthenticate_range int
    Enter a value between 1 and 65535 - Range: 1-65535
    authentication_timer_reauthenticate_server bool
    Obtain re-authentication timeout value from the server
    cts_manual bool
    Supply local configuration for CTS parameters
    cts_manual_policy_static_sgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    cts_manual_policy_static_trusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    cts_manual_propagate_sgt bool
    CTS SGT Propagation configuration
    cts_role_based_enforcement bool
    Enable Role-based Access Control enforcement
    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.
    device_tracking bool
    Configure device-tracking on the interface
    device_tracking_attach_policies Sequence[TemplateDeviceTrackingAttachPolicyArgs]
    policy name for device tracking
    device_tracking_vlan_range str
    VLAN IDs of the VLANs for which this policy applies
    dot1x_max_reauth_req int
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1x_max_req int
    Max No. of Retries - Range: 1-10
    dot1x_pae str
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1x_timeout_tx_period int
    Timeout for supplicant retries - Range: 1-65535
    ip_access_groups Sequence[TemplateIpAccessGroupArgs]
    Access control list for IP packets
    ip_dhcp_snooping_limit_rate int
    DHCP snooping rate limit - Range: 1-2048
    ip_dhcp_snooping_trust bool
    DHCP Snooping trust config
    load_interval int
    Load interval delay in seconds - Range: 30-600
    mab bool
    MAC Authentication Bypass Interface Config Commands
    mab_eap bool
    Use EAP authentication for MAC Auth Bypass
    service_policy_input str
    policy-map name
    service_policy_output str
    policy-map name
    service_policy_type_control_subscriber str
    Apply a subscriber control policy to the interface
    source_template str
    Get config from a template
    spanning_tree_bpduguard_enable bool
    Enable BPDU guard for this interface
    spanning_tree_portfast bool
    Portfast options for the interface
    spanning_tree_portfast_disable bool
    Disable portfast for this interface
    spanning_tree_portfast_edge bool
    Enable portfast edge on the interface
    spanning_tree_portfast_network bool
    Enable portfast network on the interface
    spanning_tree_service_policy bool
    help
    storm_control_action_shutdown bool
    Shutdown this interface if a storm occurs
    storm_control_action_trap bool
    Send SNMP trap if a storm occurs
    storm_control_broadcast_level_bps_threshold float
    Enter threshold
    storm_control_broadcast_level_pps_threshold str
    Enter threshold
    storm_control_broadcast_level_threshold float
    Enter threshold
    storm_control_multicast_level_bps_threshold float
    Enter threshold
    storm_control_multicast_level_pps_threshold str
    Enter threshold
    storm_control_multicast_level_threshold float
    Enter threshold
    subscriber_aging_inactivity_timer_probe bool
    ARP probe
    subscriber_aging_inactivity_timer_value int
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriber_aging_probe bool
    ARP probe
    switchport_access_vlan int
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchport_block_unicast bool
    Block unknown unicast addresses
    switchport_mode_access bool
    Set trunking mode to ACCESS unconditionally
    switchport_mode_trunk bool
    Set trunking mode to TRUNK unconditionally
    switchport_nonegotiate bool
    Device will not engage in negotiation protocol on this interface
    switchport_port_security bool
    Security related command
    switchport_port_security_aging_static bool
    Enable aging for configured secure addresses
    switchport_port_security_aging_time int
    Port-security aging time - Range: 1-1440
    switchport_port_security_aging_type bool
    Port-security aging type
    switchport_port_security_aging_type_inactivity bool
    Aging based on inactivity time period
    switchport_port_security_maximum_ranges Sequence[TemplateSwitchportPortSecurityMaximumRangeArgs]
    switchport_port_security_violation_protect bool
    Security violation protect mode
    switchport_port_security_violation_restrict bool
    Security violation restrict mode
    switchport_port_security_violation_shutdown bool
    Security violation shutdown mode
    switchport_private_vlan_host_association_primary_range int
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchport_private_vlan_host_association_secondary_range int
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchport_trunk_allowed_vlans str
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchport_trunk_allowed_vlans_all bool
    all VLANs
    switchport_trunk_allowed_vlans_none bool
    no VLANs
    switchport_trunk_native_vlan_tag bool
    Set native VLAN tagging state
    switchport_trunk_native_vlan_vlan_id int
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchport_voice_vlan int
    Vlan for voice traffic - Range: 1-4094
    templateName String
    Template name
    accessSessionClosed Boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection String
    Set the control-direction on the interface - Choices: both, in
    accessSessionHostMode String
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    accessSessionInterfaceTemplateSticky Boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer Number
    Sticky timer value - Range: 1-65535
    accessSessionMonitor Boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl String
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authenticationPeriodic Boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange Number
    Enter a value between 1 and 65535 - Range: 1-65535
    authenticationTimerReauthenticateServer Boolean
    Obtain re-authentication timeout value from the server
    ctsManual Boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt Number
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    ctsManualPolicyStaticTrusted Boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt Boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement Boolean
    Enable Role-based Access Control enforcement
    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.
    deviceTracking Boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies List<Property Map>
    policy name for device tracking
    deviceTrackingVlanRange String
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq Number
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1xMaxReq Number
    Max No. of Retries - Range: 1-10
    dot1xPae String
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1xTimeoutTxPeriod Number
    Timeout for supplicant retries - Range: 1-65535
    ipAccessGroups List<Property Map>
    Access control list for IP packets
    ipDhcpSnoopingLimitRate Number
    DHCP snooping rate limit - Range: 1-2048
    ipDhcpSnoopingTrust Boolean
    DHCP Snooping trust config
    loadInterval Number
    Load interval delay in seconds - Range: 30-600
    mab Boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap Boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput String
    policy-map name
    servicePolicyOutput String
    policy-map name
    servicePolicyTypeControlSubscriber String
    Apply a subscriber control policy to the interface
    sourceTemplate String
    Get config from a template
    spanningTreeBpduguardEnable Boolean
    Enable BPDU guard for this interface
    spanningTreePortfast Boolean
    Portfast options for the interface
    spanningTreePortfastDisable Boolean
    Disable portfast for this interface
    spanningTreePortfastEdge Boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork Boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy Boolean
    help
    stormControlActionShutdown Boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap Boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold Number
    Enter threshold
    stormControlBroadcastLevelPpsThreshold String
    Enter threshold
    stormControlBroadcastLevelThreshold Number
    Enter threshold
    stormControlMulticastLevelBpsThreshold Number
    Enter threshold
    stormControlMulticastLevelPpsThreshold String
    Enter threshold
    stormControlMulticastLevelThreshold Number
    Enter threshold
    subscriberAgingInactivityTimerProbe Boolean
    ARP probe
    subscriberAgingInactivityTimerValue Number
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriberAgingProbe Boolean
    ARP probe
    switchportAccessVlan Number
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchportBlockUnicast Boolean
    Block unknown unicast addresses
    switchportModeAccess Boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk Boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate Boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity Boolean
    Security related command
    switchportPortSecurityAgingStatic Boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime Number
    Port-security aging time - Range: 1-1440
    switchportPortSecurityAgingType Boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity Boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges List<Property Map>
    switchportPortSecurityViolationProtect Boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict Boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown Boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange Number
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchportPrivateVlanHostAssociationSecondaryRange Number
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchportTrunkAllowedVlans String
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll Boolean
    all VLANs
    switchportTrunkAllowedVlansNone Boolean
    no VLANs
    switchportTrunkNativeVlanTag Boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId Number
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchportVoiceVlan Number
    Vlan for voice traffic - Range: 1-4094

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Template 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 Template Resource

    Get an existing Template 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?: TemplateState, opts?: CustomResourceOptions): Template
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_session_closed: Optional[bool] = None,
            access_session_control_direction: Optional[str] = None,
            access_session_host_mode: Optional[str] = None,
            access_session_interface_template_sticky: Optional[bool] = None,
            access_session_interface_template_sticky_timer: Optional[int] = None,
            access_session_monitor: Optional[bool] = None,
            access_session_port_control: Optional[str] = None,
            authentication_periodic: Optional[bool] = None,
            authentication_timer_reauthenticate_range: Optional[int] = None,
            authentication_timer_reauthenticate_server: Optional[bool] = None,
            cts_manual: Optional[bool] = None,
            cts_manual_policy_static_sgt: Optional[int] = None,
            cts_manual_policy_static_trusted: Optional[bool] = None,
            cts_manual_propagate_sgt: Optional[bool] = None,
            cts_role_based_enforcement: Optional[bool] = None,
            delete_mode: Optional[str] = None,
            device: Optional[str] = None,
            device_tracking: Optional[bool] = None,
            device_tracking_attach_policies: Optional[Sequence[TemplateDeviceTrackingAttachPolicyArgs]] = None,
            device_tracking_vlan_range: Optional[str] = None,
            dot1x_max_reauth_req: Optional[int] = None,
            dot1x_max_req: Optional[int] = None,
            dot1x_pae: Optional[str] = None,
            dot1x_timeout_tx_period: Optional[int] = None,
            ip_access_groups: Optional[Sequence[TemplateIpAccessGroupArgs]] = None,
            ip_dhcp_snooping_limit_rate: Optional[int] = None,
            ip_dhcp_snooping_trust: Optional[bool] = None,
            load_interval: Optional[int] = None,
            mab: Optional[bool] = None,
            mab_eap: Optional[bool] = None,
            service_policy_input: Optional[str] = None,
            service_policy_output: Optional[str] = None,
            service_policy_type_control_subscriber: Optional[str] = None,
            source_template: Optional[str] = None,
            spanning_tree_bpduguard_enable: Optional[bool] = None,
            spanning_tree_portfast: Optional[bool] = None,
            spanning_tree_portfast_disable: Optional[bool] = None,
            spanning_tree_portfast_edge: Optional[bool] = None,
            spanning_tree_portfast_network: Optional[bool] = None,
            spanning_tree_service_policy: Optional[bool] = None,
            storm_control_action_shutdown: Optional[bool] = None,
            storm_control_action_trap: Optional[bool] = None,
            storm_control_broadcast_level_bps_threshold: Optional[float] = None,
            storm_control_broadcast_level_pps_threshold: Optional[str] = None,
            storm_control_broadcast_level_threshold: Optional[float] = None,
            storm_control_multicast_level_bps_threshold: Optional[float] = None,
            storm_control_multicast_level_pps_threshold: Optional[str] = None,
            storm_control_multicast_level_threshold: Optional[float] = None,
            subscriber_aging_inactivity_timer_probe: Optional[bool] = None,
            subscriber_aging_inactivity_timer_value: Optional[int] = None,
            subscriber_aging_probe: Optional[bool] = None,
            switchport_access_vlan: Optional[int] = None,
            switchport_block_unicast: Optional[bool] = None,
            switchport_mode_access: Optional[bool] = None,
            switchport_mode_trunk: Optional[bool] = None,
            switchport_nonegotiate: Optional[bool] = None,
            switchport_port_security: Optional[bool] = None,
            switchport_port_security_aging_static: Optional[bool] = None,
            switchport_port_security_aging_time: Optional[int] = None,
            switchport_port_security_aging_type: Optional[bool] = None,
            switchport_port_security_aging_type_inactivity: Optional[bool] = None,
            switchport_port_security_maximum_ranges: Optional[Sequence[TemplateSwitchportPortSecurityMaximumRangeArgs]] = None,
            switchport_port_security_violation_protect: Optional[bool] = None,
            switchport_port_security_violation_restrict: Optional[bool] = None,
            switchport_port_security_violation_shutdown: Optional[bool] = None,
            switchport_private_vlan_host_association_primary_range: Optional[int] = None,
            switchport_private_vlan_host_association_secondary_range: Optional[int] = None,
            switchport_trunk_allowed_vlans: Optional[str] = None,
            switchport_trunk_allowed_vlans_all: Optional[bool] = None,
            switchport_trunk_allowed_vlans_none: Optional[bool] = None,
            switchport_trunk_native_vlan_tag: Optional[bool] = None,
            switchport_trunk_native_vlan_vlan_id: Optional[int] = None,
            switchport_voice_vlan: Optional[int] = None,
            template_name: Optional[str] = None) -> Template
    func GetTemplate(ctx *Context, name string, id IDInput, state *TemplateState, opts ...ResourceOption) (*Template, error)
    public static Template Get(string name, Input<string> id, TemplateState? state, CustomResourceOptions? opts = null)
    public static Template get(String name, Output<String> id, TemplateState 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:
    AccessSessionClosed bool
    Enable closed access on port (disabled by default, i.e. open access)
    AccessSessionControlDirection string
    Set the control-direction on the interface - Choices: both, in
    AccessSessionHostMode string
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    AccessSessionInterfaceTemplateSticky bool
    Interface templates set to sticky
    AccessSessionInterfaceTemplateStickyTimer int
    Sticky timer value - Range: 1-65535
    AccessSessionMonitor bool
    Apply template to monitor access sessions on the port
    AccessSessionPortControl string
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    AuthenticationPeriodic bool
    Enable or Disable Reauthentication for this port
    AuthenticationTimerReauthenticateRange int
    Enter a value between 1 and 65535 - Range: 1-65535
    AuthenticationTimerReauthenticateServer bool
    Obtain re-authentication timeout value from the server
    CtsManual bool
    Supply local configuration for CTS parameters
    CtsManualPolicyStaticSgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    CtsManualPolicyStaticTrusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    CtsManualPropagateSgt bool
    CTS SGT Propagation configuration
    CtsRoleBasedEnforcement bool
    Enable Role-based Access Control enforcement
    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.
    DeviceTracking bool
    Configure device-tracking on the interface
    DeviceTrackingAttachPolicies List<Lbrlabs.PulumiPackage.Iosxe.Inputs.TemplateDeviceTrackingAttachPolicy>
    policy name for device tracking
    DeviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    Dot1xMaxReauthReq int
    Max No. of Reauthentication Attempts - Range: 1-10
    Dot1xMaxReq int
    Max No. of Retries - Range: 1-10
    Dot1xPae string
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    Dot1xTimeoutTxPeriod int
    Timeout for supplicant retries - Range: 1-65535
    IpAccessGroups List<Lbrlabs.PulumiPackage.Iosxe.Inputs.TemplateIpAccessGroup>
    Access control list for IP packets
    IpDhcpSnoopingLimitRate int
    DHCP snooping rate limit - Range: 1-2048
    IpDhcpSnoopingTrust bool
    DHCP Snooping trust config
    LoadInterval int
    Load interval delay in seconds - Range: 30-600
    Mab bool
    MAC Authentication Bypass Interface Config Commands
    MabEap bool
    Use EAP authentication for MAC Auth Bypass
    ServicePolicyInput string
    policy-map name
    ServicePolicyOutput string
    policy-map name
    ServicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    SourceTemplate string
    Get config from a template
    SpanningTreeBpduguardEnable bool
    Enable BPDU guard for this interface
    SpanningTreePortfast bool
    Portfast options for the interface
    SpanningTreePortfastDisable bool
    Disable portfast for this interface
    SpanningTreePortfastEdge bool
    Enable portfast edge on the interface
    SpanningTreePortfastNetwork bool
    Enable portfast network on the interface
    SpanningTreeServicePolicy bool
    help
    StormControlActionShutdown bool
    Shutdown this interface if a storm occurs
    StormControlActionTrap bool
    Send SNMP trap if a storm occurs
    StormControlBroadcastLevelBpsThreshold double
    Enter threshold
    StormControlBroadcastLevelPpsThreshold string
    Enter threshold
    StormControlBroadcastLevelThreshold double
    Enter threshold
    StormControlMulticastLevelBpsThreshold double
    Enter threshold
    StormControlMulticastLevelPpsThreshold string
    Enter threshold
    StormControlMulticastLevelThreshold double
    Enter threshold
    SubscriberAgingInactivityTimerProbe bool
    ARP probe
    SubscriberAgingInactivityTimerValue int
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    SubscriberAgingProbe bool
    ARP probe
    SwitchportAccessVlan int
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    SwitchportBlockUnicast bool
    Block unknown unicast addresses
    SwitchportModeAccess bool
    Set trunking mode to ACCESS unconditionally
    SwitchportModeTrunk bool
    Set trunking mode to TRUNK unconditionally
    SwitchportNonegotiate bool
    Device will not engage in negotiation protocol on this interface
    SwitchportPortSecurity bool
    Security related command
    SwitchportPortSecurityAgingStatic bool
    Enable aging for configured secure addresses
    SwitchportPortSecurityAgingTime int
    Port-security aging time - Range: 1-1440
    SwitchportPortSecurityAgingType bool
    Port-security aging type
    SwitchportPortSecurityAgingTypeInactivity bool
    Aging based on inactivity time period
    SwitchportPortSecurityMaximumRanges List<Lbrlabs.PulumiPackage.Iosxe.Inputs.TemplateSwitchportPortSecurityMaximumRange>
    SwitchportPortSecurityViolationProtect bool
    Security violation protect mode
    SwitchportPortSecurityViolationRestrict bool
    Security violation restrict mode
    SwitchportPortSecurityViolationShutdown bool
    Security violation shutdown mode
    SwitchportPrivateVlanHostAssociationPrimaryRange int
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    SwitchportPrivateVlanHostAssociationSecondaryRange int
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    SwitchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    SwitchportTrunkAllowedVlansAll bool
    all VLANs
    SwitchportTrunkAllowedVlansNone bool
    no VLANs
    SwitchportTrunkNativeVlanTag bool
    Set native VLAN tagging state
    SwitchportTrunkNativeVlanVlanId int
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    SwitchportVoiceVlan int
    Vlan for voice traffic - Range: 1-4094
    TemplateName string
    Template name
    AccessSessionClosed bool
    Enable closed access on port (disabled by default, i.e. open access)
    AccessSessionControlDirection string
    Set the control-direction on the interface - Choices: both, in
    AccessSessionHostMode string
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    AccessSessionInterfaceTemplateSticky bool
    Interface templates set to sticky
    AccessSessionInterfaceTemplateStickyTimer int
    Sticky timer value - Range: 1-65535
    AccessSessionMonitor bool
    Apply template to monitor access sessions on the port
    AccessSessionPortControl string
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    AuthenticationPeriodic bool
    Enable or Disable Reauthentication for this port
    AuthenticationTimerReauthenticateRange int
    Enter a value between 1 and 65535 - Range: 1-65535
    AuthenticationTimerReauthenticateServer bool
    Obtain re-authentication timeout value from the server
    CtsManual bool
    Supply local configuration for CTS parameters
    CtsManualPolicyStaticSgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    CtsManualPolicyStaticTrusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    CtsManualPropagateSgt bool
    CTS SGT Propagation configuration
    CtsRoleBasedEnforcement bool
    Enable Role-based Access Control enforcement
    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.
    DeviceTracking bool
    Configure device-tracking on the interface
    DeviceTrackingAttachPolicies []TemplateDeviceTrackingAttachPolicyArgs
    policy name for device tracking
    DeviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    Dot1xMaxReauthReq int
    Max No. of Reauthentication Attempts - Range: 1-10
    Dot1xMaxReq int
    Max No. of Retries - Range: 1-10
    Dot1xPae string
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    Dot1xTimeoutTxPeriod int
    Timeout for supplicant retries - Range: 1-65535
    IpAccessGroups []TemplateIpAccessGroupArgs
    Access control list for IP packets
    IpDhcpSnoopingLimitRate int
    DHCP snooping rate limit - Range: 1-2048
    IpDhcpSnoopingTrust bool
    DHCP Snooping trust config
    LoadInterval int
    Load interval delay in seconds - Range: 30-600
    Mab bool
    MAC Authentication Bypass Interface Config Commands
    MabEap bool
    Use EAP authentication for MAC Auth Bypass
    ServicePolicyInput string
    policy-map name
    ServicePolicyOutput string
    policy-map name
    ServicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    SourceTemplate string
    Get config from a template
    SpanningTreeBpduguardEnable bool
    Enable BPDU guard for this interface
    SpanningTreePortfast bool
    Portfast options for the interface
    SpanningTreePortfastDisable bool
    Disable portfast for this interface
    SpanningTreePortfastEdge bool
    Enable portfast edge on the interface
    SpanningTreePortfastNetwork bool
    Enable portfast network on the interface
    SpanningTreeServicePolicy bool
    help
    StormControlActionShutdown bool
    Shutdown this interface if a storm occurs
    StormControlActionTrap bool
    Send SNMP trap if a storm occurs
    StormControlBroadcastLevelBpsThreshold float64
    Enter threshold
    StormControlBroadcastLevelPpsThreshold string
    Enter threshold
    StormControlBroadcastLevelThreshold float64
    Enter threshold
    StormControlMulticastLevelBpsThreshold float64
    Enter threshold
    StormControlMulticastLevelPpsThreshold string
    Enter threshold
    StormControlMulticastLevelThreshold float64
    Enter threshold
    SubscriberAgingInactivityTimerProbe bool
    ARP probe
    SubscriberAgingInactivityTimerValue int
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    SubscriberAgingProbe bool
    ARP probe
    SwitchportAccessVlan int
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    SwitchportBlockUnicast bool
    Block unknown unicast addresses
    SwitchportModeAccess bool
    Set trunking mode to ACCESS unconditionally
    SwitchportModeTrunk bool
    Set trunking mode to TRUNK unconditionally
    SwitchportNonegotiate bool
    Device will not engage in negotiation protocol on this interface
    SwitchportPortSecurity bool
    Security related command
    SwitchportPortSecurityAgingStatic bool
    Enable aging for configured secure addresses
    SwitchportPortSecurityAgingTime int
    Port-security aging time - Range: 1-1440
    SwitchportPortSecurityAgingType bool
    Port-security aging type
    SwitchportPortSecurityAgingTypeInactivity bool
    Aging based on inactivity time period
    SwitchportPortSecurityMaximumRanges []TemplateSwitchportPortSecurityMaximumRangeArgs
    SwitchportPortSecurityViolationProtect bool
    Security violation protect mode
    SwitchportPortSecurityViolationRestrict bool
    Security violation restrict mode
    SwitchportPortSecurityViolationShutdown bool
    Security violation shutdown mode
    SwitchportPrivateVlanHostAssociationPrimaryRange int
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    SwitchportPrivateVlanHostAssociationSecondaryRange int
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    SwitchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    SwitchportTrunkAllowedVlansAll bool
    all VLANs
    SwitchportTrunkAllowedVlansNone bool
    no VLANs
    SwitchportTrunkNativeVlanTag bool
    Set native VLAN tagging state
    SwitchportTrunkNativeVlanVlanId int
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    SwitchportVoiceVlan int
    Vlan for voice traffic - Range: 1-4094
    TemplateName string
    Template name
    accessSessionClosed Boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection String
    Set the control-direction on the interface - Choices: both, in
    accessSessionHostMode String
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    accessSessionInterfaceTemplateSticky Boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer Integer
    Sticky timer value - Range: 1-65535
    accessSessionMonitor Boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl String
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authenticationPeriodic Boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange Integer
    Enter a value between 1 and 65535 - Range: 1-65535
    authenticationTimerReauthenticateServer Boolean
    Obtain re-authentication timeout value from the server
    ctsManual Boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt Integer
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    ctsManualPolicyStaticTrusted Boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt Boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement Boolean
    Enable Role-based Access Control enforcement
    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.
    deviceTracking Boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies List<TemplateDeviceTrackingAttachPolicy>
    policy name for device tracking
    deviceTrackingVlanRange String
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq Integer
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1xMaxReq Integer
    Max No. of Retries - Range: 1-10
    dot1xPae String
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1xTimeoutTxPeriod Integer
    Timeout for supplicant retries - Range: 1-65535
    ipAccessGroups List<TemplateIpAccessGroup>
    Access control list for IP packets
    ipDhcpSnoopingLimitRate Integer
    DHCP snooping rate limit - Range: 1-2048
    ipDhcpSnoopingTrust Boolean
    DHCP Snooping trust config
    loadInterval Integer
    Load interval delay in seconds - Range: 30-600
    mab Boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap Boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput String
    policy-map name
    servicePolicyOutput String
    policy-map name
    servicePolicyTypeControlSubscriber String
    Apply a subscriber control policy to the interface
    sourceTemplate String
    Get config from a template
    spanningTreeBpduguardEnable Boolean
    Enable BPDU guard for this interface
    spanningTreePortfast Boolean
    Portfast options for the interface
    spanningTreePortfastDisable Boolean
    Disable portfast for this interface
    spanningTreePortfastEdge Boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork Boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy Boolean
    help
    stormControlActionShutdown Boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap Boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold Double
    Enter threshold
    stormControlBroadcastLevelPpsThreshold String
    Enter threshold
    stormControlBroadcastLevelThreshold Double
    Enter threshold
    stormControlMulticastLevelBpsThreshold Double
    Enter threshold
    stormControlMulticastLevelPpsThreshold String
    Enter threshold
    stormControlMulticastLevelThreshold Double
    Enter threshold
    subscriberAgingInactivityTimerProbe Boolean
    ARP probe
    subscriberAgingInactivityTimerValue Integer
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriberAgingProbe Boolean
    ARP probe
    switchportAccessVlan Integer
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchportBlockUnicast Boolean
    Block unknown unicast addresses
    switchportModeAccess Boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk Boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate Boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity Boolean
    Security related command
    switchportPortSecurityAgingStatic Boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime Integer
    Port-security aging time - Range: 1-1440
    switchportPortSecurityAgingType Boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity Boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges List<TemplateSwitchportPortSecurityMaximumRange>
    switchportPortSecurityViolationProtect Boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict Boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown Boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange Integer
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchportPrivateVlanHostAssociationSecondaryRange Integer
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchportTrunkAllowedVlans String
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll Boolean
    all VLANs
    switchportTrunkAllowedVlansNone Boolean
    no VLANs
    switchportTrunkNativeVlanTag Boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId Integer
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchportVoiceVlan Integer
    Vlan for voice traffic - Range: 1-4094
    templateName String
    Template name
    accessSessionClosed boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection string
    Set the control-direction on the interface - Choices: both, in
    accessSessionHostMode string
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    accessSessionInterfaceTemplateSticky boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer number
    Sticky timer value - Range: 1-65535
    accessSessionMonitor boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl string
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authenticationPeriodic boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange number
    Enter a value between 1 and 65535 - Range: 1-65535
    authenticationTimerReauthenticateServer boolean
    Obtain re-authentication timeout value from the server
    ctsManual boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt number
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    ctsManualPolicyStaticTrusted boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement boolean
    Enable Role-based Access Control enforcement
    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.
    deviceTracking boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies TemplateDeviceTrackingAttachPolicy[]
    policy name for device tracking
    deviceTrackingVlanRange string
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq number
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1xMaxReq number
    Max No. of Retries - Range: 1-10
    dot1xPae string
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1xTimeoutTxPeriod number
    Timeout for supplicant retries - Range: 1-65535
    ipAccessGroups TemplateIpAccessGroup[]
    Access control list for IP packets
    ipDhcpSnoopingLimitRate number
    DHCP snooping rate limit - Range: 1-2048
    ipDhcpSnoopingTrust boolean
    DHCP Snooping trust config
    loadInterval number
    Load interval delay in seconds - Range: 30-600
    mab boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput string
    policy-map name
    servicePolicyOutput string
    policy-map name
    servicePolicyTypeControlSubscriber string
    Apply a subscriber control policy to the interface
    sourceTemplate string
    Get config from a template
    spanningTreeBpduguardEnable boolean
    Enable BPDU guard for this interface
    spanningTreePortfast boolean
    Portfast options for the interface
    spanningTreePortfastDisable boolean
    Disable portfast for this interface
    spanningTreePortfastEdge boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy boolean
    help
    stormControlActionShutdown boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold number
    Enter threshold
    stormControlBroadcastLevelPpsThreshold string
    Enter threshold
    stormControlBroadcastLevelThreshold number
    Enter threshold
    stormControlMulticastLevelBpsThreshold number
    Enter threshold
    stormControlMulticastLevelPpsThreshold string
    Enter threshold
    stormControlMulticastLevelThreshold number
    Enter threshold
    subscriberAgingInactivityTimerProbe boolean
    ARP probe
    subscriberAgingInactivityTimerValue number
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriberAgingProbe boolean
    ARP probe
    switchportAccessVlan number
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchportBlockUnicast boolean
    Block unknown unicast addresses
    switchportModeAccess boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity boolean
    Security related command
    switchportPortSecurityAgingStatic boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime number
    Port-security aging time - Range: 1-1440
    switchportPortSecurityAgingType boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges TemplateSwitchportPortSecurityMaximumRange[]
    switchportPortSecurityViolationProtect boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange number
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchportPrivateVlanHostAssociationSecondaryRange number
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchportTrunkAllowedVlans string
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll boolean
    all VLANs
    switchportTrunkAllowedVlansNone boolean
    no VLANs
    switchportTrunkNativeVlanTag boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId number
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchportVoiceVlan number
    Vlan for voice traffic - Range: 1-4094
    templateName string
    Template name
    access_session_closed bool
    Enable closed access on port (disabled by default, i.e. open access)
    access_session_control_direction str
    Set the control-direction on the interface - Choices: both, in
    access_session_host_mode str
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    access_session_interface_template_sticky bool
    Interface templates set to sticky
    access_session_interface_template_sticky_timer int
    Sticky timer value - Range: 1-65535
    access_session_monitor bool
    Apply template to monitor access sessions on the port
    access_session_port_control str
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authentication_periodic bool
    Enable or Disable Reauthentication for this port
    authentication_timer_reauthenticate_range int
    Enter a value between 1 and 65535 - Range: 1-65535
    authentication_timer_reauthenticate_server bool
    Obtain re-authentication timeout value from the server
    cts_manual bool
    Supply local configuration for CTS parameters
    cts_manual_policy_static_sgt int
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    cts_manual_policy_static_trusted bool
    Trust the Source Group Tags (SGT) that the peer uses for sending
    cts_manual_propagate_sgt bool
    CTS SGT Propagation configuration
    cts_role_based_enforcement bool
    Enable Role-based Access Control enforcement
    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.
    device_tracking bool
    Configure device-tracking on the interface
    device_tracking_attach_policies Sequence[TemplateDeviceTrackingAttachPolicyArgs]
    policy name for device tracking
    device_tracking_vlan_range str
    VLAN IDs of the VLANs for which this policy applies
    dot1x_max_reauth_req int
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1x_max_req int
    Max No. of Retries - Range: 1-10
    dot1x_pae str
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1x_timeout_tx_period int
    Timeout for supplicant retries - Range: 1-65535
    ip_access_groups Sequence[TemplateIpAccessGroupArgs]
    Access control list for IP packets
    ip_dhcp_snooping_limit_rate int
    DHCP snooping rate limit - Range: 1-2048
    ip_dhcp_snooping_trust bool
    DHCP Snooping trust config
    load_interval int
    Load interval delay in seconds - Range: 30-600
    mab bool
    MAC Authentication Bypass Interface Config Commands
    mab_eap bool
    Use EAP authentication for MAC Auth Bypass
    service_policy_input str
    policy-map name
    service_policy_output str
    policy-map name
    service_policy_type_control_subscriber str
    Apply a subscriber control policy to the interface
    source_template str
    Get config from a template
    spanning_tree_bpduguard_enable bool
    Enable BPDU guard for this interface
    spanning_tree_portfast bool
    Portfast options for the interface
    spanning_tree_portfast_disable bool
    Disable portfast for this interface
    spanning_tree_portfast_edge bool
    Enable portfast edge on the interface
    spanning_tree_portfast_network bool
    Enable portfast network on the interface
    spanning_tree_service_policy bool
    help
    storm_control_action_shutdown bool
    Shutdown this interface if a storm occurs
    storm_control_action_trap bool
    Send SNMP trap if a storm occurs
    storm_control_broadcast_level_bps_threshold float
    Enter threshold
    storm_control_broadcast_level_pps_threshold str
    Enter threshold
    storm_control_broadcast_level_threshold float
    Enter threshold
    storm_control_multicast_level_bps_threshold float
    Enter threshold
    storm_control_multicast_level_pps_threshold str
    Enter threshold
    storm_control_multicast_level_threshold float
    Enter threshold
    subscriber_aging_inactivity_timer_probe bool
    ARP probe
    subscriber_aging_inactivity_timer_value int
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriber_aging_probe bool
    ARP probe
    switchport_access_vlan int
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchport_block_unicast bool
    Block unknown unicast addresses
    switchport_mode_access bool
    Set trunking mode to ACCESS unconditionally
    switchport_mode_trunk bool
    Set trunking mode to TRUNK unconditionally
    switchport_nonegotiate bool
    Device will not engage in negotiation protocol on this interface
    switchport_port_security bool
    Security related command
    switchport_port_security_aging_static bool
    Enable aging for configured secure addresses
    switchport_port_security_aging_time int
    Port-security aging time - Range: 1-1440
    switchport_port_security_aging_type bool
    Port-security aging type
    switchport_port_security_aging_type_inactivity bool
    Aging based on inactivity time period
    switchport_port_security_maximum_ranges Sequence[TemplateSwitchportPortSecurityMaximumRangeArgs]
    switchport_port_security_violation_protect bool
    Security violation protect mode
    switchport_port_security_violation_restrict bool
    Security violation restrict mode
    switchport_port_security_violation_shutdown bool
    Security violation shutdown mode
    switchport_private_vlan_host_association_primary_range int
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchport_private_vlan_host_association_secondary_range int
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchport_trunk_allowed_vlans str
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchport_trunk_allowed_vlans_all bool
    all VLANs
    switchport_trunk_allowed_vlans_none bool
    no VLANs
    switchport_trunk_native_vlan_tag bool
    Set native VLAN tagging state
    switchport_trunk_native_vlan_vlan_id int
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchport_voice_vlan int
    Vlan for voice traffic - Range: 1-4094
    template_name str
    Template name
    accessSessionClosed Boolean
    Enable closed access on port (disabled by default, i.e. open access)
    accessSessionControlDirection String
    Set the control-direction on the interface - Choices: both, in
    accessSessionHostMode String
    Set the Host mode for authentication on this interface - Choices: multi-auth, multi-domain, multi-host, single-host
    accessSessionInterfaceTemplateSticky Boolean
    Interface templates set to sticky
    accessSessionInterfaceTemplateStickyTimer Number
    Sticky timer value - Range: 1-65535
    accessSessionMonitor Boolean
    Apply template to monitor access sessions on the port
    accessSessionPortControl String
    Set the port-control value - Choices: auto, force-authorized, force-unauthorized
    authenticationPeriodic Boolean
    Enable or Disable Reauthentication for this port
    authenticationTimerReauthenticateRange Number
    Enter a value between 1 and 65535 - Range: 1-65535
    authenticationTimerReauthenticateServer Boolean
    Obtain re-authentication timeout value from the server
    ctsManual Boolean
    Supply local configuration for CTS parameters
    ctsManualPolicyStaticSgt Number
    Source Security Group Tag to apply to untagged or non-trusted incoming traffic - Range: 2-65519
    ctsManualPolicyStaticTrusted Boolean
    Trust the Source Group Tags (SGT) that the peer uses for sending
    ctsManualPropagateSgt Boolean
    CTS SGT Propagation configuration
    ctsRoleBasedEnforcement Boolean
    Enable Role-based Access Control enforcement
    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.
    deviceTracking Boolean
    Configure device-tracking on the interface
    deviceTrackingAttachPolicies List<Property Map>
    policy name for device tracking
    deviceTrackingVlanRange String
    VLAN IDs of the VLANs for which this policy applies
    dot1xMaxReauthReq Number
    Max No. of Reauthentication Attempts - Range: 1-10
    dot1xMaxReq Number
    Max No. of Retries - Range: 1-10
    dot1xPae String
    Set 802.1x interface pae type - Choices: authenticator, both, supplicant
    dot1xTimeoutTxPeriod Number
    Timeout for supplicant retries - Range: 1-65535
    ipAccessGroups List<Property Map>
    Access control list for IP packets
    ipDhcpSnoopingLimitRate Number
    DHCP snooping rate limit - Range: 1-2048
    ipDhcpSnoopingTrust Boolean
    DHCP Snooping trust config
    loadInterval Number
    Load interval delay in seconds - Range: 30-600
    mab Boolean
    MAC Authentication Bypass Interface Config Commands
    mabEap Boolean
    Use EAP authentication for MAC Auth Bypass
    servicePolicyInput String
    policy-map name
    servicePolicyOutput String
    policy-map name
    servicePolicyTypeControlSubscriber String
    Apply a subscriber control policy to the interface
    sourceTemplate String
    Get config from a template
    spanningTreeBpduguardEnable Boolean
    Enable BPDU guard for this interface
    spanningTreePortfast Boolean
    Portfast options for the interface
    spanningTreePortfastDisable Boolean
    Disable portfast for this interface
    spanningTreePortfastEdge Boolean
    Enable portfast edge on the interface
    spanningTreePortfastNetwork Boolean
    Enable portfast network on the interface
    spanningTreeServicePolicy Boolean
    help
    stormControlActionShutdown Boolean
    Shutdown this interface if a storm occurs
    stormControlActionTrap Boolean
    Send SNMP trap if a storm occurs
    stormControlBroadcastLevelBpsThreshold Number
    Enter threshold
    stormControlBroadcastLevelPpsThreshold String
    Enter threshold
    stormControlBroadcastLevelThreshold Number
    Enter threshold
    stormControlMulticastLevelBpsThreshold Number
    Enter threshold
    stormControlMulticastLevelPpsThreshold String
    Enter threshold
    stormControlMulticastLevelThreshold Number
    Enter threshold
    subscriberAgingInactivityTimerProbe Boolean
    ARP probe
    subscriberAgingInactivityTimerValue Number
    Enter a value between 1 and 65535 in seconds - Range: 1-65535
    subscriberAgingProbe Boolean
    ARP probe
    switchportAccessVlan Number
    VLAN ID of the VLAN when this port is in access mode - Range: 1-4094
    switchportBlockUnicast Boolean
    Block unknown unicast addresses
    switchportModeAccess Boolean
    Set trunking mode to ACCESS unconditionally
    switchportModeTrunk Boolean
    Set trunking mode to TRUNK unconditionally
    switchportNonegotiate Boolean
    Device will not engage in negotiation protocol on this interface
    switchportPortSecurity Boolean
    Security related command
    switchportPortSecurityAgingStatic Boolean
    Enable aging for configured secure addresses
    switchportPortSecurityAgingTime Number
    Port-security aging time - Range: 1-1440
    switchportPortSecurityAgingType Boolean
    Port-security aging type
    switchportPortSecurityAgingTypeInactivity Boolean
    Aging based on inactivity time period
    switchportPortSecurityMaximumRanges List<Property Map>
    switchportPortSecurityViolationProtect Boolean
    Security violation protect mode
    switchportPortSecurityViolationRestrict Boolean
    Security violation restrict mode
    switchportPortSecurityViolationShutdown Boolean
    Security violation shutdown mode
    switchportPrivateVlanHostAssociationPrimaryRange Number
    Primary normal range VLAN ID of the private VLAN port association - Range: 2-1001
    switchportPrivateVlanHostAssociationSecondaryRange Number
    Secondary normal range VLAN ID of the private VLAN host port association - Range: 2-1001
    switchportTrunkAllowedVlans String
    VLAN IDs of the allowed VLANs when this port is in trunking mode
    switchportTrunkAllowedVlansAll Boolean
    all VLANs
    switchportTrunkAllowedVlansNone Boolean
    no VLANs
    switchportTrunkNativeVlanTag Boolean
    Set native VLAN tagging state
    switchportTrunkNativeVlanVlanId Number
    VLAN ID of the native VLAN when this port is in trunking mode - Range: 1-4094
    switchportVoiceVlan Number
    Vlan for voice traffic - Range: 1-4094
    templateName String
    Template name

    Supporting Types

    TemplateDeviceTrackingAttachPolicy, TemplateDeviceTrackingAttachPolicyArgs

    PolicyName string
    VlanRange string
    PolicyName string
    VlanRange string
    policyName String
    vlanRange String
    policyName string
    vlanRange string
    policyName String
    vlanRange String

    TemplateIpAccessGroup, TemplateIpAccessGroupArgs

    Direction string
    AccessList string
    Direction string
    AccessList string
    direction String
    accessList String
    direction string
    accessList string
    direction String
    accessList String

    TemplateSwitchportPortSecurityMaximumRange, TemplateSwitchportPortSecurityMaximumRangeArgs

    Range int
    Vlan bool
    VlanAccess bool
    Range int
    Vlan bool
    VlanAccess bool
    range Integer
    vlan Boolean
    vlanAccess Boolean
    range number
    vlan boolean
    vlanAccess boolean
    range int
    vlan bool
    vlan_access bool
    range Number
    vlan Boolean
    vlanAccess Boolean

    Import

     $ pulumi import iosxe:index/template:Template example "Cisco-IOS-XE-native:native/template/Cisco-IOS-XE-template:template_details=TEMP1"
    

    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