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:
- Feature
Profile stringId - 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 stringTime Variable - Variable name
- Description string
- The description of the Feature
- Interfaces
List<Service
Switchport Feature Interface> - Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- Static
Mac List<ServiceAddresses Switchport Feature Static Mac Address> - Add static MAC address entries for interface
- Feature
Profile stringId - 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 stringTime Variable - Variable name
- Description string
- The description of the Feature
- Interfaces
[]Service
Switchport Feature Interface Args - Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- Static
Mac []ServiceAddresses Switchport Feature Static Mac Address Args - Add static MAC address entries for interface
- feature
Profile StringId - Feature Profile ID
- age
Out IntegerTime - Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range:
0
-1000000
- Default value:300
- age
Out StringTime Variable - Variable name
- description String
- The description of the Feature
- interfaces
List<Service
Switchport Feature Interface> - Interface name: GigabitEthernet0/<>/<> when present
- name String
- The name of the Feature
- static
Mac List<ServiceAddresses Switchport Feature Static Mac Address> - Add static MAC address entries for interface
- feature
Profile stringId - Feature Profile ID
- age
Out numberTime - Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range:
0
-1000000
- Default value:300
- age
Out stringTime Variable - Variable name
- description string
- The description of the Feature
- interfaces
Service
Switchport Feature Interface[] - Interface name: GigabitEthernet0/<>/<> when present
- name string
- The name of the Feature
- static
Mac 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[Service
Switchport 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
- feature
Profile StringId - Feature Profile ID
- age
Out NumberTime - Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range:
0
-1000000
- Default value:300
- age
Out 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
- static
Mac 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) -> ServiceSwitchportFeature
func 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)
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.
- 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 stringTime Variable - Variable name
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Interfaces
List<Service
Switchport Feature Interface> - Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- Static
Mac List<ServiceAddresses Switchport Feature Static Mac Address> - Add static MAC address entries for interface
- Version int
- 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 stringTime Variable - Variable name
- Description string
- The description of the Feature
- Feature
Profile stringId - Feature Profile ID
- Interfaces
[]Service
Switchport Feature Interface Args - Interface name: GigabitEthernet0/<>/<> when present
- Name string
- The name of the Feature
- Static
Mac []ServiceAddresses Switchport Feature Static Mac Address Args - Add static MAC address entries for interface
- Version int
- The version of the Feature
- age
Out IntegerTime - Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range:
0
-1000000
- Default value:300
- age
Out StringTime Variable - Variable name
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- interfaces
List<Service
Switchport Feature Interface> - Interface name: GigabitEthernet0/<>/<> when present
- name String
- The name of the Feature
- static
Mac List<ServiceAddresses Switchport Feature Static Mac Address> - Add static MAC address entries for interface
- version Integer
- The version of the Feature
- age
Out numberTime - Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range:
0
-1000000
- Default value:300
- age
Out stringTime Variable - Variable name
- description string
- The description of the Feature
- feature
Profile stringId - Feature Profile ID
- interfaces
Service
Switchport Feature Interface[] - Interface name: GigabitEthernet0/<>/<> when present
- name string
- The name of the Feature
- static
Mac 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[Service
Switchport 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
- age
Out NumberTime - Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range:
0
-1000000
- Default value:300
- age
Out StringTime Variable - Variable name
- description String
- The description of the Feature
- feature
Profile StringId - Feature Profile ID
- interfaces List<Property Map>
- Interface name: GigabitEthernet0/<>/<> when present
- name String
- The name of the Feature
- static
Mac List<Property Map>Addresses - Add static MAC address entries for interface
- version Number
- The version of the Feature
Supporting Types
ServiceSwitchportFeatureInterface, ServiceSwitchportFeatureInterfaceArgs
- Control
Direction string - Set uni or bi directional authorization mode
- Choices:
both
,in
- Choices:
- Control
Direction stringVariable - Variable name
- Critical
Vlan int - Set Critical VLAN
- Range:
1
-4094
- Range:
- Critical
Vlan stringVariable - Variable name
- Duplex string
- Duplex mode
- Choices:
full
,half
- Choices:
- Duplex
Variable string - Variable name
- Enable
Periodic boolReauth - Enable Periodic Reauthentication
- Enable
Periodic stringReauth Variable - Variable name
- Enable
Voice bool - Enable Critical Voice VLAN
- Enable
Voice stringVariable - 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 stringVariable - Variable name
- Host
Mode string - Set host mode
- Choices:
single-host
,multi-auth
,multi-host
,multi-domain
- Choices:
- Host
Mode stringVariable - Variable name
- Inactivity int
- Periodic Reauthentication Inactivity Timeout (in seconds)
- Range:
1
-65535
- Range:
- Inactivity
Variable string - Variable name
- Interface
Name string - Set Interface name
- Interface
Name stringVariable - Variable name
- Mac
Authentication boolBypass - MAC Authentication Bypass
- Mac
Authentication stringBypass Variable - Variable name
- Mode string
- Set type of switch port: access/trunk
- Choices:
access
,trunk
- Choices:
- Pae
Enable bool - Set 802.1x Interface Pae Type
- Pae
Enable stringVariable - Variable name
- Port
Control string - Set Port-Control Mode
- Choices:
auto
,force-unauthorized
,force-authorized
- Choices:
- Port
Control stringVariable - Variable name
- Reauthentication int
- Periodic Reauthentication Interval (in seconds)
- Range:
1
-1073741823
- Default value:
3600
- Range:
- Reauthentication
Variable string - Variable name
- Restricted
Vlan int - Set Restricted VLAN ID
- Range:
1
-4094
- Range:
- Restricted
Vlan stringVariable - Variable name
- Shutdown bool
- Administrative state
- Default value:
true
- Default value:
- Shutdown
Variable string - Variable name
- Speed string
- Set interface speed
- Choices:
10
,100
,1000
,2500
,10000
- Choices:
- Speed
Variable string - Variable name
- Switchport
Access intVlan - Set VLAN identifier associated with bridging domain
- Range:
1
-4094
- Range:
- Switchport
Access stringVlan Variable - Variable name
- Switchport
Trunk stringAllowed Vlans - Configure VLAN IDs used with the trunk
- Switchport
Trunk stringAllowed Vlans Variable - Variable name
- Switchport
Trunk intNative Vlan - Configure VLAN ID used for native VLAN
- Range:
1
-4094
- Range:
- Switchport
Trunk stringNative Vlan Variable - Variable name
- Voice
Vlan int - Configure Voice Vlan
- Range:
1
-4094
- Range:
- Voice
Vlan stringVariable - Variable name
- Control
Direction string - Set uni or bi directional authorization mode
- Choices:
both
,in
- Choices:
- Control
Direction stringVariable - Variable name
- Critical
Vlan int - Set Critical VLAN
- Range:
1
-4094
- Range:
- Critical
Vlan stringVariable - Variable name
- Duplex string
- Duplex mode
- Choices:
full
,half
- Choices:
- Duplex
Variable string - Variable name
- Enable
Periodic boolReauth - Enable Periodic Reauthentication
- Enable
Periodic stringReauth Variable - Variable name
- Enable
Voice bool - Enable Critical Voice VLAN
- Enable
Voice stringVariable - 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 stringVariable - Variable name
- Host
Mode string - Set host mode
- Choices:
single-host
,multi-auth
,multi-host
,multi-domain
- Choices:
- Host
Mode stringVariable - Variable name
- Inactivity int
- Periodic Reauthentication Inactivity Timeout (in seconds)
- Range:
1
-65535
- Range:
- Inactivity
Variable string - Variable name
- Interface
Name string - Set Interface name
- Interface
Name stringVariable - Variable name
- Mac
Authentication boolBypass - MAC Authentication Bypass
- Mac
Authentication stringBypass Variable - Variable name
- Mode string
- Set type of switch port: access/trunk
- Choices:
access
,trunk
- Choices:
- Pae
Enable bool - Set 802.1x Interface Pae Type
- Pae
Enable stringVariable - Variable name
- Port
Control string - Set Port-Control Mode
- Choices:
auto
,force-unauthorized
,force-authorized
- Choices:
- Port
Control stringVariable - Variable name
- Reauthentication int
- Periodic Reauthentication Interval (in seconds)
- Range:
1
-1073741823
- Default value:
3600
- Range:
- Reauthentication
Variable string - Variable name
- Restricted
Vlan int - Set Restricted VLAN ID
- Range:
1
-4094
- Range:
- Restricted
Vlan stringVariable - Variable name
- Shutdown bool
- Administrative state
- Default value:
true
- Default value:
- Shutdown
Variable string - Variable name
- Speed string
- Set interface speed
- Choices:
10
,100
,1000
,2500
,10000
- Choices:
- Speed
Variable string - Variable name
- Switchport
Access intVlan - Set VLAN identifier associated with bridging domain
- Range:
1
-4094
- Range:
- Switchport
Access stringVlan Variable - Variable name
- Switchport
Trunk stringAllowed Vlans - Configure VLAN IDs used with the trunk
- Switchport
Trunk stringAllowed Vlans Variable - Variable name
- Switchport
Trunk intNative Vlan - Configure VLAN ID used for native VLAN
- Range:
1
-4094
- Range:
- Switchport
Trunk stringNative Vlan Variable - Variable name
- Voice
Vlan int - Configure Voice Vlan
- Range:
1
-4094
- Range:
- Voice
Vlan stringVariable - Variable name
- control
Direction String - Set uni or bi directional authorization mode
- Choices:
both
,in
- Choices:
- control
Direction StringVariable - Variable name
- critical
Vlan Integer - Set Critical VLAN
- Range:
1
-4094
- Range:
- critical
Vlan StringVariable - Variable name
- duplex String
- Duplex mode
- Choices:
full
,half
- Choices:
- duplex
Variable String - Variable name
- enable
Periodic BooleanReauth - Enable Periodic Reauthentication
- enable
Periodic StringReauth Variable - Variable name
- enable
Voice Boolean - Enable Critical Voice VLAN
- enable
Voice StringVariable - Variable name
- guest
Vlan Integer - Set vlan to drop non-802.1x enabled clients into if client is not in MAB list
- Range:
1
-4094
- Range:
- guest
Vlan StringVariable - Variable name
- host
Mode String - Set host mode
- Choices:
single-host
,multi-auth
,multi-host
,multi-domain
- Choices:
- host
Mode StringVariable - Variable name
- inactivity Integer
- Periodic Reauthentication Inactivity Timeout (in seconds)
- Range:
1
-65535
- Range:
- inactivity
Variable String - Variable name
- interface
Name String - Set Interface name
- interface
Name StringVariable - Variable name
- mac
Authentication BooleanBypass - MAC Authentication Bypass
- mac
Authentication StringBypass Variable - Variable name
- mode String
- Set type of switch port: access/trunk
- Choices:
access
,trunk
- Choices:
- pae
Enable Boolean - Set 802.1x Interface Pae Type
- pae
Enable StringVariable - Variable name
- port
Control String - Set Port-Control Mode
- Choices:
auto
,force-unauthorized
,force-authorized
- Choices:
- port
Control StringVariable - Variable name
- reauthentication Integer
- Periodic Reauthentication Interval (in seconds)
- Range:
1
-1073741823
- Default value:
3600
- Range:
- reauthentication
Variable String - Variable name
- restricted
Vlan Integer - Set Restricted VLAN ID
- Range:
1
-4094
- Range:
- restricted
Vlan StringVariable - Variable name
- shutdown Boolean
- Administrative state
- Default value:
true
- Default value:
- shutdown
Variable String - Variable name
- speed String
- Set interface speed
- Choices:
10
,100
,1000
,2500
,10000
- Choices:
- speed
Variable String - Variable name
- switchport
Access IntegerVlan - Set VLAN identifier associated with bridging domain
- Range:
1
-4094
- Range:
- switchport
Access StringVlan Variable - Variable name
- switchport
Trunk StringAllowed Vlans - Configure VLAN IDs used with the trunk
- switchport
Trunk StringAllowed Vlans Variable - Variable name
- switchport
Trunk IntegerNative Vlan - Configure VLAN ID used for native VLAN
- Range:
1
-4094
- Range:
- switchport
Trunk StringNative Vlan Variable - Variable name
- voice
Vlan Integer - Configure Voice Vlan
- Range:
1
-4094
- Range:
- voice
Vlan StringVariable - Variable name
- control
Direction string - Set uni or bi directional authorization mode
- Choices:
both
,in
- Choices:
- control
Direction stringVariable - Variable name
- critical
Vlan number - Set Critical VLAN
- Range:
1
-4094
- Range:
- critical
Vlan stringVariable - Variable name
- duplex string
- Duplex mode
- Choices:
full
,half
- Choices:
- duplex
Variable string - Variable name
- enable
Periodic booleanReauth - Enable Periodic Reauthentication
- enable
Periodic stringReauth Variable - Variable name
- enable
Voice boolean - Enable Critical Voice VLAN
- enable
Voice stringVariable - Variable name
- guest
Vlan number - Set vlan to drop non-802.1x enabled clients into if client is not in MAB list
- Range:
1
-4094
- Range:
- guest
Vlan stringVariable - Variable name
- host
Mode string - Set host mode
- Choices:
single-host
,multi-auth
,multi-host
,multi-domain
- Choices:
- host
Mode stringVariable - Variable name
- inactivity number
- Periodic Reauthentication Inactivity Timeout (in seconds)
- Range:
1
-65535
- Range:
- inactivity
Variable string - Variable name
- interface
Name string - Set Interface name
- interface
Name stringVariable - Variable name
- mac
Authentication booleanBypass - MAC Authentication Bypass
- mac
Authentication stringBypass Variable - Variable name
- mode string
- Set type of switch port: access/trunk
- Choices:
access
,trunk
- Choices:
- pae
Enable boolean - Set 802.1x Interface Pae Type
- pae
Enable stringVariable - Variable name
- port
Control string - Set Port-Control Mode
- Choices:
auto
,force-unauthorized
,force-authorized
- Choices:
- port
Control stringVariable - Variable name
- reauthentication number
- Periodic Reauthentication Interval (in seconds)
- Range:
1
-1073741823
- Default value:
3600
- Range:
- reauthentication
Variable string - Variable name
- restricted
Vlan number - Set Restricted VLAN ID
- Range:
1
-4094
- Range:
- restricted
Vlan stringVariable - Variable name
- shutdown boolean
- Administrative state
- Default value:
true
- Default value:
- shutdown
Variable string - Variable name
- speed string
- Set interface speed
- Choices:
10
,100
,1000
,2500
,10000
- Choices:
- speed
Variable string - Variable name
- switchport
Access numberVlan - Set VLAN identifier associated with bridging domain
- Range:
1
-4094
- Range:
- switchport
Access stringVlan Variable - Variable name
- switchport
Trunk stringAllowed Vlans - Configure VLAN IDs used with the trunk
- switchport
Trunk stringAllowed Vlans Variable - Variable name
- switchport
Trunk numberNative Vlan - Configure VLAN ID used for native VLAN
- Range:
1
-4094
- Range:
- switchport
Trunk stringNative Vlan Variable - Variable name
- voice
Vlan number - Configure Voice Vlan
- Range:
1
-4094
- Range:
- voice
Vlan 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
- control
Direction String - Set uni or bi directional authorization mode
- Choices:
both
,in
- Choices:
- control
Direction StringVariable - Variable name
- critical
Vlan Number - Set Critical VLAN
- Range:
1
-4094
- Range:
- critical
Vlan StringVariable - Variable name
- duplex String
- Duplex mode
- Choices:
full
,half
- Choices:
- duplex
Variable String - Variable name
- enable
Periodic BooleanReauth - Enable Periodic Reauthentication
- enable
Periodic StringReauth Variable - Variable name
- enable
Voice Boolean - Enable Critical Voice VLAN
- enable
Voice StringVariable - Variable name
- guest
Vlan Number - Set vlan to drop non-802.1x enabled clients into if client is not in MAB list
- Range:
1
-4094
- Range:
- guest
Vlan StringVariable - Variable name
- host
Mode String - Set host mode
- Choices:
single-host
,multi-auth
,multi-host
,multi-domain
- Choices:
- host
Mode StringVariable - Variable name
- inactivity Number
- Periodic Reauthentication Inactivity Timeout (in seconds)
- Range:
1
-65535
- Range:
- inactivity
Variable String - Variable name
- interface
Name String - Set Interface name
- interface
Name StringVariable - Variable name
- mac
Authentication BooleanBypass - MAC Authentication Bypass
- mac
Authentication StringBypass Variable - Variable name
- mode String
- Set type of switch port: access/trunk
- Choices:
access
,trunk
- Choices:
- pae
Enable Boolean - Set 802.1x Interface Pae Type
- pae
Enable StringVariable - Variable name
- port
Control String - Set Port-Control Mode
- Choices:
auto
,force-unauthorized
,force-authorized
- Choices:
- port
Control StringVariable - Variable name
- reauthentication Number
- Periodic Reauthentication Interval (in seconds)
- Range:
1
-1073741823
- Default value:
3600
- Range:
- reauthentication
Variable String - Variable name
- restricted
Vlan Number - Set Restricted VLAN ID
- Range:
1
-4094
- Range:
- restricted
Vlan StringVariable - Variable name
- shutdown Boolean
- Administrative state
- Default value:
true
- Default value:
- shutdown
Variable String - Variable name
- speed String
- Set interface speed
- Choices:
10
,100
,1000
,2500
,10000
- Choices:
- speed
Variable String - Variable name
- switchport
Access NumberVlan - Set VLAN identifier associated with bridging domain
- Range:
1
-4094
- Range:
- switchport
Access StringVlan Variable - Variable name
- switchport
Trunk StringAllowed Vlans - Configure VLAN IDs used with the trunk
- switchport
Trunk StringAllowed Vlans Variable - Variable name
- switchport
Trunk NumberNative Vlan - Configure VLAN ID used for native VLAN
- Range:
1
-4094
- Range:
- switchport
Trunk StringNative Vlan Variable - Variable name
- voice
Vlan Number - Configure Voice Vlan
- Range:
1
-4094
- Range:
- voice
Vlan StringVariable - Variable name
ServiceSwitchportFeatureStaticMacAddress, ServiceSwitchportFeatureStaticMacAddressArgs
- Interface
Name string - Interface name: GigabitEthernet0/<>/<>
- Interface
Name stringVariable - Variable name
- Mac
Address string - Set MAC address in xxxx.xxxx.xxxx format
- Mac
Address stringVariable - Variable name
- Vlan
Id int - Configure VLAN ID used with the mac and interface
- Range:
1
-4094
- Range:
- Vlan
Id stringVariable - Variable name
- Interface
Name string - Interface name: GigabitEthernet0/<>/<>
- Interface
Name stringVariable - Variable name
- Mac
Address string - Set MAC address in xxxx.xxxx.xxxx format
- Mac
Address stringVariable - Variable name
- Vlan
Id int - Configure VLAN ID used with the mac and interface
- Range:
1
-4094
- Range:
- Vlan
Id stringVariable - Variable name
- interface
Name String - Interface name: GigabitEthernet0/<>/<>
- interface
Name StringVariable - Variable name
- mac
Address String - Set MAC address in xxxx.xxxx.xxxx format
- mac
Address StringVariable - Variable name
- vlan
Id Integer - Configure VLAN ID used with the mac and interface
- Range:
1
-4094
- Range:
- vlan
Id StringVariable - Variable name
- interface
Name string - Interface name: GigabitEthernet0/<>/<>
- interface
Name stringVariable - Variable name
- mac
Address string - Set MAC address in xxxx.xxxx.xxxx format
- mac
Address stringVariable - Variable name
- vlan
Id number - Configure VLAN ID used with the mac and interface
- Range:
1
-4094
- Range:
- vlan
Id 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
- interface
Name String - Interface name: GigabitEthernet0/<>/<>
- interface
Name StringVariable - Variable name
- mac
Address String - Set MAC address in xxxx.xxxx.xxxx format
- mac
Address StringVariable - Variable name
- vlan
Id Number - Configure VLAN ID used with the mac and interface
- Range:
1
-4094
- Range:
- vlan
Id 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
sdwan
Terraform Provider.