1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSwitchcontrollerManagedswitchPorts
fortimanager 1.14.0 published on Tuesday, Apr 15, 2025 by fortinetdev

fortimanager.ObjectSwitchcontrollerManagedswitchPorts

Explore with Pulumi AI

Managed-switch port list.

This resource is a sub resource for variable ports of resource fortimanager.ObjectSwitchcontrollerManagedswitch. Conflict and overwrite may occur if use both of them. The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • dhcp_snoop_option82_override: fortimanager_object_switchcontroller_managedswitch_ports_dhcpsnoopoption82override

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trnameObjectSwitchcontrollerManagedswitch = new fortimanager.ObjectSwitchcontrollerManagedswitch("trnameObjectSwitchcontrollerManagedswitch", {
    _platform: "FS1D48T418000533",
    switchId: "3",
});
const trnameObjectSwitchcontrollerManagedswitchPorts = new fortimanager.ObjectSwitchcontrollerManagedswitchPorts("trnameObjectSwitchcontrollerManagedswitchPorts", {
    accessMode: "static",
    aggregatorMode: "count",
    allowedVlansAll: "enable",
    portName: "port3",
    managedSwitch: trnameObjectSwitchcontrollerManagedswitch.switchId,
}, {
    dependsOn: [trnameObjectSwitchcontrollerManagedswitch],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname_object_switchcontroller_managedswitch = fortimanager.ObjectSwitchcontrollerManagedswitch("trnameObjectSwitchcontrollerManagedswitch",
    _platform="FS1D48T418000533",
    switch_id="3")
trname_object_switchcontroller_managedswitch_ports = fortimanager.ObjectSwitchcontrollerManagedswitchPorts("trnameObjectSwitchcontrollerManagedswitchPorts",
    access_mode="static",
    aggregator_mode="count",
    allowed_vlans_all="enable",
    port_name="port3",
    managed_switch=trname_object_switchcontroller_managedswitch.switch_id,
    opts = pulumi.ResourceOptions(depends_on=[trname_object_switchcontroller_managedswitch]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trnameObjectSwitchcontrollerManagedswitch, err := fortimanager.NewObjectSwitchcontrollerManagedswitch(ctx, "trnameObjectSwitchcontrollerManagedswitch", &fortimanager.ObjectSwitchcontrollerManagedswitchArgs{
			_platform: pulumi.String("FS1D48T418000533"),
			SwitchId:  pulumi.String("3"),
		})
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectSwitchcontrollerManagedswitchPorts(ctx, "trnameObjectSwitchcontrollerManagedswitchPorts", &fortimanager.ObjectSwitchcontrollerManagedswitchPortsArgs{
			AccessMode:      pulumi.String("static"),
			AggregatorMode:  pulumi.String("count"),
			AllowedVlansAll: pulumi.String("enable"),
			PortName:        pulumi.String("port3"),
			ManagedSwitch:   trnameObjectSwitchcontrollerManagedswitch.SwitchId,
		}, pulumi.DependsOn([]pulumi.Resource{
			trnameObjectSwitchcontrollerManagedswitch,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trnameObjectSwitchcontrollerManagedswitch = new Fortimanager.ObjectSwitchcontrollerManagedswitch("trnameObjectSwitchcontrollerManagedswitch", new()
    {
        _platform = "FS1D48T418000533",
        SwitchId = "3",
    });

    var trnameObjectSwitchcontrollerManagedswitchPorts = new Fortimanager.ObjectSwitchcontrollerManagedswitchPorts("trnameObjectSwitchcontrollerManagedswitchPorts", new()
    {
        AccessMode = "static",
        AggregatorMode = "count",
        AllowedVlansAll = "enable",
        PortName = "port3",
        ManagedSwitch = trnameObjectSwitchcontrollerManagedswitch.SwitchId,
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trnameObjectSwitchcontrollerManagedswitch,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectSwitchcontrollerManagedswitch;
import com.pulumi.fortimanager.ObjectSwitchcontrollerManagedswitchArgs;
import com.pulumi.fortimanager.ObjectSwitchcontrollerManagedswitchPorts;
import com.pulumi.fortimanager.ObjectSwitchcontrollerManagedswitchPortsArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var trnameObjectSwitchcontrollerManagedswitch = new ObjectSwitchcontrollerManagedswitch("trnameObjectSwitchcontrollerManagedswitch", ObjectSwitchcontrollerManagedswitchArgs.builder()
            ._platform("FS1D48T418000533")
            .switchId(3)
            .build());

        var trnameObjectSwitchcontrollerManagedswitchPorts = new ObjectSwitchcontrollerManagedswitchPorts("trnameObjectSwitchcontrollerManagedswitchPorts", ObjectSwitchcontrollerManagedswitchPortsArgs.builder()
            .accessMode("static")
            .aggregatorMode("count")
            .allowedVlansAll("enable")
            .portName("port3")
            .managedSwitch(trnameObjectSwitchcontrollerManagedswitch.switchId())
            .build(), CustomResourceOptions.builder()
                .dependsOn(trnameObjectSwitchcontrollerManagedswitch)
                .build());

    }
}
Copy
resources:
  trnameObjectSwitchcontrollerManagedswitchPorts:
    type: fortimanager:ObjectSwitchcontrollerManagedswitchPorts
    properties:
      accessMode: static
      aggregatorMode: count
      allowedVlansAll: enable
      portName: port3
      managedSwitch: ${trnameObjectSwitchcontrollerManagedswitch.switchId}
    options:
      dependsOn:
        - ${trnameObjectSwitchcontrollerManagedswitch}
  trnameObjectSwitchcontrollerManagedswitch:
    type: fortimanager:ObjectSwitchcontrollerManagedswitch
    properties:
      _platform: FS1D48T418000533
      switchId: 3
Copy

Create ObjectSwitchcontrollerManagedswitchPorts Resource

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

Constructor syntax

new ObjectSwitchcontrollerManagedswitchPorts(name: string, args: ObjectSwitchcontrollerManagedswitchPortsArgs, opts?: CustomResourceOptions);
@overload
def ObjectSwitchcontrollerManagedswitchPorts(resource_name: str,
                                             args: ObjectSwitchcontrollerManagedswitchPortsArgs,
                                             opts: Optional[ResourceOptions] = None)

@overload
def ObjectSwitchcontrollerManagedswitchPorts(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             managed_switch: Optional[str] = None,
                                             access_mode: Optional[str] = None,
                                             acl_groups: Optional[Sequence[str]] = None,
                                             adom: Optional[str] = None,
                                             aggregator_mode: Optional[str] = None,
                                             allowed_vlans: Optional[str] = None,
                                             allowed_vlans_all: Optional[str] = None,
                                             arp_inspection_trust: Optional[str] = None,
                                             authenticated_port: Optional[float] = None,
                                             bundle: Optional[str] = None,
                                             description: Optional[str] = None,
                                             dhcp_snoop_option82_overrides: Optional[Sequence[ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs]] = None,
                                             dhcp_snoop_option82_trust: Optional[str] = None,
                                             dhcp_snooping: Optional[str] = None,
                                             discard_mode: Optional[str] = None,
                                             dsl_profile: Optional[str] = None,
                                             dynamic_sort_subtable: Optional[str] = None,
                                             edge_port: Optional[str] = None,
                                             encrypted_port: Optional[float] = None,
                                             fec_capable: Optional[float] = None,
                                             fec_state: Optional[str] = None,
                                             flap_duration: Optional[float] = None,
                                             flap_rate: Optional[float] = None,
                                             flap_timeout: Optional[float] = None,
                                             flapguard: Optional[str] = None,
                                             flow_control: Optional[str] = None,
                                             fortiswitch_acls: Optional[Sequence[float]] = None,
                                             igmp_snooping: Optional[str] = None,
                                             igmp_snooping_flood_reports: Optional[str] = None,
                                             igmps_flood_reports: Optional[str] = None,
                                             igmps_flood_traffic: Optional[str] = None,
                                             interface_tags: Optional[str] = None,
                                             ip_source_guard: Optional[str] = None,
                                             isl_peer_device_sn: Optional[str] = None,
                                             lacp_speed: Optional[str] = None,
                                             learning_limit: Optional[float] = None,
                                             link_status: Optional[str] = None,
                                             lldp_profile: Optional[str] = None,
                                             lldp_status: Optional[str] = None,
                                             loop_guard: Optional[str] = None,
                                             loop_guard_timeout: Optional[float] = None,
                                             matched_dpp_intf_tags: Optional[str] = None,
                                             matched_dpp_policy: Optional[str] = None,
                                             max_bundle: Optional[float] = None,
                                             mcast_snooping_flood_traffic: Optional[str] = None,
                                             mclag: Optional[str] = None,
                                             mclag_icl_port: Optional[float] = None,
                                             media_type: Optional[str] = None,
                                             member_withdrawal_behavior: Optional[str] = None,
                                             members: Optional[Sequence[str]] = None,
                                             min_bundle: Optional[float] = None,
                                             mode: Optional[str] = None,
                                             object_switchcontroller_managedswitch_ports_id: Optional[str] = None,
                                             p2p_port: Optional[float] = None,
                                             packet_sample_rate: Optional[float] = None,
                                             packet_sampler: Optional[str] = None,
                                             pause_meter: Optional[float] = None,
                                             pause_meter_resume: Optional[str] = None,
                                             poe_max_power: Optional[str] = None,
                                             poe_mode_bt_cabable: Optional[float] = None,
                                             poe_port_mode: Optional[str] = None,
                                             poe_port_power: Optional[str] = None,
                                             poe_port_priority: Optional[str] = None,
                                             poe_pre_standard_detection: Optional[str] = None,
                                             poe_standard: Optional[str] = None,
                                             poe_status: Optional[str] = None,
                                             port_name: Optional[str] = None,
                                             port_owner: Optional[str] = None,
                                             port_policy: Optional[str] = None,
                                             port_security_policy: Optional[str] = None,
                                             port_selection_criteria: Optional[str] = None,
                                             ptp_status: Optional[str] = None,
                                             qos_policy: Optional[str] = None,
                                             restricted_auth_port: Optional[float] = None,
                                             rpvst_port: Optional[str] = None,
                                             sample_direction: Optional[str] = None,
                                             scopetype: Optional[str] = None,
                                             sflow_counter_interval: Optional[float] = None,
                                             sflow_sample_rate: Optional[float] = None,
                                             sflow_sampler: Optional[str] = None,
                                             status: Optional[str] = None,
                                             sticky_mac: Optional[str] = None,
                                             stp_bpdu_guard: Optional[str] = None,
                                             stp_bpdu_guard_timeout: Optional[float] = None,
                                             stp_root_guard: Optional[str] = None,
                                             stp_state: Optional[str] = None,
                                             trunk_member: Optional[float] = None,
                                             type: Optional[str] = None,
                                             untagged_vlans: Optional[str] = None,
                                             vlan: Optional[str] = None)
func NewObjectSwitchcontrollerManagedswitchPorts(ctx *Context, name string, args ObjectSwitchcontrollerManagedswitchPortsArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerManagedswitchPorts, error)
public ObjectSwitchcontrollerManagedswitchPorts(string name, ObjectSwitchcontrollerManagedswitchPortsArgs args, CustomResourceOptions? opts = null)
public ObjectSwitchcontrollerManagedswitchPorts(String name, ObjectSwitchcontrollerManagedswitchPortsArgs args)
public ObjectSwitchcontrollerManagedswitchPorts(String name, ObjectSwitchcontrollerManagedswitchPortsArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSwitchcontrollerManagedswitchPorts
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 This property is required. ObjectSwitchcontrollerManagedswitchPortsArgs
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 This property is required. ObjectSwitchcontrollerManagedswitchPortsArgs
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 This property is required. ObjectSwitchcontrollerManagedswitchPortsArgs
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 This property is required. ObjectSwitchcontrollerManagedswitchPortsArgs
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. ObjectSwitchcontrollerManagedswitchPortsArgs
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 objectSwitchcontrollerManagedswitchPortsResource = new Fortimanager.ObjectSwitchcontrollerManagedswitchPorts("objectSwitchcontrollerManagedswitchPortsResource", new()
{
    ManagedSwitch = "string",
    AccessMode = "string",
    AclGroups = new[]
    {
        "string",
    },
    Adom = "string",
    AggregatorMode = "string",
    AllowedVlans = "string",
    AllowedVlansAll = "string",
    ArpInspectionTrust = "string",
    AuthenticatedPort = 0,
    Bundle = "string",
    Description = "string",
    DhcpSnoopOption82Overrides = new[]
    {
        new Fortimanager.Inputs.ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs
        {
            CircuitId = "string",
            RemoteId = "string",
            VlanName = "string",
        },
    },
    DhcpSnoopOption82Trust = "string",
    DhcpSnooping = "string",
    DiscardMode = "string",
    DslProfile = "string",
    DynamicSortSubtable = "string",
    EdgePort = "string",
    EncryptedPort = 0,
    FecCapable = 0,
    FecState = "string",
    FlapDuration = 0,
    FlapRate = 0,
    FlapTimeout = 0,
    Flapguard = "string",
    FlowControl = "string",
    FortiswitchAcls = new[]
    {
        0,
    },
    IgmpSnooping = "string",
    IgmpSnoopingFloodReports = "string",
    IgmpsFloodReports = "string",
    IgmpsFloodTraffic = "string",
    InterfaceTags = "string",
    IpSourceGuard = "string",
    IslPeerDeviceSn = "string",
    LacpSpeed = "string",
    LearningLimit = 0,
    LinkStatus = "string",
    LldpProfile = "string",
    LldpStatus = "string",
    LoopGuard = "string",
    LoopGuardTimeout = 0,
    MatchedDppIntfTags = "string",
    MatchedDppPolicy = "string",
    MaxBundle = 0,
    McastSnoopingFloodTraffic = "string",
    Mclag = "string",
    MclagIclPort = 0,
    MediaType = "string",
    MemberWithdrawalBehavior = "string",
    Members = new[]
    {
        "string",
    },
    MinBundle = 0,
    Mode = "string",
    ObjectSwitchcontrollerManagedswitchPortsId = "string",
    P2pPort = 0,
    PacketSampleRate = 0,
    PacketSampler = "string",
    PauseMeter = 0,
    PauseMeterResume = "string",
    PoeMaxPower = "string",
    PoeModeBtCabable = 0,
    PoePortMode = "string",
    PoePortPower = "string",
    PoePortPriority = "string",
    PoePreStandardDetection = "string",
    PoeStandard = "string",
    PoeStatus = "string",
    PortName = "string",
    PortOwner = "string",
    PortPolicy = "string",
    PortSecurityPolicy = "string",
    PortSelectionCriteria = "string",
    PtpStatus = "string",
    QosPolicy = "string",
    RestrictedAuthPort = 0,
    RpvstPort = "string",
    SampleDirection = "string",
    Scopetype = "string",
    SflowCounterInterval = 0,
    SflowSampleRate = 0,
    SflowSampler = "string",
    Status = "string",
    StickyMac = "string",
    StpBpduGuard = "string",
    StpBpduGuardTimeout = 0,
    StpRootGuard = "string",
    StpState = "string",
    TrunkMember = 0,
    Type = "string",
    UntaggedVlans = "string",
    Vlan = "string",
});
Copy
example, err := fortimanager.NewObjectSwitchcontrollerManagedswitchPorts(ctx, "objectSwitchcontrollerManagedswitchPortsResource", &fortimanager.ObjectSwitchcontrollerManagedswitchPortsArgs{
ManagedSwitch: pulumi.String("string"),
AccessMode: pulumi.String("string"),
AclGroups: pulumi.StringArray{
pulumi.String("string"),
},
Adom: pulumi.String("string"),
AggregatorMode: pulumi.String("string"),
AllowedVlans: pulumi.String("string"),
AllowedVlansAll: pulumi.String("string"),
ArpInspectionTrust: pulumi.String("string"),
AuthenticatedPort: pulumi.Float64(0),
Bundle: pulumi.String("string"),
Description: pulumi.String("string"),
DhcpSnoopOption82Overrides: .ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArray{
&.ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs{
CircuitId: pulumi.String("string"),
RemoteId: pulumi.String("string"),
VlanName: pulumi.String("string"),
},
},
DhcpSnoopOption82Trust: pulumi.String("string"),
DhcpSnooping: pulumi.String("string"),
DiscardMode: pulumi.String("string"),
DslProfile: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
EdgePort: pulumi.String("string"),
EncryptedPort: pulumi.Float64(0),
FecCapable: pulumi.Float64(0),
FecState: pulumi.String("string"),
FlapDuration: pulumi.Float64(0),
FlapRate: pulumi.Float64(0),
FlapTimeout: pulumi.Float64(0),
Flapguard: pulumi.String("string"),
FlowControl: pulumi.String("string"),
FortiswitchAcls: pulumi.Float64Array{
pulumi.Float64(0),
},
IgmpSnooping: pulumi.String("string"),
IgmpSnoopingFloodReports: pulumi.String("string"),
IgmpsFloodReports: pulumi.String("string"),
IgmpsFloodTraffic: pulumi.String("string"),
InterfaceTags: pulumi.String("string"),
IpSourceGuard: pulumi.String("string"),
IslPeerDeviceSn: pulumi.String("string"),
LacpSpeed: pulumi.String("string"),
LearningLimit: pulumi.Float64(0),
LinkStatus: pulumi.String("string"),
LldpProfile: pulumi.String("string"),
LldpStatus: pulumi.String("string"),
LoopGuard: pulumi.String("string"),
LoopGuardTimeout: pulumi.Float64(0),
MatchedDppIntfTags: pulumi.String("string"),
MatchedDppPolicy: pulumi.String("string"),
MaxBundle: pulumi.Float64(0),
McastSnoopingFloodTraffic: pulumi.String("string"),
Mclag: pulumi.String("string"),
MclagIclPort: pulumi.Float64(0),
MediaType: pulumi.String("string"),
MemberWithdrawalBehavior: pulumi.String("string"),
Members: pulumi.StringArray{
pulumi.String("string"),
},
MinBundle: pulumi.Float64(0),
Mode: pulumi.String("string"),
ObjectSwitchcontrollerManagedswitchPortsId: pulumi.String("string"),
P2pPort: pulumi.Float64(0),
PacketSampleRate: pulumi.Float64(0),
PacketSampler: pulumi.String("string"),
PauseMeter: pulumi.Float64(0),
PauseMeterResume: pulumi.String("string"),
PoeMaxPower: pulumi.String("string"),
PoeModeBtCabable: pulumi.Float64(0),
PoePortMode: pulumi.String("string"),
PoePortPower: pulumi.String("string"),
PoePortPriority: pulumi.String("string"),
PoePreStandardDetection: pulumi.String("string"),
PoeStandard: pulumi.String("string"),
PoeStatus: pulumi.String("string"),
PortName: pulumi.String("string"),
PortOwner: pulumi.String("string"),
PortPolicy: pulumi.String("string"),
PortSecurityPolicy: pulumi.String("string"),
PortSelectionCriteria: pulumi.String("string"),
PtpStatus: pulumi.String("string"),
QosPolicy: pulumi.String("string"),
RestrictedAuthPort: pulumi.Float64(0),
RpvstPort: pulumi.String("string"),
SampleDirection: pulumi.String("string"),
Scopetype: pulumi.String("string"),
SflowCounterInterval: pulumi.Float64(0),
SflowSampleRate: pulumi.Float64(0),
SflowSampler: pulumi.String("string"),
Status: pulumi.String("string"),
StickyMac: pulumi.String("string"),
StpBpduGuard: pulumi.String("string"),
StpBpduGuardTimeout: pulumi.Float64(0),
StpRootGuard: pulumi.String("string"),
StpState: pulumi.String("string"),
TrunkMember: pulumi.Float64(0),
Type: pulumi.String("string"),
UntaggedVlans: pulumi.String("string"),
Vlan: pulumi.String("string"),
})
Copy
var objectSwitchcontrollerManagedswitchPortsResource = new ObjectSwitchcontrollerManagedswitchPorts("objectSwitchcontrollerManagedswitchPortsResource", ObjectSwitchcontrollerManagedswitchPortsArgs.builder()
    .managedSwitch("string")
    .accessMode("string")
    .aclGroups("string")
    .adom("string")
    .aggregatorMode("string")
    .allowedVlans("string")
    .allowedVlansAll("string")
    .arpInspectionTrust("string")
    .authenticatedPort(0)
    .bundle("string")
    .description("string")
    .dhcpSnoopOption82Overrides(ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs.builder()
        .circuitId("string")
        .remoteId("string")
        .vlanName("string")
        .build())
    .dhcpSnoopOption82Trust("string")
    .dhcpSnooping("string")
    .discardMode("string")
    .dslProfile("string")
    .dynamicSortSubtable("string")
    .edgePort("string")
    .encryptedPort(0)
    .fecCapable(0)
    .fecState("string")
    .flapDuration(0)
    .flapRate(0)
    .flapTimeout(0)
    .flapguard("string")
    .flowControl("string")
    .fortiswitchAcls(0)
    .igmpSnooping("string")
    .igmpSnoopingFloodReports("string")
    .igmpsFloodReports("string")
    .igmpsFloodTraffic("string")
    .interfaceTags("string")
    .ipSourceGuard("string")
    .islPeerDeviceSn("string")
    .lacpSpeed("string")
    .learningLimit(0)
    .linkStatus("string")
    .lldpProfile("string")
    .lldpStatus("string")
    .loopGuard("string")
    .loopGuardTimeout(0)
    .matchedDppIntfTags("string")
    .matchedDppPolicy("string")
    .maxBundle(0)
    .mcastSnoopingFloodTraffic("string")
    .mclag("string")
    .mclagIclPort(0)
    .mediaType("string")
    .memberWithdrawalBehavior("string")
    .members("string")
    .minBundle(0)
    .mode("string")
    .objectSwitchcontrollerManagedswitchPortsId("string")
    .p2pPort(0)
    .packetSampleRate(0)
    .packetSampler("string")
    .pauseMeter(0)
    .pauseMeterResume("string")
    .poeMaxPower("string")
    .poeModeBtCabable(0)
    .poePortMode("string")
    .poePortPower("string")
    .poePortPriority("string")
    .poePreStandardDetection("string")
    .poeStandard("string")
    .poeStatus("string")
    .portName("string")
    .portOwner("string")
    .portPolicy("string")
    .portSecurityPolicy("string")
    .portSelectionCriteria("string")
    .ptpStatus("string")
    .qosPolicy("string")
    .restrictedAuthPort(0)
    .rpvstPort("string")
    .sampleDirection("string")
    .scopetype("string")
    .sflowCounterInterval(0)
    .sflowSampleRate(0)
    .sflowSampler("string")
    .status("string")
    .stickyMac("string")
    .stpBpduGuard("string")
    .stpBpduGuardTimeout(0)
    .stpRootGuard("string")
    .stpState("string")
    .trunkMember(0)
    .type("string")
    .untaggedVlans("string")
    .vlan("string")
    .build());
Copy
object_switchcontroller_managedswitch_ports_resource = fortimanager.ObjectSwitchcontrollerManagedswitchPorts("objectSwitchcontrollerManagedswitchPortsResource",
    managed_switch="string",
    access_mode="string",
    acl_groups=["string"],
    adom="string",
    aggregator_mode="string",
    allowed_vlans="string",
    allowed_vlans_all="string",
    arp_inspection_trust="string",
    authenticated_port=0,
    bundle="string",
    description="string",
    dhcp_snoop_option82_overrides=[{
        "circuit_id": "string",
        "remote_id": "string",
        "vlan_name": "string",
    }],
    dhcp_snoop_option82_trust="string",
    dhcp_snooping="string",
    discard_mode="string",
    dsl_profile="string",
    dynamic_sort_subtable="string",
    edge_port="string",
    encrypted_port=0,
    fec_capable=0,
    fec_state="string",
    flap_duration=0,
    flap_rate=0,
    flap_timeout=0,
    flapguard="string",
    flow_control="string",
    fortiswitch_acls=[0],
    igmp_snooping="string",
    igmp_snooping_flood_reports="string",
    igmps_flood_reports="string",
    igmps_flood_traffic="string",
    interface_tags="string",
    ip_source_guard="string",
    isl_peer_device_sn="string",
    lacp_speed="string",
    learning_limit=0,
    link_status="string",
    lldp_profile="string",
    lldp_status="string",
    loop_guard="string",
    loop_guard_timeout=0,
    matched_dpp_intf_tags="string",
    matched_dpp_policy="string",
    max_bundle=0,
    mcast_snooping_flood_traffic="string",
    mclag="string",
    mclag_icl_port=0,
    media_type="string",
    member_withdrawal_behavior="string",
    members=["string"],
    min_bundle=0,
    mode="string",
    object_switchcontroller_managedswitch_ports_id="string",
    p2p_port=0,
    packet_sample_rate=0,
    packet_sampler="string",
    pause_meter=0,
    pause_meter_resume="string",
    poe_max_power="string",
    poe_mode_bt_cabable=0,
    poe_port_mode="string",
    poe_port_power="string",
    poe_port_priority="string",
    poe_pre_standard_detection="string",
    poe_standard="string",
    poe_status="string",
    port_name="string",
    port_owner="string",
    port_policy="string",
    port_security_policy="string",
    port_selection_criteria="string",
    ptp_status="string",
    qos_policy="string",
    restricted_auth_port=0,
    rpvst_port="string",
    sample_direction="string",
    scopetype="string",
    sflow_counter_interval=0,
    sflow_sample_rate=0,
    sflow_sampler="string",
    status="string",
    sticky_mac="string",
    stp_bpdu_guard="string",
    stp_bpdu_guard_timeout=0,
    stp_root_guard="string",
    stp_state="string",
    trunk_member=0,
    type="string",
    untagged_vlans="string",
    vlan="string")
Copy
const objectSwitchcontrollerManagedswitchPortsResource = new fortimanager.ObjectSwitchcontrollerManagedswitchPorts("objectSwitchcontrollerManagedswitchPortsResource", {
    managedSwitch: "string",
    accessMode: "string",
    aclGroups: ["string"],
    adom: "string",
    aggregatorMode: "string",
    allowedVlans: "string",
    allowedVlansAll: "string",
    arpInspectionTrust: "string",
    authenticatedPort: 0,
    bundle: "string",
    description: "string",
    dhcpSnoopOption82Overrides: [{
        circuitId: "string",
        remoteId: "string",
        vlanName: "string",
    }],
    dhcpSnoopOption82Trust: "string",
    dhcpSnooping: "string",
    discardMode: "string",
    dslProfile: "string",
    dynamicSortSubtable: "string",
    edgePort: "string",
    encryptedPort: 0,
    fecCapable: 0,
    fecState: "string",
    flapDuration: 0,
    flapRate: 0,
    flapTimeout: 0,
    flapguard: "string",
    flowControl: "string",
    fortiswitchAcls: [0],
    igmpSnooping: "string",
    igmpSnoopingFloodReports: "string",
    igmpsFloodReports: "string",
    igmpsFloodTraffic: "string",
    interfaceTags: "string",
    ipSourceGuard: "string",
    islPeerDeviceSn: "string",
    lacpSpeed: "string",
    learningLimit: 0,
    linkStatus: "string",
    lldpProfile: "string",
    lldpStatus: "string",
    loopGuard: "string",
    loopGuardTimeout: 0,
    matchedDppIntfTags: "string",
    matchedDppPolicy: "string",
    maxBundle: 0,
    mcastSnoopingFloodTraffic: "string",
    mclag: "string",
    mclagIclPort: 0,
    mediaType: "string",
    memberWithdrawalBehavior: "string",
    members: ["string"],
    minBundle: 0,
    mode: "string",
    objectSwitchcontrollerManagedswitchPortsId: "string",
    p2pPort: 0,
    packetSampleRate: 0,
    packetSampler: "string",
    pauseMeter: 0,
    pauseMeterResume: "string",
    poeMaxPower: "string",
    poeModeBtCabable: 0,
    poePortMode: "string",
    poePortPower: "string",
    poePortPriority: "string",
    poePreStandardDetection: "string",
    poeStandard: "string",
    poeStatus: "string",
    portName: "string",
    portOwner: "string",
    portPolicy: "string",
    portSecurityPolicy: "string",
    portSelectionCriteria: "string",
    ptpStatus: "string",
    qosPolicy: "string",
    restrictedAuthPort: 0,
    rpvstPort: "string",
    sampleDirection: "string",
    scopetype: "string",
    sflowCounterInterval: 0,
    sflowSampleRate: 0,
    sflowSampler: "string",
    status: "string",
    stickyMac: "string",
    stpBpduGuard: "string",
    stpBpduGuardTimeout: 0,
    stpRootGuard: "string",
    stpState: "string",
    trunkMember: 0,
    type: "string",
    untaggedVlans: "string",
    vlan: "string",
});
Copy
type: fortimanager:ObjectSwitchcontrollerManagedswitchPorts
properties:
    accessMode: string
    aclGroups:
        - string
    adom: string
    aggregatorMode: string
    allowedVlans: string
    allowedVlansAll: string
    arpInspectionTrust: string
    authenticatedPort: 0
    bundle: string
    description: string
    dhcpSnoopOption82Overrides:
        - circuitId: string
          remoteId: string
          vlanName: string
    dhcpSnoopOption82Trust: string
    dhcpSnooping: string
    discardMode: string
    dslProfile: string
    dynamicSortSubtable: string
    edgePort: string
    encryptedPort: 0
    fecCapable: 0
    fecState: string
    flapDuration: 0
    flapRate: 0
    flapTimeout: 0
    flapguard: string
    flowControl: string
    fortiswitchAcls:
        - 0
    igmpSnooping: string
    igmpSnoopingFloodReports: string
    igmpsFloodReports: string
    igmpsFloodTraffic: string
    interfaceTags: string
    ipSourceGuard: string
    islPeerDeviceSn: string
    lacpSpeed: string
    learningLimit: 0
    linkStatus: string
    lldpProfile: string
    lldpStatus: string
    loopGuard: string
    loopGuardTimeout: 0
    managedSwitch: string
    matchedDppIntfTags: string
    matchedDppPolicy: string
    maxBundle: 0
    mcastSnoopingFloodTraffic: string
    mclag: string
    mclagIclPort: 0
    mediaType: string
    memberWithdrawalBehavior: string
    members:
        - string
    minBundle: 0
    mode: string
    objectSwitchcontrollerManagedswitchPortsId: string
    p2pPort: 0
    packetSampleRate: 0
    packetSampler: string
    pauseMeter: 0
    pauseMeterResume: string
    poeMaxPower: string
    poeModeBtCabable: 0
    poePortMode: string
    poePortPower: string
    poePortPriority: string
    poePreStandardDetection: string
    poeStandard: string
    poeStatus: string
    portName: string
    portOwner: string
    portPolicy: string
    portSecurityPolicy: string
    portSelectionCriteria: string
    ptpStatus: string
    qosPolicy: string
    restrictedAuthPort: 0
    rpvstPort: string
    sampleDirection: string
    scopetype: string
    sflowCounterInterval: 0
    sflowSampleRate: 0
    sflowSampler: string
    status: string
    stickyMac: string
    stpBpduGuard: string
    stpBpduGuardTimeout: 0
    stpRootGuard: string
    stpState: string
    trunkMember: 0
    type: string
    untaggedVlans: string
    vlan: string
Copy

ObjectSwitchcontrollerManagedswitchPorts 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 ObjectSwitchcontrollerManagedswitchPorts resource accepts the following input properties:

ManagedSwitch This property is required. string
Managed Switch.
AccessMode string
Access mode of the port. Valid values: normal, nac.
AclGroups List<string>
ACL groups on this port.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AggregatorMode string
LACP member select mode. Valid values: bandwidth, count.
AllowedVlans string
Configure switch port tagged vlans
AllowedVlansAll string
Enable/disable all defined vlans on this port. Valid values: disable, enable.
ArpInspectionTrust string
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
AuthenticatedPort double
Authenticated-Port.
Bundle string
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
Description string
Description for port.
DhcpSnoopOption82Overrides List<ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82Override>
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
DhcpSnoopOption82Trust string
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
DhcpSnooping string
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
DiscardMode string
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
DslProfile string
DSL policy configuration.
DynamicSortSubtable string

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

EdgePort string
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
EncryptedPort double
Encrypted-Port.
FecCapable double
FEC capable.
FecState string
State of forward error correction. Valid values: disabled, cl74, cl91.
FlapDuration double
Period over which flap events are calculated (seconds).
FlapRate double
Number of stage change events needed within flap-duration.
FlapTimeout double
Flap guard disabling protection (min).
Flapguard string
Enable/disable flap guard. Valid values: disable, enable.
FlowControl string
Flow control direction. Valid values: disable, tx, rx, both.
FortiswitchAcls List<double>
ACLs on this port.
IgmpSnooping string
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
IgmpSnoopingFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
InterfaceTags string
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
IpSourceGuard string
Enable/disable IP source guard. Valid values: disable, enable.
IslPeerDeviceSn string
Isl-Peer-Device-Sn.
LacpSpeed string
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
LearningLimit double
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
LinkStatus string
Link-Status. Valid values: down, up.
LldpProfile string
LLDP port TLV profile.
LldpStatus string
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
LoopGuard string
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
LoopGuardTimeout double
Loop-guard timeout (0 - 120 min, default = 45).
MatchedDppIntfTags string
Matched interface tags in the dynamic port policy.
MatchedDppPolicy string
Matched child policy in the dynamic port policy.
MaxBundle double
Maximum size of LAG bundle (1 - 24, default = 24)
McastSnoopingFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
Mclag string
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
MclagIclPort double
Mclag-Icl-Port.
MediaType string
Media-Type.
MemberWithdrawalBehavior string
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
Members List<string>
Aggregated LAG bundle interfaces.
MinBundle double
Minimum size of LAG bundle (1 - 24, default = 1)
Mode string
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
ObjectSwitchcontrollerManagedswitchPortsId string
an identifier for the resource with format {{port_name}}.
P2pPort double
P2P-Port.
PacketSampleRate double
Packet sampling rate (0 - 99999 p/sec).
PacketSampler string
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
PauseMeter double
Configure ingress pause metering rate, in kbps (default = 0, disabled).
PauseMeterResume string
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
PoeMaxPower string
Poe-Max-Power.
PoeModeBtCabable double
PoE mode IEEE 802.3BT capable.
PoePortMode string
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
PoePortPower string
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
PoePortPriority string
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
PoePreStandardDetection string
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
PoeStandard string
Poe-Standard.
PoeStatus string
Enable/disable PoE status. Valid values: disable, enable.
PortName string
Switch port name.
PortOwner string
Switch port name.
PortPolicy string
Switch controller dynamic port policy from available options.
PortSecurityPolicy string
Switch controller authentication policy to apply to this managed switch from available options.
PortSelectionCriteria string
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
PtpStatus string
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
QosPolicy string
Switch controller QoS policy from available options.
RestrictedAuthPort double
Restricted-Auth-Port.
RpvstPort string
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
SampleDirection string
Packet sampling direction. Valid values: rx, tx, both.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SflowCounterInterval double
sFlow sampling counter polling interval (0 - 255 sec).
SflowSampleRate double
sFlow sampler sample rate (0 - 99999 p/sec).
SflowSampler string
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
Status string
Switch port admin status: up or down. Valid values: down, up.
StickyMac string
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
StpBpduGuard string
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
StpBpduGuardTimeout double
BPDU Guard disabling protection (0 - 120 min).
StpRootGuard string
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
StpState string
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
TrunkMember double
Trunk member.
Type string
Interface type: physical or trunk port. Valid values: physical, trunk.
UntaggedVlans string
Configure switch port untagged vlans
Vlan string
Assign switch ports to a VLAN.
ManagedSwitch This property is required. string
Managed Switch.
AccessMode string
Access mode of the port. Valid values: normal, nac.
AclGroups []string
ACL groups on this port.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AggregatorMode string
LACP member select mode. Valid values: bandwidth, count.
AllowedVlans string
Configure switch port tagged vlans
AllowedVlansAll string
Enable/disable all defined vlans on this port. Valid values: disable, enable.
ArpInspectionTrust string
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
AuthenticatedPort float64
Authenticated-Port.
Bundle string
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
Description string
Description for port.
DhcpSnoopOption82Overrides []ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
DhcpSnoopOption82Trust string
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
DhcpSnooping string
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
DiscardMode string
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
DslProfile string
DSL policy configuration.
DynamicSortSubtable string

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

EdgePort string
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
EncryptedPort float64
Encrypted-Port.
FecCapable float64
FEC capable.
FecState string
State of forward error correction. Valid values: disabled, cl74, cl91.
FlapDuration float64
Period over which flap events are calculated (seconds).
FlapRate float64
Number of stage change events needed within flap-duration.
FlapTimeout float64
Flap guard disabling protection (min).
Flapguard string
Enable/disable flap guard. Valid values: disable, enable.
FlowControl string
Flow control direction. Valid values: disable, tx, rx, both.
FortiswitchAcls []float64
ACLs on this port.
IgmpSnooping string
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
IgmpSnoopingFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
InterfaceTags string
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
IpSourceGuard string
Enable/disable IP source guard. Valid values: disable, enable.
IslPeerDeviceSn string
Isl-Peer-Device-Sn.
LacpSpeed string
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
LearningLimit float64
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
LinkStatus string
Link-Status. Valid values: down, up.
LldpProfile string
LLDP port TLV profile.
LldpStatus string
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
LoopGuard string
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
LoopGuardTimeout float64
Loop-guard timeout (0 - 120 min, default = 45).
MatchedDppIntfTags string
Matched interface tags in the dynamic port policy.
MatchedDppPolicy string
Matched child policy in the dynamic port policy.
MaxBundle float64
Maximum size of LAG bundle (1 - 24, default = 24)
McastSnoopingFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
Mclag string
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
MclagIclPort float64
Mclag-Icl-Port.
MediaType string
Media-Type.
MemberWithdrawalBehavior string
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
Members []string
Aggregated LAG bundle interfaces.
MinBundle float64
Minimum size of LAG bundle (1 - 24, default = 1)
Mode string
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
ObjectSwitchcontrollerManagedswitchPortsId string
an identifier for the resource with format {{port_name}}.
P2pPort float64
P2P-Port.
PacketSampleRate float64
Packet sampling rate (0 - 99999 p/sec).
PacketSampler string
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
PauseMeter float64
Configure ingress pause metering rate, in kbps (default = 0, disabled).
PauseMeterResume string
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
PoeMaxPower string
Poe-Max-Power.
PoeModeBtCabable float64
PoE mode IEEE 802.3BT capable.
PoePortMode string
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
PoePortPower string
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
PoePortPriority string
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
PoePreStandardDetection string
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
PoeStandard string
Poe-Standard.
PoeStatus string
Enable/disable PoE status. Valid values: disable, enable.
PortName string
Switch port name.
PortOwner string
Switch port name.
PortPolicy string
Switch controller dynamic port policy from available options.
PortSecurityPolicy string
Switch controller authentication policy to apply to this managed switch from available options.
PortSelectionCriteria string
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
PtpStatus string
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
QosPolicy string
Switch controller QoS policy from available options.
RestrictedAuthPort float64
Restricted-Auth-Port.
RpvstPort string
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
SampleDirection string
Packet sampling direction. Valid values: rx, tx, both.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SflowCounterInterval float64
sFlow sampling counter polling interval (0 - 255 sec).
SflowSampleRate float64
sFlow sampler sample rate (0 - 99999 p/sec).
SflowSampler string
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
Status string
Switch port admin status: up or down. Valid values: down, up.
StickyMac string
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
StpBpduGuard string
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
StpBpduGuardTimeout float64
BPDU Guard disabling protection (0 - 120 min).
StpRootGuard string
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
StpState string
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
TrunkMember float64
Trunk member.
Type string
Interface type: physical or trunk port. Valid values: physical, trunk.
UntaggedVlans string
Configure switch port untagged vlans
Vlan string
Assign switch ports to a VLAN.
managedSwitch This property is required. String
Managed Switch.
accessMode String
Access mode of the port. Valid values: normal, nac.
aclGroups List<String>
ACL groups on this port.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregatorMode String
LACP member select mode. Valid values: bandwidth, count.
allowedVlans String
Configure switch port tagged vlans
allowedVlansAll String
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arpInspectionTrust String
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticatedPort Double
Authenticated-Port.
bundle String
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description String
Description for port.
dhcpSnoopOption82Overrides List<ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82Override>
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcpSnoopOption82Trust String
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcpSnooping String
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discardMode String
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dslProfile String
DSL policy configuration.
dynamicSortSubtable String

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edgePort String
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encryptedPort Double
Encrypted-Port.
fecCapable Double
FEC capable.
fecState String
State of forward error correction. Valid values: disabled, cl74, cl91.
flapDuration Double
Period over which flap events are calculated (seconds).
flapRate Double
Number of stage change events needed within flap-duration.
flapTimeout Double
Flap guard disabling protection (min).
flapguard String
Enable/disable flap guard. Valid values: disable, enable.
flowControl String
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitchAcls List<Double>
ACLs on this port.
igmpSnooping String
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmpSnoopingFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interfaceTags String
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ipSourceGuard String
Enable/disable IP source guard. Valid values: disable, enable.
islPeerDeviceSn String
Isl-Peer-Device-Sn.
lacpSpeed String
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learningLimit Double
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
linkStatus String
Link-Status. Valid values: down, up.
lldpProfile String
LLDP port TLV profile.
lldpStatus String
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loopGuard String
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loopGuardTimeout Double
Loop-guard timeout (0 - 120 min, default = 45).
matchedDppIntfTags String
Matched interface tags in the dynamic port policy.
matchedDppPolicy String
Matched child policy in the dynamic port policy.
maxBundle Double
Maximum size of LAG bundle (1 - 24, default = 24)
mcastSnoopingFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag String
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclagIclPort Double
Mclag-Icl-Port.
mediaType String
Media-Type.
memberWithdrawalBehavior String
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members List<String>
Aggregated LAG bundle interfaces.
minBundle Double
Minimum size of LAG bundle (1 - 24, default = 1)
mode String
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
objectSwitchcontrollerManagedswitchPortsId String
an identifier for the resource with format {{port_name}}.
p2pPort Double
P2P-Port.
packetSampleRate Double
Packet sampling rate (0 - 99999 p/sec).
packetSampler String
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pauseMeter Double
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pauseMeterResume String
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poeMaxPower String
Poe-Max-Power.
poeModeBtCabable Double
PoE mode IEEE 802.3BT capable.
poePortMode String
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poePortPower String
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poePortPriority String
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poePreStandardDetection String
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poeStandard String
Poe-Standard.
poeStatus String
Enable/disable PoE status. Valid values: disable, enable.
portName String
Switch port name.
portOwner String
Switch port name.
portPolicy String
Switch controller dynamic port policy from available options.
portSecurityPolicy String
Switch controller authentication policy to apply to this managed switch from available options.
portSelectionCriteria String
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptpStatus String
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qosPolicy String
Switch controller QoS policy from available options.
restrictedAuthPort Double
Restricted-Auth-Port.
rpvstPort String
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sampleDirection String
Packet sampling direction. Valid values: rx, tx, both.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflowCounterInterval Double
sFlow sampling counter polling interval (0 - 255 sec).
sflowSampleRate Double
sFlow sampler sample rate (0 - 99999 p/sec).
sflowSampler String
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status String
Switch port admin status: up or down. Valid values: down, up.
stickyMac String
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stpBpduGuard String
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stpBpduGuardTimeout Double
BPDU Guard disabling protection (0 - 120 min).
stpRootGuard String
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stpState String
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunkMember Double
Trunk member.
type String
Interface type: physical or trunk port. Valid values: physical, trunk.
untaggedVlans String
Configure switch port untagged vlans
vlan String
Assign switch ports to a VLAN.
managedSwitch This property is required. string
Managed Switch.
accessMode string
Access mode of the port. Valid values: normal, nac.
aclGroups string[]
ACL groups on this port.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregatorMode string
LACP member select mode. Valid values: bandwidth, count.
allowedVlans string
Configure switch port tagged vlans
allowedVlansAll string
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arpInspectionTrust string
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticatedPort number
Authenticated-Port.
bundle string
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description string
Description for port.
dhcpSnoopOption82Overrides ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82Override[]
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcpSnoopOption82Trust string
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcpSnooping string
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discardMode string
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dslProfile string
DSL policy configuration.
dynamicSortSubtable string

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edgePort string
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encryptedPort number
Encrypted-Port.
fecCapable number
FEC capable.
fecState string
State of forward error correction. Valid values: disabled, cl74, cl91.
flapDuration number
Period over which flap events are calculated (seconds).
flapRate number
Number of stage change events needed within flap-duration.
flapTimeout number
Flap guard disabling protection (min).
flapguard string
Enable/disable flap guard. Valid values: disable, enable.
flowControl string
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitchAcls number[]
ACLs on this port.
igmpSnooping string
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmpSnoopingFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interfaceTags string
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ipSourceGuard string
Enable/disable IP source guard. Valid values: disable, enable.
islPeerDeviceSn string
Isl-Peer-Device-Sn.
lacpSpeed string
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learningLimit number
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
linkStatus string
Link-Status. Valid values: down, up.
lldpProfile string
LLDP port TLV profile.
lldpStatus string
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loopGuard string
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loopGuardTimeout number
Loop-guard timeout (0 - 120 min, default = 45).
matchedDppIntfTags string
Matched interface tags in the dynamic port policy.
matchedDppPolicy string
Matched child policy in the dynamic port policy.
maxBundle number
Maximum size of LAG bundle (1 - 24, default = 24)
mcastSnoopingFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag string
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclagIclPort number
Mclag-Icl-Port.
mediaType string
Media-Type.
memberWithdrawalBehavior string
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members string[]
Aggregated LAG bundle interfaces.
minBundle number
Minimum size of LAG bundle (1 - 24, default = 1)
mode string
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
objectSwitchcontrollerManagedswitchPortsId string
an identifier for the resource with format {{port_name}}.
p2pPort number
P2P-Port.
packetSampleRate number
Packet sampling rate (0 - 99999 p/sec).
packetSampler string
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pauseMeter number
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pauseMeterResume string
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poeMaxPower string
Poe-Max-Power.
poeModeBtCabable number
PoE mode IEEE 802.3BT capable.
poePortMode string
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poePortPower string
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poePortPriority string
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poePreStandardDetection string
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poeStandard string
Poe-Standard.
poeStatus string
Enable/disable PoE status. Valid values: disable, enable.
portName string
Switch port name.
portOwner string
Switch port name.
portPolicy string
Switch controller dynamic port policy from available options.
portSecurityPolicy string
Switch controller authentication policy to apply to this managed switch from available options.
portSelectionCriteria string
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptpStatus string
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qosPolicy string
Switch controller QoS policy from available options.
restrictedAuthPort number
Restricted-Auth-Port.
rpvstPort string
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sampleDirection string
Packet sampling direction. Valid values: rx, tx, both.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflowCounterInterval number
sFlow sampling counter polling interval (0 - 255 sec).
sflowSampleRate number
sFlow sampler sample rate (0 - 99999 p/sec).
sflowSampler string
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status string
Switch port admin status: up or down. Valid values: down, up.
stickyMac string
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stpBpduGuard string
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stpBpduGuardTimeout number
BPDU Guard disabling protection (0 - 120 min).
stpRootGuard string
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stpState string
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunkMember number
Trunk member.
type string
Interface type: physical or trunk port. Valid values: physical, trunk.
untaggedVlans string
Configure switch port untagged vlans
vlan string
Assign switch ports to a VLAN.
managed_switch This property is required. str
Managed Switch.
access_mode str
Access mode of the port. Valid values: normal, nac.
acl_groups Sequence[str]
ACL groups on this port.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregator_mode str
LACP member select mode. Valid values: bandwidth, count.
allowed_vlans str
Configure switch port tagged vlans
allowed_vlans_all str
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arp_inspection_trust str
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticated_port float
Authenticated-Port.
bundle str
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description str
Description for port.
dhcp_snoop_option82_overrides Sequence[ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs]
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcp_snoop_option82_trust str
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcp_snooping str
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discard_mode str
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dsl_profile str
DSL policy configuration.
dynamic_sort_subtable str

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edge_port str
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encrypted_port float
Encrypted-Port.
fec_capable float
FEC capable.
fec_state str
State of forward error correction. Valid values: disabled, cl74, cl91.
flap_duration float
Period over which flap events are calculated (seconds).
flap_rate float
Number of stage change events needed within flap-duration.
flap_timeout float
Flap guard disabling protection (min).
flapguard str
Enable/disable flap guard. Valid values: disable, enable.
flow_control str
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitch_acls Sequence[float]
ACLs on this port.
igmp_snooping str
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmp_snooping_flood_reports str
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmps_flood_reports str
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmps_flood_traffic str
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interface_tags str
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ip_source_guard str
Enable/disable IP source guard. Valid values: disable, enable.
isl_peer_device_sn str
Isl-Peer-Device-Sn.
lacp_speed str
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learning_limit float
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
link_status str
Link-Status. Valid values: down, up.
lldp_profile str
LLDP port TLV profile.
lldp_status str
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loop_guard str
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loop_guard_timeout float
Loop-guard timeout (0 - 120 min, default = 45).
matched_dpp_intf_tags str
Matched interface tags in the dynamic port policy.
matched_dpp_policy str
Matched child policy in the dynamic port policy.
max_bundle float
Maximum size of LAG bundle (1 - 24, default = 24)
mcast_snooping_flood_traffic str
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag str
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclag_icl_port float
Mclag-Icl-Port.
media_type str
Media-Type.
member_withdrawal_behavior str
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members Sequence[str]
Aggregated LAG bundle interfaces.
min_bundle float
Minimum size of LAG bundle (1 - 24, default = 1)
mode str
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
object_switchcontroller_managedswitch_ports_id str
an identifier for the resource with format {{port_name}}.
p2p_port float
P2P-Port.
packet_sample_rate float
Packet sampling rate (0 - 99999 p/sec).
packet_sampler str
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pause_meter float
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pause_meter_resume str
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poe_max_power str
Poe-Max-Power.
poe_mode_bt_cabable float
PoE mode IEEE 802.3BT capable.
poe_port_mode str
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poe_port_power str
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poe_port_priority str
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poe_pre_standard_detection str
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poe_standard str
Poe-Standard.
poe_status str
Enable/disable PoE status. Valid values: disable, enable.
port_name str
Switch port name.
port_owner str
Switch port name.
port_policy str
Switch controller dynamic port policy from available options.
port_security_policy str
Switch controller authentication policy to apply to this managed switch from available options.
port_selection_criteria str
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptp_status str
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qos_policy str
Switch controller QoS policy from available options.
restricted_auth_port float
Restricted-Auth-Port.
rpvst_port str
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sample_direction str
Packet sampling direction. Valid values: rx, tx, both.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflow_counter_interval float
sFlow sampling counter polling interval (0 - 255 sec).
sflow_sample_rate float
sFlow sampler sample rate (0 - 99999 p/sec).
sflow_sampler str
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status str
Switch port admin status: up or down. Valid values: down, up.
sticky_mac str
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stp_bpdu_guard str
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stp_bpdu_guard_timeout float
BPDU Guard disabling protection (0 - 120 min).
stp_root_guard str
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stp_state str
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunk_member float
Trunk member.
type str
Interface type: physical or trunk port. Valid values: physical, trunk.
untagged_vlans str
Configure switch port untagged vlans
vlan str
Assign switch ports to a VLAN.
managedSwitch This property is required. String
Managed Switch.
accessMode String
Access mode of the port. Valid values: normal, nac.
aclGroups List<String>
ACL groups on this port.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregatorMode String
LACP member select mode. Valid values: bandwidth, count.
allowedVlans String
Configure switch port tagged vlans
allowedVlansAll String
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arpInspectionTrust String
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticatedPort Number
Authenticated-Port.
bundle String
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description String
Description for port.
dhcpSnoopOption82Overrides List<Property Map>
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcpSnoopOption82Trust String
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcpSnooping String
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discardMode String
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dslProfile String
DSL policy configuration.
dynamicSortSubtable String

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edgePort String
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encryptedPort Number
Encrypted-Port.
fecCapable Number
FEC capable.
fecState String
State of forward error correction. Valid values: disabled, cl74, cl91.
flapDuration Number
Period over which flap events are calculated (seconds).
flapRate Number
Number of stage change events needed within flap-duration.
flapTimeout Number
Flap guard disabling protection (min).
flapguard String
Enable/disable flap guard. Valid values: disable, enable.
flowControl String
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitchAcls List<Number>
ACLs on this port.
igmpSnooping String
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmpSnoopingFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interfaceTags String
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ipSourceGuard String
Enable/disable IP source guard. Valid values: disable, enable.
islPeerDeviceSn String
Isl-Peer-Device-Sn.
lacpSpeed String
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learningLimit Number
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
linkStatus String
Link-Status. Valid values: down, up.
lldpProfile String
LLDP port TLV profile.
lldpStatus String
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loopGuard String
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loopGuardTimeout Number
Loop-guard timeout (0 - 120 min, default = 45).
matchedDppIntfTags String
Matched interface tags in the dynamic port policy.
matchedDppPolicy String
Matched child policy in the dynamic port policy.
maxBundle Number
Maximum size of LAG bundle (1 - 24, default = 24)
mcastSnoopingFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag String
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclagIclPort Number
Mclag-Icl-Port.
mediaType String
Media-Type.
memberWithdrawalBehavior String
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members List<String>
Aggregated LAG bundle interfaces.
minBundle Number
Minimum size of LAG bundle (1 - 24, default = 1)
mode String
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
objectSwitchcontrollerManagedswitchPortsId String
an identifier for the resource with format {{port_name}}.
p2pPort Number
P2P-Port.
packetSampleRate Number
Packet sampling rate (0 - 99999 p/sec).
packetSampler String
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pauseMeter Number
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pauseMeterResume String
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poeMaxPower String
Poe-Max-Power.
poeModeBtCabable Number
PoE mode IEEE 802.3BT capable.
poePortMode String
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poePortPower String
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poePortPriority String
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poePreStandardDetection String
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poeStandard String
Poe-Standard.
poeStatus String
Enable/disable PoE status. Valid values: disable, enable.
portName String
Switch port name.
portOwner String
Switch port name.
portPolicy String
Switch controller dynamic port policy from available options.
portSecurityPolicy String
Switch controller authentication policy to apply to this managed switch from available options.
portSelectionCriteria String
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptpStatus String
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qosPolicy String
Switch controller QoS policy from available options.
restrictedAuthPort Number
Restricted-Auth-Port.
rpvstPort String
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sampleDirection String
Packet sampling direction. Valid values: rx, tx, both.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflowCounterInterval Number
sFlow sampling counter polling interval (0 - 255 sec).
sflowSampleRate Number
sFlow sampler sample rate (0 - 99999 p/sec).
sflowSampler String
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status String
Switch port admin status: up or down. Valid values: down, up.
stickyMac String
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stpBpduGuard String
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stpBpduGuardTimeout Number
BPDU Guard disabling protection (0 - 120 min).
stpRootGuard String
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stpState String
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunkMember Number
Trunk member.
type String
Interface type: physical or trunk port. Valid values: physical, trunk.
untaggedVlans String
Configure switch port untagged vlans
vlan String
Assign switch ports to a VLAN.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectSwitchcontrollerManagedswitchPorts 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 ObjectSwitchcontrollerManagedswitchPorts Resource

Get an existing ObjectSwitchcontrollerManagedswitchPorts 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?: ObjectSwitchcontrollerManagedswitchPortsState, opts?: CustomResourceOptions): ObjectSwitchcontrollerManagedswitchPorts
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_mode: Optional[str] = None,
        acl_groups: Optional[Sequence[str]] = None,
        adom: Optional[str] = None,
        aggregator_mode: Optional[str] = None,
        allowed_vlans: Optional[str] = None,
        allowed_vlans_all: Optional[str] = None,
        arp_inspection_trust: Optional[str] = None,
        authenticated_port: Optional[float] = None,
        bundle: Optional[str] = None,
        description: Optional[str] = None,
        dhcp_snoop_option82_overrides: Optional[Sequence[ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs]] = None,
        dhcp_snoop_option82_trust: Optional[str] = None,
        dhcp_snooping: Optional[str] = None,
        discard_mode: Optional[str] = None,
        dsl_profile: Optional[str] = None,
        dynamic_sort_subtable: Optional[str] = None,
        edge_port: Optional[str] = None,
        encrypted_port: Optional[float] = None,
        fec_capable: Optional[float] = None,
        fec_state: Optional[str] = None,
        flap_duration: Optional[float] = None,
        flap_rate: Optional[float] = None,
        flap_timeout: Optional[float] = None,
        flapguard: Optional[str] = None,
        flow_control: Optional[str] = None,
        fortiswitch_acls: Optional[Sequence[float]] = None,
        igmp_snooping: Optional[str] = None,
        igmp_snooping_flood_reports: Optional[str] = None,
        igmps_flood_reports: Optional[str] = None,
        igmps_flood_traffic: Optional[str] = None,
        interface_tags: Optional[str] = None,
        ip_source_guard: Optional[str] = None,
        isl_peer_device_sn: Optional[str] = None,
        lacp_speed: Optional[str] = None,
        learning_limit: Optional[float] = None,
        link_status: Optional[str] = None,
        lldp_profile: Optional[str] = None,
        lldp_status: Optional[str] = None,
        loop_guard: Optional[str] = None,
        loop_guard_timeout: Optional[float] = None,
        managed_switch: Optional[str] = None,
        matched_dpp_intf_tags: Optional[str] = None,
        matched_dpp_policy: Optional[str] = None,
        max_bundle: Optional[float] = None,
        mcast_snooping_flood_traffic: Optional[str] = None,
        mclag: Optional[str] = None,
        mclag_icl_port: Optional[float] = None,
        media_type: Optional[str] = None,
        member_withdrawal_behavior: Optional[str] = None,
        members: Optional[Sequence[str]] = None,
        min_bundle: Optional[float] = None,
        mode: Optional[str] = None,
        object_switchcontroller_managedswitch_ports_id: Optional[str] = None,
        p2p_port: Optional[float] = None,
        packet_sample_rate: Optional[float] = None,
        packet_sampler: Optional[str] = None,
        pause_meter: Optional[float] = None,
        pause_meter_resume: Optional[str] = None,
        poe_max_power: Optional[str] = None,
        poe_mode_bt_cabable: Optional[float] = None,
        poe_port_mode: Optional[str] = None,
        poe_port_power: Optional[str] = None,
        poe_port_priority: Optional[str] = None,
        poe_pre_standard_detection: Optional[str] = None,
        poe_standard: Optional[str] = None,
        poe_status: Optional[str] = None,
        port_name: Optional[str] = None,
        port_owner: Optional[str] = None,
        port_policy: Optional[str] = None,
        port_security_policy: Optional[str] = None,
        port_selection_criteria: Optional[str] = None,
        ptp_status: Optional[str] = None,
        qos_policy: Optional[str] = None,
        restricted_auth_port: Optional[float] = None,
        rpvst_port: Optional[str] = None,
        sample_direction: Optional[str] = None,
        scopetype: Optional[str] = None,
        sflow_counter_interval: Optional[float] = None,
        sflow_sample_rate: Optional[float] = None,
        sflow_sampler: Optional[str] = None,
        status: Optional[str] = None,
        sticky_mac: Optional[str] = None,
        stp_bpdu_guard: Optional[str] = None,
        stp_bpdu_guard_timeout: Optional[float] = None,
        stp_root_guard: Optional[str] = None,
        stp_state: Optional[str] = None,
        trunk_member: Optional[float] = None,
        type: Optional[str] = None,
        untagged_vlans: Optional[str] = None,
        vlan: Optional[str] = None) -> ObjectSwitchcontrollerManagedswitchPorts
func GetObjectSwitchcontrollerManagedswitchPorts(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerManagedswitchPortsState, opts ...ResourceOption) (*ObjectSwitchcontrollerManagedswitchPorts, error)
public static ObjectSwitchcontrollerManagedswitchPorts Get(string name, Input<string> id, ObjectSwitchcontrollerManagedswitchPortsState? state, CustomResourceOptions? opts = null)
public static ObjectSwitchcontrollerManagedswitchPorts get(String name, Output<String> id, ObjectSwitchcontrollerManagedswitchPortsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSwitchcontrollerManagedswitchPorts    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:
AccessMode string
Access mode of the port. Valid values: normal, nac.
AclGroups List<string>
ACL groups on this port.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AggregatorMode string
LACP member select mode. Valid values: bandwidth, count.
AllowedVlans string
Configure switch port tagged vlans
AllowedVlansAll string
Enable/disable all defined vlans on this port. Valid values: disable, enable.
ArpInspectionTrust string
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
AuthenticatedPort double
Authenticated-Port.
Bundle string
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
Description string
Description for port.
DhcpSnoopOption82Overrides List<ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82Override>
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
DhcpSnoopOption82Trust string
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
DhcpSnooping string
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
DiscardMode string
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
DslProfile string
DSL policy configuration.
DynamicSortSubtable string

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

EdgePort string
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
EncryptedPort double
Encrypted-Port.
FecCapable double
FEC capable.
FecState string
State of forward error correction. Valid values: disabled, cl74, cl91.
FlapDuration double
Period over which flap events are calculated (seconds).
FlapRate double
Number of stage change events needed within flap-duration.
FlapTimeout double
Flap guard disabling protection (min).
Flapguard string
Enable/disable flap guard. Valid values: disable, enable.
FlowControl string
Flow control direction. Valid values: disable, tx, rx, both.
FortiswitchAcls List<double>
ACLs on this port.
IgmpSnooping string
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
IgmpSnoopingFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
InterfaceTags string
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
IpSourceGuard string
Enable/disable IP source guard. Valid values: disable, enable.
IslPeerDeviceSn string
Isl-Peer-Device-Sn.
LacpSpeed string
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
LearningLimit double
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
LinkStatus string
Link-Status. Valid values: down, up.
LldpProfile string
LLDP port TLV profile.
LldpStatus string
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
LoopGuard string
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
LoopGuardTimeout double
Loop-guard timeout (0 - 120 min, default = 45).
ManagedSwitch string
Managed Switch.
MatchedDppIntfTags string
Matched interface tags in the dynamic port policy.
MatchedDppPolicy string
Matched child policy in the dynamic port policy.
MaxBundle double
Maximum size of LAG bundle (1 - 24, default = 24)
McastSnoopingFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
Mclag string
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
MclagIclPort double
Mclag-Icl-Port.
MediaType string
Media-Type.
MemberWithdrawalBehavior string
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
Members List<string>
Aggregated LAG bundle interfaces.
MinBundle double
Minimum size of LAG bundle (1 - 24, default = 1)
Mode string
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
ObjectSwitchcontrollerManagedswitchPortsId string
an identifier for the resource with format {{port_name}}.
P2pPort double
P2P-Port.
PacketSampleRate double
Packet sampling rate (0 - 99999 p/sec).
PacketSampler string
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
PauseMeter double
Configure ingress pause metering rate, in kbps (default = 0, disabled).
PauseMeterResume string
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
PoeMaxPower string
Poe-Max-Power.
PoeModeBtCabable double
PoE mode IEEE 802.3BT capable.
PoePortMode string
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
PoePortPower string
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
PoePortPriority string
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
PoePreStandardDetection string
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
PoeStandard string
Poe-Standard.
PoeStatus string
Enable/disable PoE status. Valid values: disable, enable.
PortName string
Switch port name.
PortOwner string
Switch port name.
PortPolicy string
Switch controller dynamic port policy from available options.
PortSecurityPolicy string
Switch controller authentication policy to apply to this managed switch from available options.
PortSelectionCriteria string
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
PtpStatus string
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
QosPolicy string
Switch controller QoS policy from available options.
RestrictedAuthPort double
Restricted-Auth-Port.
RpvstPort string
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
SampleDirection string
Packet sampling direction. Valid values: rx, tx, both.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SflowCounterInterval double
sFlow sampling counter polling interval (0 - 255 sec).
SflowSampleRate double
sFlow sampler sample rate (0 - 99999 p/sec).
SflowSampler string
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
Status string
Switch port admin status: up or down. Valid values: down, up.
StickyMac string
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
StpBpduGuard string
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
StpBpduGuardTimeout double
BPDU Guard disabling protection (0 - 120 min).
StpRootGuard string
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
StpState string
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
TrunkMember double
Trunk member.
Type string
Interface type: physical or trunk port. Valid values: physical, trunk.
UntaggedVlans string
Configure switch port untagged vlans
Vlan string
Assign switch ports to a VLAN.
AccessMode string
Access mode of the port. Valid values: normal, nac.
AclGroups []string
ACL groups on this port.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
AggregatorMode string
LACP member select mode. Valid values: bandwidth, count.
AllowedVlans string
Configure switch port tagged vlans
AllowedVlansAll string
Enable/disable all defined vlans on this port. Valid values: disable, enable.
ArpInspectionTrust string
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
AuthenticatedPort float64
Authenticated-Port.
Bundle string
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
Description string
Description for port.
DhcpSnoopOption82Overrides []ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
DhcpSnoopOption82Trust string
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
DhcpSnooping string
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
DiscardMode string
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
DslProfile string
DSL policy configuration.
DynamicSortSubtable string

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

EdgePort string
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
EncryptedPort float64
Encrypted-Port.
FecCapable float64
FEC capable.
FecState string
State of forward error correction. Valid values: disabled, cl74, cl91.
FlapDuration float64
Period over which flap events are calculated (seconds).
FlapRate float64
Number of stage change events needed within flap-duration.
FlapTimeout float64
Flap guard disabling protection (min).
Flapguard string
Enable/disable flap guard. Valid values: disable, enable.
FlowControl string
Flow control direction. Valid values: disable, tx, rx, both.
FortiswitchAcls []float64
ACLs on this port.
IgmpSnooping string
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
IgmpSnoopingFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
IgmpsFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
InterfaceTags string
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
IpSourceGuard string
Enable/disable IP source guard. Valid values: disable, enable.
IslPeerDeviceSn string
Isl-Peer-Device-Sn.
LacpSpeed string
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
LearningLimit float64
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
LinkStatus string
Link-Status. Valid values: down, up.
LldpProfile string
LLDP port TLV profile.
LldpStatus string
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
LoopGuard string
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
LoopGuardTimeout float64
Loop-guard timeout (0 - 120 min, default = 45).
ManagedSwitch string
Managed Switch.
MatchedDppIntfTags string
Matched interface tags in the dynamic port policy.
MatchedDppPolicy string
Matched child policy in the dynamic port policy.
MaxBundle float64
Maximum size of LAG bundle (1 - 24, default = 24)
McastSnoopingFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
Mclag string
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
MclagIclPort float64
Mclag-Icl-Port.
MediaType string
Media-Type.
MemberWithdrawalBehavior string
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
Members []string
Aggregated LAG bundle interfaces.
MinBundle float64
Minimum size of LAG bundle (1 - 24, default = 1)
Mode string
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
ObjectSwitchcontrollerManagedswitchPortsId string
an identifier for the resource with format {{port_name}}.
P2pPort float64
P2P-Port.
PacketSampleRate float64
Packet sampling rate (0 - 99999 p/sec).
PacketSampler string
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
PauseMeter float64
Configure ingress pause metering rate, in kbps (default = 0, disabled).
PauseMeterResume string
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
PoeMaxPower string
Poe-Max-Power.
PoeModeBtCabable float64
PoE mode IEEE 802.3BT capable.
PoePortMode string
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
PoePortPower string
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
PoePortPriority string
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
PoePreStandardDetection string
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
PoeStandard string
Poe-Standard.
PoeStatus string
Enable/disable PoE status. Valid values: disable, enable.
PortName string
Switch port name.
PortOwner string
Switch port name.
PortPolicy string
Switch controller dynamic port policy from available options.
PortSecurityPolicy string
Switch controller authentication policy to apply to this managed switch from available options.
PortSelectionCriteria string
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
PtpStatus string
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
QosPolicy string
Switch controller QoS policy from available options.
RestrictedAuthPort float64
Restricted-Auth-Port.
RpvstPort string
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
SampleDirection string
Packet sampling direction. Valid values: rx, tx, both.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
SflowCounterInterval float64
sFlow sampling counter polling interval (0 - 255 sec).
SflowSampleRate float64
sFlow sampler sample rate (0 - 99999 p/sec).
SflowSampler string
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
Status string
Switch port admin status: up or down. Valid values: down, up.
StickyMac string
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
StpBpduGuard string
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
StpBpduGuardTimeout float64
BPDU Guard disabling protection (0 - 120 min).
StpRootGuard string
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
StpState string
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
TrunkMember float64
Trunk member.
Type string
Interface type: physical or trunk port. Valid values: physical, trunk.
UntaggedVlans string
Configure switch port untagged vlans
Vlan string
Assign switch ports to a VLAN.
accessMode String
Access mode of the port. Valid values: normal, nac.
aclGroups List<String>
ACL groups on this port.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregatorMode String
LACP member select mode. Valid values: bandwidth, count.
allowedVlans String
Configure switch port tagged vlans
allowedVlansAll String
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arpInspectionTrust String
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticatedPort Double
Authenticated-Port.
bundle String
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description String
Description for port.
dhcpSnoopOption82Overrides List<ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82Override>
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcpSnoopOption82Trust String
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcpSnooping String
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discardMode String
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dslProfile String
DSL policy configuration.
dynamicSortSubtable String

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edgePort String
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encryptedPort Double
Encrypted-Port.
fecCapable Double
FEC capable.
fecState String
State of forward error correction. Valid values: disabled, cl74, cl91.
flapDuration Double
Period over which flap events are calculated (seconds).
flapRate Double
Number of stage change events needed within flap-duration.
flapTimeout Double
Flap guard disabling protection (min).
flapguard String
Enable/disable flap guard. Valid values: disable, enable.
flowControl String
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitchAcls List<Double>
ACLs on this port.
igmpSnooping String
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmpSnoopingFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interfaceTags String
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ipSourceGuard String
Enable/disable IP source guard. Valid values: disable, enable.
islPeerDeviceSn String
Isl-Peer-Device-Sn.
lacpSpeed String
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learningLimit Double
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
linkStatus String
Link-Status. Valid values: down, up.
lldpProfile String
LLDP port TLV profile.
lldpStatus String
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loopGuard String
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loopGuardTimeout Double
Loop-guard timeout (0 - 120 min, default = 45).
managedSwitch String
Managed Switch.
matchedDppIntfTags String
Matched interface tags in the dynamic port policy.
matchedDppPolicy String
Matched child policy in the dynamic port policy.
maxBundle Double
Maximum size of LAG bundle (1 - 24, default = 24)
mcastSnoopingFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag String
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclagIclPort Double
Mclag-Icl-Port.
mediaType String
Media-Type.
memberWithdrawalBehavior String
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members List<String>
Aggregated LAG bundle interfaces.
minBundle Double
Minimum size of LAG bundle (1 - 24, default = 1)
mode String
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
objectSwitchcontrollerManagedswitchPortsId String
an identifier for the resource with format {{port_name}}.
p2pPort Double
P2P-Port.
packetSampleRate Double
Packet sampling rate (0 - 99999 p/sec).
packetSampler String
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pauseMeter Double
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pauseMeterResume String
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poeMaxPower String
Poe-Max-Power.
poeModeBtCabable Double
PoE mode IEEE 802.3BT capable.
poePortMode String
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poePortPower String
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poePortPriority String
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poePreStandardDetection String
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poeStandard String
Poe-Standard.
poeStatus String
Enable/disable PoE status. Valid values: disable, enable.
portName String
Switch port name.
portOwner String
Switch port name.
portPolicy String
Switch controller dynamic port policy from available options.
portSecurityPolicy String
Switch controller authentication policy to apply to this managed switch from available options.
portSelectionCriteria String
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptpStatus String
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qosPolicy String
Switch controller QoS policy from available options.
restrictedAuthPort Double
Restricted-Auth-Port.
rpvstPort String
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sampleDirection String
Packet sampling direction. Valid values: rx, tx, both.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflowCounterInterval Double
sFlow sampling counter polling interval (0 - 255 sec).
sflowSampleRate Double
sFlow sampler sample rate (0 - 99999 p/sec).
sflowSampler String
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status String
Switch port admin status: up or down. Valid values: down, up.
stickyMac String
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stpBpduGuard String
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stpBpduGuardTimeout Double
BPDU Guard disabling protection (0 - 120 min).
stpRootGuard String
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stpState String
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunkMember Double
Trunk member.
type String
Interface type: physical or trunk port. Valid values: physical, trunk.
untaggedVlans String
Configure switch port untagged vlans
vlan String
Assign switch ports to a VLAN.
accessMode string
Access mode of the port. Valid values: normal, nac.
aclGroups string[]
ACL groups on this port.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregatorMode string
LACP member select mode. Valid values: bandwidth, count.
allowedVlans string
Configure switch port tagged vlans
allowedVlansAll string
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arpInspectionTrust string
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticatedPort number
Authenticated-Port.
bundle string
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description string
Description for port.
dhcpSnoopOption82Overrides ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82Override[]
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcpSnoopOption82Trust string
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcpSnooping string
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discardMode string
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dslProfile string
DSL policy configuration.
dynamicSortSubtable string

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edgePort string
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encryptedPort number
Encrypted-Port.
fecCapable number
FEC capable.
fecState string
State of forward error correction. Valid values: disabled, cl74, cl91.
flapDuration number
Period over which flap events are calculated (seconds).
flapRate number
Number of stage change events needed within flap-duration.
flapTimeout number
Flap guard disabling protection (min).
flapguard string
Enable/disable flap guard. Valid values: disable, enable.
flowControl string
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitchAcls number[]
ACLs on this port.
igmpSnooping string
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmpSnoopingFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodReports string
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interfaceTags string
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ipSourceGuard string
Enable/disable IP source guard. Valid values: disable, enable.
islPeerDeviceSn string
Isl-Peer-Device-Sn.
lacpSpeed string
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learningLimit number
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
linkStatus string
Link-Status. Valid values: down, up.
lldpProfile string
LLDP port TLV profile.
lldpStatus string
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loopGuard string
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loopGuardTimeout number
Loop-guard timeout (0 - 120 min, default = 45).
managedSwitch string
Managed Switch.
matchedDppIntfTags string
Matched interface tags in the dynamic port policy.
matchedDppPolicy string
Matched child policy in the dynamic port policy.
maxBundle number
Maximum size of LAG bundle (1 - 24, default = 24)
mcastSnoopingFloodTraffic string
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag string
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclagIclPort number
Mclag-Icl-Port.
mediaType string
Media-Type.
memberWithdrawalBehavior string
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members string[]
Aggregated LAG bundle interfaces.
minBundle number
Minimum size of LAG bundle (1 - 24, default = 1)
mode string
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
objectSwitchcontrollerManagedswitchPortsId string
an identifier for the resource with format {{port_name}}.
p2pPort number
P2P-Port.
packetSampleRate number
Packet sampling rate (0 - 99999 p/sec).
packetSampler string
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pauseMeter number
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pauseMeterResume string
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poeMaxPower string
Poe-Max-Power.
poeModeBtCabable number
PoE mode IEEE 802.3BT capable.
poePortMode string
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poePortPower string
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poePortPriority string
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poePreStandardDetection string
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poeStandard string
Poe-Standard.
poeStatus string
Enable/disable PoE status. Valid values: disable, enable.
portName string
Switch port name.
portOwner string
Switch port name.
portPolicy string
Switch controller dynamic port policy from available options.
portSecurityPolicy string
Switch controller authentication policy to apply to this managed switch from available options.
portSelectionCriteria string
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptpStatus string
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qosPolicy string
Switch controller QoS policy from available options.
restrictedAuthPort number
Restricted-Auth-Port.
rpvstPort string
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sampleDirection string
Packet sampling direction. Valid values: rx, tx, both.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflowCounterInterval number
sFlow sampling counter polling interval (0 - 255 sec).
sflowSampleRate number
sFlow sampler sample rate (0 - 99999 p/sec).
sflowSampler string
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status string
Switch port admin status: up or down. Valid values: down, up.
stickyMac string
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stpBpduGuard string
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stpBpduGuardTimeout number
BPDU Guard disabling protection (0 - 120 min).
stpRootGuard string
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stpState string
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunkMember number
Trunk member.
type string
Interface type: physical or trunk port. Valid values: physical, trunk.
untaggedVlans string
Configure switch port untagged vlans
vlan string
Assign switch ports to a VLAN.
access_mode str
Access mode of the port. Valid values: normal, nac.
acl_groups Sequence[str]
ACL groups on this port.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregator_mode str
LACP member select mode. Valid values: bandwidth, count.
allowed_vlans str
Configure switch port tagged vlans
allowed_vlans_all str
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arp_inspection_trust str
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticated_port float
Authenticated-Port.
bundle str
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description str
Description for port.
dhcp_snoop_option82_overrides Sequence[ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs]
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcp_snoop_option82_trust str
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcp_snooping str
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discard_mode str
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dsl_profile str
DSL policy configuration.
dynamic_sort_subtable str

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edge_port str
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encrypted_port float
Encrypted-Port.
fec_capable float
FEC capable.
fec_state str
State of forward error correction. Valid values: disabled, cl74, cl91.
flap_duration float
Period over which flap events are calculated (seconds).
flap_rate float
Number of stage change events needed within flap-duration.
flap_timeout float
Flap guard disabling protection (min).
flapguard str
Enable/disable flap guard. Valid values: disable, enable.
flow_control str
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitch_acls Sequence[float]
ACLs on this port.
igmp_snooping str
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmp_snooping_flood_reports str
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmps_flood_reports str
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmps_flood_traffic str
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interface_tags str
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ip_source_guard str
Enable/disable IP source guard. Valid values: disable, enable.
isl_peer_device_sn str
Isl-Peer-Device-Sn.
lacp_speed str
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learning_limit float
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
link_status str
Link-Status. Valid values: down, up.
lldp_profile str
LLDP port TLV profile.
lldp_status str
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loop_guard str
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loop_guard_timeout float
Loop-guard timeout (0 - 120 min, default = 45).
managed_switch str
Managed Switch.
matched_dpp_intf_tags str
Matched interface tags in the dynamic port policy.
matched_dpp_policy str
Matched child policy in the dynamic port policy.
max_bundle float
Maximum size of LAG bundle (1 - 24, default = 24)
mcast_snooping_flood_traffic str
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag str
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclag_icl_port float
Mclag-Icl-Port.
media_type str
Media-Type.
member_withdrawal_behavior str
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members Sequence[str]
Aggregated LAG bundle interfaces.
min_bundle float
Minimum size of LAG bundle (1 - 24, default = 1)
mode str
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
object_switchcontroller_managedswitch_ports_id str
an identifier for the resource with format {{port_name}}.
p2p_port float
P2P-Port.
packet_sample_rate float
Packet sampling rate (0 - 99999 p/sec).
packet_sampler str
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pause_meter float
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pause_meter_resume str
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poe_max_power str
Poe-Max-Power.
poe_mode_bt_cabable float
PoE mode IEEE 802.3BT capable.
poe_port_mode str
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poe_port_power str
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poe_port_priority str
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poe_pre_standard_detection str
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poe_standard str
Poe-Standard.
poe_status str
Enable/disable PoE status. Valid values: disable, enable.
port_name str
Switch port name.
port_owner str
Switch port name.
port_policy str
Switch controller dynamic port policy from available options.
port_security_policy str
Switch controller authentication policy to apply to this managed switch from available options.
port_selection_criteria str
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptp_status str
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qos_policy str
Switch controller QoS policy from available options.
restricted_auth_port float
Restricted-Auth-Port.
rpvst_port str
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sample_direction str
Packet sampling direction. Valid values: rx, tx, both.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflow_counter_interval float
sFlow sampling counter polling interval (0 - 255 sec).
sflow_sample_rate float
sFlow sampler sample rate (0 - 99999 p/sec).
sflow_sampler str
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status str
Switch port admin status: up or down. Valid values: down, up.
sticky_mac str
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stp_bpdu_guard str
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stp_bpdu_guard_timeout float
BPDU Guard disabling protection (0 - 120 min).
stp_root_guard str
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stp_state str
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunk_member float
Trunk member.
type str
Interface type: physical or trunk port. Valid values: physical, trunk.
untagged_vlans str
Configure switch port untagged vlans
vlan str
Assign switch ports to a VLAN.
accessMode String
Access mode of the port. Valid values: normal, nac.
aclGroups List<String>
ACL groups on this port.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
aggregatorMode String
LACP member select mode. Valid values: bandwidth, count.
allowedVlans String
Configure switch port tagged vlans
allowedVlansAll String
Enable/disable all defined vlans on this port. Valid values: disable, enable.
arpInspectionTrust String
Trusted or untrusted dynamic ARP inspection. Valid values: untrusted, trusted.
authenticatedPort Number
Authenticated-Port.
bundle String
Enable/disable Link Aggregation Group (LAG) bundling for non-FortiLink interfaces. Valid values: disable, enable.
description String
Description for port.
dhcpSnoopOption82Overrides List<Property Map>
Dhcp-Snoop-Option82-Override. The structure of dhcp_snoop_option82_override block is documented below.
dhcpSnoopOption82Trust String
Enable/disable allowance of DHCP with option-82 on untrusted interface. Valid values: disable, enable.
dhcpSnooping String
Trusted or untrusted DHCP-snooping interface. Valid values: trusted, untrusted.
discardMode String
Configure discard mode for port. Valid values: none, all-untagged, all-tagged.
dslProfile String
DSL policy configuration.
dynamicSortSubtable String

true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.

The dhcp_snoop_option82_override block supports:

edgePort String
Enable/disable this interface as an edge port, bridging connections between workstations and/or computers. Valid values: disable, enable.
encryptedPort Number
Encrypted-Port.
fecCapable Number
FEC capable.
fecState String
State of forward error correction. Valid values: disabled, cl74, cl91.
flapDuration Number
Period over which flap events are calculated (seconds).
flapRate Number
Number of stage change events needed within flap-duration.
flapTimeout Number
Flap guard disabling protection (min).
flapguard String
Enable/disable flap guard. Valid values: disable, enable.
flowControl String
Flow control direction. Valid values: disable, tx, rx, both.
fortiswitchAcls List<Number>
ACLs on this port.
igmpSnooping String
Set IGMP snooping mode for the physical port interface. Valid values: disable, enable.
igmpSnoopingFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodReports String
Enable/disable flooding of IGMP reports to this interface when igmp-snooping enabled. Valid values: disable, enable.
igmpsFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
interfaceTags String
Tag(s) associated with the interface for various features including virtual port pool, dynamic port policy.
ipSourceGuard String
Enable/disable IP source guard. Valid values: disable, enable.
islPeerDeviceSn String
Isl-Peer-Device-Sn.
lacpSpeed String
end Link Aggregation Control Protocol (LACP) messages every 30 seconds (slow) or every second (fast). Valid values: slow, fast.
learningLimit Number
Limit the number of dynamic MAC addresses on this Port (1 - 128, 0 = no limit, default).
linkStatus String
Link-Status. Valid values: down, up.
lldpProfile String
LLDP port TLV profile.
lldpStatus String
LLDP transmit and receive status. Valid values: disable, rx-only, tx-only, tx-rx.
loopGuard String
Enable/disable loop-guard on this interface, an STP optimization used to prevent network loops. Valid values: disabled, enabled.
loopGuardTimeout Number
Loop-guard timeout (0 - 120 min, default = 45).
managedSwitch String
Managed Switch.
matchedDppIntfTags String
Matched interface tags in the dynamic port policy.
matchedDppPolicy String
Matched child policy in the dynamic port policy.
maxBundle Number
Maximum size of LAG bundle (1 - 24, default = 24)
mcastSnoopingFloodTraffic String
Enable/disable flooding of IGMP snooping traffic to this interface. Valid values: disable, enable.
mclag String
Enable/disable multi-chassis link aggregation (MCLAG). Valid values: disable, enable.
mclagIclPort Number
Mclag-Icl-Port.
mediaType String
Media-Type.
memberWithdrawalBehavior String
Port behavior after it withdraws because of loss of control packets. Valid values: forward, block.
members List<String>
Aggregated LAG bundle interfaces.
minBundle Number
Minimum size of LAG bundle (1 - 24, default = 1)
mode String
LACP mode: ignore and do not send control messages, or negotiate 802.3ad aggregation passively or actively. Valid values: static, lacp-passive, lacp-active.
objectSwitchcontrollerManagedswitchPortsId String
an identifier for the resource with format {{port_name}}.
p2pPort Number
P2P-Port.
packetSampleRate Number
Packet sampling rate (0 - 99999 p/sec).
packetSampler String
Enable/disable packet sampling on this interface. Valid values: disabled, enabled.
pauseMeter Number
Configure ingress pause metering rate, in kbps (default = 0, disabled).
pauseMeterResume String
Resume threshold for resuming traffic on ingress port. Valid values: 25%, 50%, 75%.
poeMaxPower String
Poe-Max-Power.
poeModeBtCabable Number
PoE mode IEEE 802.3BT capable.
poePortMode String
Configure PoE port mode. Valid values: ieee802-3af, ieee802-3at, ieee802-3bt.
poePortPower String
Configure PoE port power. Valid values: normal, perpetual, perpetual-fast.
poePortPriority String
Configure PoE port priority. Valid values: critical-priority, high-priority, low-priority, medium-priority.
poePreStandardDetection String
Enable/disable PoE pre-standard detection. Valid values: disable, enable.
poeStandard String
Poe-Standard.
poeStatus String
Enable/disable PoE status. Valid values: disable, enable.
portName String
Switch port name.
portOwner String
Switch port name.
portPolicy String
Switch controller dynamic port policy from available options.
portSecurityPolicy String
Switch controller authentication policy to apply to this managed switch from available options.
portSelectionCriteria String
Algorithm for aggregate port selection. Valid values: src-mac, dst-mac, src-dst-mac, src-ip, dst-ip, src-dst-ip.
ptpStatus String
Enable/disable PTP policy on this FortiSwitch port. Valid values: disable, enable.
qosPolicy String
Switch controller QoS policy from available options.
restrictedAuthPort Number
Restricted-Auth-Port.
rpvstPort String
Enable/disable inter-operability with rapid PVST on this interface. Valid values: disabled, enabled.
sampleDirection String
Packet sampling direction. Valid values: rx, tx, both.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
sflowCounterInterval Number
sFlow sampling counter polling interval (0 - 255 sec).
sflowSampleRate Number
sFlow sampler sample rate (0 - 99999 p/sec).
sflowSampler String
Enable/disable sFlow protocol on this interface. Valid values: disabled, enabled.
status String
Switch port admin status: up or down. Valid values: down, up.
stickyMac String
Enable or disable sticky-mac on the interface. Valid values: disable, enable.
stpBpduGuard String
Enable/disable STP BPDU guard on this interface. Valid values: disabled, enabled.
stpBpduGuardTimeout Number
BPDU Guard disabling protection (0 - 120 min).
stpRootGuard String
Enable/disable STP root guard on this interface. Valid values: disabled, enabled.
stpState String
Enable/disable Spanning Tree Protocol (STP) on this interface. Valid values: disabled, enabled.
trunkMember Number
Trunk member.
type String
Interface type: physical or trunk port. Valid values: physical, trunk.
untaggedVlans String
Configure switch port untagged vlans
vlan String
Assign switch ports to a VLAN.

Supporting Types

ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82Override
, ObjectSwitchcontrollerManagedswitchPortsDhcpSnoopOption82OverrideArgs

CircuitId string
Circuit ID string.
RemoteId string
Remote ID string.
VlanName string
DHCP snooping option 82 VLAN.
CircuitId string
Circuit ID string.
RemoteId string
Remote ID string.
VlanName string
DHCP snooping option 82 VLAN.
circuitId String
Circuit ID string.
remoteId String
Remote ID string.
vlanName String
DHCP snooping option 82 VLAN.
circuitId string
Circuit ID string.
remoteId string
Remote ID string.
vlanName string
DHCP snooping option 82 VLAN.
circuit_id str
Circuit ID string.
remote_id str
Remote ID string.
vlan_name str
DHCP snooping option 82 VLAN.
circuitId String
Circuit ID string.
remoteId String
Remote ID string.
vlanName String
DHCP snooping option 82 VLAN.

Import

ObjectSwitchController ManagedSwitchPorts can be imported using any of these accepted formats:

Set import_options = [“managed_switch=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSwitchcontrollerManagedswitchPorts:ObjectSwitchcontrollerManagedswitchPorts labelname {{port_name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

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

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.