unifi.port.Profile
Explore with Pulumi AI
unifi.port.Profile
manages a port profile for use on network switches.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as unifi from "@pulumiverse/unifi";
const config = new pulumi.Config();
const vlanId = config.getNumber("vlanId") || 10;
const vlan = new unifi.Network("vlan", {
name: "wifi-vlan",
purpose: "corporate",
subnet: "10.0.0.1/24",
vlanId: vlanId,
dhcpStart: "10.0.0.6",
dhcpStop: "10.0.0.254",
dhcpEnabled: true,
});
const poeDisabled = new unifi.port.Profile("poe_disabled", {
name: "POE Disabled",
nativeNetworkconfId: vlan.id,
poeMode: "off",
});
import pulumi
import pulumiverse_unifi as unifi
config = pulumi.Config()
vlan_id = config.get_float("vlanId")
if vlan_id is None:
vlan_id = 10
vlan = unifi.Network("vlan",
name="wifi-vlan",
purpose="corporate",
subnet="10.0.0.1/24",
vlan_id=vlan_id,
dhcp_start="10.0.0.6",
dhcp_stop="10.0.0.254",
dhcp_enabled=True)
poe_disabled = unifi.port.Profile("poe_disabled",
name="POE Disabled",
native_networkconf_id=vlan.id,
poe_mode="off")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/pulumiverse/pulumi-unifi/sdk/go/unifi"
"github.com/pulumiverse/pulumi-unifi/sdk/go/unifi/port"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
vlanId := float64(10)
if param := cfg.GetFloat64("vlanId"); param != 0 {
vlanId = param
}
vlan, err := unifi.NewNetwork(ctx, "vlan", &unifi.NetworkArgs{
Name: pulumi.String("wifi-vlan"),
Purpose: pulumi.String("corporate"),
Subnet: pulumi.String("10.0.0.1/24"),
VlanId: pulumi.Float64(vlanId),
DhcpStart: pulumi.String("10.0.0.6"),
DhcpStop: pulumi.String("10.0.0.254"),
DhcpEnabled: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = port.NewProfile(ctx, "poe_disabled", &port.ProfileArgs{
Name: pulumi.String("POE Disabled"),
NativeNetworkconfId: vlan.ID(),
PoeMode: pulumi.String("off"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Unifi = Pulumiverse.Unifi;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var vlanId = config.GetDouble("vlanId") ?? 10;
var vlan = new Unifi.Network("vlan", new()
{
Name = "wifi-vlan",
Purpose = "corporate",
Subnet = "10.0.0.1/24",
VlanId = vlanId,
DhcpStart = "10.0.0.6",
DhcpStop = "10.0.0.254",
DhcpEnabled = true,
});
var poeDisabled = new Unifi.Port.Profile("poe_disabled", new()
{
Name = "POE Disabled",
NativeNetworkconfId = vlan.Id,
PoeMode = "off",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.unifi.Network;
import com.pulumi.unifi.NetworkArgs;
import com.pulumi.unifi.port.Profile;
import com.pulumi.unifi.port.ProfileArgs;
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) {
final var config = ctx.config();
final var vlanId = config.get("vlanId").orElse(10);
var vlan = new Network("vlan", NetworkArgs.builder()
.name("wifi-vlan")
.purpose("corporate")
.subnet("10.0.0.1/24")
.vlanId(vlanId)
.dhcpStart("10.0.0.6")
.dhcpStop("10.0.0.254")
.dhcpEnabled(true)
.build());
var poeDisabled = new Profile("poeDisabled", ProfileArgs.builder()
.name("POE Disabled")
.nativeNetworkconfId(vlan.id())
.poeMode("off")
.build());
}
}
configuration:
vlanId:
type: number
default: 10
resources:
vlan:
type: unifi:Network
properties:
name: wifi-vlan
purpose: corporate
subnet: 10.0.0.1/24
vlanId: ${vlanId}
dhcpStart: 10.0.0.6
dhcpStop: 10.0.0.254
dhcpEnabled: true
poeDisabled:
type: unifi:port:Profile
name: poe_disabled
properties:
name: POE Disabled
nativeNetworkconfId: ${vlan.id}
poeMode: off
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args?: ProfileArgs, opts?: CustomResourceOptions);
@overload
def Profile(resource_name: str,
args: Optional[ProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
opts: Optional[ResourceOptions] = None,
autoneg: Optional[bool] = None,
dot1x_ctrl: Optional[str] = None,
dot1x_idle_timeout: Optional[int] = None,
egress_rate_limit_kbps: Optional[int] = None,
egress_rate_limit_kbps_enabled: Optional[bool] = None,
forward: Optional[str] = None,
full_duplex: Optional[bool] = None,
isolation: Optional[bool] = None,
lldpmed_enabled: Optional[bool] = None,
lldpmed_notify_enabled: Optional[bool] = None,
name: Optional[str] = None,
native_networkconf_id: Optional[str] = None,
op_mode: Optional[str] = None,
poe_mode: Optional[str] = None,
port_security_enabled: Optional[bool] = None,
port_security_mac_addresses: Optional[Sequence[str]] = None,
priority_queue1_level: Optional[int] = None,
priority_queue2_level: Optional[int] = None,
priority_queue3_level: Optional[int] = None,
priority_queue4_level: Optional[int] = None,
site: Optional[str] = None,
speed: Optional[int] = None,
stormctrl_bcast_enabled: Optional[bool] = None,
stormctrl_bcast_level: Optional[int] = None,
stormctrl_bcast_rate: Optional[int] = None,
stormctrl_mcast_enabled: Optional[bool] = None,
stormctrl_mcast_level: Optional[int] = None,
stormctrl_mcast_rate: Optional[int] = None,
stormctrl_type: Optional[str] = None,
stormctrl_ucast_enabled: Optional[bool] = None,
stormctrl_ucast_level: Optional[int] = None,
stormctrl_ucast_rate: Optional[int] = None,
stp_port_mode: Optional[bool] = None,
tagged_networkconf_ids: Optional[Sequence[str]] = None,
voice_networkconf_id: Optional[str] = None)
func NewProfile(ctx *Context, name string, args *ProfileArgs, opts ...ResourceOption) (*Profile, error)
public Profile(string name, ProfileArgs? args = null, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: unifi:port:Profile
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 ProfileArgs
- 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 ProfileArgs
- 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 ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- 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 profileResource = new Unifi.Port.Profile("profileResource", new()
{
Autoneg = false,
Dot1xCtrl = "string",
Dot1xIdleTimeout = 0,
EgressRateLimitKbps = 0,
EgressRateLimitKbpsEnabled = false,
Forward = "string",
FullDuplex = false,
Isolation = false,
LldpmedEnabled = false,
LldpmedNotifyEnabled = false,
Name = "string",
NativeNetworkconfId = "string",
OpMode = "string",
PoeMode = "string",
PortSecurityEnabled = false,
PortSecurityMacAddresses = new[]
{
"string",
},
PriorityQueue1Level = 0,
PriorityQueue2Level = 0,
PriorityQueue3Level = 0,
PriorityQueue4Level = 0,
Site = "string",
Speed = 0,
StormctrlBcastEnabled = false,
StormctrlBcastLevel = 0,
StormctrlBcastRate = 0,
StormctrlMcastEnabled = false,
StormctrlMcastLevel = 0,
StormctrlMcastRate = 0,
StormctrlType = "string",
StormctrlUcastEnabled = false,
StormctrlUcastLevel = 0,
StormctrlUcastRate = 0,
StpPortMode = false,
TaggedNetworkconfIds = new[]
{
"string",
},
VoiceNetworkconfId = "string",
});
example, err := port.NewProfile(ctx, "profileResource", &port.ProfileArgs{
Autoneg: pulumi.Bool(false),
Dot1xCtrl: pulumi.String("string"),
Dot1xIdleTimeout: pulumi.Int(0),
EgressRateLimitKbps: pulumi.Int(0),
EgressRateLimitKbpsEnabled: pulumi.Bool(false),
Forward: pulumi.String("string"),
FullDuplex: pulumi.Bool(false),
Isolation: pulumi.Bool(false),
LldpmedEnabled: pulumi.Bool(false),
LldpmedNotifyEnabled: pulumi.Bool(false),
Name: pulumi.String("string"),
NativeNetworkconfId: pulumi.String("string"),
OpMode: pulumi.String("string"),
PoeMode: pulumi.String("string"),
PortSecurityEnabled: pulumi.Bool(false),
PortSecurityMacAddresses: pulumi.StringArray{
pulumi.String("string"),
},
PriorityQueue1Level: pulumi.Int(0),
PriorityQueue2Level: pulumi.Int(0),
PriorityQueue3Level: pulumi.Int(0),
PriorityQueue4Level: pulumi.Int(0),
Site: pulumi.String("string"),
Speed: pulumi.Int(0),
StormctrlBcastEnabled: pulumi.Bool(false),
StormctrlBcastLevel: pulumi.Int(0),
StormctrlBcastRate: pulumi.Int(0),
StormctrlMcastEnabled: pulumi.Bool(false),
StormctrlMcastLevel: pulumi.Int(0),
StormctrlMcastRate: pulumi.Int(0),
StormctrlType: pulumi.String("string"),
StormctrlUcastEnabled: pulumi.Bool(false),
StormctrlUcastLevel: pulumi.Int(0),
StormctrlUcastRate: pulumi.Int(0),
StpPortMode: pulumi.Bool(false),
TaggedNetworkconfIds: pulumi.StringArray{
pulumi.String("string"),
},
VoiceNetworkconfId: pulumi.String("string"),
})
var profileResource = new Profile("profileResource", ProfileArgs.builder()
.autoneg(false)
.dot1xCtrl("string")
.dot1xIdleTimeout(0)
.egressRateLimitKbps(0)
.egressRateLimitKbpsEnabled(false)
.forward("string")
.fullDuplex(false)
.isolation(false)
.lldpmedEnabled(false)
.lldpmedNotifyEnabled(false)
.name("string")
.nativeNetworkconfId("string")
.opMode("string")
.poeMode("string")
.portSecurityEnabled(false)
.portSecurityMacAddresses("string")
.priorityQueue1Level(0)
.priorityQueue2Level(0)
.priorityQueue3Level(0)
.priorityQueue4Level(0)
.site("string")
.speed(0)
.stormctrlBcastEnabled(false)
.stormctrlBcastLevel(0)
.stormctrlBcastRate(0)
.stormctrlMcastEnabled(false)
.stormctrlMcastLevel(0)
.stormctrlMcastRate(0)
.stormctrlType("string")
.stormctrlUcastEnabled(false)
.stormctrlUcastLevel(0)
.stormctrlUcastRate(0)
.stpPortMode(false)
.taggedNetworkconfIds("string")
.voiceNetworkconfId("string")
.build());
profile_resource = unifi.port.Profile("profileResource",
autoneg=False,
dot1x_ctrl="string",
dot1x_idle_timeout=0,
egress_rate_limit_kbps=0,
egress_rate_limit_kbps_enabled=False,
forward="string",
full_duplex=False,
isolation=False,
lldpmed_enabled=False,
lldpmed_notify_enabled=False,
name="string",
native_networkconf_id="string",
op_mode="string",
poe_mode="string",
port_security_enabled=False,
port_security_mac_addresses=["string"],
priority_queue1_level=0,
priority_queue2_level=0,
priority_queue3_level=0,
priority_queue4_level=0,
site="string",
speed=0,
stormctrl_bcast_enabled=False,
stormctrl_bcast_level=0,
stormctrl_bcast_rate=0,
stormctrl_mcast_enabled=False,
stormctrl_mcast_level=0,
stormctrl_mcast_rate=0,
stormctrl_type="string",
stormctrl_ucast_enabled=False,
stormctrl_ucast_level=0,
stormctrl_ucast_rate=0,
stp_port_mode=False,
tagged_networkconf_ids=["string"],
voice_networkconf_id="string")
const profileResource = new unifi.port.Profile("profileResource", {
autoneg: false,
dot1xCtrl: "string",
dot1xIdleTimeout: 0,
egressRateLimitKbps: 0,
egressRateLimitKbpsEnabled: false,
forward: "string",
fullDuplex: false,
isolation: false,
lldpmedEnabled: false,
lldpmedNotifyEnabled: false,
name: "string",
nativeNetworkconfId: "string",
opMode: "string",
poeMode: "string",
portSecurityEnabled: false,
portSecurityMacAddresses: ["string"],
priorityQueue1Level: 0,
priorityQueue2Level: 0,
priorityQueue3Level: 0,
priorityQueue4Level: 0,
site: "string",
speed: 0,
stormctrlBcastEnabled: false,
stormctrlBcastLevel: 0,
stormctrlBcastRate: 0,
stormctrlMcastEnabled: false,
stormctrlMcastLevel: 0,
stormctrlMcastRate: 0,
stormctrlType: "string",
stormctrlUcastEnabled: false,
stormctrlUcastLevel: 0,
stormctrlUcastRate: 0,
stpPortMode: false,
taggedNetworkconfIds: ["string"],
voiceNetworkconfId: "string",
});
type: unifi:port:Profile
properties:
autoneg: false
dot1xCtrl: string
dot1xIdleTimeout: 0
egressRateLimitKbps: 0
egressRateLimitKbpsEnabled: false
forward: string
fullDuplex: false
isolation: false
lldpmedEnabled: false
lldpmedNotifyEnabled: false
name: string
nativeNetworkconfId: string
opMode: string
poeMode: string
portSecurityEnabled: false
portSecurityMacAddresses:
- string
priorityQueue1Level: 0
priorityQueue2Level: 0
priorityQueue3Level: 0
priorityQueue4Level: 0
site: string
speed: 0
stormctrlBcastEnabled: false
stormctrlBcastLevel: 0
stormctrlBcastRate: 0
stormctrlMcastEnabled: false
stormctrlMcastLevel: 0
stormctrlMcastRate: 0
stormctrlType: string
stormctrlUcastEnabled: false
stormctrlUcastLevel: 0
stormctrlUcastRate: 0
stpPortMode: false
taggedNetworkconfIds:
- string
voiceNetworkconfId: string
Profile 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 Profile resource accepts the following input properties:
- Autoneg bool
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - Dot1x
Ctrl string - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - Dot1x
Idle intTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - Egress
Rate intLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - Egress
Rate boolLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - Forward string
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - Full
Duplex bool - Enable full duplex for the port profile. Defaults to
false
. - Isolation bool
- Enable port isolation for the port profile. Defaults to
false
. - Lldpmed
Enabled bool - Enable LLDP-MED for the port profile. Defaults to
true
. - Lldpmed
Notify boolEnabled - Enable LLDP-MED topology change notifications for the port profile.
- Name string
- The name of the port profile.
- Native
Networkconf stringId - The ID of network to use as the main network on the port profile.
- Op
Mode string - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - Poe
Mode string - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - Port
Security boolEnabled - Enable port security for the port profile. Defaults to
false
. - Port
Security List<string>Mac Addresses - The MAC addresses associated with the port security for the port profile.
- Priority
Queue1Level int - The priority queue 1 level for the port profile. Can be between 0 and 100.
- Priority
Queue2Level int - The priority queue 2 level for the port profile. Can be between 0 and 100.
- Priority
Queue3Level int - The priority queue 3 level for the port profile. Can be between 0 and 100.
- Priority
Queue4Level int - The priority queue 4 level for the port profile. Can be between 0 and 100.
- Site string
- The name of the site to associate the port profile with.
- Speed int
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- Stormctrl
Bcast boolEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Bcast intLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Bcast intRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Mcast boolEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Mcast intLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Mcast intRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Type string - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - Stormctrl
Ucast boolEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Ucast intLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Ucast intRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stp
Port boolMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - Tagged
Networkconf List<string>Ids - The IDs of networks to tag traffic with for the port profile.
- Voice
Networkconf stringId - The ID of network to use as the voice network on the port profile.
- Autoneg bool
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - Dot1x
Ctrl string - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - Dot1x
Idle intTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - Egress
Rate intLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - Egress
Rate boolLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - Forward string
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - Full
Duplex bool - Enable full duplex for the port profile. Defaults to
false
. - Isolation bool
- Enable port isolation for the port profile. Defaults to
false
. - Lldpmed
Enabled bool - Enable LLDP-MED for the port profile. Defaults to
true
. - Lldpmed
Notify boolEnabled - Enable LLDP-MED topology change notifications for the port profile.
- Name string
- The name of the port profile.
- Native
Networkconf stringId - The ID of network to use as the main network on the port profile.
- Op
Mode string - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - Poe
Mode string - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - Port
Security boolEnabled - Enable port security for the port profile. Defaults to
false
. - Port
Security []stringMac Addresses - The MAC addresses associated with the port security for the port profile.
- Priority
Queue1Level int - The priority queue 1 level for the port profile. Can be between 0 and 100.
- Priority
Queue2Level int - The priority queue 2 level for the port profile. Can be between 0 and 100.
- Priority
Queue3Level int - The priority queue 3 level for the port profile. Can be between 0 and 100.
- Priority
Queue4Level int - The priority queue 4 level for the port profile. Can be between 0 and 100.
- Site string
- The name of the site to associate the port profile with.
- Speed int
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- Stormctrl
Bcast boolEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Bcast intLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Bcast intRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Mcast boolEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Mcast intLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Mcast intRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Type string - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - Stormctrl
Ucast boolEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Ucast intLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Ucast intRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stp
Port boolMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - Tagged
Networkconf []stringIds - The IDs of networks to tag traffic with for the port profile.
- Voice
Networkconf stringId - The ID of network to use as the voice network on the port profile.
- autoneg Boolean
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x
Ctrl String - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x
Idle IntegerTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress
Rate IntegerLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress
Rate BooleanLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward String
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full
Duplex Boolean - Enable full duplex for the port profile. Defaults to
false
. - isolation Boolean
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed
Enabled Boolean - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed
Notify BooleanEnabled - Enable LLDP-MED topology change notifications for the port profile.
- name String
- The name of the port profile.
- native
Networkconf StringId - The ID of network to use as the main network on the port profile.
- op
Mode String - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe
Mode String - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port
Security BooleanEnabled - Enable port security for the port profile. Defaults to
false
. - port
Security List<String>Mac Addresses - The MAC addresses associated with the port security for the port profile.
- priority
Queue1Level Integer - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority
Queue2Level Integer - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority
Queue3Level Integer - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority
Queue4Level Integer - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site String
- The name of the site to associate the port profile with.
- speed Integer
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl
Bcast BooleanEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl
Bcast IntegerLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Bcast IntegerRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Mcast BooleanEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Mcast IntegerLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Mcast IntegerRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Type String - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl
Ucast BooleanEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Ucast IntegerLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Ucast IntegerRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp
Port BooleanMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged
Networkconf List<String>Ids - The IDs of networks to tag traffic with for the port profile.
- voice
Networkconf StringId - The ID of network to use as the voice network on the port profile.
- autoneg boolean
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x
Ctrl string - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x
Idle numberTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress
Rate numberLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress
Rate booleanLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward string
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full
Duplex boolean - Enable full duplex for the port profile. Defaults to
false
. - isolation boolean
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed
Enabled boolean - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed
Notify booleanEnabled - Enable LLDP-MED topology change notifications for the port profile.
- name string
- The name of the port profile.
- native
Networkconf stringId - The ID of network to use as the main network on the port profile.
- op
Mode string - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe
Mode string - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port
Security booleanEnabled - Enable port security for the port profile. Defaults to
false
. - port
Security string[]Mac Addresses - The MAC addresses associated with the port security for the port profile.
- priority
Queue1Level number - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority
Queue2Level number - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority
Queue3Level number - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority
Queue4Level number - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site string
- The name of the site to associate the port profile with.
- speed number
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl
Bcast booleanEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl
Bcast numberLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Bcast numberRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Mcast booleanEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Mcast numberLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Mcast numberRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Type string - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl
Ucast booleanEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Ucast numberLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Ucast numberRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp
Port booleanMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged
Networkconf string[]Ids - The IDs of networks to tag traffic with for the port profile.
- voice
Networkconf stringId - The ID of network to use as the voice network on the port profile.
- autoneg bool
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x_
ctrl str - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x_
idle_ inttimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress_
rate_ intlimit_ kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress_
rate_ boollimit_ kbps_ enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward str
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full_
duplex bool - Enable full duplex for the port profile. Defaults to
false
. - isolation bool
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed_
enabled bool - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed_
notify_ boolenabled - Enable LLDP-MED topology change notifications for the port profile.
- name str
- The name of the port profile.
- native_
networkconf_ strid - The ID of network to use as the main network on the port profile.
- op_
mode str - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe_
mode str - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port_
security_ boolenabled - Enable port security for the port profile. Defaults to
false
. - port_
security_ Sequence[str]mac_ addresses - The MAC addresses associated with the port security for the port profile.
- priority_
queue1_ intlevel - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority_
queue2_ intlevel - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority_
queue3_ intlevel - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority_
queue4_ intlevel - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site str
- The name of the site to associate the port profile with.
- speed int
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl_
bcast_ boolenabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl_
bcast_ intlevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl_
bcast_ intrate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl_
mcast_ boolenabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl_
mcast_ intlevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl_
mcast_ intrate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl_
type str - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl_
ucast_ boolenabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl_
ucast_ intlevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl_
ucast_ intrate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp_
port_ boolmode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged_
networkconf_ Sequence[str]ids - The IDs of networks to tag traffic with for the port profile.
- voice_
networkconf_ strid - The ID of network to use as the voice network on the port profile.
- autoneg Boolean
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x
Ctrl String - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x
Idle NumberTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress
Rate NumberLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress
Rate BooleanLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward String
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full
Duplex Boolean - Enable full duplex for the port profile. Defaults to
false
. - isolation Boolean
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed
Enabled Boolean - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed
Notify BooleanEnabled - Enable LLDP-MED topology change notifications for the port profile.
- name String
- The name of the port profile.
- native
Networkconf StringId - The ID of network to use as the main network on the port profile.
- op
Mode String - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe
Mode String - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port
Security BooleanEnabled - Enable port security for the port profile. Defaults to
false
. - port
Security List<String>Mac Addresses - The MAC addresses associated with the port security for the port profile.
- priority
Queue1Level Number - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority
Queue2Level Number - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority
Queue3Level Number - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority
Queue4Level Number - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site String
- The name of the site to associate the port profile with.
- speed Number
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl
Bcast BooleanEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl
Bcast NumberLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Bcast NumberRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Mcast BooleanEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Mcast NumberLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Mcast NumberRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Type String - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl
Ucast BooleanEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Ucast NumberLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Ucast NumberRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp
Port BooleanMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged
Networkconf List<String>Ids - The IDs of networks to tag traffic with for the port profile.
- voice
Networkconf StringId - The ID of network to use as the voice network on the port profile.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Profile Resource
Get an existing Profile 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?: ProfileState, opts?: CustomResourceOptions): Profile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
autoneg: Optional[bool] = None,
dot1x_ctrl: Optional[str] = None,
dot1x_idle_timeout: Optional[int] = None,
egress_rate_limit_kbps: Optional[int] = None,
egress_rate_limit_kbps_enabled: Optional[bool] = None,
forward: Optional[str] = None,
full_duplex: Optional[bool] = None,
isolation: Optional[bool] = None,
lldpmed_enabled: Optional[bool] = None,
lldpmed_notify_enabled: Optional[bool] = None,
name: Optional[str] = None,
native_networkconf_id: Optional[str] = None,
op_mode: Optional[str] = None,
poe_mode: Optional[str] = None,
port_security_enabled: Optional[bool] = None,
port_security_mac_addresses: Optional[Sequence[str]] = None,
priority_queue1_level: Optional[int] = None,
priority_queue2_level: Optional[int] = None,
priority_queue3_level: Optional[int] = None,
priority_queue4_level: Optional[int] = None,
site: Optional[str] = None,
speed: Optional[int] = None,
stormctrl_bcast_enabled: Optional[bool] = None,
stormctrl_bcast_level: Optional[int] = None,
stormctrl_bcast_rate: Optional[int] = None,
stormctrl_mcast_enabled: Optional[bool] = None,
stormctrl_mcast_level: Optional[int] = None,
stormctrl_mcast_rate: Optional[int] = None,
stormctrl_type: Optional[str] = None,
stormctrl_ucast_enabled: Optional[bool] = None,
stormctrl_ucast_level: Optional[int] = None,
stormctrl_ucast_rate: Optional[int] = None,
stp_port_mode: Optional[bool] = None,
tagged_networkconf_ids: Optional[Sequence[str]] = None,
voice_networkconf_id: Optional[str] = None) -> Profile
func GetProfile(ctx *Context, name string, id IDInput, state *ProfileState, opts ...ResourceOption) (*Profile, error)
public static Profile Get(string name, Input<string> id, ProfileState? state, CustomResourceOptions? opts = null)
public static Profile get(String name, Output<String> id, ProfileState 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.
- Autoneg bool
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - Dot1x
Ctrl string - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - Dot1x
Idle intTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - Egress
Rate intLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - Egress
Rate boolLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - Forward string
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - Full
Duplex bool - Enable full duplex for the port profile. Defaults to
false
. - Isolation bool
- Enable port isolation for the port profile. Defaults to
false
. - Lldpmed
Enabled bool - Enable LLDP-MED for the port profile. Defaults to
true
. - Lldpmed
Notify boolEnabled - Enable LLDP-MED topology change notifications for the port profile.
- Name string
- The name of the port profile.
- Native
Networkconf stringId - The ID of network to use as the main network on the port profile.
- Op
Mode string - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - Poe
Mode string - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - Port
Security boolEnabled - Enable port security for the port profile. Defaults to
false
. - Port
Security List<string>Mac Addresses - The MAC addresses associated with the port security for the port profile.
- Priority
Queue1Level int - The priority queue 1 level for the port profile. Can be between 0 and 100.
- Priority
Queue2Level int - The priority queue 2 level for the port profile. Can be between 0 and 100.
- Priority
Queue3Level int - The priority queue 3 level for the port profile. Can be between 0 and 100.
- Priority
Queue4Level int - The priority queue 4 level for the port profile. Can be between 0 and 100.
- Site string
- The name of the site to associate the port profile with.
- Speed int
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- Stormctrl
Bcast boolEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Bcast intLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Bcast intRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Mcast boolEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Mcast intLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Mcast intRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Type string - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - Stormctrl
Ucast boolEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Ucast intLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Ucast intRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stp
Port boolMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - Tagged
Networkconf List<string>Ids - The IDs of networks to tag traffic with for the port profile.
- Voice
Networkconf stringId - The ID of network to use as the voice network on the port profile.
- Autoneg bool
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - Dot1x
Ctrl string - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - Dot1x
Idle intTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - Egress
Rate intLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - Egress
Rate boolLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - Forward string
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - Full
Duplex bool - Enable full duplex for the port profile. Defaults to
false
. - Isolation bool
- Enable port isolation for the port profile. Defaults to
false
. - Lldpmed
Enabled bool - Enable LLDP-MED for the port profile. Defaults to
true
. - Lldpmed
Notify boolEnabled - Enable LLDP-MED topology change notifications for the port profile.
- Name string
- The name of the port profile.
- Native
Networkconf stringId - The ID of network to use as the main network on the port profile.
- Op
Mode string - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - Poe
Mode string - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - Port
Security boolEnabled - Enable port security for the port profile. Defaults to
false
. - Port
Security []stringMac Addresses - The MAC addresses associated with the port security for the port profile.
- Priority
Queue1Level int - The priority queue 1 level for the port profile. Can be between 0 and 100.
- Priority
Queue2Level int - The priority queue 2 level for the port profile. Can be between 0 and 100.
- Priority
Queue3Level int - The priority queue 3 level for the port profile. Can be between 0 and 100.
- Priority
Queue4Level int - The priority queue 4 level for the port profile. Can be between 0 and 100.
- Site string
- The name of the site to associate the port profile with.
- Speed int
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- Stormctrl
Bcast boolEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Bcast intLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Bcast intRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Mcast boolEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Mcast intLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Mcast intRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stormctrl
Type string - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - Stormctrl
Ucast boolEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - Stormctrl
Ucast intLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- Stormctrl
Ucast intRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- Stp
Port boolMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - Tagged
Networkconf []stringIds - The IDs of networks to tag traffic with for the port profile.
- Voice
Networkconf stringId - The ID of network to use as the voice network on the port profile.
- autoneg Boolean
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x
Ctrl String - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x
Idle IntegerTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress
Rate IntegerLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress
Rate BooleanLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward String
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full
Duplex Boolean - Enable full duplex for the port profile. Defaults to
false
. - isolation Boolean
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed
Enabled Boolean - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed
Notify BooleanEnabled - Enable LLDP-MED topology change notifications for the port profile.
- name String
- The name of the port profile.
- native
Networkconf StringId - The ID of network to use as the main network on the port profile.
- op
Mode String - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe
Mode String - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port
Security BooleanEnabled - Enable port security for the port profile. Defaults to
false
. - port
Security List<String>Mac Addresses - The MAC addresses associated with the port security for the port profile.
- priority
Queue1Level Integer - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority
Queue2Level Integer - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority
Queue3Level Integer - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority
Queue4Level Integer - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site String
- The name of the site to associate the port profile with.
- speed Integer
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl
Bcast BooleanEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl
Bcast IntegerLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Bcast IntegerRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Mcast BooleanEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Mcast IntegerLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Mcast IntegerRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Type String - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl
Ucast BooleanEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Ucast IntegerLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Ucast IntegerRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp
Port BooleanMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged
Networkconf List<String>Ids - The IDs of networks to tag traffic with for the port profile.
- voice
Networkconf StringId - The ID of network to use as the voice network on the port profile.
- autoneg boolean
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x
Ctrl string - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x
Idle numberTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress
Rate numberLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress
Rate booleanLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward string
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full
Duplex boolean - Enable full duplex for the port profile. Defaults to
false
. - isolation boolean
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed
Enabled boolean - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed
Notify booleanEnabled - Enable LLDP-MED topology change notifications for the port profile.
- name string
- The name of the port profile.
- native
Networkconf stringId - The ID of network to use as the main network on the port profile.
- op
Mode string - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe
Mode string - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port
Security booleanEnabled - Enable port security for the port profile. Defaults to
false
. - port
Security string[]Mac Addresses - The MAC addresses associated with the port security for the port profile.
- priority
Queue1Level number - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority
Queue2Level number - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority
Queue3Level number - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority
Queue4Level number - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site string
- The name of the site to associate the port profile with.
- speed number
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl
Bcast booleanEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl
Bcast numberLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Bcast numberRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Mcast booleanEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Mcast numberLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Mcast numberRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Type string - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl
Ucast booleanEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Ucast numberLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Ucast numberRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp
Port booleanMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged
Networkconf string[]Ids - The IDs of networks to tag traffic with for the port profile.
- voice
Networkconf stringId - The ID of network to use as the voice network on the port profile.
- autoneg bool
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x_
ctrl str - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x_
idle_ inttimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress_
rate_ intlimit_ kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress_
rate_ boollimit_ kbps_ enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward str
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full_
duplex bool - Enable full duplex for the port profile. Defaults to
false
. - isolation bool
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed_
enabled bool - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed_
notify_ boolenabled - Enable LLDP-MED topology change notifications for the port profile.
- name str
- The name of the port profile.
- native_
networkconf_ strid - The ID of network to use as the main network on the port profile.
- op_
mode str - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe_
mode str - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port_
security_ boolenabled - Enable port security for the port profile. Defaults to
false
. - port_
security_ Sequence[str]mac_ addresses - The MAC addresses associated with the port security for the port profile.
- priority_
queue1_ intlevel - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority_
queue2_ intlevel - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority_
queue3_ intlevel - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority_
queue4_ intlevel - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site str
- The name of the site to associate the port profile with.
- speed int
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl_
bcast_ boolenabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl_
bcast_ intlevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl_
bcast_ intrate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl_
mcast_ boolenabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl_
mcast_ intlevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl_
mcast_ intrate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl_
type str - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl_
ucast_ boolenabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl_
ucast_ intlevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl_
ucast_ intrate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp_
port_ boolmode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged_
networkconf_ Sequence[str]ids - The IDs of networks to tag traffic with for the port profile.
- voice_
networkconf_ strid - The ID of network to use as the voice network on the port profile.
- autoneg Boolean
- Enable link auto negotiation for the port profile. When set to
true
this overridesspeed
. Defaults totrue
. - dot1x
Ctrl String - The type of 802.1X control to use. Can be
auto
,force_authorized
,force_unauthorized
,mac_based
ormulti_host
. Defaults toforce_authorized
. - dot1x
Idle NumberTimeout - The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to
300
. - egress
Rate NumberLimit Kbps - The egress rate limit, in kpbs, for the port profile. Can be between
64
and9999999
. - egress
Rate BooleanLimit Kbps Enabled - Enable egress rate limiting for the port profile. Defaults to
false
. - forward String
- The type forwarding to use for the port profile. Can be
all
,native
,customize
ordisabled
. Defaults tonative
. - full
Duplex Boolean - Enable full duplex for the port profile. Defaults to
false
. - isolation Boolean
- Enable port isolation for the port profile. Defaults to
false
. - lldpmed
Enabled Boolean - Enable LLDP-MED for the port profile. Defaults to
true
. - lldpmed
Notify BooleanEnabled - Enable LLDP-MED topology change notifications for the port profile.
- name String
- The name of the port profile.
- native
Networkconf StringId - The ID of network to use as the main network on the port profile.
- op
Mode String - The operation mode for the port profile. Can only be
switch
Defaults toswitch
. - poe
Mode String - The POE mode for the port profile. Can be one of
auto
,passv24
,passthrough
oroff
. - port
Security BooleanEnabled - Enable port security for the port profile. Defaults to
false
. - port
Security List<String>Mac Addresses - The MAC addresses associated with the port security for the port profile.
- priority
Queue1Level Number - The priority queue 1 level for the port profile. Can be between 0 and 100.
- priority
Queue2Level Number - The priority queue 2 level for the port profile. Can be between 0 and 100.
- priority
Queue3Level Number - The priority queue 3 level for the port profile. Can be between 0 and 100.
- priority
Queue4Level Number - The priority queue 4 level for the port profile. Can be between 0 and 100.
- site String
- The name of the site to associate the port profile with.
- speed Number
- The link speed to set for the port profile. Can be one of
10
,100
,1000
,2500
,5000
,10000
,20000
,25000
,40000
,50000
or100000
- stormctrl
Bcast BooleanEnabled - Enable broadcast Storm Control for the port profile. Defaults to
false
. - stormctrl
Bcast NumberLevel - The broadcast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Bcast NumberRate - The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Mcast BooleanEnabled - Enable multicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Mcast NumberLevel - The multicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Mcast NumberRate - The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stormctrl
Type String - The type of Storm Control to use for the port profile. Can be one of
level
orrate
. - stormctrl
Ucast BooleanEnabled - Enable unknown unicast Storm Control for the port profile. Defaults to
false
. - stormctrl
Ucast NumberLevel - The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
- stormctrl
Ucast NumberRate - The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
- stp
Port BooleanMode - Enable spanning tree protocol on the port profile. Defaults to
true
. - tagged
Networkconf List<String>Ids - The IDs of networks to tag traffic with for the port profile.
- voice
Networkconf StringId - The ID of network to use as the voice network on the port profile.
Package Details
- Repository
- unifi pulumiverse/pulumi-unifi
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
unifi
Terraform Provider.