1. Packages
  2. Unifi
  3. API Docs
  4. port
  5. Profile
Unifi v0.1.1 published on Wednesday, Jan 1, 2025 by Pulumiverse

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
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
Copy

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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
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());
Copy
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")
Copy
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",
});
Copy
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
Copy

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 overrides speed. Defaults to true.
Dot1xCtrl string
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
Dot1xIdleTimeout int
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
EgressRateLimitKbps int
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
EgressRateLimitKbpsEnabled bool
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 or disabled. Defaults to native.
FullDuplex bool
Enable full duplex for the port profile. Defaults to false.
Isolation bool
Enable port isolation for the port profile. Defaults to false.
LldpmedEnabled bool
Enable LLDP-MED for the port profile. Defaults to true.
LldpmedNotifyEnabled bool
Enable LLDP-MED topology change notifications for the port profile.
Name string
The name of the port profile.
NativeNetworkconfId string
The ID of network to use as the main network on the port profile.
OpMode string
The operation mode for the port profile. Can only be switch Defaults to switch.
PoeMode string
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
PortSecurityEnabled bool
Enable port security for the port profile. Defaults to false.
PortSecurityMacAddresses List<string>
The MAC addresses associated with the port security for the port profile.
PriorityQueue1Level int
The priority queue 1 level for the port profile. Can be between 0 and 100.
PriorityQueue2Level int
The priority queue 2 level for the port profile. Can be between 0 and 100.
PriorityQueue3Level int
The priority queue 3 level for the port profile. Can be between 0 and 100.
PriorityQueue4Level int
The priority queue 4 level for the port profile. Can be between 0 and 100.
Site Changes to this property will trigger replacement. 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 or 100000
StormctrlBcastEnabled bool
Enable broadcast Storm Control for the port profile. Defaults to false.
StormctrlBcastLevel int
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlBcastRate int
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlMcastEnabled bool
Enable multicast Storm Control for the port profile. Defaults to false.
StormctrlMcastLevel int
The multicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlMcastRate int
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlType string
The type of Storm Control to use for the port profile. Can be one of level or rate.
StormctrlUcastEnabled bool
Enable unknown unicast Storm Control for the port profile. Defaults to false.
StormctrlUcastLevel int
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlUcastRate int
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StpPortMode bool
Enable spanning tree protocol on the port profile. Defaults to true.
TaggedNetworkconfIds List<string>
The IDs of networks to tag traffic with for the port profile.
VoiceNetworkconfId string
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 overrides speed. Defaults to true.
Dot1xCtrl string
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
Dot1xIdleTimeout int
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
EgressRateLimitKbps int
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
EgressRateLimitKbpsEnabled bool
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 or disabled. Defaults to native.
FullDuplex bool
Enable full duplex for the port profile. Defaults to false.
Isolation bool
Enable port isolation for the port profile. Defaults to false.
LldpmedEnabled bool
Enable LLDP-MED for the port profile. Defaults to true.
LldpmedNotifyEnabled bool
Enable LLDP-MED topology change notifications for the port profile.
Name string
The name of the port profile.
NativeNetworkconfId string
The ID of network to use as the main network on the port profile.
OpMode string
The operation mode for the port profile. Can only be switch Defaults to switch.
PoeMode string
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
PortSecurityEnabled bool
Enable port security for the port profile. Defaults to false.
PortSecurityMacAddresses []string
The MAC addresses associated with the port security for the port profile.
PriorityQueue1Level int
The priority queue 1 level for the port profile. Can be between 0 and 100.
PriorityQueue2Level int
The priority queue 2 level for the port profile. Can be between 0 and 100.
PriorityQueue3Level int
The priority queue 3 level for the port profile. Can be between 0 and 100.
PriorityQueue4Level int
The priority queue 4 level for the port profile. Can be between 0 and 100.
Site Changes to this property will trigger replacement. 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 or 100000
StormctrlBcastEnabled bool
Enable broadcast Storm Control for the port profile. Defaults to false.
StormctrlBcastLevel int
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlBcastRate int
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlMcastEnabled bool
Enable multicast Storm Control for the port profile. Defaults to false.
StormctrlMcastLevel int
The multicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlMcastRate int
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlType string
The type of Storm Control to use for the port profile. Can be one of level or rate.
StormctrlUcastEnabled bool
Enable unknown unicast Storm Control for the port profile. Defaults to false.
StormctrlUcastLevel int
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlUcastRate int
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StpPortMode bool
Enable spanning tree protocol on the port profile. Defaults to true.
TaggedNetworkconfIds []string
The IDs of networks to tag traffic with for the port profile.
VoiceNetworkconfId string
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 overrides speed. Defaults to true.
dot1xCtrl String
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1xIdleTimeout Integer
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
egressRateLimitKbps Integer
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egressRateLimitKbpsEnabled Boolean
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 or disabled. Defaults to native.
fullDuplex Boolean
Enable full duplex for the port profile. Defaults to false.
isolation Boolean
Enable port isolation for the port profile. Defaults to false.
lldpmedEnabled Boolean
Enable LLDP-MED for the port profile. Defaults to true.
lldpmedNotifyEnabled Boolean
Enable LLDP-MED topology change notifications for the port profile.
name String
The name of the port profile.
nativeNetworkconfId String
The ID of network to use as the main network on the port profile.
opMode String
The operation mode for the port profile. Can only be switch Defaults to switch.
poeMode String
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
portSecurityEnabled Boolean
Enable port security for the port profile. Defaults to false.
portSecurityMacAddresses List<String>
The MAC addresses associated with the port security for the port profile.
priorityQueue1Level Integer
The priority queue 1 level for the port profile. Can be between 0 and 100.
priorityQueue2Level Integer
The priority queue 2 level for the port profile. Can be between 0 and 100.
priorityQueue3Level Integer
The priority queue 3 level for the port profile. Can be between 0 and 100.
priorityQueue4Level Integer
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrlBcastEnabled Boolean
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrlBcastLevel Integer
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlBcastRate Integer
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlMcastEnabled Boolean
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrlMcastLevel Integer
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlMcastRate Integer
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlType String
The type of Storm Control to use for the port profile. Can be one of level or rate.
stormctrlUcastEnabled Boolean
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrlUcastLevel Integer
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlUcastRate Integer
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stpPortMode Boolean
Enable spanning tree protocol on the port profile. Defaults to true.
taggedNetworkconfIds List<String>
The IDs of networks to tag traffic with for the port profile.
voiceNetworkconfId String
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 overrides speed. Defaults to true.
dot1xCtrl string
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1xIdleTimeout number
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
egressRateLimitKbps number
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egressRateLimitKbpsEnabled boolean
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 or disabled. Defaults to native.
fullDuplex boolean
Enable full duplex for the port profile. Defaults to false.
isolation boolean
Enable port isolation for the port profile. Defaults to false.
lldpmedEnabled boolean
Enable LLDP-MED for the port profile. Defaults to true.
lldpmedNotifyEnabled boolean
Enable LLDP-MED topology change notifications for the port profile.
name string
The name of the port profile.
nativeNetworkconfId string
The ID of network to use as the main network on the port profile.
opMode string
The operation mode for the port profile. Can only be switch Defaults to switch.
poeMode string
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
portSecurityEnabled boolean
Enable port security for the port profile. Defaults to false.
portSecurityMacAddresses string[]
The MAC addresses associated with the port security for the port profile.
priorityQueue1Level number
The priority queue 1 level for the port profile. Can be between 0 and 100.
priorityQueue2Level number
The priority queue 2 level for the port profile. Can be between 0 and 100.
priorityQueue3Level number
The priority queue 3 level for the port profile. Can be between 0 and 100.
priorityQueue4Level number
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrlBcastEnabled boolean
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrlBcastLevel number
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlBcastRate number
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlMcastEnabled boolean
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrlMcastLevel number
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlMcastRate number
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlType string
The type of Storm Control to use for the port profile. Can be one of level or rate.
stormctrlUcastEnabled boolean
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrlUcastLevel number
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlUcastRate number
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stpPortMode boolean
Enable spanning tree protocol on the port profile. Defaults to true.
taggedNetworkconfIds string[]
The IDs of networks to tag traffic with for the port profile.
voiceNetworkconfId string
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 overrides speed. Defaults to true.
dot1x_ctrl str
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1x_idle_timeout int
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_limit_kbps int
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egress_rate_limit_kbps_enabled bool
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 or disabled. Defaults to native.
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_enabled bool
Enable LLDP-MED topology change notifications for the port profile.
name str
The name of the port profile.
native_networkconf_id str
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 to switch.
poe_mode str
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
port_security_enabled bool
Enable port security for the port profile. Defaults to false.
port_security_mac_addresses Sequence[str]
The MAC addresses associated with the port security for the port profile.
priority_queue1_level int
The priority queue 1 level for the port profile. Can be between 0 and 100.
priority_queue2_level int
The priority queue 2 level for the port profile. Can be between 0 and 100.
priority_queue3_level int
The priority queue 3 level for the port profile. Can be between 0 and 100.
priority_queue4_level int
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrl_bcast_enabled bool
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrl_bcast_level int
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrl_bcast_rate int
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrl_mcast_enabled bool
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrl_mcast_level int
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrl_mcast_rate int
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 or rate.
stormctrl_ucast_enabled bool
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrl_ucast_level int
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrl_ucast_rate int
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stp_port_mode bool
Enable spanning tree protocol on the port profile. Defaults to true.
tagged_networkconf_ids Sequence[str]
The IDs of networks to tag traffic with for the port profile.
voice_networkconf_id str
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 overrides speed. Defaults to true.
dot1xCtrl String
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1xIdleTimeout Number
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
egressRateLimitKbps Number
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egressRateLimitKbpsEnabled Boolean
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 or disabled. Defaults to native.
fullDuplex Boolean
Enable full duplex for the port profile. Defaults to false.
isolation Boolean
Enable port isolation for the port profile. Defaults to false.
lldpmedEnabled Boolean
Enable LLDP-MED for the port profile. Defaults to true.
lldpmedNotifyEnabled Boolean
Enable LLDP-MED topology change notifications for the port profile.
name String
The name of the port profile.
nativeNetworkconfId String
The ID of network to use as the main network on the port profile.
opMode String
The operation mode for the port profile. Can only be switch Defaults to switch.
poeMode String
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
portSecurityEnabled Boolean
Enable port security for the port profile. Defaults to false.
portSecurityMacAddresses List<String>
The MAC addresses associated with the port security for the port profile.
priorityQueue1Level Number
The priority queue 1 level for the port profile. Can be between 0 and 100.
priorityQueue2Level Number
The priority queue 2 level for the port profile. Can be between 0 and 100.
priorityQueue3Level Number
The priority queue 3 level for the port profile. Can be between 0 and 100.
priorityQueue4Level Number
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrlBcastEnabled Boolean
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrlBcastLevel Number
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlBcastRate Number
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlMcastEnabled Boolean
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrlMcastLevel Number
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlMcastRate Number
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlType String
The type of Storm Control to use for the port profile. Can be one of level or rate.
stormctrlUcastEnabled Boolean
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrlUcastLevel Number
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlUcastRate Number
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stpPortMode Boolean
Enable spanning tree protocol on the port profile. Defaults to true.
taggedNetworkconfIds List<String>
The IDs of networks to tag traffic with for the port profile.
voiceNetworkconfId String
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)
resources:  _:    type: unifi:port:Profile    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Autoneg bool
Enable link auto negotiation for the port profile. When set to true this overrides speed. Defaults to true.
Dot1xCtrl string
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
Dot1xIdleTimeout int
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
EgressRateLimitKbps int
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
EgressRateLimitKbpsEnabled bool
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 or disabled. Defaults to native.
FullDuplex bool
Enable full duplex for the port profile. Defaults to false.
Isolation bool
Enable port isolation for the port profile. Defaults to false.
LldpmedEnabled bool
Enable LLDP-MED for the port profile. Defaults to true.
LldpmedNotifyEnabled bool
Enable LLDP-MED topology change notifications for the port profile.
Name string
The name of the port profile.
NativeNetworkconfId string
The ID of network to use as the main network on the port profile.
OpMode string
The operation mode for the port profile. Can only be switch Defaults to switch.
PoeMode string
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
PortSecurityEnabled bool
Enable port security for the port profile. Defaults to false.
PortSecurityMacAddresses List<string>
The MAC addresses associated with the port security for the port profile.
PriorityQueue1Level int
The priority queue 1 level for the port profile. Can be between 0 and 100.
PriorityQueue2Level int
The priority queue 2 level for the port profile. Can be between 0 and 100.
PriorityQueue3Level int
The priority queue 3 level for the port profile. Can be between 0 and 100.
PriorityQueue4Level int
The priority queue 4 level for the port profile. Can be between 0 and 100.
Site Changes to this property will trigger replacement. 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 or 100000
StormctrlBcastEnabled bool
Enable broadcast Storm Control for the port profile. Defaults to false.
StormctrlBcastLevel int
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlBcastRate int
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlMcastEnabled bool
Enable multicast Storm Control for the port profile. Defaults to false.
StormctrlMcastLevel int
The multicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlMcastRate int
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlType string
The type of Storm Control to use for the port profile. Can be one of level or rate.
StormctrlUcastEnabled bool
Enable unknown unicast Storm Control for the port profile. Defaults to false.
StormctrlUcastLevel int
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlUcastRate int
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StpPortMode bool
Enable spanning tree protocol on the port profile. Defaults to true.
TaggedNetworkconfIds List<string>
The IDs of networks to tag traffic with for the port profile.
VoiceNetworkconfId string
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 overrides speed. Defaults to true.
Dot1xCtrl string
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
Dot1xIdleTimeout int
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
EgressRateLimitKbps int
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
EgressRateLimitKbpsEnabled bool
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 or disabled. Defaults to native.
FullDuplex bool
Enable full duplex for the port profile. Defaults to false.
Isolation bool
Enable port isolation for the port profile. Defaults to false.
LldpmedEnabled bool
Enable LLDP-MED for the port profile. Defaults to true.
LldpmedNotifyEnabled bool
Enable LLDP-MED topology change notifications for the port profile.
Name string
The name of the port profile.
NativeNetworkconfId string
The ID of network to use as the main network on the port profile.
OpMode string
The operation mode for the port profile. Can only be switch Defaults to switch.
PoeMode string
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
PortSecurityEnabled bool
Enable port security for the port profile. Defaults to false.
PortSecurityMacAddresses []string
The MAC addresses associated with the port security for the port profile.
PriorityQueue1Level int
The priority queue 1 level for the port profile. Can be between 0 and 100.
PriorityQueue2Level int
The priority queue 2 level for the port profile. Can be between 0 and 100.
PriorityQueue3Level int
The priority queue 3 level for the port profile. Can be between 0 and 100.
PriorityQueue4Level int
The priority queue 4 level for the port profile. Can be between 0 and 100.
Site Changes to this property will trigger replacement. 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 or 100000
StormctrlBcastEnabled bool
Enable broadcast Storm Control for the port profile. Defaults to false.
StormctrlBcastLevel int
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlBcastRate int
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlMcastEnabled bool
Enable multicast Storm Control for the port profile. Defaults to false.
StormctrlMcastLevel int
The multicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlMcastRate int
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StormctrlType string
The type of Storm Control to use for the port profile. Can be one of level or rate.
StormctrlUcastEnabled bool
Enable unknown unicast Storm Control for the port profile. Defaults to false.
StormctrlUcastLevel int
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
StormctrlUcastRate int
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
StpPortMode bool
Enable spanning tree protocol on the port profile. Defaults to true.
TaggedNetworkconfIds []string
The IDs of networks to tag traffic with for the port profile.
VoiceNetworkconfId string
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 overrides speed. Defaults to true.
dot1xCtrl String
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1xIdleTimeout Integer
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
egressRateLimitKbps Integer
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egressRateLimitKbpsEnabled Boolean
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 or disabled. Defaults to native.
fullDuplex Boolean
Enable full duplex for the port profile. Defaults to false.
isolation Boolean
Enable port isolation for the port profile. Defaults to false.
lldpmedEnabled Boolean
Enable LLDP-MED for the port profile. Defaults to true.
lldpmedNotifyEnabled Boolean
Enable LLDP-MED topology change notifications for the port profile.
name String
The name of the port profile.
nativeNetworkconfId String
The ID of network to use as the main network on the port profile.
opMode String
The operation mode for the port profile. Can only be switch Defaults to switch.
poeMode String
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
portSecurityEnabled Boolean
Enable port security for the port profile. Defaults to false.
portSecurityMacAddresses List<String>
The MAC addresses associated with the port security for the port profile.
priorityQueue1Level Integer
The priority queue 1 level for the port profile. Can be between 0 and 100.
priorityQueue2Level Integer
The priority queue 2 level for the port profile. Can be between 0 and 100.
priorityQueue3Level Integer
The priority queue 3 level for the port profile. Can be between 0 and 100.
priorityQueue4Level Integer
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrlBcastEnabled Boolean
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrlBcastLevel Integer
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlBcastRate Integer
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlMcastEnabled Boolean
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrlMcastLevel Integer
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlMcastRate Integer
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlType String
The type of Storm Control to use for the port profile. Can be one of level or rate.
stormctrlUcastEnabled Boolean
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrlUcastLevel Integer
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlUcastRate Integer
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stpPortMode Boolean
Enable spanning tree protocol on the port profile. Defaults to true.
taggedNetworkconfIds List<String>
The IDs of networks to tag traffic with for the port profile.
voiceNetworkconfId String
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 overrides speed. Defaults to true.
dot1xCtrl string
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1xIdleTimeout number
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
egressRateLimitKbps number
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egressRateLimitKbpsEnabled boolean
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 or disabled. Defaults to native.
fullDuplex boolean
Enable full duplex for the port profile. Defaults to false.
isolation boolean
Enable port isolation for the port profile. Defaults to false.
lldpmedEnabled boolean
Enable LLDP-MED for the port profile. Defaults to true.
lldpmedNotifyEnabled boolean
Enable LLDP-MED topology change notifications for the port profile.
name string
The name of the port profile.
nativeNetworkconfId string
The ID of network to use as the main network on the port profile.
opMode string
The operation mode for the port profile. Can only be switch Defaults to switch.
poeMode string
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
portSecurityEnabled boolean
Enable port security for the port profile. Defaults to false.
portSecurityMacAddresses string[]
The MAC addresses associated with the port security for the port profile.
priorityQueue1Level number
The priority queue 1 level for the port profile. Can be between 0 and 100.
priorityQueue2Level number
The priority queue 2 level for the port profile. Can be between 0 and 100.
priorityQueue3Level number
The priority queue 3 level for the port profile. Can be between 0 and 100.
priorityQueue4Level number
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrlBcastEnabled boolean
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrlBcastLevel number
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlBcastRate number
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlMcastEnabled boolean
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrlMcastLevel number
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlMcastRate number
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlType string
The type of Storm Control to use for the port profile. Can be one of level or rate.
stormctrlUcastEnabled boolean
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrlUcastLevel number
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlUcastRate number
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stpPortMode boolean
Enable spanning tree protocol on the port profile. Defaults to true.
taggedNetworkconfIds string[]
The IDs of networks to tag traffic with for the port profile.
voiceNetworkconfId string
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 overrides speed. Defaults to true.
dot1x_ctrl str
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1x_idle_timeout int
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_limit_kbps int
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egress_rate_limit_kbps_enabled bool
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 or disabled. Defaults to native.
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_enabled bool
Enable LLDP-MED topology change notifications for the port profile.
name str
The name of the port profile.
native_networkconf_id str
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 to switch.
poe_mode str
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
port_security_enabled bool
Enable port security for the port profile. Defaults to false.
port_security_mac_addresses Sequence[str]
The MAC addresses associated with the port security for the port profile.
priority_queue1_level int
The priority queue 1 level for the port profile. Can be between 0 and 100.
priority_queue2_level int
The priority queue 2 level for the port profile. Can be between 0 and 100.
priority_queue3_level int
The priority queue 3 level for the port profile. Can be between 0 and 100.
priority_queue4_level int
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrl_bcast_enabled bool
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrl_bcast_level int
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrl_bcast_rate int
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrl_mcast_enabled bool
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrl_mcast_level int
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrl_mcast_rate int
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 or rate.
stormctrl_ucast_enabled bool
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrl_ucast_level int
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrl_ucast_rate int
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stp_port_mode bool
Enable spanning tree protocol on the port profile. Defaults to true.
tagged_networkconf_ids Sequence[str]
The IDs of networks to tag traffic with for the port profile.
voice_networkconf_id str
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 overrides speed. Defaults to true.
dot1xCtrl String
The type of 802.1X control to use. Can be auto, force_authorized, force_unauthorized, mac_based or multi_host. Defaults to force_authorized.
dot1xIdleTimeout Number
The timeout, in seconds, to use when using the MAC Based 802.1X control. Can be between 0 and 65535 Defaults to 300.
egressRateLimitKbps Number
The egress rate limit, in kpbs, for the port profile. Can be between 64 and 9999999.
egressRateLimitKbpsEnabled Boolean
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 or disabled. Defaults to native.
fullDuplex Boolean
Enable full duplex for the port profile. Defaults to false.
isolation Boolean
Enable port isolation for the port profile. Defaults to false.
lldpmedEnabled Boolean
Enable LLDP-MED for the port profile. Defaults to true.
lldpmedNotifyEnabled Boolean
Enable LLDP-MED topology change notifications for the port profile.
name String
The name of the port profile.
nativeNetworkconfId String
The ID of network to use as the main network on the port profile.
opMode String
The operation mode for the port profile. Can only be switch Defaults to switch.
poeMode String
The POE mode for the port profile. Can be one of auto, passv24, passthrough or off.
portSecurityEnabled Boolean
Enable port security for the port profile. Defaults to false.
portSecurityMacAddresses List<String>
The MAC addresses associated with the port security for the port profile.
priorityQueue1Level Number
The priority queue 1 level for the port profile. Can be between 0 and 100.
priorityQueue2Level Number
The priority queue 2 level for the port profile. Can be between 0 and 100.
priorityQueue3Level Number
The priority queue 3 level for the port profile. Can be between 0 and 100.
priorityQueue4Level Number
The priority queue 4 level for the port profile. Can be between 0 and 100.
site Changes to this property will trigger replacement. 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 or 100000
stormctrlBcastEnabled Boolean
Enable broadcast Storm Control for the port profile. Defaults to false.
stormctrlBcastLevel Number
The broadcast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlBcastRate Number
The broadcast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlMcastEnabled Boolean
Enable multicast Storm Control for the port profile. Defaults to false.
stormctrlMcastLevel Number
The multicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlMcastRate Number
The multicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stormctrlType String
The type of Storm Control to use for the port profile. Can be one of level or rate.
stormctrlUcastEnabled Boolean
Enable unknown unicast Storm Control for the port profile. Defaults to false.
stormctrlUcastLevel Number
The unknown unicast Storm Control level for the port profile. Can be between 0 and 100.
stormctrlUcastRate Number
The unknown unicast Storm Control rate for the port profile. Can be between 0 and 14880000.
stpPortMode Boolean
Enable spanning tree protocol on the port profile. Defaults to true.
taggedNetworkconfIds List<String>
The IDs of networks to tag traffic with for the port profile.
voiceNetworkconfId String
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.