sdwan.ServiceSwitchportFeature
Explore with Pulumi AI
This resource can manage a Service Switchport Feature.
- Minimum SD-WAN Manager version: 20.12.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.ServiceSwitchportFeature;
import com.pulumi.sdwan.ServiceSwitchportFeatureArgs;
import com.pulumi.sdwan.inputs.ServiceSwitchportFeatureInterfaceArgs;
import com.pulumi.sdwan.inputs.ServiceSwitchportFeatureStaticMacAddressArgs;
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 ServiceSwitchportFeature("example", ServiceSwitchportFeatureArgs.builder()
            .name("Example")
            .description("My Example")
            .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
            .interfaces(ServiceSwitchportFeatureInterfaceArgs.builder()
                .interface_name("GigabitEthernet")
                .mode("access")
                .shutdown(true)
                .speed("10")
                .duplex("full")
                .switchport_access_vlan(1)
                .switchport_trunk_allowed_vlans("1")
                .switchport_trunk_native_vlan(1)
                .port_control("auto")
                .voice_vlan(1)
                .pae_enable(true)
                .mac_authentication_bypass(false)
                .host_mode("single-host")
                .enable_periodic_reauth(false)
                .inactivity(60)
                .reauthentication(1)
                .control_direction("both")
                .restricted_vlan(1)
                .guest_vlan(1)
                .critical_vlan(1)
                .enable_voice(false)
                .build())
            .ageOutTime(300)
            .staticMacAddresses(ServiceSwitchportFeatureStaticMacAddressArgs.builder()
                .mac_address("01:02:03:04:05:06")
                .vlan_id(1)
                .interface_name("GigabitEthernet0/0/0")
                .build())
            .build());
    }
}
resources:
  example:
    type: sdwan:ServiceSwitchportFeature
    properties:
      name: Example
      description: My Example
      featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
      interfaces:
        - interface_name: GigabitEthernet
          mode: access
          shutdown: true
          speed: '10'
          duplex: full
          switchport_access_vlan: 1
          switchport_trunk_allowed_vlans: '1'
          switchport_trunk_native_vlan: 1
          port_control: auto
          voice_vlan: 1
          pae_enable: true
          mac_authentication_bypass: false
          host_mode: single-host
          enable_periodic_reauth: false
          inactivity: 60
          reauthentication: 1
          control_direction: both
          restricted_vlan: 1
          guest_vlan: 1
          critical_vlan: 1
          enable_voice: false
      ageOutTime: 300
      staticMacAddresses:
        - mac_address: 01:02:03:04:05:06
          vlan_id: 1
          interface_name: GigabitEthernet0/0/0
Create ServiceSwitchportFeature Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceSwitchportFeature(name: string, args: ServiceSwitchportFeatureArgs, opts?: CustomResourceOptions);@overload
def ServiceSwitchportFeature(resource_name: str,
                             args: ServiceSwitchportFeatureArgs,
                             opts: Optional[ResourceOptions] = None)
@overload
def ServiceSwitchportFeature(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             feature_profile_id: Optional[str] = None,
                             age_out_time: Optional[int] = None,
                             age_out_time_variable: Optional[str] = None,
                             description: Optional[str] = None,
                             interfaces: Optional[Sequence[ServiceSwitchportFeatureInterfaceArgs]] = None,
                             name: Optional[str] = None,
                             static_mac_addresses: Optional[Sequence[ServiceSwitchportFeatureStaticMacAddressArgs]] = None)func NewServiceSwitchportFeature(ctx *Context, name string, args ServiceSwitchportFeatureArgs, opts ...ResourceOption) (*ServiceSwitchportFeature, error)public ServiceSwitchportFeature(string name, ServiceSwitchportFeatureArgs args, CustomResourceOptions? opts = null)
public ServiceSwitchportFeature(String name, ServiceSwitchportFeatureArgs args)
public ServiceSwitchportFeature(String name, ServiceSwitchportFeatureArgs args, CustomResourceOptions options)
type: sdwan:ServiceSwitchportFeature
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 ServiceSwitchportFeatureArgs
- 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 ServiceSwitchportFeatureArgs
- 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 ServiceSwitchportFeatureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceSwitchportFeatureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceSwitchportFeatureArgs
- 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 serviceSwitchportFeatureResource = new Sdwan.ServiceSwitchportFeature("serviceSwitchportFeatureResource", new()
{
    FeatureProfileId = "string",
    AgeOutTime = 0,
    AgeOutTimeVariable = "string",
    Description = "string",
    Interfaces = new[]
    {
        new Sdwan.Inputs.ServiceSwitchportFeatureInterfaceArgs
        {
            ControlDirection = "string",
            ControlDirectionVariable = "string",
            CriticalVlan = 0,
            CriticalVlanVariable = "string",
            Duplex = "string",
            DuplexVariable = "string",
            EnablePeriodicReauth = false,
            EnablePeriodicReauthVariable = "string",
            EnableVoice = false,
            EnableVoiceVariable = "string",
            GuestVlan = 0,
            GuestVlanVariable = "string",
            HostMode = "string",
            HostModeVariable = "string",
            Inactivity = 0,
            InactivityVariable = "string",
            InterfaceName = "string",
            InterfaceNameVariable = "string",
            MacAuthenticationBypass = false,
            MacAuthenticationBypassVariable = "string",
            Mode = "string",
            PaeEnable = false,
            PaeEnableVariable = "string",
            PortControl = "string",
            PortControlVariable = "string",
            Reauthentication = 0,
            ReauthenticationVariable = "string",
            RestrictedVlan = 0,
            RestrictedVlanVariable = "string",
            Shutdown = false,
            ShutdownVariable = "string",
            Speed = "string",
            SpeedVariable = "string",
            SwitchportAccessVlan = 0,
            SwitchportAccessVlanVariable = "string",
            SwitchportTrunkAllowedVlans = "string",
            SwitchportTrunkAllowedVlansVariable = "string",
            SwitchportTrunkNativeVlan = 0,
            SwitchportTrunkNativeVlanVariable = "string",
            VoiceVlan = 0,
            VoiceVlanVariable = "string",
        },
    },
    Name = "string",
    StaticMacAddresses = new[]
    {
        new Sdwan.Inputs.ServiceSwitchportFeatureStaticMacAddressArgs
        {
            InterfaceName = "string",
            InterfaceNameVariable = "string",
            MacAddress = "string",
            MacAddressVariable = "string",
            VlanId = 0,
            VlanIdVariable = "string",
        },
    },
});
example, err := sdwan.NewServiceSwitchportFeature(ctx, "serviceSwitchportFeatureResource", &sdwan.ServiceSwitchportFeatureArgs{
	FeatureProfileId:   pulumi.String("string"),
	AgeOutTime:         pulumi.Int(0),
	AgeOutTimeVariable: pulumi.String("string"),
	Description:        pulumi.String("string"),
	Interfaces: sdwan.ServiceSwitchportFeatureInterfaceArray{
		&sdwan.ServiceSwitchportFeatureInterfaceArgs{
			ControlDirection:                    pulumi.String("string"),
			ControlDirectionVariable:            pulumi.String("string"),
			CriticalVlan:                        pulumi.Int(0),
			CriticalVlanVariable:                pulumi.String("string"),
			Duplex:                              pulumi.String("string"),
			DuplexVariable:                      pulumi.String("string"),
			EnablePeriodicReauth:                pulumi.Bool(false),
			EnablePeriodicReauthVariable:        pulumi.String("string"),
			EnableVoice:                         pulumi.Bool(false),
			EnableVoiceVariable:                 pulumi.String("string"),
			GuestVlan:                           pulumi.Int(0),
			GuestVlanVariable:                   pulumi.String("string"),
			HostMode:                            pulumi.String("string"),
			HostModeVariable:                    pulumi.String("string"),
			Inactivity:                          pulumi.Int(0),
			InactivityVariable:                  pulumi.String("string"),
			InterfaceName:                       pulumi.String("string"),
			InterfaceNameVariable:               pulumi.String("string"),
			MacAuthenticationBypass:             pulumi.Bool(false),
			MacAuthenticationBypassVariable:     pulumi.String("string"),
			Mode:                                pulumi.String("string"),
			PaeEnable:                           pulumi.Bool(false),
			PaeEnableVariable:                   pulumi.String("string"),
			PortControl:                         pulumi.String("string"),
			PortControlVariable:                 pulumi.String("string"),
			Reauthentication:                    pulumi.Int(0),
			ReauthenticationVariable:            pulumi.String("string"),
			RestrictedVlan:                      pulumi.Int(0),
			RestrictedVlanVariable:              pulumi.String("string"),
			Shutdown:                            pulumi.Bool(false),
			ShutdownVariable:                    pulumi.String("string"),
			Speed:                               pulumi.String("string"),
			SpeedVariable:                       pulumi.String("string"),
			SwitchportAccessVlan:                pulumi.Int(0),
			SwitchportAccessVlanVariable:        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"),
		},
	},
	Name: pulumi.String("string"),
	StaticMacAddresses: sdwan.ServiceSwitchportFeatureStaticMacAddressArray{
		&sdwan.ServiceSwitchportFeatureStaticMacAddressArgs{
			InterfaceName:         pulumi.String("string"),
			InterfaceNameVariable: pulumi.String("string"),
			MacAddress:            pulumi.String("string"),
			MacAddressVariable:    pulumi.String("string"),
			VlanId:                pulumi.Int(0),
			VlanIdVariable:        pulumi.String("string"),
		},
	},
})
var serviceSwitchportFeatureResource = new ServiceSwitchportFeature("serviceSwitchportFeatureResource", ServiceSwitchportFeatureArgs.builder()
    .featureProfileId("string")
    .ageOutTime(0)
    .ageOutTimeVariable("string")
    .description("string")
    .interfaces(ServiceSwitchportFeatureInterfaceArgs.builder()
        .controlDirection("string")
        .controlDirectionVariable("string")
        .criticalVlan(0)
        .criticalVlanVariable("string")
        .duplex("string")
        .duplexVariable("string")
        .enablePeriodicReauth(false)
        .enablePeriodicReauthVariable("string")
        .enableVoice(false)
        .enableVoiceVariable("string")
        .guestVlan(0)
        .guestVlanVariable("string")
        .hostMode("string")
        .hostModeVariable("string")
        .inactivity(0)
        .inactivityVariable("string")
        .interfaceName("string")
        .interfaceNameVariable("string")
        .macAuthenticationBypass(false)
        .macAuthenticationBypassVariable("string")
        .mode("string")
        .paeEnable(false)
        .paeEnableVariable("string")
        .portControl("string")
        .portControlVariable("string")
        .reauthentication(0)
        .reauthenticationVariable("string")
        .restrictedVlan(0)
        .restrictedVlanVariable("string")
        .shutdown(false)
        .shutdownVariable("string")
        .speed("string")
        .speedVariable("string")
        .switchportAccessVlan(0)
        .switchportAccessVlanVariable("string")
        .switchportTrunkAllowedVlans("string")
        .switchportTrunkAllowedVlansVariable("string")
        .switchportTrunkNativeVlan(0)
        .switchportTrunkNativeVlanVariable("string")
        .voiceVlan(0)
        .voiceVlanVariable("string")
        .build())
    .name("string")
    .staticMacAddresses(ServiceSwitchportFeatureStaticMacAddressArgs.builder()
        .interfaceName("string")
        .interfaceNameVariable("string")
        .macAddress("string")
        .macAddressVariable("string")
        .vlanId(0)
        .vlanIdVariable("string")
        .build())
    .build());
service_switchport_feature_resource = sdwan.ServiceSwitchportFeature("serviceSwitchportFeatureResource",
    feature_profile_id="string",
    age_out_time=0,
    age_out_time_variable="string",
    description="string",
    interfaces=[{
        "control_direction": "string",
        "control_direction_variable": "string",
        "critical_vlan": 0,
        "critical_vlan_variable": "string",
        "duplex": "string",
        "duplex_variable": "string",
        "enable_periodic_reauth": False,
        "enable_periodic_reauth_variable": "string",
        "enable_voice": False,
        "enable_voice_variable": "string",
        "guest_vlan": 0,
        "guest_vlan_variable": "string",
        "host_mode": "string",
        "host_mode_variable": "string",
        "inactivity": 0,
        "inactivity_variable": "string",
        "interface_name": "string",
        "interface_name_variable": "string",
        "mac_authentication_bypass": False,
        "mac_authentication_bypass_variable": "string",
        "mode": "string",
        "pae_enable": False,
        "pae_enable_variable": "string",
        "port_control": "string",
        "port_control_variable": "string",
        "reauthentication": 0,
        "reauthentication_variable": "string",
        "restricted_vlan": 0,
        "restricted_vlan_variable": "string",
        "shutdown": False,
        "shutdown_variable": "string",
        "speed": "string",
        "speed_variable": "string",
        "switchport_access_vlan": 0,
        "switchport_access_vlan_variable": "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",
    }],
    name="string",
    static_mac_addresses=[{
        "interface_name": "string",
        "interface_name_variable": "string",
        "mac_address": "string",
        "mac_address_variable": "string",
        "vlan_id": 0,
        "vlan_id_variable": "string",
    }])
const serviceSwitchportFeatureResource = new sdwan.ServiceSwitchportFeature("serviceSwitchportFeatureResource", {
    featureProfileId: "string",
    ageOutTime: 0,
    ageOutTimeVariable: "string",
    description: "string",
    interfaces: [{
        controlDirection: "string",
        controlDirectionVariable: "string",
        criticalVlan: 0,
        criticalVlanVariable: "string",
        duplex: "string",
        duplexVariable: "string",
        enablePeriodicReauth: false,
        enablePeriodicReauthVariable: "string",
        enableVoice: false,
        enableVoiceVariable: "string",
        guestVlan: 0,
        guestVlanVariable: "string",
        hostMode: "string",
        hostModeVariable: "string",
        inactivity: 0,
        inactivityVariable: "string",
        interfaceName: "string",
        interfaceNameVariable: "string",
        macAuthenticationBypass: false,
        macAuthenticationBypassVariable: "string",
        mode: "string",
        paeEnable: false,
        paeEnableVariable: "string",
        portControl: "string",
        portControlVariable: "string",
        reauthentication: 0,
        reauthenticationVariable: "string",
        restrictedVlan: 0,
        restrictedVlanVariable: "string",
        shutdown: false,
        shutdownVariable: "string",
        speed: "string",
        speedVariable: "string",
        switchportAccessVlan: 0,
        switchportAccessVlanVariable: "string",
        switchportTrunkAllowedVlans: "string",
        switchportTrunkAllowedVlansVariable: "string",
        switchportTrunkNativeVlan: 0,
        switchportTrunkNativeVlanVariable: "string",
        voiceVlan: 0,
        voiceVlanVariable: "string",
    }],
    name: "string",
    staticMacAddresses: [{
        interfaceName: "string",
        interfaceNameVariable: "string",
        macAddress: "string",
        macAddressVariable: "string",
        vlanId: 0,
        vlanIdVariable: "string",
    }],
});
type: sdwan:ServiceSwitchportFeature
properties:
    ageOutTime: 0
    ageOutTimeVariable: string
    description: string
    featureProfileId: string
    interfaces:
        - controlDirection: string
          controlDirectionVariable: string
          criticalVlan: 0
          criticalVlanVariable: string
          duplex: string
          duplexVariable: string
          enablePeriodicReauth: false
          enablePeriodicReauthVariable: string
          enableVoice: false
          enableVoiceVariable: string
          guestVlan: 0
          guestVlanVariable: string
          hostMode: string
          hostModeVariable: string
          inactivity: 0
          inactivityVariable: string
          interfaceName: string
          interfaceNameVariable: string
          macAuthenticationBypass: false
          macAuthenticationBypassVariable: string
          mode: string
          paeEnable: false
          paeEnableVariable: string
          portControl: string
          portControlVariable: string
          reauthentication: 0
          reauthenticationVariable: string
          restrictedVlan: 0
          restrictedVlanVariable: string
          shutdown: false
          shutdownVariable: string
          speed: string
          speedVariable: string
          switchportAccessVlan: 0
          switchportAccessVlanVariable: string
          switchportTrunkAllowedVlans: string
          switchportTrunkAllowedVlansVariable: string
          switchportTrunkNativeVlan: 0
          switchportTrunkNativeVlanVariable: string
          voiceVlan: 0
          voiceVlanVariable: string
    name: string
    staticMacAddresses:
        - interfaceName: string
          interfaceNameVariable: string
          macAddress: string
          macAddressVariable: string
          vlanId: 0
          vlanIdVariable: string
ServiceSwitchportFeature 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 ServiceSwitchportFeature resource accepts the following input properties:
- FeatureProfile stringId 
- Feature Profile ID
- AgeOut intTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- AgeOut stringTime Variable 
- Variable name
- Description string
- The description of the Feature
- Interfaces
List<ServiceSwitchport Feature Interface> 
- Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- StaticMac List<ServiceAddresses Switchport Feature Static Mac Address> 
- Add static MAC address entries for interface
- FeatureProfile stringId 
- Feature Profile ID
- AgeOut intTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- AgeOut stringTime Variable 
- Variable name
- Description string
- The description of the Feature
- Interfaces
[]ServiceSwitchport Feature Interface Args 
- Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- StaticMac []ServiceAddresses Switchport Feature Static Mac Address Args 
- Add static MAC address entries for interface
- featureProfile StringId 
- Feature Profile ID
- ageOut IntegerTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- ageOut StringTime Variable 
- Variable name
- description String
- The description of the Feature
- interfaces
List<ServiceSwitchport Feature Interface> 
- Interface name: GigabitEthernet0/<>/<> when present
- name String
- The name of the Feature
- staticMac List<ServiceAddresses Switchport Feature Static Mac Address> 
- Add static MAC address entries for interface
- featureProfile stringId 
- Feature Profile ID
- ageOut numberTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- ageOut stringTime Variable 
- Variable name
- description string
- The description of the Feature
- interfaces
ServiceSwitchport Feature Interface[] 
- Interface name: GigabitEthernet0/<>/<> when present
- name string
- The name of the Feature
- staticMac ServiceAddresses Switchport Feature Static Mac Address[] 
- Add static MAC address entries for interface
- feature_profile_ strid 
- Feature Profile ID
- age_out_ inttime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- age_out_ strtime_ variable 
- Variable name
- description str
- The description of the Feature
- interfaces
Sequence[ServiceSwitchport Feature Interface Args] 
- Interface name: GigabitEthernet0/<>/<> when present
- name str
- The name of the Feature
- static_mac_ Sequence[Serviceaddresses Switchport Feature Static Mac Address Args] 
- Add static MAC address entries for interface
- featureProfile StringId 
- Feature Profile ID
- ageOut NumberTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- ageOut StringTime Variable 
- Variable name
- description String
- The description of the Feature
- interfaces List<Property Map>
- Interface name: GigabitEthernet0/<>/<> when present
- name String
- The name of the Feature
- staticMac List<Property Map>Addresses 
- Add static MAC address entries for interface
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceSwitchportFeature resource produces the following output properties:
Look up Existing ServiceSwitchportFeature Resource
Get an existing ServiceSwitchportFeature 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?: ServiceSwitchportFeatureState, opts?: CustomResourceOptions): ServiceSwitchportFeature@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,
        feature_profile_id: Optional[str] = None,
        interfaces: Optional[Sequence[ServiceSwitchportFeatureInterfaceArgs]] = None,
        name: Optional[str] = None,
        static_mac_addresses: Optional[Sequence[ServiceSwitchportFeatureStaticMacAddressArgs]] = None,
        version: Optional[int] = None) -> ServiceSwitchportFeaturefunc GetServiceSwitchportFeature(ctx *Context, name string, id IDInput, state *ServiceSwitchportFeatureState, opts ...ResourceOption) (*ServiceSwitchportFeature, error)public static ServiceSwitchportFeature Get(string name, Input<string> id, ServiceSwitchportFeatureState? state, CustomResourceOptions? opts = null)public static ServiceSwitchportFeature get(String name, Output<String> id, ServiceSwitchportFeatureState state, CustomResourceOptions options)resources:  _:    type: sdwan:ServiceSwitchportFeature    get:      id: ${id}- 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.
- AgeOut intTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- AgeOut stringTime Variable 
- Variable name
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Interfaces
List<ServiceSwitchport Feature Interface> 
- Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- StaticMac List<ServiceAddresses Switchport Feature Static Mac Address> 
- Add static MAC address entries for interface
- Version int
- The version of the Feature
- AgeOut intTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- AgeOut stringTime Variable 
- Variable name
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Interfaces
[]ServiceSwitchport Feature Interface Args 
- Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- StaticMac []ServiceAddresses Switchport Feature Static Mac Address Args 
- Add static MAC address entries for interface
- Version int
- The version of the Feature
- ageOut IntegerTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- ageOut StringTime Variable 
- Variable name
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- interfaces
List<ServiceSwitchport Feature Interface> 
- Interface name: GigabitEthernet0/<>/<> when present
- name String
- The name of the Feature
- staticMac List<ServiceAddresses Switchport Feature Static Mac Address> 
- Add static MAC address entries for interface
- version Integer
- The version of the Feature
- ageOut numberTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- ageOut stringTime Variable 
- Variable name
- description string
- The description of the Feature
- featureProfile stringId 
- Feature Profile ID
- interfaces
ServiceSwitchport Feature Interface[] 
- Interface name: GigabitEthernet0/<>/<> when present
- name string
- The name of the Feature
- staticMac ServiceAddresses Switchport Feature Static Mac Address[] 
- Add static MAC address entries for interface
- version number
- The version of the Feature
- age_out_ inttime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- age_out_ strtime_ variable 
- Variable name
- description str
- The description of the Feature
- feature_profile_ strid 
- Feature Profile ID
- interfaces
Sequence[ServiceSwitchport Feature Interface Args] 
- Interface name: GigabitEthernet0/<>/<> when present
- name str
- The name of the Feature
- static_mac_ Sequence[Serviceaddresses Switchport Feature Static Mac Address Args] 
- Add static MAC address entries for interface
- version int
- The version of the Feature
- ageOut NumberTime 
- Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: 0-1000000- Default value:300
- ageOut StringTime Variable 
- Variable name
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- interfaces List<Property Map>
- Interface name: GigabitEthernet0/<>/<> when present
- name String
- The name of the Feature
- staticMac List<Property Map>Addresses 
- Add static MAC address entries for interface
- version Number
- The version of the Feature
Supporting Types
ServiceSwitchportFeatureInterface, ServiceSwitchportFeatureInterfaceArgs        
- ControlDirection string
- Set uni or bi directional authorization mode- Choices: both,in
 
- Choices: 
- ControlDirection stringVariable 
- Variable name
- CriticalVlan int
- Set Critical VLAN- Range: 1-4094
 
- Range: 
- CriticalVlan stringVariable 
- Variable name
- Duplex string
- Duplex mode- Choices: full,half
 
- Choices: 
- DuplexVariable string
- Variable name
- EnablePeriodic boolReauth 
- Enable Periodic Reauthentication
- EnablePeriodic stringReauth Variable 
- Variable name
- EnableVoice bool
- Enable Critical Voice VLAN
- EnableVoice stringVariable 
- Variable name
- GuestVlan int
- Set vlan to drop non-802.1x enabled clients into if client is not in MAB list- Range: 1-4094
 
- Range: 
- GuestVlan stringVariable 
- Variable name
- HostMode string
- Set host mode- Choices: single-host,multi-auth,multi-host,multi-domain
 
- Choices: 
- HostMode stringVariable 
- Variable name
- Inactivity int
- Periodic Reauthentication Inactivity Timeout (in seconds)- Range: 1-65535
 
- Range: 
- InactivityVariable string
- Variable name
- InterfaceName string
- Set Interface name
- InterfaceName stringVariable 
- Variable name
- MacAuthentication boolBypass 
- MAC Authentication Bypass
- MacAuthentication stringBypass Variable 
- Variable name
- Mode string
- Set type of switch port: access/trunk- Choices: access,trunk
 
- Choices: 
- PaeEnable bool
- Set 802.1x Interface Pae Type
- PaeEnable stringVariable 
- Variable name
- PortControl string
- Set Port-Control Mode- Choices: auto,force-unauthorized,force-authorized
 
- Choices: 
- PortControl stringVariable 
- Variable name
- Reauthentication int
- Periodic Reauthentication Interval (in seconds)- Range: 1-1073741823
- Default value: 3600
 
- Range: 
- ReauthenticationVariable string
- Variable name
- RestrictedVlan int
- Set Restricted VLAN ID- Range: 1-4094
 
- Range: 
- RestrictedVlan stringVariable 
- Variable name
- Shutdown bool
- Administrative state- Default value: true
 
- Default value: 
- ShutdownVariable string
- Variable name
- Speed string
- Set interface speed- Choices: 10,100,1000,2500,10000
 
- Choices: 
- SpeedVariable string
- Variable name
- SwitchportAccess intVlan 
- Set VLAN identifier associated with bridging domain- Range: 1-4094
 
- Range: 
- SwitchportAccess stringVlan Variable 
- Variable name
- SwitchportTrunk stringAllowed Vlans 
- Configure VLAN IDs used with the trunk
- SwitchportTrunk stringAllowed Vlans Variable 
- Variable name
- SwitchportTrunk intNative Vlan 
- Configure VLAN ID used for native VLAN- Range: 1-4094
 
- Range: 
- SwitchportTrunk stringNative Vlan Variable 
- Variable name
- VoiceVlan int
- Configure Voice Vlan- Range: 1-4094
 
- Range: 
- VoiceVlan stringVariable 
- Variable name
- ControlDirection string
- Set uni or bi directional authorization mode- Choices: both,in
 
- Choices: 
- ControlDirection stringVariable 
- Variable name
- CriticalVlan int
- Set Critical VLAN- Range: 1-4094
 
- Range: 
- CriticalVlan stringVariable 
- Variable name
- Duplex string
- Duplex mode- Choices: full,half
 
- Choices: 
- DuplexVariable string
- Variable name
- EnablePeriodic boolReauth 
- Enable Periodic Reauthentication
- EnablePeriodic stringReauth Variable 
- Variable name
- EnableVoice bool
- Enable Critical Voice VLAN
- EnableVoice stringVariable 
- Variable name
- GuestVlan int
- Set vlan to drop non-802.1x enabled clients into if client is not in MAB list- Range: 1-4094
 
- Range: 
- GuestVlan stringVariable 
- Variable name
- HostMode string
- Set host mode- Choices: single-host,multi-auth,multi-host,multi-domain
 
- Choices: 
- HostMode stringVariable 
- Variable name
- Inactivity int
- Periodic Reauthentication Inactivity Timeout (in seconds)- Range: 1-65535
 
- Range: 
- InactivityVariable string
- Variable name
- InterfaceName string
- Set Interface name
- InterfaceName stringVariable 
- Variable name
- MacAuthentication boolBypass 
- MAC Authentication Bypass
- MacAuthentication stringBypass Variable 
- Variable name
- Mode string
- Set type of switch port: access/trunk- Choices: access,trunk
 
- Choices: 
- PaeEnable bool
- Set 802.1x Interface Pae Type
- PaeEnable stringVariable 
- Variable name
- PortControl string
- Set Port-Control Mode- Choices: auto,force-unauthorized,force-authorized
 
- Choices: 
- PortControl stringVariable 
- Variable name
- Reauthentication int
- Periodic Reauthentication Interval (in seconds)- Range: 1-1073741823
- Default value: 3600
 
- Range: 
- ReauthenticationVariable string
- Variable name
- RestrictedVlan int
- Set Restricted VLAN ID- Range: 1-4094
 
- Range: 
- RestrictedVlan stringVariable 
- Variable name
- Shutdown bool
- Administrative state- Default value: true
 
- Default value: 
- ShutdownVariable string
- Variable name
- Speed string
- Set interface speed- Choices: 10,100,1000,2500,10000
 
- Choices: 
- SpeedVariable string
- Variable name
- SwitchportAccess intVlan 
- Set VLAN identifier associated with bridging domain- Range: 1-4094
 
- Range: 
- SwitchportAccess stringVlan Variable 
- Variable name
- SwitchportTrunk stringAllowed Vlans 
- Configure VLAN IDs used with the trunk
- SwitchportTrunk stringAllowed Vlans Variable 
- Variable name
- SwitchportTrunk intNative Vlan 
- Configure VLAN ID used for native VLAN- Range: 1-4094
 
- Range: 
- SwitchportTrunk stringNative Vlan Variable 
- Variable name
- VoiceVlan int
- Configure Voice Vlan- Range: 1-4094
 
- Range: 
- VoiceVlan stringVariable 
- Variable name
- controlDirection String
- Set uni or bi directional authorization mode- Choices: both,in
 
- Choices: 
- controlDirection StringVariable 
- Variable name
- criticalVlan Integer
- Set Critical VLAN- Range: 1-4094
 
- Range: 
- criticalVlan StringVariable 
- Variable name
- duplex String
- Duplex mode- Choices: full,half
 
- Choices: 
- duplexVariable String
- Variable name
- enablePeriodic BooleanReauth 
- Enable Periodic Reauthentication
- enablePeriodic StringReauth Variable 
- Variable name
- enableVoice Boolean
- Enable Critical Voice VLAN
- enableVoice StringVariable 
- Variable name
- guestVlan Integer
- Set vlan to drop non-802.1x enabled clients into if client is not in MAB list- Range: 1-4094
 
- Range: 
- guestVlan StringVariable 
- Variable name
- hostMode String
- Set host mode- Choices: single-host,multi-auth,multi-host,multi-domain
 
- Choices: 
- hostMode StringVariable 
- Variable name
- inactivity Integer
- Periodic Reauthentication Inactivity Timeout (in seconds)- Range: 1-65535
 
- Range: 
- inactivityVariable String
- Variable name
- interfaceName String
- Set Interface name
- interfaceName StringVariable 
- Variable name
- macAuthentication BooleanBypass 
- MAC Authentication Bypass
- macAuthentication StringBypass Variable 
- Variable name
- mode String
- Set type of switch port: access/trunk- Choices: access,trunk
 
- Choices: 
- paeEnable Boolean
- Set 802.1x Interface Pae Type
- paeEnable StringVariable 
- Variable name
- portControl String
- Set Port-Control Mode- Choices: auto,force-unauthorized,force-authorized
 
- Choices: 
- portControl StringVariable 
- Variable name
- reauthentication Integer
- Periodic Reauthentication Interval (in seconds)- Range: 1-1073741823
- Default value: 3600
 
- Range: 
- reauthenticationVariable String
- Variable name
- restrictedVlan Integer
- Set Restricted VLAN ID- Range: 1-4094
 
- Range: 
- restrictedVlan StringVariable 
- Variable name
- shutdown Boolean
- Administrative state- Default value: true
 
- Default value: 
- shutdownVariable String
- Variable name
- speed String
- Set interface speed- Choices: 10,100,1000,2500,10000
 
- Choices: 
- speedVariable String
- Variable name
- switchportAccess IntegerVlan 
- Set VLAN identifier associated with bridging domain- Range: 1-4094
 
- Range: 
- switchportAccess StringVlan Variable 
- Variable name
- switchportTrunk StringAllowed Vlans 
- Configure VLAN IDs used with the trunk
- switchportTrunk StringAllowed Vlans Variable 
- Variable name
- switchportTrunk IntegerNative Vlan 
- Configure VLAN ID used for native VLAN- Range: 1-4094
 
- Range: 
- switchportTrunk StringNative Vlan Variable 
- Variable name
- voiceVlan Integer
- Configure Voice Vlan- Range: 1-4094
 
- Range: 
- voiceVlan StringVariable 
- Variable name
- controlDirection string
- Set uni or bi directional authorization mode- Choices: both,in
 
- Choices: 
- controlDirection stringVariable 
- Variable name
- criticalVlan number
- Set Critical VLAN- Range: 1-4094
 
- Range: 
- criticalVlan stringVariable 
- Variable name
- duplex string
- Duplex mode- Choices: full,half
 
- Choices: 
- duplexVariable string
- Variable name
- enablePeriodic booleanReauth 
- Enable Periodic Reauthentication
- enablePeriodic stringReauth Variable 
- Variable name
- enableVoice boolean
- Enable Critical Voice VLAN
- enableVoice stringVariable 
- Variable name
- guestVlan number
- Set vlan to drop non-802.1x enabled clients into if client is not in MAB list- Range: 1-4094
 
- Range: 
- guestVlan stringVariable 
- Variable name
- hostMode string
- Set host mode- Choices: single-host,multi-auth,multi-host,multi-domain
 
- Choices: 
- hostMode stringVariable 
- Variable name
- inactivity number
- Periodic Reauthentication Inactivity Timeout (in seconds)- Range: 1-65535
 
- Range: 
- inactivityVariable string
- Variable name
- interfaceName string
- Set Interface name
- interfaceName stringVariable 
- Variable name
- macAuthentication booleanBypass 
- MAC Authentication Bypass
- macAuthentication stringBypass Variable 
- Variable name
- mode string
- Set type of switch port: access/trunk- Choices: access,trunk
 
- Choices: 
- paeEnable boolean
- Set 802.1x Interface Pae Type
- paeEnable stringVariable 
- Variable name
- portControl string
- Set Port-Control Mode- Choices: auto,force-unauthorized,force-authorized
 
- Choices: 
- portControl stringVariable 
- Variable name
- reauthentication number
- Periodic Reauthentication Interval (in seconds)- Range: 1-1073741823
- Default value: 3600
 
- Range: 
- reauthenticationVariable string
- Variable name
- restrictedVlan number
- Set Restricted VLAN ID- Range: 1-4094
 
- Range: 
- restrictedVlan stringVariable 
- Variable name
- shutdown boolean
- Administrative state- Default value: true
 
- Default value: 
- shutdownVariable string
- Variable name
- speed string
- Set interface speed- Choices: 10,100,1000,2500,10000
 
- Choices: 
- speedVariable string
- Variable name
- switchportAccess numberVlan 
- Set VLAN identifier associated with bridging domain- Range: 1-4094
 
- Range: 
- switchportAccess stringVlan Variable 
- Variable name
- switchportTrunk stringAllowed Vlans 
- Configure VLAN IDs used with the trunk
- switchportTrunk stringAllowed Vlans Variable 
- Variable name
- switchportTrunk numberNative Vlan 
- Configure VLAN ID used for native VLAN- Range: 1-4094
 
- Range: 
- switchportTrunk stringNative Vlan Variable 
- Variable name
- voiceVlan number
- Configure Voice Vlan- Range: 1-4094
 
- Range: 
- voiceVlan stringVariable 
- Variable name
- control_direction str
- Set uni or bi directional authorization mode- Choices: both,in
 
- Choices: 
- control_direction_ strvariable 
- Variable name
- critical_vlan int
- Set Critical VLAN- Range: 1-4094
 
- Range: 
- critical_vlan_ strvariable 
- Variable name
- duplex str
- Duplex mode- Choices: full,half
 
- Choices: 
- duplex_variable str
- Variable name
- enable_periodic_ boolreauth 
- Enable Periodic Reauthentication
- enable_periodic_ strreauth_ variable 
- Variable name
- enable_voice bool
- Enable Critical Voice VLAN
- enable_voice_ strvariable 
- Variable name
- guest_vlan int
- Set vlan to drop non-802.1x enabled clients into if client is not in MAB list- Range: 1-4094
 
- Range: 
- guest_vlan_ strvariable 
- Variable name
- host_mode str
- Set host mode- Choices: single-host,multi-auth,multi-host,multi-domain
 
- Choices: 
- host_mode_ strvariable 
- Variable name
- inactivity int
- Periodic Reauthentication Inactivity Timeout (in seconds)- Range: 1-65535
 
- Range: 
- inactivity_variable str
- Variable name
- interface_name str
- Set Interface name
- interface_name_ strvariable 
- Variable name
- mac_authentication_ boolbypass 
- MAC Authentication Bypass
- mac_authentication_ strbypass_ variable 
- Variable name
- mode str
- Set type of switch port: access/trunk- Choices: access,trunk
 
- Choices: 
- pae_enable bool
- Set 802.1x Interface Pae Type
- pae_enable_ strvariable 
- Variable name
- port_control str
- Set Port-Control Mode- Choices: auto,force-unauthorized,force-authorized
 
- Choices: 
- port_control_ strvariable 
- Variable name
- reauthentication int
- Periodic Reauthentication Interval (in seconds)- Range: 1-1073741823
- Default value: 3600
 
- Range: 
- reauthentication_variable str
- Variable name
- restricted_vlan int
- Set Restricted VLAN ID- Range: 1-4094
 
- Range: 
- restricted_vlan_ strvariable 
- Variable name
- shutdown bool
- Administrative state- Default value: true
 
- Default value: 
- shutdown_variable str
- Variable name
- speed str
- Set interface speed- Choices: 10,100,1000,2500,10000
 
- Choices: 
- speed_variable str
- Variable name
- switchport_access_ intvlan 
- Set VLAN identifier associated with bridging domain- Range: 1-4094
 
- Range: 
- switchport_access_ strvlan_ variable 
- Variable name
- switchport_trunk_ strallowed_ vlans 
- Configure VLAN IDs used with the trunk
- switchport_trunk_ strallowed_ vlans_ variable 
- Variable name
- switchport_trunk_ intnative_ vlan 
- Configure VLAN ID used for native VLAN- Range: 1-4094
 
- Range: 
- switchport_trunk_ strnative_ vlan_ variable 
- Variable name
- voice_vlan int
- Configure Voice Vlan- Range: 1-4094
 
- Range: 
- voice_vlan_ strvariable 
- Variable name
- controlDirection String
- Set uni or bi directional authorization mode- Choices: both,in
 
- Choices: 
- controlDirection StringVariable 
- Variable name
- criticalVlan Number
- Set Critical VLAN- Range: 1-4094
 
- Range: 
- criticalVlan StringVariable 
- Variable name
- duplex String
- Duplex mode- Choices: full,half
 
- Choices: 
- duplexVariable String
- Variable name
- enablePeriodic BooleanReauth 
- Enable Periodic Reauthentication
- enablePeriodic StringReauth Variable 
- Variable name
- enableVoice Boolean
- Enable Critical Voice VLAN
- enableVoice StringVariable 
- Variable name
- guestVlan Number
- Set vlan to drop non-802.1x enabled clients into if client is not in MAB list- Range: 1-4094
 
- Range: 
- guestVlan StringVariable 
- Variable name
- hostMode String
- Set host mode- Choices: single-host,multi-auth,multi-host,multi-domain
 
- Choices: 
- hostMode StringVariable 
- Variable name
- inactivity Number
- Periodic Reauthentication Inactivity Timeout (in seconds)- Range: 1-65535
 
- Range: 
- inactivityVariable String
- Variable name
- interfaceName String
- Set Interface name
- interfaceName StringVariable 
- Variable name
- macAuthentication BooleanBypass 
- MAC Authentication Bypass
- macAuthentication StringBypass Variable 
- Variable name
- mode String
- Set type of switch port: access/trunk- Choices: access,trunk
 
- Choices: 
- paeEnable Boolean
- Set 802.1x Interface Pae Type
- paeEnable StringVariable 
- Variable name
- portControl String
- Set Port-Control Mode- Choices: auto,force-unauthorized,force-authorized
 
- Choices: 
- portControl StringVariable 
- Variable name
- reauthentication Number
- Periodic Reauthentication Interval (in seconds)- Range: 1-1073741823
- Default value: 3600
 
- Range: 
- reauthenticationVariable String
- Variable name
- restrictedVlan Number
- Set Restricted VLAN ID- Range: 1-4094
 
- Range: 
- restrictedVlan StringVariable 
- Variable name
- shutdown Boolean
- Administrative state- Default value: true
 
- Default value: 
- shutdownVariable String
- Variable name
- speed String
- Set interface speed- Choices: 10,100,1000,2500,10000
 
- Choices: 
- speedVariable String
- Variable name
- switchportAccess NumberVlan 
- Set VLAN identifier associated with bridging domain- Range: 1-4094
 
- Range: 
- switchportAccess StringVlan Variable 
- Variable name
- switchportTrunk StringAllowed Vlans 
- Configure VLAN IDs used with the trunk
- switchportTrunk StringAllowed Vlans Variable 
- Variable name
- switchportTrunk NumberNative Vlan 
- Configure VLAN ID used for native VLAN- Range: 1-4094
 
- Range: 
- switchportTrunk StringNative Vlan Variable 
- Variable name
- voiceVlan Number
- Configure Voice Vlan- Range: 1-4094
 
- Range: 
- voiceVlan StringVariable 
- Variable name
ServiceSwitchportFeatureStaticMacAddress, ServiceSwitchportFeatureStaticMacAddressArgs            
- InterfaceName string
- Interface name: GigabitEthernet0/<>/<>
- InterfaceName stringVariable 
- Variable name
- MacAddress string
- Set MAC address in xxxx.xxxx.xxxx format
- MacAddress stringVariable 
- Variable name
- VlanId int
- Configure VLAN ID used with the mac and interface- Range: 1-4094
 
- Range: 
- VlanId stringVariable 
- Variable name
- InterfaceName string
- Interface name: GigabitEthernet0/<>/<>
- InterfaceName stringVariable 
- Variable name
- MacAddress string
- Set MAC address in xxxx.xxxx.xxxx format
- MacAddress stringVariable 
- Variable name
- VlanId int
- Configure VLAN ID used with the mac and interface- Range: 1-4094
 
- Range: 
- VlanId stringVariable 
- Variable name
- interfaceName String
- Interface name: GigabitEthernet0/<>/<>
- interfaceName StringVariable 
- Variable name
- macAddress String
- Set MAC address in xxxx.xxxx.xxxx format
- macAddress StringVariable 
- Variable name
- vlanId Integer
- Configure VLAN ID used with the mac and interface- Range: 1-4094
 
- Range: 
- vlanId StringVariable 
- Variable name
- interfaceName string
- Interface name: GigabitEthernet0/<>/<>
- interfaceName stringVariable 
- Variable name
- macAddress string
- Set MAC address in xxxx.xxxx.xxxx format
- macAddress stringVariable 
- Variable name
- vlanId number
- Configure VLAN ID used with the mac and interface- Range: 1-4094
 
- Range: 
- vlanId stringVariable 
- Variable name
- interface_name str
- Interface name: GigabitEthernet0/<>/<>
- interface_name_ strvariable 
- Variable name
- mac_address str
- Set MAC address in xxxx.xxxx.xxxx format
- mac_address_ strvariable 
- Variable name
- vlan_id int
- Configure VLAN ID used with the mac and interface- Range: 1-4094
 
- Range: 
- vlan_id_ strvariable 
- Variable name
- interfaceName String
- Interface name: GigabitEthernet0/<>/<>
- interfaceName StringVariable 
- Variable name
- macAddress String
- Set MAC address in xxxx.xxxx.xxxx format
- macAddress StringVariable 
- Variable name
- vlanId Number
- Configure VLAN ID used with the mac and interface- Range: 1-4094
 
- Range: 
- vlanId StringVariable 
- Variable name
Import
Expected import identifier with the format: “service_switchport_feature_id,feature_profile_id”
$ pulumi import sdwan:index/serviceSwitchportFeature:ServiceSwitchportFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
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 sdwanTerraform Provider.
