1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. SwitchportFeatureTemplate
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.SwitchportFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    This resource can manage a Switchport feature template.

    • Minimum SD-WAN Manager version: 15.0.0

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SwitchportFeatureTemplate;
    import com.pulumi.sdwan.SwitchportFeatureTemplateArgs;
    import com.pulumi.sdwan.inputs.SwitchportFeatureTemplateInterfaceArgs;
    import com.pulumi.sdwan.inputs.SwitchportFeatureTemplateStaticMacAddressArgs;
    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 SwitchportFeatureTemplate("example", SwitchportFeatureTemplateArgs.builder()        
                .name("Example")
                .description("My Example")
                .deviceTypes("vedge-C8000V")
                .slot(0)
                .subSlot(0)
                .moduleType("4")
                .interfaces(SwitchportFeatureTemplateInterfaceArgs.builder()
                    .name("GigabitEthernet0/0/0")
                    .switchport_mode("access")
                    .shutdown(true)
                    .speed("100")
                    .duplex("full")
                    .switchport_access_vlan(100)
                    .switchport_trunk_allowed_vlans("100,200")
                    .switchport_trunk_native_vlan(100)
                    .dot1x_enable(true)
                    .dot1x_port_control("auto")
                    .dot1x_authentication_order("dot1x")
                    .voice_vlan(200)
                    .dot1x_pae_enable(true)
                    .dot1x_mac_authentication_bypass(true)
                    .dot1x_host_mode("multi-domain")
                    .dot1x_enable_periodic_reauth(true)
                    .dot1x_periodic_reauth_inactivity_timeout(100)
                    .dot1x_periodic_reauth_interval(60)
                    .dot1x_control_direction("both")
                    .dot1x_restricted_vlan(100)
                    .dot1x_guest_vlan(101)
                    .dot1x_critical_vlan(102)
                    .dot1x_enable_criticial_voice_vlan(true)
                    .build())
                .ageOutTime(500)
                .staticMacAddresses(SwitchportFeatureTemplateStaticMacAddressArgs.builder()
                    .mac_address("0000.0000.0000")
                    .if_name("GigabitEthernet0/0/0")
                    .vlan(100)
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:SwitchportFeatureTemplate
        properties:
          name: Example
          description: My Example
          deviceTypes:
            - vedge-C8000V
          slot: 0
          subSlot: 0
          moduleType: '4'
          interfaces:
            - name: GigabitEthernet0/0/0
              switchport_mode: access
              shutdown: true
              speed: '100'
              duplex: full
              switchport_access_vlan: 100
              switchport_trunk_allowed_vlans: 100,200
              switchport_trunk_native_vlan: 100
              dot1x_enable: true
              dot1x_port_control: auto
              dot1x_authentication_order:
                - dot1x
              voice_vlan: 200
              dot1x_pae_enable: true
              dot1x_mac_authentication_bypass: true
              dot1x_host_mode: multi-domain
              dot1x_enable_periodic_reauth: true
              dot1x_periodic_reauth_inactivity_timeout: 100
              dot1x_periodic_reauth_interval: 60
              dot1x_control_direction: both
              dot1x_restricted_vlan: 100
              dot1x_guest_vlan: 101
              dot1x_critical_vlan: 102
              dot1x_enable_criticial_voice_vlan: true
          ageOutTime: 500
          staticMacAddresses:
            - mac_address: 0000.0000.0000
              if_name: GigabitEthernet0/0/0
              vlan: 100
    

    Create SwitchportFeatureTemplate Resource

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

    Constructor syntax

    new SwitchportFeatureTemplate(name: string, args: SwitchportFeatureTemplateArgs, opts?: CustomResourceOptions);
    @overload
    def SwitchportFeatureTemplate(resource_name: str,
                                  args: SwitchportFeatureTemplateArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def SwitchportFeatureTemplate(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  description: Optional[str] = None,
                                  device_types: Optional[Sequence[str]] = None,
                                  age_out_time: Optional[int] = None,
                                  age_out_time_variable: Optional[str] = None,
                                  interfaces: Optional[Sequence[SwitchportFeatureTemplateInterfaceArgs]] = None,
                                  module_type: Optional[str] = None,
                                  name: Optional[str] = None,
                                  slot: Optional[int] = None,
                                  static_mac_addresses: Optional[Sequence[SwitchportFeatureTemplateStaticMacAddressArgs]] = None,
                                  sub_slot: Optional[int] = None)
    func NewSwitchportFeatureTemplate(ctx *Context, name string, args SwitchportFeatureTemplateArgs, opts ...ResourceOption) (*SwitchportFeatureTemplate, error)
    public SwitchportFeatureTemplate(string name, SwitchportFeatureTemplateArgs args, CustomResourceOptions? opts = null)
    public SwitchportFeatureTemplate(String name, SwitchportFeatureTemplateArgs args)
    public SwitchportFeatureTemplate(String name, SwitchportFeatureTemplateArgs args, CustomResourceOptions options)
    
    type: sdwan:SwitchportFeatureTemplate
    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 SwitchportFeatureTemplateArgs
    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 SwitchportFeatureTemplateArgs
    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 SwitchportFeatureTemplateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SwitchportFeatureTemplateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SwitchportFeatureTemplateArgs
    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 switchportFeatureTemplateResource = new Sdwan.SwitchportFeatureTemplate("switchportFeatureTemplateResource", new()
    {
        Description = "string",
        DeviceTypes = new[]
        {
            "string",
        },
        AgeOutTime = 0,
        AgeOutTimeVariable = "string",
        Interfaces = new[]
        {
            new Sdwan.Inputs.SwitchportFeatureTemplateInterfaceArgs
            {
                Dot1xAuthenticationOrderVariable = "string",
                Dot1xAuthenticationOrders = new[]
                {
                    "string",
                },
                Dot1xControlDirection = "string",
                Dot1xControlDirectionVariable = "string",
                Dot1xCriticalVlan = 0,
                Dot1xCriticalVlanVariable = "string",
                Dot1xEnable = false,
                Dot1xEnableCriticialVoiceVlan = false,
                Dot1xEnableCriticialVoiceVlanVariable = "string",
                Dot1xEnablePeriodicReauth = false,
                Dot1xEnablePeriodicReauthVariable = "string",
                Dot1xEnableVariable = "string",
                Dot1xGuestVlan = 0,
                Dot1xGuestVlanVariable = "string",
                Dot1xHostMode = "string",
                Dot1xHostModeVariable = "string",
                Dot1xMacAuthenticationBypass = false,
                Dot1xMacAuthenticationBypassVariable = "string",
                Dot1xPaeEnable = false,
                Dot1xPaeEnableVariable = "string",
                Dot1xPeriodicReauthInactivityTimeout = 0,
                Dot1xPeriodicReauthInactivityTimeoutVariable = "string",
                Dot1xPeriodicReauthInterval = 0,
                Dot1xPeriodicReauthIntervalVariable = "string",
                Dot1xPortControl = "string",
                Dot1xPortControlVariable = "string",
                Dot1xRestrictedVlan = 0,
                Dot1xRestrictedVlanVariable = "string",
                Duplex = "string",
                DuplexVariable = "string",
                Name = "string",
                NameVariable = "string",
                Optional = false,
                Shutdown = false,
                ShutdownVariable = "string",
                Speed = "string",
                SpeedVariable = "string",
                SwitchportAccessVlan = 0,
                SwitchportAccessVlanVariable = "string",
                SwitchportMode = "string",
                SwitchportTrunkAllowedVlans = "string",
                SwitchportTrunkAllowedVlansVariable = "string",
                SwitchportTrunkNativeVlan = 0,
                SwitchportTrunkNativeVlanVariable = "string",
                VoiceVlan = 0,
                VoiceVlanVariable = "string",
            },
        },
        ModuleType = "string",
        Name = "string",
        Slot = 0,
        StaticMacAddresses = new[]
        {
            new Sdwan.Inputs.SwitchportFeatureTemplateStaticMacAddressArgs
            {
                IfName = "string",
                IfNameVariable = "string",
                MacAddress = "string",
                MacAddressVariable = "string",
                Optional = false,
                Vlan = 0,
                VlanVariable = "string",
            },
        },
        SubSlot = 0,
    });
    
    example, err := sdwan.NewSwitchportFeatureTemplate(ctx, "switchportFeatureTemplateResource", &sdwan.SwitchportFeatureTemplateArgs{
    	Description: pulumi.String("string"),
    	DeviceTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AgeOutTime:         pulumi.Int(0),
    	AgeOutTimeVariable: pulumi.String("string"),
    	Interfaces: sdwan.SwitchportFeatureTemplateInterfaceArray{
    		&sdwan.SwitchportFeatureTemplateInterfaceArgs{
    			Dot1xAuthenticationOrderVariable: pulumi.String("string"),
    			Dot1xAuthenticationOrders: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Dot1xControlDirection:                        pulumi.String("string"),
    			Dot1xControlDirectionVariable:                pulumi.String("string"),
    			Dot1xCriticalVlan:                            pulumi.Int(0),
    			Dot1xCriticalVlanVariable:                    pulumi.String("string"),
    			Dot1xEnable:                                  pulumi.Bool(false),
    			Dot1xEnableCriticialVoiceVlan:                pulumi.Bool(false),
    			Dot1xEnableCriticialVoiceVlanVariable:        pulumi.String("string"),
    			Dot1xEnablePeriodicReauth:                    pulumi.Bool(false),
    			Dot1xEnablePeriodicReauthVariable:            pulumi.String("string"),
    			Dot1xEnableVariable:                          pulumi.String("string"),
    			Dot1xGuestVlan:                               pulumi.Int(0),
    			Dot1xGuestVlanVariable:                       pulumi.String("string"),
    			Dot1xHostMode:                                pulumi.String("string"),
    			Dot1xHostModeVariable:                        pulumi.String("string"),
    			Dot1xMacAuthenticationBypass:                 pulumi.Bool(false),
    			Dot1xMacAuthenticationBypassVariable:         pulumi.String("string"),
    			Dot1xPaeEnable:                               pulumi.Bool(false),
    			Dot1xPaeEnableVariable:                       pulumi.String("string"),
    			Dot1xPeriodicReauthInactivityTimeout:         pulumi.Int(0),
    			Dot1xPeriodicReauthInactivityTimeoutVariable: pulumi.String("string"),
    			Dot1xPeriodicReauthInterval:                  pulumi.Int(0),
    			Dot1xPeriodicReauthIntervalVariable:          pulumi.String("string"),
    			Dot1xPortControl:                             pulumi.String("string"),
    			Dot1xPortControlVariable:                     pulumi.String("string"),
    			Dot1xRestrictedVlan:                          pulumi.Int(0),
    			Dot1xRestrictedVlanVariable:                  pulumi.String("string"),
    			Duplex:                                       pulumi.String("string"),
    			DuplexVariable:                               pulumi.String("string"),
    			Name:                                         pulumi.String("string"),
    			NameVariable:                                 pulumi.String("string"),
    			Optional:                                     pulumi.Bool(false),
    			Shutdown:                                     pulumi.Bool(false),
    			ShutdownVariable:                             pulumi.String("string"),
    			Speed:                                        pulumi.String("string"),
    			SpeedVariable:                                pulumi.String("string"),
    			SwitchportAccessVlan:                         pulumi.Int(0),
    			SwitchportAccessVlanVariable:                 pulumi.String("string"),
    			SwitchportMode:                               pulumi.String("string"),
    			SwitchportTrunkAllowedVlans:                  pulumi.String("string"),
    			SwitchportTrunkAllowedVlansVariable:          pulumi.String("string"),
    			SwitchportTrunkNativeVlan:                    pulumi.Int(0),
    			SwitchportTrunkNativeVlanVariable:            pulumi.String("string"),
    			VoiceVlan:                                    pulumi.Int(0),
    			VoiceVlanVariable:                            pulumi.String("string"),
    		},
    	},
    	ModuleType: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Slot:       pulumi.Int(0),
    	StaticMacAddresses: sdwan.SwitchportFeatureTemplateStaticMacAddressArray{
    		&sdwan.SwitchportFeatureTemplateStaticMacAddressArgs{
    			IfName:             pulumi.String("string"),
    			IfNameVariable:     pulumi.String("string"),
    			MacAddress:         pulumi.String("string"),
    			MacAddressVariable: pulumi.String("string"),
    			Optional:           pulumi.Bool(false),
    			Vlan:               pulumi.Int(0),
    			VlanVariable:       pulumi.String("string"),
    		},
    	},
    	SubSlot: pulumi.Int(0),
    })
    
    var switchportFeatureTemplateResource = new SwitchportFeatureTemplate("switchportFeatureTemplateResource", SwitchportFeatureTemplateArgs.builder()
        .description("string")
        .deviceTypes("string")
        .ageOutTime(0)
        .ageOutTimeVariable("string")
        .interfaces(SwitchportFeatureTemplateInterfaceArgs.builder()
            .dot1xAuthenticationOrderVariable("string")
            .dot1xAuthenticationOrders("string")
            .dot1xControlDirection("string")
            .dot1xControlDirectionVariable("string")
            .dot1xCriticalVlan(0)
            .dot1xCriticalVlanVariable("string")
            .dot1xEnable(false)
            .dot1xEnableCriticialVoiceVlan(false)
            .dot1xEnableCriticialVoiceVlanVariable("string")
            .dot1xEnablePeriodicReauth(false)
            .dot1xEnablePeriodicReauthVariable("string")
            .dot1xEnableVariable("string")
            .dot1xGuestVlan(0)
            .dot1xGuestVlanVariable("string")
            .dot1xHostMode("string")
            .dot1xHostModeVariable("string")
            .dot1xMacAuthenticationBypass(false)
            .dot1xMacAuthenticationBypassVariable("string")
            .dot1xPaeEnable(false)
            .dot1xPaeEnableVariable("string")
            .dot1xPeriodicReauthInactivityTimeout(0)
            .dot1xPeriodicReauthInactivityTimeoutVariable("string")
            .dot1xPeriodicReauthInterval(0)
            .dot1xPeriodicReauthIntervalVariable("string")
            .dot1xPortControl("string")
            .dot1xPortControlVariable("string")
            .dot1xRestrictedVlan(0)
            .dot1xRestrictedVlanVariable("string")
            .duplex("string")
            .duplexVariable("string")
            .name("string")
            .nameVariable("string")
            .optional(false)
            .shutdown(false)
            .shutdownVariable("string")
            .speed("string")
            .speedVariable("string")
            .switchportAccessVlan(0)
            .switchportAccessVlanVariable("string")
            .switchportMode("string")
            .switchportTrunkAllowedVlans("string")
            .switchportTrunkAllowedVlansVariable("string")
            .switchportTrunkNativeVlan(0)
            .switchportTrunkNativeVlanVariable("string")
            .voiceVlan(0)
            .voiceVlanVariable("string")
            .build())
        .moduleType("string")
        .name("string")
        .slot(0)
        .staticMacAddresses(SwitchportFeatureTemplateStaticMacAddressArgs.builder()
            .ifName("string")
            .ifNameVariable("string")
            .macAddress("string")
            .macAddressVariable("string")
            .optional(false)
            .vlan(0)
            .vlanVariable("string")
            .build())
        .subSlot(0)
        .build());
    
    switchport_feature_template_resource = sdwan.SwitchportFeatureTemplate("switchportFeatureTemplateResource",
        description="string",
        device_types=["string"],
        age_out_time=0,
        age_out_time_variable="string",
        interfaces=[sdwan.SwitchportFeatureTemplateInterfaceArgs(
            dot1x_authentication_order_variable="string",
            dot1x_authentication_orders=["string"],
            dot1x_control_direction="string",
            dot1x_control_direction_variable="string",
            dot1x_critical_vlan=0,
            dot1x_critical_vlan_variable="string",
            dot1x_enable=False,
            dot1x_enable_criticial_voice_vlan=False,
            dot1x_enable_criticial_voice_vlan_variable="string",
            dot1x_enable_periodic_reauth=False,
            dot1x_enable_periodic_reauth_variable="string",
            dot1x_enable_variable="string",
            dot1x_guest_vlan=0,
            dot1x_guest_vlan_variable="string",
            dot1x_host_mode="string",
            dot1x_host_mode_variable="string",
            dot1x_mac_authentication_bypass=False,
            dot1x_mac_authentication_bypass_variable="string",
            dot1x_pae_enable=False,
            dot1x_pae_enable_variable="string",
            dot1x_periodic_reauth_inactivity_timeout=0,
            dot1x_periodic_reauth_inactivity_timeout_variable="string",
            dot1x_periodic_reauth_interval=0,
            dot1x_periodic_reauth_interval_variable="string",
            dot1x_port_control="string",
            dot1x_port_control_variable="string",
            dot1x_restricted_vlan=0,
            dot1x_restricted_vlan_variable="string",
            duplex="string",
            duplex_variable="string",
            name="string",
            name_variable="string",
            optional=False,
            shutdown=False,
            shutdown_variable="string",
            speed="string",
            speed_variable="string",
            switchport_access_vlan=0,
            switchport_access_vlan_variable="string",
            switchport_mode="string",
            switchport_trunk_allowed_vlans="string",
            switchport_trunk_allowed_vlans_variable="string",
            switchport_trunk_native_vlan=0,
            switchport_trunk_native_vlan_variable="string",
            voice_vlan=0,
            voice_vlan_variable="string",
        )],
        module_type="string",
        name="string",
        slot=0,
        static_mac_addresses=[sdwan.SwitchportFeatureTemplateStaticMacAddressArgs(
            if_name="string",
            if_name_variable="string",
            mac_address="string",
            mac_address_variable="string",
            optional=False,
            vlan=0,
            vlan_variable="string",
        )],
        sub_slot=0)
    
    const switchportFeatureTemplateResource = new sdwan.SwitchportFeatureTemplate("switchportFeatureTemplateResource", {
        description: "string",
        deviceTypes: ["string"],
        ageOutTime: 0,
        ageOutTimeVariable: "string",
        interfaces: [{
            dot1xAuthenticationOrderVariable: "string",
            dot1xAuthenticationOrders: ["string"],
            dot1xControlDirection: "string",
            dot1xControlDirectionVariable: "string",
            dot1xCriticalVlan: 0,
            dot1xCriticalVlanVariable: "string",
            dot1xEnable: false,
            dot1xEnableCriticialVoiceVlan: false,
            dot1xEnableCriticialVoiceVlanVariable: "string",
            dot1xEnablePeriodicReauth: false,
            dot1xEnablePeriodicReauthVariable: "string",
            dot1xEnableVariable: "string",
            dot1xGuestVlan: 0,
            dot1xGuestVlanVariable: "string",
            dot1xHostMode: "string",
            dot1xHostModeVariable: "string",
            dot1xMacAuthenticationBypass: false,
            dot1xMacAuthenticationBypassVariable: "string",
            dot1xPaeEnable: false,
            dot1xPaeEnableVariable: "string",
            dot1xPeriodicReauthInactivityTimeout: 0,
            dot1xPeriodicReauthInactivityTimeoutVariable: "string",
            dot1xPeriodicReauthInterval: 0,
            dot1xPeriodicReauthIntervalVariable: "string",
            dot1xPortControl: "string",
            dot1xPortControlVariable: "string",
            dot1xRestrictedVlan: 0,
            dot1xRestrictedVlanVariable: "string",
            duplex: "string",
            duplexVariable: "string",
            name: "string",
            nameVariable: "string",
            optional: false,
            shutdown: false,
            shutdownVariable: "string",
            speed: "string",
            speedVariable: "string",
            switchportAccessVlan: 0,
            switchportAccessVlanVariable: "string",
            switchportMode: "string",
            switchportTrunkAllowedVlans: "string",
            switchportTrunkAllowedVlansVariable: "string",
            switchportTrunkNativeVlan: 0,
            switchportTrunkNativeVlanVariable: "string",
            voiceVlan: 0,
            voiceVlanVariable: "string",
        }],
        moduleType: "string",
        name: "string",
        slot: 0,
        staticMacAddresses: [{
            ifName: "string",
            ifNameVariable: "string",
            macAddress: "string",
            macAddressVariable: "string",
            optional: false,
            vlan: 0,
            vlanVariable: "string",
        }],
        subSlot: 0,
    });
    
    type: sdwan:SwitchportFeatureTemplate
    properties:
        ageOutTime: 0
        ageOutTimeVariable: string
        description: string
        deviceTypes:
            - string
        interfaces:
            - dot1xAuthenticationOrderVariable: string
              dot1xAuthenticationOrders:
                - string
              dot1xControlDirection: string
              dot1xControlDirectionVariable: string
              dot1xCriticalVlan: 0
              dot1xCriticalVlanVariable: string
              dot1xEnable: false
              dot1xEnableCriticialVoiceVlan: false
              dot1xEnableCriticialVoiceVlanVariable: string
              dot1xEnablePeriodicReauth: false
              dot1xEnablePeriodicReauthVariable: string
              dot1xEnableVariable: string
              dot1xGuestVlan: 0
              dot1xGuestVlanVariable: string
              dot1xHostMode: string
              dot1xHostModeVariable: string
              dot1xMacAuthenticationBypass: false
              dot1xMacAuthenticationBypassVariable: string
              dot1xPaeEnable: false
              dot1xPaeEnableVariable: string
              dot1xPeriodicReauthInactivityTimeout: 0
              dot1xPeriodicReauthInactivityTimeoutVariable: string
              dot1xPeriodicReauthInterval: 0
              dot1xPeriodicReauthIntervalVariable: string
              dot1xPortControl: string
              dot1xPortControlVariable: string
              dot1xRestrictedVlan: 0
              dot1xRestrictedVlanVariable: string
              duplex: string
              duplexVariable: string
              name: string
              nameVariable: string
              optional: false
              shutdown: false
              shutdownVariable: string
              speed: string
              speedVariable: string
              switchportAccessVlan: 0
              switchportAccessVlanVariable: string
              switchportMode: string
              switchportTrunkAllowedVlans: string
              switchportTrunkAllowedVlansVariable: string
              switchportTrunkNativeVlan: 0
              switchportTrunkNativeVlanVariable: string
              voiceVlan: 0
              voiceVlanVariable: string
        moduleType: string
        name: string
        slot: 0
        staticMacAddresses:
            - ifName: string
              ifNameVariable: string
              macAddress: string
              macAddressVariable: string
              optional: false
              vlan: 0
              vlanVariable: string
        subSlot: 0
    

    SwitchportFeatureTemplate Resource Properties

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

    Inputs

    The SwitchportFeatureTemplate resource accepts the following input properties:

    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    AgeOutTime int
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    AgeOutTimeVariable string
    Variable name
    Interfaces List<SwitchportFeatureTemplateInterface>
    Interface name: GigabitEthernet0/<>/<> when present
    ModuleType string
    Module type - Choices: 4, 8, 22, 50
    Name string
    The name of the feature template
    Slot int
    Number of Slots - Range: 0-31 - Default value: 0
    StaticMacAddresses List<SwitchportFeatureTemplateStaticMacAddress>
    Add static MAC address entries for interface
    SubSlot int
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    AgeOutTime int
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    AgeOutTimeVariable string
    Variable name
    Interfaces []SwitchportFeatureTemplateInterfaceArgs
    Interface name: GigabitEthernet0/<>/<> when present
    ModuleType string
    Module type - Choices: 4, 8, 22, 50
    Name string
    The name of the feature template
    Slot int
    Number of Slots - Range: 0-31 - Default value: 0
    StaticMacAddresses []SwitchportFeatureTemplateStaticMacAddressArgs
    Add static MAC address entries for interface
    SubSlot int
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    ageOutTime Integer
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    ageOutTimeVariable String
    Variable name
    interfaces List<SwitchportFeatureTemplateInterface>
    Interface name: GigabitEthernet0/<>/<> when present
    moduleType String
    Module type - Choices: 4, 8, 22, 50
    name String
    The name of the feature template
    slot Integer
    Number of Slots - Range: 0-31 - Default value: 0
    staticMacAddresses List<SwitchportFeatureTemplateStaticMacAddress>
    Add static MAC address entries for interface
    subSlot Integer
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    ageOutTime number
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    ageOutTimeVariable string
    Variable name
    interfaces SwitchportFeatureTemplateInterface[]
    Interface name: GigabitEthernet0/<>/<> when present
    moduleType string
    Module type - Choices: 4, 8, 22, 50
    name string
    The name of the feature template
    slot number
    Number of Slots - Range: 0-31 - Default value: 0
    staticMacAddresses SwitchportFeatureTemplateStaticMacAddress[]
    Add static MAC address entries for interface
    subSlot number
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    description str
    The description of the feature template
    device_types Sequence[str]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    age_out_time int
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    age_out_time_variable str
    Variable name
    interfaces Sequence[SwitchportFeatureTemplateInterfaceArgs]
    Interface name: GigabitEthernet0/<>/<> when present
    module_type str
    Module type - Choices: 4, 8, 22, 50
    name str
    The name of the feature template
    slot int
    Number of Slots - Range: 0-31 - Default value: 0
    static_mac_addresses Sequence[SwitchportFeatureTemplateStaticMacAddressArgs]
    Add static MAC address entries for interface
    sub_slot int
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    ageOutTime Number
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    ageOutTimeVariable String
    Variable name
    interfaces List<Property Map>
    Interface name: GigabitEthernet0/<>/<> when present
    moduleType String
    Module type - Choices: 4, 8, 22, 50
    name String
    The name of the feature template
    slot Number
    Number of Slots - Range: 0-31 - Default value: 0
    staticMacAddresses List<Property Map>
    Add static MAC address entries for interface
    subSlot Number
    Number of Sub-Slots - Range: 0-31 - Default value: 0

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateType string
    The template type
    Version int
    The version of the feature template
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateType string
    The template type
    Version int
    The version of the feature template
    id String
    The provider-assigned unique ID for this managed resource.
    templateType String
    The template type
    version Integer
    The version of the feature template
    id string
    The provider-assigned unique ID for this managed resource.
    templateType string
    The template type
    version number
    The version of the feature template
    id str
    The provider-assigned unique ID for this managed resource.
    template_type str
    The template type
    version int
    The version of the feature template
    id String
    The provider-assigned unique ID for this managed resource.
    templateType String
    The template type
    version Number
    The version of the feature template

    Look up Existing SwitchportFeatureTemplate Resource

    Get an existing SwitchportFeatureTemplate 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?: SwitchportFeatureTemplateState, opts?: CustomResourceOptions): SwitchportFeatureTemplate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            age_out_time: Optional[int] = None,
            age_out_time_variable: Optional[str] = None,
            description: Optional[str] = None,
            device_types: Optional[Sequence[str]] = None,
            interfaces: Optional[Sequence[SwitchportFeatureTemplateInterfaceArgs]] = None,
            module_type: Optional[str] = None,
            name: Optional[str] = None,
            slot: Optional[int] = None,
            static_mac_addresses: Optional[Sequence[SwitchportFeatureTemplateStaticMacAddressArgs]] = None,
            sub_slot: Optional[int] = None,
            template_type: Optional[str] = None,
            version: Optional[int] = None) -> SwitchportFeatureTemplate
    func GetSwitchportFeatureTemplate(ctx *Context, name string, id IDInput, state *SwitchportFeatureTemplateState, opts ...ResourceOption) (*SwitchportFeatureTemplate, error)
    public static SwitchportFeatureTemplate Get(string name, Input<string> id, SwitchportFeatureTemplateState? state, CustomResourceOptions? opts = null)
    public static SwitchportFeatureTemplate get(String name, Output<String> id, SwitchportFeatureTemplateState 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:
    AgeOutTime int
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    AgeOutTimeVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    Interfaces List<SwitchportFeatureTemplateInterface>
    Interface name: GigabitEthernet0/<>/<> when present
    ModuleType string
    Module type - Choices: 4, 8, 22, 50
    Name string
    The name of the feature template
    Slot int
    Number of Slots - Range: 0-31 - Default value: 0
    StaticMacAddresses List<SwitchportFeatureTemplateStaticMacAddress>
    Add static MAC address entries for interface
    SubSlot int
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    TemplateType string
    The template type
    Version int
    The version of the feature template
    AgeOutTime int
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    AgeOutTimeVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    Interfaces []SwitchportFeatureTemplateInterfaceArgs
    Interface name: GigabitEthernet0/<>/<> when present
    ModuleType string
    Module type - Choices: 4, 8, 22, 50
    Name string
    The name of the feature template
    Slot int
    Number of Slots - Range: 0-31 - Default value: 0
    StaticMacAddresses []SwitchportFeatureTemplateStaticMacAddressArgs
    Add static MAC address entries for interface
    SubSlot int
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    TemplateType string
    The template type
    Version int
    The version of the feature template
    ageOutTime Integer
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    ageOutTimeVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    interfaces List<SwitchportFeatureTemplateInterface>
    Interface name: GigabitEthernet0/<>/<> when present
    moduleType String
    Module type - Choices: 4, 8, 22, 50
    name String
    The name of the feature template
    slot Integer
    Number of Slots - Range: 0-31 - Default value: 0
    staticMacAddresses List<SwitchportFeatureTemplateStaticMacAddress>
    Add static MAC address entries for interface
    subSlot Integer
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    templateType String
    The template type
    version Integer
    The version of the feature template
    ageOutTime number
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    ageOutTimeVariable string
    Variable name
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    interfaces SwitchportFeatureTemplateInterface[]
    Interface name: GigabitEthernet0/<>/<> when present
    moduleType string
    Module type - Choices: 4, 8, 22, 50
    name string
    The name of the feature template
    slot number
    Number of Slots - Range: 0-31 - Default value: 0
    staticMacAddresses SwitchportFeatureTemplateStaticMacAddress[]
    Add static MAC address entries for interface
    subSlot number
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    templateType string
    The template type
    version number
    The version of the feature template
    age_out_time int
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    age_out_time_variable str
    Variable name
    description str
    The description of the feature template
    device_types Sequence[str]
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    interfaces Sequence[SwitchportFeatureTemplateInterfaceArgs]
    Interface name: GigabitEthernet0/<>/<> when present
    module_type str
    Module type - Choices: 4, 8, 22, 50
    name str
    The name of the feature template
    slot int
    Number of Slots - Range: 0-31 - Default value: 0
    static_mac_addresses Sequence[SwitchportFeatureTemplateStaticMacAddressArgs]
    Add static MAC address entries for interface
    sub_slot int
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    template_type str
    The template type
    version int
    The version of the feature template
    ageOutTime Number
    Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000 - Default value: 300
    ageOutTimeVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types - Choices: vedge-C8000V, vedge-C8300-1N1S-4T2X, vedge-C8300-1N1S-6T, vedge-C8300-2N2S-6T, vedge-C8300-2N2S-4T2X, vedge-C8500-12X4QC, vedge-C8500-12X, vedge-C8500-20X6C, vedge-C8500L-8S4X, vedge-C8200-1N-4T, vedge-C8200L-1N-4T
    interfaces List<Property Map>
    Interface name: GigabitEthernet0/<>/<> when present
    moduleType String
    Module type - Choices: 4, 8, 22, 50
    name String
    The name of the feature template
    slot Number
    Number of Slots - Range: 0-31 - Default value: 0
    staticMacAddresses List<Property Map>
    Add static MAC address entries for interface
    subSlot Number
    Number of Sub-Slots - Range: 0-31 - Default value: 0
    templateType String
    The template type
    version Number
    The version of the feature template

    Supporting Types

    SwitchportFeatureTemplateInterface, SwitchportFeatureTemplateInterfaceArgs

    Dot1xAuthenticationOrderVariable string
    Variable name
    Dot1xAuthenticationOrders List<string>
    Specify authentication methods in the order of preference
    Dot1xControlDirection string
    Set uni or bi directional authorization mode

    • Choices: both, in
    • Default value: both
    Dot1xControlDirectionVariable string
    Variable name
    Dot1xCriticalVlan int
    Set Critical VLAN

    • Range: 1-4094
    Dot1xCriticalVlanVariable string
    Variable name
    Dot1xEnable bool
    Set 802.1x on off

    • Default value: true
    Dot1xEnableCriticialVoiceVlan bool
    Enable Critical Voice VLAN

    • Default value: false
    Dot1xEnableCriticialVoiceVlanVariable string
    Variable name
    Dot1xEnablePeriodicReauth bool
    Enable Periodic Reauthentication

    • Default value: false
    Dot1xEnablePeriodicReauthVariable string
    Variable name
    Dot1xEnableVariable string
    Variable name
    Dot1xGuestVlan int
    Set vlan to drop non-802.1x enabled clients into if client is not in MAB list

    • Range: 1-4094
    Dot1xGuestVlanVariable string
    Variable name
    Dot1xHostMode string
    Set host mode

    • Choices: single-host, multi-auth, multi-host, multi-domain
    • Default value: single-host
    Dot1xHostModeVariable string
    Variable name
    Dot1xMacAuthenticationBypass bool
    MAC Authentication Bypass

    • Default value: false
    Dot1xMacAuthenticationBypassVariable string
    Variable name
    Dot1xPaeEnable bool
    Set 802.1x Interface Pae Type

    • Default value: true
    Dot1xPaeEnableVariable string
    Variable name
    Dot1xPeriodicReauthInactivityTimeout int
    Periodic Reauthentication Inactivity Timeout (in seconds)

    • Range: 1-1440
    • Default value: 60
    Dot1xPeriodicReauthInactivityTimeoutVariable string
    Variable name
    Dot1xPeriodicReauthInterval int
    Periodic Reauthentication Interval (in seconds)

    • Range: 0-1440
    • Default value: 0
    Dot1xPeriodicReauthIntervalVariable string
    Variable name
    Dot1xPortControl string
    Set Port-Control Mode

    • Choices: auto, force-unauthorized, force-authorized
    • Default value: auto
    Dot1xPortControlVariable string
    Variable name
    Dot1xRestrictedVlan int
    Set Restricted VLAN ID

    • Range: 1-4094
    Dot1xRestrictedVlanVariable string
    Variable name
    Duplex string
    Duplex mode

    • Choices: full, half
    DuplexVariable string
    Variable name
    Name string
    Set Interface name
    NameVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Shutdown bool
    Administrative state

    • Default value: true
    ShutdownVariable string
    Variable name
    Speed string
    Set interface speed

    • Choices: 10, 100, 1000, 2500, 10000
    SpeedVariable string
    Variable name
    SwitchportAccessVlan int
    Set VLAN identifier associated with bridging domain

    • Range: 1-4094
    SwitchportAccessVlanVariable string
    Variable name
    SwitchportMode string
    Set type of switch port: access/trunk

    • Choices: access, trunk
    SwitchportTrunkAllowedVlans string
    Configure VLAN IDs used with the trunk
    SwitchportTrunkAllowedVlansVariable string
    Variable name
    SwitchportTrunkNativeVlan int
    Configure VLAN ID used for native VLAN

    • Range: 1-4094
    SwitchportTrunkNativeVlanVariable string
    Variable name
    VoiceVlan int
    Configure Voice Vlan

    • Range: 1-4094
    VoiceVlanVariable string
    Variable name
    Dot1xAuthenticationOrderVariable string
    Variable name
    Dot1xAuthenticationOrders []string
    Specify authentication methods in the order of preference
    Dot1xControlDirection string
    Set uni or bi directional authorization mode

    • Choices: both, in
    • Default value: both
    Dot1xControlDirectionVariable string
    Variable name
    Dot1xCriticalVlan int
    Set Critical VLAN

    • Range: 1-4094
    Dot1xCriticalVlanVariable string
    Variable name
    Dot1xEnable bool
    Set 802.1x on off

    • Default value: true
    Dot1xEnableCriticialVoiceVlan bool
    Enable Critical Voice VLAN

    • Default value: false
    Dot1xEnableCriticialVoiceVlanVariable string
    Variable name
    Dot1xEnablePeriodicReauth bool
    Enable Periodic Reauthentication

    • Default value: false
    Dot1xEnablePeriodicReauthVariable string
    Variable name
    Dot1xEnableVariable string
    Variable name
    Dot1xGuestVlan int
    Set vlan to drop non-802.1x enabled clients into if client is not in MAB list

    • Range: 1-4094
    Dot1xGuestVlanVariable string
    Variable name
    Dot1xHostMode string
    Set host mode

    • Choices: single-host, multi-auth, multi-host, multi-domain
    • Default value: single-host
    Dot1xHostModeVariable string
    Variable name
    Dot1xMacAuthenticationBypass bool
    MAC Authentication Bypass

    • Default value: false
    Dot1xMacAuthenticationBypassVariable string
    Variable name
    Dot1xPaeEnable bool
    Set 802.1x Interface Pae Type

    • Default value: true
    Dot1xPaeEnableVariable string
    Variable name
    Dot1xPeriodicReauthInactivityTimeout int
    Periodic Reauthentication Inactivity Timeout (in seconds)

    • Range: 1-1440
    • Default value: 60
    Dot1xPeriodicReauthInactivityTimeoutVariable string
    Variable name
    Dot1xPeriodicReauthInterval int
    Periodic Reauthentication Interval (in seconds)

    • Range: 0-1440
    • Default value: 0
    Dot1xPeriodicReauthIntervalVariable string
    Variable name
    Dot1xPortControl string
    Set Port-Control Mode

    • Choices: auto, force-unauthorized, force-authorized
    • Default value: auto
    Dot1xPortControlVariable string
    Variable name
    Dot1xRestrictedVlan int
    Set Restricted VLAN ID

    • Range: 1-4094
    Dot1xRestrictedVlanVariable string
    Variable name
    Duplex string
    Duplex mode

    • Choices: full, half
    DuplexVariable string
    Variable name
    Name string
    Set Interface name
    NameVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Shutdown bool
    Administrative state

    • Default value: true
    ShutdownVariable string
    Variable name
    Speed string
    Set interface speed

    • Choices: 10, 100, 1000, 2500, 10000
    SpeedVariable string
    Variable name
    SwitchportAccessVlan int
    Set VLAN identifier associated with bridging domain

    • Range: 1-4094
    SwitchportAccessVlanVariable string
    Variable name
    SwitchportMode string
    Set type of switch port: access/trunk

    • Choices: access, trunk
    SwitchportTrunkAllowedVlans string
    Configure VLAN IDs used with the trunk
    SwitchportTrunkAllowedVlansVariable string
    Variable name
    SwitchportTrunkNativeVlan int
    Configure VLAN ID used for native VLAN

    • Range: 1-4094
    SwitchportTrunkNativeVlanVariable string
    Variable name
    VoiceVlan int
    Configure Voice Vlan

    • Range: 1-4094
    VoiceVlanVariable string
    Variable name
    dot1xAuthenticationOrderVariable String
    Variable name
    dot1xAuthenticationOrders List<String>
    Specify authentication methods in the order of preference
    dot1xControlDirection String
    Set uni or bi directional authorization mode

    • Choices: both, in
    • Default value: both
    dot1xControlDirectionVariable String
    Variable name
    dot1xCriticalVlan Integer
    Set Critical VLAN

    • Range: 1-4094
    dot1xCriticalVlanVariable String
    Variable name
    dot1xEnable Boolean
    Set 802.1x on off

    • Default value: true
    dot1xEnableCriticialVoiceVlan Boolean
    Enable Critical Voice VLAN

    • Default value: false
    dot1xEnableCriticialVoiceVlanVariable String
    Variable name
    dot1xEnablePeriodicReauth Boolean
    Enable Periodic Reauthentication

    • Default value: false
    dot1xEnablePeriodicReauthVariable String
    Variable name
    dot1xEnableVariable String
    Variable name
    dot1xGuestVlan Integer
    Set vlan to drop non-802.1x enabled clients into if client is not in MAB list

    • Range: 1-4094
    dot1xGuestVlanVariable String
    Variable name
    dot1xHostMode String
    Set host mode

    • Choices: single-host, multi-auth, multi-host, multi-domain
    • Default value: single-host
    dot1xHostModeVariable String
    Variable name
    dot1xMacAuthenticationBypass Boolean
    MAC Authentication Bypass

    • Default value: false
    dot1xMacAuthenticationBypassVariable String
    Variable name
    dot1xPaeEnable Boolean
    Set 802.1x Interface Pae Type

    • Default value: true
    dot1xPaeEnableVariable String
    Variable name
    dot1xPeriodicReauthInactivityTimeout Integer
    Periodic Reauthentication Inactivity Timeout (in seconds)

    • Range: 1-1440
    • Default value: 60
    dot1xPeriodicReauthInactivityTimeoutVariable String
    Variable name
    dot1xPeriodicReauthInterval Integer
    Periodic Reauthentication Interval (in seconds)

    • Range: 0-1440
    • Default value: 0
    dot1xPeriodicReauthIntervalVariable String
    Variable name
    dot1xPortControl String
    Set Port-Control Mode

    • Choices: auto, force-unauthorized, force-authorized
    • Default value: auto
    dot1xPortControlVariable String
    Variable name
    dot1xRestrictedVlan Integer
    Set Restricted VLAN ID

    • Range: 1-4094
    dot1xRestrictedVlanVariable String
    Variable name
    duplex String
    Duplex mode

    • Choices: full, half
    duplexVariable String
    Variable name
    name String
    Set Interface name
    nameVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    shutdown Boolean
    Administrative state

    • Default value: true
    shutdownVariable String
    Variable name
    speed String
    Set interface speed

    • Choices: 10, 100, 1000, 2500, 10000
    speedVariable String
    Variable name
    switchportAccessVlan Integer
    Set VLAN identifier associated with bridging domain

    • Range: 1-4094
    switchportAccessVlanVariable String
    Variable name
    switchportMode String
    Set type of switch port: access/trunk

    • Choices: access, trunk
    switchportTrunkAllowedVlans String
    Configure VLAN IDs used with the trunk
    switchportTrunkAllowedVlansVariable String
    Variable name
    switchportTrunkNativeVlan Integer
    Configure VLAN ID used for native VLAN

    • Range: 1-4094
    switchportTrunkNativeVlanVariable String
    Variable name
    voiceVlan Integer
    Configure Voice Vlan

    • Range: 1-4094
    voiceVlanVariable String
    Variable name
    dot1xAuthenticationOrderVariable string
    Variable name
    dot1xAuthenticationOrders string[]
    Specify authentication methods in the order of preference
    dot1xControlDirection string
    Set uni or bi directional authorization mode

    • Choices: both, in
    • Default value: both
    dot1xControlDirectionVariable string
    Variable name
    dot1xCriticalVlan number
    Set Critical VLAN

    • Range: 1-4094
    dot1xCriticalVlanVariable string
    Variable name
    dot1xEnable boolean
    Set 802.1x on off

    • Default value: true
    dot1xEnableCriticialVoiceVlan boolean
    Enable Critical Voice VLAN

    • Default value: false
    dot1xEnableCriticialVoiceVlanVariable string
    Variable name
    dot1xEnablePeriodicReauth boolean
    Enable Periodic Reauthentication

    • Default value: false
    dot1xEnablePeriodicReauthVariable string
    Variable name
    dot1xEnableVariable string
    Variable name
    dot1xGuestVlan number
    Set vlan to drop non-802.1x enabled clients into if client is not in MAB list

    • Range: 1-4094
    dot1xGuestVlanVariable string
    Variable name
    dot1xHostMode string
    Set host mode

    • Choices: single-host, multi-auth, multi-host, multi-domain
    • Default value: single-host
    dot1xHostModeVariable string
    Variable name
    dot1xMacAuthenticationBypass boolean
    MAC Authentication Bypass

    • Default value: false
    dot1xMacAuthenticationBypassVariable string
    Variable name
    dot1xPaeEnable boolean
    Set 802.1x Interface Pae Type

    • Default value: true
    dot1xPaeEnableVariable string
    Variable name
    dot1xPeriodicReauthInactivityTimeout number
    Periodic Reauthentication Inactivity Timeout (in seconds)

    • Range: 1-1440
    • Default value: 60
    dot1xPeriodicReauthInactivityTimeoutVariable string
    Variable name
    dot1xPeriodicReauthInterval number
    Periodic Reauthentication Interval (in seconds)

    • Range: 0-1440
    • Default value: 0
    dot1xPeriodicReauthIntervalVariable string
    Variable name
    dot1xPortControl string
    Set Port-Control Mode

    • Choices: auto, force-unauthorized, force-authorized
    • Default value: auto
    dot1xPortControlVariable string
    Variable name
    dot1xRestrictedVlan number
    Set Restricted VLAN ID

    • Range: 1-4094
    dot1xRestrictedVlanVariable string
    Variable name
    duplex string
    Duplex mode

    • Choices: full, half
    duplexVariable string
    Variable name
    name string
    Set Interface name
    nameVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    shutdown boolean
    Administrative state

    • Default value: true
    shutdownVariable string
    Variable name
    speed string
    Set interface speed

    • Choices: 10, 100, 1000, 2500, 10000
    speedVariable string
    Variable name
    switchportAccessVlan number
    Set VLAN identifier associated with bridging domain

    • Range: 1-4094
    switchportAccessVlanVariable string
    Variable name
    switchportMode string
    Set type of switch port: access/trunk

    • Choices: access, trunk
    switchportTrunkAllowedVlans string
    Configure VLAN IDs used with the trunk
    switchportTrunkAllowedVlansVariable string
    Variable name
    switchportTrunkNativeVlan number
    Configure VLAN ID used for native VLAN

    • Range: 1-4094
    switchportTrunkNativeVlanVariable string
    Variable name
    voiceVlan number
    Configure Voice Vlan

    • Range: 1-4094
    voiceVlanVariable string
    Variable name
    dot1x_authentication_order_variable str
    Variable name
    dot1x_authentication_orders Sequence[str]
    Specify authentication methods in the order of preference
    dot1x_control_direction str
    Set uni or bi directional authorization mode

    • Choices: both, in
    • Default value: both
    dot1x_control_direction_variable str
    Variable name
    dot1x_critical_vlan int
    Set Critical VLAN

    • Range: 1-4094
    dot1x_critical_vlan_variable str
    Variable name
    dot1x_enable bool
    Set 802.1x on off

    • Default value: true
    dot1x_enable_criticial_voice_vlan bool
    Enable Critical Voice VLAN

    • Default value: false
    dot1x_enable_criticial_voice_vlan_variable str
    Variable name
    dot1x_enable_periodic_reauth bool
    Enable Periodic Reauthentication

    • Default value: false
    dot1x_enable_periodic_reauth_variable str
    Variable name
    dot1x_enable_variable str
    Variable name
    dot1x_guest_vlan int
    Set vlan to drop non-802.1x enabled clients into if client is not in MAB list

    • Range: 1-4094
    dot1x_guest_vlan_variable str
    Variable name
    dot1x_host_mode str
    Set host mode

    • Choices: single-host, multi-auth, multi-host, multi-domain
    • Default value: single-host
    dot1x_host_mode_variable str
    Variable name
    dot1x_mac_authentication_bypass bool
    MAC Authentication Bypass

    • Default value: false
    dot1x_mac_authentication_bypass_variable str
    Variable name
    dot1x_pae_enable bool
    Set 802.1x Interface Pae Type

    • Default value: true
    dot1x_pae_enable_variable str
    Variable name
    dot1x_periodic_reauth_inactivity_timeout int
    Periodic Reauthentication Inactivity Timeout (in seconds)

    • Range: 1-1440
    • Default value: 60
    dot1x_periodic_reauth_inactivity_timeout_variable str
    Variable name
    dot1x_periodic_reauth_interval int
    Periodic Reauthentication Interval (in seconds)

    • Range: 0-1440
    • Default value: 0
    dot1x_periodic_reauth_interval_variable str
    Variable name
    dot1x_port_control str
    Set Port-Control Mode

    • Choices: auto, force-unauthorized, force-authorized
    • Default value: auto
    dot1x_port_control_variable str
    Variable name
    dot1x_restricted_vlan int
    Set Restricted VLAN ID

    • Range: 1-4094
    dot1x_restricted_vlan_variable str
    Variable name
    duplex str
    Duplex mode

    • Choices: full, half
    duplex_variable str
    Variable name
    name str
    Set Interface name
    name_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    shutdown bool
    Administrative state

    • Default value: true
    shutdown_variable str
    Variable name
    speed str
    Set interface speed

    • Choices: 10, 100, 1000, 2500, 10000
    speed_variable str
    Variable name
    switchport_access_vlan int
    Set VLAN identifier associated with bridging domain

    • Range: 1-4094
    switchport_access_vlan_variable str
    Variable name
    switchport_mode str
    Set type of switch port: access/trunk

    • Choices: access, trunk
    switchport_trunk_allowed_vlans str
    Configure VLAN IDs used with the trunk
    switchport_trunk_allowed_vlans_variable str
    Variable name
    switchport_trunk_native_vlan int
    Configure VLAN ID used for native VLAN

    • Range: 1-4094
    switchport_trunk_native_vlan_variable str
    Variable name
    voice_vlan int
    Configure Voice Vlan

    • Range: 1-4094
    voice_vlan_variable str
    Variable name
    dot1xAuthenticationOrderVariable String
    Variable name
    dot1xAuthenticationOrders List<String>
    Specify authentication methods in the order of preference
    dot1xControlDirection String
    Set uni or bi directional authorization mode

    • Choices: both, in
    • Default value: both
    dot1xControlDirectionVariable String
    Variable name
    dot1xCriticalVlan Number
    Set Critical VLAN

    • Range: 1-4094
    dot1xCriticalVlanVariable String
    Variable name
    dot1xEnable Boolean
    Set 802.1x on off

    • Default value: true
    dot1xEnableCriticialVoiceVlan Boolean
    Enable Critical Voice VLAN

    • Default value: false
    dot1xEnableCriticialVoiceVlanVariable String
    Variable name
    dot1xEnablePeriodicReauth Boolean
    Enable Periodic Reauthentication

    • Default value: false
    dot1xEnablePeriodicReauthVariable String
    Variable name
    dot1xEnableVariable String
    Variable name
    dot1xGuestVlan Number
    Set vlan to drop non-802.1x enabled clients into if client is not in MAB list

    • Range: 1-4094
    dot1xGuestVlanVariable String
    Variable name
    dot1xHostMode String
    Set host mode

    • Choices: single-host, multi-auth, multi-host, multi-domain
    • Default value: single-host
    dot1xHostModeVariable String
    Variable name
    dot1xMacAuthenticationBypass Boolean
    MAC Authentication Bypass

    • Default value: false
    dot1xMacAuthenticationBypassVariable String
    Variable name
    dot1xPaeEnable Boolean
    Set 802.1x Interface Pae Type

    • Default value: true
    dot1xPaeEnableVariable String
    Variable name
    dot1xPeriodicReauthInactivityTimeout Number
    Periodic Reauthentication Inactivity Timeout (in seconds)

    • Range: 1-1440
    • Default value: 60
    dot1xPeriodicReauthInactivityTimeoutVariable String
    Variable name
    dot1xPeriodicReauthInterval Number
    Periodic Reauthentication Interval (in seconds)

    • Range: 0-1440
    • Default value: 0
    dot1xPeriodicReauthIntervalVariable String
    Variable name
    dot1xPortControl String
    Set Port-Control Mode

    • Choices: auto, force-unauthorized, force-authorized
    • Default value: auto
    dot1xPortControlVariable String
    Variable name
    dot1xRestrictedVlan Number
    Set Restricted VLAN ID

    • Range: 1-4094
    dot1xRestrictedVlanVariable String
    Variable name
    duplex String
    Duplex mode

    • Choices: full, half
    duplexVariable String
    Variable name
    name String
    Set Interface name
    nameVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    shutdown Boolean
    Administrative state

    • Default value: true
    shutdownVariable String
    Variable name
    speed String
    Set interface speed

    • Choices: 10, 100, 1000, 2500, 10000
    speedVariable String
    Variable name
    switchportAccessVlan Number
    Set VLAN identifier associated with bridging domain

    • Range: 1-4094
    switchportAccessVlanVariable String
    Variable name
    switchportMode String
    Set type of switch port: access/trunk

    • Choices: access, trunk
    switchportTrunkAllowedVlans String
    Configure VLAN IDs used with the trunk
    switchportTrunkAllowedVlansVariable String
    Variable name
    switchportTrunkNativeVlan Number
    Configure VLAN ID used for native VLAN

    • Range: 1-4094
    switchportTrunkNativeVlanVariable String
    Variable name
    voiceVlan Number
    Configure Voice Vlan

    • Range: 1-4094
    voiceVlanVariable String
    Variable name

    SwitchportFeatureTemplateStaticMacAddress, SwitchportFeatureTemplateStaticMacAddressArgs

    IfName string
    Interface name: GigabitEthernet0/<>/<>
    IfNameVariable string
    Variable name
    MacAddress string
    Set MAC address in xxxx.xxxx.xxxx format
    MacAddressVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Vlan int
    Configure VLAN ID used with the mac and interface

    • Range: 1-4094
    VlanVariable string
    Variable name
    IfName string
    Interface name: GigabitEthernet0/<>/<>
    IfNameVariable string
    Variable name
    MacAddress string
    Set MAC address in xxxx.xxxx.xxxx format
    MacAddressVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Vlan int
    Configure VLAN ID used with the mac and interface

    • Range: 1-4094
    VlanVariable string
    Variable name
    ifName String
    Interface name: GigabitEthernet0/<>/<>
    ifNameVariable String
    Variable name
    macAddress String
    Set MAC address in xxxx.xxxx.xxxx format
    macAddressVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    vlan Integer
    Configure VLAN ID used with the mac and interface

    • Range: 1-4094
    vlanVariable String
    Variable name
    ifName string
    Interface name: GigabitEthernet0/<>/<>
    ifNameVariable string
    Variable name
    macAddress string
    Set MAC address in xxxx.xxxx.xxxx format
    macAddressVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    vlan number
    Configure VLAN ID used with the mac and interface

    • Range: 1-4094
    vlanVariable string
    Variable name
    if_name str
    Interface name: GigabitEthernet0/<>/<>
    if_name_variable str
    Variable name
    mac_address str
    Set MAC address in xxxx.xxxx.xxxx format
    mac_address_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    vlan int
    Configure VLAN ID used with the mac and interface

    • Range: 1-4094
    vlan_variable str
    Variable name
    ifName String
    Interface name: GigabitEthernet0/<>/<>
    ifNameVariable String
    Variable name
    macAddress String
    Set MAC address in xxxx.xxxx.xxxx format
    macAddressVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    vlan Number
    Configure VLAN ID used with the mac and interface

    • Range: 1-4094
    vlanVariable String
    Variable name

    Import

    $ pulumi import sdwan:index/switchportFeatureTemplate:SwitchportFeatureTemplate example "f6b2c44c-693c-4763-b010-895aa3d236bd"
    

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

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi