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

fortimanager.ObjectSwitchcontrollerManagedswitch

Explore with Pulumi AI

Configure FortiSwitch devices that are managed by this FortiGate.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • custom_command: fortimanager.ObjectSwitchcontrollerManagedswitchCustomcommand
  • dhcp_snooping_static_client: fortimanager.ObjectSwitchcontrollerManagedswitchDhcpsnoopingstaticclient
  • ports: fortimanager.ObjectSwitchcontrollerManagedswitchPorts
  • route_offload_router: fortimanager.ObjectSwitchcontrollerManagedswitchRouteoffloadrouter
  • vlan: fortimanager.ObjectSwitchcontrollerManagedswitchVlan

Example Usage

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

const trname = new fortimanager.ObjectSwitchcontrollerManagedswitch("trname", {
    _platform: "FS1D48T418000533",
    description: "This is a Terraform example",
    dhcpServerAccessList: "enable",
    switchId: "3",
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.ObjectSwitchcontrollerManagedswitch("trname",
    _platform="FS1D48T418000533",
    description="This is a Terraform example",
    dhcp_server_access_list="enable",
    switch_id="3")
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 {
		_, err := fortimanager.NewObjectSwitchcontrollerManagedswitch(ctx, "trname", &fortimanager.ObjectSwitchcontrollerManagedswitchArgs{
			_platform:            pulumi.String("FS1D48T418000533"),
			Description:          pulumi.String("This is a Terraform example"),
			DhcpServerAccessList: pulumi.String("enable"),
			SwitchId:             pulumi.String("3"),
		})
		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 trname = new Fortimanager.ObjectSwitchcontrollerManagedswitch("trname", new()
    {
        _platform = "FS1D48T418000533",
        Description = "This is a Terraform example",
        DhcpServerAccessList = "enable",
        SwitchId = "3",
    });

});
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 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 trname = new ObjectSwitchcontrollerManagedswitch("trname", ObjectSwitchcontrollerManagedswitchArgs.builder()
            ._platform("FS1D48T418000533")
            .description("This is a Terraform example")
            .dhcpServerAccessList("enable")
            .switchId(3)
            .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectSwitchcontrollerManagedswitch
    properties:
      _platform: FS1D48T418000533
      description: This is a Terraform example
      dhcpServerAccessList: enable
      switchId: 3
Copy

Create ObjectSwitchcontrollerManagedswitch Resource

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

Constructor syntax

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

@overload
def ObjectSwitchcontrollerManagedswitch(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        _platform: Optional[str] = None,
                                        adom: Optional[str] = None,
                                        custom_commands: Optional[Sequence[ObjectSwitchcontrollerManagedswitchCustomCommandArgs]] = None,
                                        description: Optional[str] = None,
                                        dhcp_server_access_list: Optional[str] = None,
                                        dhcp_snooping_static_clients: Optional[Sequence[ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientArgs]] = None,
                                        dynamic_sort_subtable: Optional[str] = None,
                                        firmware_provision: Optional[str] = None,
                                        firmware_provision_latest: Optional[str] = None,
                                        firmware_provision_version: Optional[str] = None,
                                        l3_discovered: Optional[float] = None,
                                        mclag_igmp_snooping_aware: Optional[str] = None,
                                        mgmt_mode: Optional[float] = None,
                                        name: Optional[str] = None,
                                        object_switchcontroller_managedswitch_id: Optional[str] = None,
                                        override_snmp_community: Optional[str] = None,
                                        override_snmp_sysinfo: Optional[str] = None,
                                        override_snmp_trap_threshold: Optional[str] = None,
                                        override_snmp_user: Optional[str] = None,
                                        poe_detection_type: Optional[float] = None,
                                        ports: Optional[Sequence[ObjectSwitchcontrollerManagedswitchPortArgs]] = None,
                                        ptp_profile: Optional[str] = None,
                                        ptp_status: Optional[str] = None,
                                        purdue_level: Optional[str] = None,
                                        qos_drop_policy: Optional[str] = None,
                                        qos_red_probability: Optional[float] = None,
                                        radius_nas_ip: Optional[str] = None,
                                        radius_nas_ip_override: Optional[str] = None,
                                        route_offload: Optional[str] = None,
                                        route_offload_mclag: Optional[str] = None,
                                        route_offload_routers: Optional[Sequence[ObjectSwitchcontrollerManagedswitchRouteOffloadRouterArgs]] = None,
                                        scopetype: Optional[str] = None,
                                        switch_dhcp_opt43_key: Optional[str] = None,
                                        switch_id: Optional[str] = None,
                                        tdr_supported: Optional[str] = None,
                                        tunnel_discovered: Optional[float] = None,
                                        vlans: Optional[Sequence[ObjectSwitchcontrollerManagedswitchVlanArgs]] = None)
func NewObjectSwitchcontrollerManagedswitch(ctx *Context, name string, args *ObjectSwitchcontrollerManagedswitchArgs, opts ...ResourceOption) (*ObjectSwitchcontrollerManagedswitch, error)
public ObjectSwitchcontrollerManagedswitch(string name, ObjectSwitchcontrollerManagedswitchArgs? args = null, CustomResourceOptions? opts = null)
public ObjectSwitchcontrollerManagedswitch(String name, ObjectSwitchcontrollerManagedswitchArgs args)
public ObjectSwitchcontrollerManagedswitch(String name, ObjectSwitchcontrollerManagedswitchArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSwitchcontrollerManagedswitch
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 ObjectSwitchcontrollerManagedswitchArgs
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 ObjectSwitchcontrollerManagedswitchArgs
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 ObjectSwitchcontrollerManagedswitchArgs
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 ObjectSwitchcontrollerManagedswitchArgs
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. ObjectSwitchcontrollerManagedswitchArgs
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 objectSwitchcontrollerManagedswitchResource = new Fortimanager.ObjectSwitchcontrollerManagedswitch("objectSwitchcontrollerManagedswitchResource", new()
{
    _platform = "string",
    Adom = "string",
    CustomCommands = new[]
    {
        new Fortimanager.Inputs.ObjectSwitchcontrollerManagedswitchCustomCommandArgs
        {
            CommandEntry = "string",
            CommandName = "string",
        },
    },
    Description = "string",
    DhcpServerAccessList = "string",
    DhcpSnoopingStaticClients = new[]
    {
        new Fortimanager.Inputs.ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientArgs
        {
            Ip = "string",
            Mac = "string",
            Name = "string",
            Port = "string",
            Vlan = "string",
        },
    },
    DynamicSortSubtable = "string",
    FirmwareProvision = "string",
    FirmwareProvisionLatest = "string",
    FirmwareProvisionVersion = "string",
    L3Discovered = 0,
    MclagIgmpSnoopingAware = "string",
    MgmtMode = 0,
    Name = "string",
    ObjectSwitchcontrollerManagedswitchId = "string",
    OverrideSnmpCommunity = "string",
    OverrideSnmpSysinfo = "string",
    OverrideSnmpTrapThreshold = "string",
    OverrideSnmpUser = "string",
    PoeDetectionType = 0,
    Ports = new[]
    {
        new Fortimanager.Inputs.ObjectSwitchcontrollerManagedswitchPortArgs
        {
            AccessMode = "string",
            AclGroups = new[]
            {
                "string",
            },
            AggregatorMode = "string",
            AllowedVlans = "string",
            AllowedVlansAll = "string",
            ArpInspectionTrust = "string",
            AuthenticatedPort = 0,
            Bundle = "string",
            Description = "string",
            DhcpSnoopOption82Overrides = new[]
            {
                new Fortimanager.Inputs.ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82OverrideArgs
                {
                    CircuitId = "string",
                    RemoteId = "string",
                    VlanName = "string",
                },
            },
            DhcpSnoopOption82Trust = "string",
            DhcpSnooping = "string",
            DiscardMode = "string",
            DslProfile = "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",
            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",
            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",
        },
    },
    PtpProfile = "string",
    PtpStatus = "string",
    PurdueLevel = "string",
    QosDropPolicy = "string",
    QosRedProbability = 0,
    RadiusNasIp = "string",
    RadiusNasIpOverride = "string",
    RouteOffload = "string",
    RouteOffloadMclag = "string",
    RouteOffloadRouters = new[]
    {
        new Fortimanager.Inputs.ObjectSwitchcontrollerManagedswitchRouteOffloadRouterArgs
        {
            RouterIp = "string",
            VlanName = "string",
        },
    },
    Scopetype = "string",
    SwitchDhcpOpt43Key = "string",
    SwitchId = "string",
    TdrSupported = "string",
    TunnelDiscovered = 0,
    Vlans = new[]
    {
        new Fortimanager.Inputs.ObjectSwitchcontrollerManagedswitchVlanArgs
        {
            AssignmentPriority = 0,
            VlanName = "string",
        },
    },
});
Copy
example, err := fortimanager.NewObjectSwitchcontrollerManagedswitch(ctx, "objectSwitchcontrollerManagedswitchResource", &fortimanager.ObjectSwitchcontrollerManagedswitchArgs{
	_platform: pulumi.String("string"),
	Adom:      pulumi.String("string"),
	CustomCommands: fortimanager.ObjectSwitchcontrollerManagedswitchCustomCommandTypeArray{
		&fortimanager.ObjectSwitchcontrollerManagedswitchCustomCommandTypeArgs{
			CommandEntry: pulumi.String("string"),
			CommandName:  pulumi.String("string"),
		},
	},
	Description:          pulumi.String("string"),
	DhcpServerAccessList: pulumi.String("string"),
	DhcpSnoopingStaticClients: fortimanager.ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientTypeArray{
		&fortimanager.ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientTypeArgs{
			Ip:   pulumi.String("string"),
			Mac:  pulumi.String("string"),
			Name: pulumi.String("string"),
			Port: pulumi.String("string"),
			Vlan: pulumi.String("string"),
		},
	},
	DynamicSortSubtable:                   pulumi.String("string"),
	FirmwareProvision:                     pulumi.String("string"),
	FirmwareProvisionLatest:               pulumi.String("string"),
	FirmwareProvisionVersion:              pulumi.String("string"),
	L3Discovered:                          pulumi.Float64(0),
	MclagIgmpSnoopingAware:                pulumi.String("string"),
	MgmtMode:                              pulumi.Float64(0),
	Name:                                  pulumi.String("string"),
	ObjectSwitchcontrollerManagedswitchId: pulumi.String("string"),
	OverrideSnmpCommunity:                 pulumi.String("string"),
	OverrideSnmpSysinfo:                   pulumi.String("string"),
	OverrideSnmpTrapThreshold:             pulumi.String("string"),
	OverrideSnmpUser:                      pulumi.String("string"),
	PoeDetectionType:                      pulumi.Float64(0),
	Ports: fortimanager.ObjectSwitchcontrollerManagedswitchPortArray{
		&fortimanager.ObjectSwitchcontrollerManagedswitchPortArgs{
			AccessMode: pulumi.String("string"),
			AclGroups: pulumi.StringArray{
				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: fortimanager.ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82OverrideArray{
				&fortimanager.ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82OverrideArgs{
					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"),
			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"),
			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"),
			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"),
		},
	},
	PtpProfile:          pulumi.String("string"),
	PtpStatus:           pulumi.String("string"),
	PurdueLevel:         pulumi.String("string"),
	QosDropPolicy:       pulumi.String("string"),
	QosRedProbability:   pulumi.Float64(0),
	RadiusNasIp:         pulumi.String("string"),
	RadiusNasIpOverride: pulumi.String("string"),
	RouteOffload:        pulumi.String("string"),
	RouteOffloadMclag:   pulumi.String("string"),
	RouteOffloadRouters: fortimanager.ObjectSwitchcontrollerManagedswitchRouteOffloadRouterTypeArray{
		&fortimanager.ObjectSwitchcontrollerManagedswitchRouteOffloadRouterTypeArgs{
			RouterIp: pulumi.String("string"),
			VlanName: pulumi.String("string"),
		},
	},
	Scopetype:          pulumi.String("string"),
	SwitchDhcpOpt43Key: pulumi.String("string"),
	SwitchId:           pulumi.String("string"),
	TdrSupported:       pulumi.String("string"),
	TunnelDiscovered:   pulumi.Float64(0),
	Vlans: fortimanager.ObjectSwitchcontrollerManagedswitchVlanTypeArray{
		&fortimanager.ObjectSwitchcontrollerManagedswitchVlanTypeArgs{
			AssignmentPriority: pulumi.Float64(0),
			VlanName:           pulumi.String("string"),
		},
	},
})
Copy
var objectSwitchcontrollerManagedswitchResource = new ObjectSwitchcontrollerManagedswitch("objectSwitchcontrollerManagedswitchResource", ObjectSwitchcontrollerManagedswitchArgs.builder()
    ._platform("string")
    .adom("string")
    .customCommands(ObjectSwitchcontrollerManagedswitchCustomCommandArgs.builder()
        .commandEntry("string")
        .commandName("string")
        .build())
    .description("string")
    .dhcpServerAccessList("string")
    .dhcpSnoopingStaticClients(ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientArgs.builder()
        .ip("string")
        .mac("string")
        .name("string")
        .port("string")
        .vlan("string")
        .build())
    .dynamicSortSubtable("string")
    .firmwareProvision("string")
    .firmwareProvisionLatest("string")
    .firmwareProvisionVersion("string")
    .l3Discovered(0)
    .mclagIgmpSnoopingAware("string")
    .mgmtMode(0)
    .name("string")
    .objectSwitchcontrollerManagedswitchId("string")
    .overrideSnmpCommunity("string")
    .overrideSnmpSysinfo("string")
    .overrideSnmpTrapThreshold("string")
    .overrideSnmpUser("string")
    .poeDetectionType(0)
    .ports(ObjectSwitchcontrollerManagedswitchPortArgs.builder()
        .accessMode("string")
        .aclGroups("string")
        .aggregatorMode("string")
        .allowedVlans("string")
        .allowedVlansAll("string")
        .arpInspectionTrust("string")
        .authenticatedPort(0)
        .bundle("string")
        .description("string")
        .dhcpSnoopOption82Overrides(ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82OverrideArgs.builder()
            .circuitId("string")
            .remoteId("string")
            .vlanName("string")
            .build())
        .dhcpSnoopOption82Trust("string")
        .dhcpSnooping("string")
        .discardMode("string")
        .dslProfile("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")
        .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")
        .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())
    .ptpProfile("string")
    .ptpStatus("string")
    .purdueLevel("string")
    .qosDropPolicy("string")
    .qosRedProbability(0)
    .radiusNasIp("string")
    .radiusNasIpOverride("string")
    .routeOffload("string")
    .routeOffloadMclag("string")
    .routeOffloadRouters(ObjectSwitchcontrollerManagedswitchRouteOffloadRouterArgs.builder()
        .routerIp("string")
        .vlanName("string")
        .build())
    .scopetype("string")
    .switchDhcpOpt43Key("string")
    .switchId("string")
    .tdrSupported("string")
    .tunnelDiscovered(0)
    .vlans(ObjectSwitchcontrollerManagedswitchVlanArgs.builder()
        .assignmentPriority(0)
        .vlanName("string")
        .build())
    .build());
Copy
object_switchcontroller_managedswitch_resource = fortimanager.ObjectSwitchcontrollerManagedswitch("objectSwitchcontrollerManagedswitchResource",
    _platform="string",
    adom="string",
    custom_commands=[{
        "command_entry": "string",
        "command_name": "string",
    }],
    description="string",
    dhcp_server_access_list="string",
    dhcp_snooping_static_clients=[{
        "ip": "string",
        "mac": "string",
        "name": "string",
        "port": "string",
        "vlan": "string",
    }],
    dynamic_sort_subtable="string",
    firmware_provision="string",
    firmware_provision_latest="string",
    firmware_provision_version="string",
    l3_discovered=0,
    mclag_igmp_snooping_aware="string",
    mgmt_mode=0,
    name="string",
    object_switchcontroller_managedswitch_id="string",
    override_snmp_community="string",
    override_snmp_sysinfo="string",
    override_snmp_trap_threshold="string",
    override_snmp_user="string",
    poe_detection_type=0,
    ports=[{
        "access_mode": "string",
        "acl_groups": ["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",
        "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",
        "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",
        "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",
    }],
    ptp_profile="string",
    ptp_status="string",
    purdue_level="string",
    qos_drop_policy="string",
    qos_red_probability=0,
    radius_nas_ip="string",
    radius_nas_ip_override="string",
    route_offload="string",
    route_offload_mclag="string",
    route_offload_routers=[{
        "router_ip": "string",
        "vlan_name": "string",
    }],
    scopetype="string",
    switch_dhcp_opt43_key="string",
    switch_id="string",
    tdr_supported="string",
    tunnel_discovered=0,
    vlans=[{
        "assignment_priority": 0,
        "vlan_name": "string",
    }])
Copy
const objectSwitchcontrollerManagedswitchResource = new fortimanager.ObjectSwitchcontrollerManagedswitch("objectSwitchcontrollerManagedswitchResource", {
    _platform: "string",
    adom: "string",
    customCommands: [{
        commandEntry: "string",
        commandName: "string",
    }],
    description: "string",
    dhcpServerAccessList: "string",
    dhcpSnoopingStaticClients: [{
        ip: "string",
        mac: "string",
        name: "string",
        port: "string",
        vlan: "string",
    }],
    dynamicSortSubtable: "string",
    firmwareProvision: "string",
    firmwareProvisionLatest: "string",
    firmwareProvisionVersion: "string",
    l3Discovered: 0,
    mclagIgmpSnoopingAware: "string",
    mgmtMode: 0,
    name: "string",
    objectSwitchcontrollerManagedswitchId: "string",
    overrideSnmpCommunity: "string",
    overrideSnmpSysinfo: "string",
    overrideSnmpTrapThreshold: "string",
    overrideSnmpUser: "string",
    poeDetectionType: 0,
    ports: [{
        accessMode: "string",
        aclGroups: ["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",
        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",
        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",
        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",
    }],
    ptpProfile: "string",
    ptpStatus: "string",
    purdueLevel: "string",
    qosDropPolicy: "string",
    qosRedProbability: 0,
    radiusNasIp: "string",
    radiusNasIpOverride: "string",
    routeOffload: "string",
    routeOffloadMclag: "string",
    routeOffloadRouters: [{
        routerIp: "string",
        vlanName: "string",
    }],
    scopetype: "string",
    switchDhcpOpt43Key: "string",
    switchId: "string",
    tdrSupported: "string",
    tunnelDiscovered: 0,
    vlans: [{
        assignmentPriority: 0,
        vlanName: "string",
    }],
});
Copy
type: fortimanager:ObjectSwitchcontrollerManagedswitch
properties:
    _platform: string
    adom: string
    customCommands:
        - commandEntry: string
          commandName: string
    description: string
    dhcpServerAccessList: string
    dhcpSnoopingStaticClients:
        - ip: string
          mac: string
          name: string
          port: string
          vlan: string
    dynamicSortSubtable: string
    firmwareProvision: string
    firmwareProvisionLatest: string
    firmwareProvisionVersion: string
    l3Discovered: 0
    mclagIgmpSnoopingAware: string
    mgmtMode: 0
    name: string
    objectSwitchcontrollerManagedswitchId: string
    overrideSnmpCommunity: string
    overrideSnmpSysinfo: string
    overrideSnmpTrapThreshold: string
    overrideSnmpUser: string
    poeDetectionType: 0
    ports:
        - accessMode: string
          aclGroups:
            - 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
          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
          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
          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
    ptpProfile: string
    ptpStatus: string
    purdueLevel: string
    qosDropPolicy: string
    qosRedProbability: 0
    radiusNasIp: string
    radiusNasIpOverride: string
    routeOffload: string
    routeOffloadMclag: string
    routeOffloadRouters:
        - routerIp: string
          vlanName: string
    scopetype: string
    switchDhcpOpt43Key: string
    switchId: string
    tdrSupported: string
    tunnelDiscovered: 0
    vlans:
        - assignmentPriority: 0
          vlanName: string
Copy

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

Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CustomCommands List<ObjectSwitchcontrollerManagedswitchCustomCommand>
Custom-Command. The structure of custom_command block is documented below.
Description string
Description.
DhcpServerAccessList string
DHCP snooping server access list. Valid values: disable, enable, global.
DhcpSnoopingStaticClients List<ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClient>
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
FirmwareProvision string
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
FirmwareProvisionLatest string
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
FirmwareProvisionVersion string
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
L3Discovered double
L3-Discovered.
MclagIgmpSnoopingAware string
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
MgmtMode double
FortiLink management mode.
Name string
Managed-switch name.
ObjectSwitchcontrollerManagedswitchId string
an identifier for the resource with format {{switch_id}}.
OverrideSnmpCommunity string
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
OverrideSnmpSysinfo string
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
OverrideSnmpTrapThreshold string
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
OverrideSnmpUser string
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
PoeDetectionType double
Poe-Detection-Type.
Ports List<ObjectSwitchcontrollerManagedswitchPort>
Ports. The structure of ports block is documented below.
PtpProfile string
PTP profile configuration.
PtpStatus string
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
PurdueLevel string
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
QosDropPolicy string
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
QosRedProbability double
Set QoS RED/WRED drop probability.
RadiusNasIp string
NAS-IP address.
RadiusNasIpOverride string
Use locally defined NAS-IP. Valid values: disable, enable.
RouteOffload string
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
RouteOffloadMclag string
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
RouteOffloadRouters List<ObjectSwitchcontrollerManagedswitchRouteOffloadRouter>
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
SwitchDhcpOpt43Key string
DHCP option43 key.
SwitchId string
Managed-switch id.
TdrSupported string
Tdr-Supported.
TunnelDiscovered double
Tunnel-Discovered.
Vlans List<ObjectSwitchcontrollerManagedswitchVlan>
Vlan. The structure of vlan block is documented below.
_platform string
_Platform.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CustomCommands []ObjectSwitchcontrollerManagedswitchCustomCommandTypeArgs
Custom-Command. The structure of custom_command block is documented below.
Description string
Description.
DhcpServerAccessList string
DHCP snooping server access list. Valid values: disable, enable, global.
DhcpSnoopingStaticClients []ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientTypeArgs
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
FirmwareProvision string
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
FirmwareProvisionLatest string
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
FirmwareProvisionVersion string
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
L3Discovered float64
L3-Discovered.
MclagIgmpSnoopingAware string
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
MgmtMode float64
FortiLink management mode.
Name string
Managed-switch name.
ObjectSwitchcontrollerManagedswitchId string
an identifier for the resource with format {{switch_id}}.
OverrideSnmpCommunity string
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
OverrideSnmpSysinfo string
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
OverrideSnmpTrapThreshold string
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
OverrideSnmpUser string
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
PoeDetectionType float64
Poe-Detection-Type.
Ports []ObjectSwitchcontrollerManagedswitchPortArgs
Ports. The structure of ports block is documented below.
PtpProfile string
PTP profile configuration.
PtpStatus string
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
PurdueLevel string
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
QosDropPolicy string
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
QosRedProbability float64
Set QoS RED/WRED drop probability.
RadiusNasIp string
NAS-IP address.
RadiusNasIpOverride string
Use locally defined NAS-IP. Valid values: disable, enable.
RouteOffload string
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
RouteOffloadMclag string
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
RouteOffloadRouters []ObjectSwitchcontrollerManagedswitchRouteOffloadRouterTypeArgs
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
SwitchDhcpOpt43Key string
DHCP option43 key.
SwitchId string
Managed-switch id.
TdrSupported string
Tdr-Supported.
TunnelDiscovered float64
Tunnel-Discovered.
Vlans []ObjectSwitchcontrollerManagedswitchVlanTypeArgs
Vlan. The structure of vlan block is documented below.
_platform string
_Platform.
_platform String
_Platform.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
customCommands List<ObjectSwitchcontrollerManagedswitchCustomCommand>
Custom-Command. The structure of custom_command block is documented below.
description String
Description.
dhcpServerAccessList String
DHCP snooping server access list. Valid values: disable, enable, global.
dhcpSnoopingStaticClients List<ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClient>
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmwareProvision String
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmwareProvisionLatest String
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmwareProvisionVersion String
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3Discovered Double
L3-Discovered.
mclagIgmpSnoopingAware String
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmtMode Double
FortiLink management mode.
name String
Managed-switch name.
objectSwitchcontrollerManagedswitchId String
an identifier for the resource with format {{switch_id}}.
overrideSnmpCommunity String
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
overrideSnmpSysinfo String
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
overrideSnmpTrapThreshold String
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
overrideSnmpUser String
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poeDetectionType Double
Poe-Detection-Type.
ports List<ObjectSwitchcontrollerManagedswitchPort>
Ports. The structure of ports block is documented below.
ptpProfile String
PTP profile configuration.
ptpStatus String
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdueLevel String
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qosDropPolicy String
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qosRedProbability Double
Set QoS RED/WRED drop probability.
radiusNasIp String
NAS-IP address.
radiusNasIpOverride String
Use locally defined NAS-IP. Valid values: disable, enable.
routeOffload String
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
routeOffloadMclag String
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
routeOffloadRouters List<ObjectSwitchcontrollerManagedswitchRouteOffloadRouter>
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switchDhcpOpt43Key String
DHCP option43 key.
switchId String
Managed-switch id.
tdrSupported String
Tdr-Supported.
tunnelDiscovered Double
Tunnel-Discovered.
vlans List<ObjectSwitchcontrollerManagedswitchVlan>
Vlan. The structure of vlan block is documented below.
_platform string
_Platform.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
customCommands ObjectSwitchcontrollerManagedswitchCustomCommand[]
Custom-Command. The structure of custom_command block is documented below.
description string
Description.
dhcpServerAccessList string
DHCP snooping server access list. Valid values: disable, enable, global.
dhcpSnoopingStaticClients ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClient[]
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmwareProvision string
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmwareProvisionLatest string
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmwareProvisionVersion string
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3Discovered number
L3-Discovered.
mclagIgmpSnoopingAware string
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmtMode number
FortiLink management mode.
name string
Managed-switch name.
objectSwitchcontrollerManagedswitchId string
an identifier for the resource with format {{switch_id}}.
overrideSnmpCommunity string
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
overrideSnmpSysinfo string
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
overrideSnmpTrapThreshold string
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
overrideSnmpUser string
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poeDetectionType number
Poe-Detection-Type.
ports ObjectSwitchcontrollerManagedswitchPort[]
Ports. The structure of ports block is documented below.
ptpProfile string
PTP profile configuration.
ptpStatus string
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdueLevel string
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qosDropPolicy string
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qosRedProbability number
Set QoS RED/WRED drop probability.
radiusNasIp string
NAS-IP address.
radiusNasIpOverride string
Use locally defined NAS-IP. Valid values: disable, enable.
routeOffload string
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
routeOffloadMclag string
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
routeOffloadRouters ObjectSwitchcontrollerManagedswitchRouteOffloadRouter[]
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switchDhcpOpt43Key string
DHCP option43 key.
switchId string
Managed-switch id.
tdrSupported string
Tdr-Supported.
tunnelDiscovered number
Tunnel-Discovered.
vlans ObjectSwitchcontrollerManagedswitchVlan[]
Vlan. The structure of vlan block is documented below.
_platform str
_Platform.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
custom_commands Sequence[ObjectSwitchcontrollerManagedswitchCustomCommandArgs]
Custom-Command. The structure of custom_command block is documented below.
description str
Description.
dhcp_server_access_list str
DHCP snooping server access list. Valid values: disable, enable, global.
dhcp_snooping_static_clients Sequence[ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientArgs]
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmware_provision str
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmware_provision_latest str
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmware_provision_version str
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3_discovered float
L3-Discovered.
mclag_igmp_snooping_aware str
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmt_mode float
FortiLink management mode.
name str
Managed-switch name.
object_switchcontroller_managedswitch_id str
an identifier for the resource with format {{switch_id}}.
override_snmp_community str
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
override_snmp_sysinfo str
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
override_snmp_trap_threshold str
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
override_snmp_user str
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poe_detection_type float
Poe-Detection-Type.
ports Sequence[ObjectSwitchcontrollerManagedswitchPortArgs]
Ports. The structure of ports block is documented below.
ptp_profile str
PTP profile configuration.
ptp_status str
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdue_level str
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qos_drop_policy str
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qos_red_probability float
Set QoS RED/WRED drop probability.
radius_nas_ip str
NAS-IP address.
radius_nas_ip_override str
Use locally defined NAS-IP. Valid values: disable, enable.
route_offload str
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
route_offload_mclag str
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
route_offload_routers Sequence[ObjectSwitchcontrollerManagedswitchRouteOffloadRouterArgs]
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switch_dhcp_opt43_key str
DHCP option43 key.
switch_id str
Managed-switch id.
tdr_supported str
Tdr-Supported.
tunnel_discovered float
Tunnel-Discovered.
vlans Sequence[ObjectSwitchcontrollerManagedswitchVlanArgs]
Vlan. The structure of vlan block is documented below.
_platform String
_Platform.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
customCommands List<Property Map>
Custom-Command. The structure of custom_command block is documented below.
description String
Description.
dhcpServerAccessList String
DHCP snooping server access list. Valid values: disable, enable, global.
dhcpSnoopingStaticClients List<Property Map>
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmwareProvision String
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmwareProvisionLatest String
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmwareProvisionVersion String
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3Discovered Number
L3-Discovered.
mclagIgmpSnoopingAware String
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmtMode Number
FortiLink management mode.
name String
Managed-switch name.
objectSwitchcontrollerManagedswitchId String
an identifier for the resource with format {{switch_id}}.
overrideSnmpCommunity String
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
overrideSnmpSysinfo String
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
overrideSnmpTrapThreshold String
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
overrideSnmpUser String
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poeDetectionType Number
Poe-Detection-Type.
ports List<Property Map>
Ports. The structure of ports block is documented below.
ptpProfile String
PTP profile configuration.
ptpStatus String
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdueLevel String
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qosDropPolicy String
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qosRedProbability Number
Set QoS RED/WRED drop probability.
radiusNasIp String
NAS-IP address.
radiusNasIpOverride String
Use locally defined NAS-IP. Valid values: disable, enable.
routeOffload String
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
routeOffloadMclag String
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
routeOffloadRouters List<Property Map>
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switchDhcpOpt43Key String
DHCP option43 key.
switchId String
Managed-switch id.
tdrSupported String
Tdr-Supported.
tunnelDiscovered Number
Tunnel-Discovered.
vlans List<Property Map>
Vlan. The structure of vlan block is documented below.

Outputs

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

Get an existing ObjectSwitchcontrollerManagedswitch 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?: ObjectSwitchcontrollerManagedswitchState, opts?: CustomResourceOptions): ObjectSwitchcontrollerManagedswitch
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        _platform: Optional[str] = None,
        adom: Optional[str] = None,
        custom_commands: Optional[Sequence[ObjectSwitchcontrollerManagedswitchCustomCommandArgs]] = None,
        description: Optional[str] = None,
        dhcp_server_access_list: Optional[str] = None,
        dhcp_snooping_static_clients: Optional[Sequence[ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientArgs]] = None,
        dynamic_sort_subtable: Optional[str] = None,
        firmware_provision: Optional[str] = None,
        firmware_provision_latest: Optional[str] = None,
        firmware_provision_version: Optional[str] = None,
        l3_discovered: Optional[float] = None,
        mclag_igmp_snooping_aware: Optional[str] = None,
        mgmt_mode: Optional[float] = None,
        name: Optional[str] = None,
        object_switchcontroller_managedswitch_id: Optional[str] = None,
        override_snmp_community: Optional[str] = None,
        override_snmp_sysinfo: Optional[str] = None,
        override_snmp_trap_threshold: Optional[str] = None,
        override_snmp_user: Optional[str] = None,
        poe_detection_type: Optional[float] = None,
        ports: Optional[Sequence[ObjectSwitchcontrollerManagedswitchPortArgs]] = None,
        ptp_profile: Optional[str] = None,
        ptp_status: Optional[str] = None,
        purdue_level: Optional[str] = None,
        qos_drop_policy: Optional[str] = None,
        qos_red_probability: Optional[float] = None,
        radius_nas_ip: Optional[str] = None,
        radius_nas_ip_override: Optional[str] = None,
        route_offload: Optional[str] = None,
        route_offload_mclag: Optional[str] = None,
        route_offload_routers: Optional[Sequence[ObjectSwitchcontrollerManagedswitchRouteOffloadRouterArgs]] = None,
        scopetype: Optional[str] = None,
        switch_dhcp_opt43_key: Optional[str] = None,
        switch_id: Optional[str] = None,
        tdr_supported: Optional[str] = None,
        tunnel_discovered: Optional[float] = None,
        vlans: Optional[Sequence[ObjectSwitchcontrollerManagedswitchVlanArgs]] = None) -> ObjectSwitchcontrollerManagedswitch
func GetObjectSwitchcontrollerManagedswitch(ctx *Context, name string, id IDInput, state *ObjectSwitchcontrollerManagedswitchState, opts ...ResourceOption) (*ObjectSwitchcontrollerManagedswitch, error)
public static ObjectSwitchcontrollerManagedswitch Get(string name, Input<string> id, ObjectSwitchcontrollerManagedswitchState? state, CustomResourceOptions? opts = null)
public static ObjectSwitchcontrollerManagedswitch get(String name, Output<String> id, ObjectSwitchcontrollerManagedswitchState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSwitchcontrollerManagedswitch    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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CustomCommands List<ObjectSwitchcontrollerManagedswitchCustomCommand>
Custom-Command. The structure of custom_command block is documented below.
Description string
Description.
DhcpServerAccessList string
DHCP snooping server access list. Valid values: disable, enable, global.
DhcpSnoopingStaticClients List<ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClient>
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
FirmwareProvision string
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
FirmwareProvisionLatest string
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
FirmwareProvisionVersion string
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
L3Discovered double
L3-Discovered.
MclagIgmpSnoopingAware string
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
MgmtMode double
FortiLink management mode.
Name string
Managed-switch name.
ObjectSwitchcontrollerManagedswitchId string
an identifier for the resource with format {{switch_id}}.
OverrideSnmpCommunity string
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
OverrideSnmpSysinfo string
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
OverrideSnmpTrapThreshold string
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
OverrideSnmpUser string
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
PoeDetectionType double
Poe-Detection-Type.
Ports List<ObjectSwitchcontrollerManagedswitchPort>
Ports. The structure of ports block is documented below.
PtpProfile string
PTP profile configuration.
PtpStatus string
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
PurdueLevel string
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
QosDropPolicy string
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
QosRedProbability double
Set QoS RED/WRED drop probability.
RadiusNasIp string
NAS-IP address.
RadiusNasIpOverride string
Use locally defined NAS-IP. Valid values: disable, enable.
RouteOffload string
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
RouteOffloadMclag string
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
RouteOffloadRouters List<ObjectSwitchcontrollerManagedswitchRouteOffloadRouter>
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
SwitchDhcpOpt43Key string
DHCP option43 key.
SwitchId string
Managed-switch id.
TdrSupported string
Tdr-Supported.
TunnelDiscovered double
Tunnel-Discovered.
Vlans List<ObjectSwitchcontrollerManagedswitchVlan>
Vlan. The structure of vlan block is documented below.
_platform string
_Platform.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CustomCommands []ObjectSwitchcontrollerManagedswitchCustomCommandTypeArgs
Custom-Command. The structure of custom_command block is documented below.
Description string
Description.
DhcpServerAccessList string
DHCP snooping server access list. Valid values: disable, enable, global.
DhcpSnoopingStaticClients []ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientTypeArgs
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
FirmwareProvision string
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
FirmwareProvisionLatest string
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
FirmwareProvisionVersion string
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
L3Discovered float64
L3-Discovered.
MclagIgmpSnoopingAware string
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
MgmtMode float64
FortiLink management mode.
Name string
Managed-switch name.
ObjectSwitchcontrollerManagedswitchId string
an identifier for the resource with format {{switch_id}}.
OverrideSnmpCommunity string
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
OverrideSnmpSysinfo string
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
OverrideSnmpTrapThreshold string
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
OverrideSnmpUser string
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
PoeDetectionType float64
Poe-Detection-Type.
Ports []ObjectSwitchcontrollerManagedswitchPortArgs
Ports. The structure of ports block is documented below.
PtpProfile string
PTP profile configuration.
PtpStatus string
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
PurdueLevel string
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
QosDropPolicy string
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
QosRedProbability float64
Set QoS RED/WRED drop probability.
RadiusNasIp string
NAS-IP address.
RadiusNasIpOverride string
Use locally defined NAS-IP. Valid values: disable, enable.
RouteOffload string
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
RouteOffloadMclag string
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
RouteOffloadRouters []ObjectSwitchcontrollerManagedswitchRouteOffloadRouterTypeArgs
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
SwitchDhcpOpt43Key string
DHCP option43 key.
SwitchId string
Managed-switch id.
TdrSupported string
Tdr-Supported.
TunnelDiscovered float64
Tunnel-Discovered.
Vlans []ObjectSwitchcontrollerManagedswitchVlanTypeArgs
Vlan. The structure of vlan block is documented below.
_platform string
_Platform.
_platform String
_Platform.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
customCommands List<ObjectSwitchcontrollerManagedswitchCustomCommand>
Custom-Command. The structure of custom_command block is documented below.
description String
Description.
dhcpServerAccessList String
DHCP snooping server access list. Valid values: disable, enable, global.
dhcpSnoopingStaticClients List<ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClient>
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmwareProvision String
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmwareProvisionLatest String
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmwareProvisionVersion String
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3Discovered Double
L3-Discovered.
mclagIgmpSnoopingAware String
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmtMode Double
FortiLink management mode.
name String
Managed-switch name.
objectSwitchcontrollerManagedswitchId String
an identifier for the resource with format {{switch_id}}.
overrideSnmpCommunity String
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
overrideSnmpSysinfo String
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
overrideSnmpTrapThreshold String
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
overrideSnmpUser String
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poeDetectionType Double
Poe-Detection-Type.
ports List<ObjectSwitchcontrollerManagedswitchPort>
Ports. The structure of ports block is documented below.
ptpProfile String
PTP profile configuration.
ptpStatus String
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdueLevel String
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qosDropPolicy String
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qosRedProbability Double
Set QoS RED/WRED drop probability.
radiusNasIp String
NAS-IP address.
radiusNasIpOverride String
Use locally defined NAS-IP. Valid values: disable, enable.
routeOffload String
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
routeOffloadMclag String
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
routeOffloadRouters List<ObjectSwitchcontrollerManagedswitchRouteOffloadRouter>
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switchDhcpOpt43Key String
DHCP option43 key.
switchId String
Managed-switch id.
tdrSupported String
Tdr-Supported.
tunnelDiscovered Double
Tunnel-Discovered.
vlans List<ObjectSwitchcontrollerManagedswitchVlan>
Vlan. The structure of vlan block is documented below.
_platform string
_Platform.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
customCommands ObjectSwitchcontrollerManagedswitchCustomCommand[]
Custom-Command. The structure of custom_command block is documented below.
description string
Description.
dhcpServerAccessList string
DHCP snooping server access list. Valid values: disable, enable, global.
dhcpSnoopingStaticClients ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClient[]
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmwareProvision string
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmwareProvisionLatest string
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmwareProvisionVersion string
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3Discovered number
L3-Discovered.
mclagIgmpSnoopingAware string
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmtMode number
FortiLink management mode.
name string
Managed-switch name.
objectSwitchcontrollerManagedswitchId string
an identifier for the resource with format {{switch_id}}.
overrideSnmpCommunity string
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
overrideSnmpSysinfo string
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
overrideSnmpTrapThreshold string
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
overrideSnmpUser string
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poeDetectionType number
Poe-Detection-Type.
ports ObjectSwitchcontrollerManagedswitchPort[]
Ports. The structure of ports block is documented below.
ptpProfile string
PTP profile configuration.
ptpStatus string
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdueLevel string
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qosDropPolicy string
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qosRedProbability number
Set QoS RED/WRED drop probability.
radiusNasIp string
NAS-IP address.
radiusNasIpOverride string
Use locally defined NAS-IP. Valid values: disable, enable.
routeOffload string
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
routeOffloadMclag string
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
routeOffloadRouters ObjectSwitchcontrollerManagedswitchRouteOffloadRouter[]
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switchDhcpOpt43Key string
DHCP option43 key.
switchId string
Managed-switch id.
tdrSupported string
Tdr-Supported.
tunnelDiscovered number
Tunnel-Discovered.
vlans ObjectSwitchcontrollerManagedswitchVlan[]
Vlan. The structure of vlan block is documented below.
_platform str
_Platform.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
custom_commands Sequence[ObjectSwitchcontrollerManagedswitchCustomCommandArgs]
Custom-Command. The structure of custom_command block is documented below.
description str
Description.
dhcp_server_access_list str
DHCP snooping server access list. Valid values: disable, enable, global.
dhcp_snooping_static_clients Sequence[ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientArgs]
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmware_provision str
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmware_provision_latest str
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmware_provision_version str
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3_discovered float
L3-Discovered.
mclag_igmp_snooping_aware str
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmt_mode float
FortiLink management mode.
name str
Managed-switch name.
object_switchcontroller_managedswitch_id str
an identifier for the resource with format {{switch_id}}.
override_snmp_community str
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
override_snmp_sysinfo str
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
override_snmp_trap_threshold str
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
override_snmp_user str
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poe_detection_type float
Poe-Detection-Type.
ports Sequence[ObjectSwitchcontrollerManagedswitchPortArgs]
Ports. The structure of ports block is documented below.
ptp_profile str
PTP profile configuration.
ptp_status str
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdue_level str
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qos_drop_policy str
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qos_red_probability float
Set QoS RED/WRED drop probability.
radius_nas_ip str
NAS-IP address.
radius_nas_ip_override str
Use locally defined NAS-IP. Valid values: disable, enable.
route_offload str
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
route_offload_mclag str
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
route_offload_routers Sequence[ObjectSwitchcontrollerManagedswitchRouteOffloadRouterArgs]
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switch_dhcp_opt43_key str
DHCP option43 key.
switch_id str
Managed-switch id.
tdr_supported str
Tdr-Supported.
tunnel_discovered float
Tunnel-Discovered.
vlans Sequence[ObjectSwitchcontrollerManagedswitchVlanArgs]
Vlan. The structure of vlan block is documented below.
_platform String
_Platform.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
customCommands List<Property Map>
Custom-Command. The structure of custom_command block is documented below.
description String
Description.
dhcpServerAccessList String
DHCP snooping server access list. Valid values: disable, enable, global.
dhcpSnoopingStaticClients List<Property Map>
Dhcp-Snooping-Static-Client. The structure of dhcp_snooping_static_client block is documented below.
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.
firmwareProvision String
Enable/disable provisioning of firmware to FortiSwitches on join connection. Valid values: disable, enable.
firmwareProvisionLatest String
Enable/disable one-time automatic provisioning of the latest firmware version. Valid values: disable, once.
firmwareProvisionVersion String
Firmware version to provision to this FortiSwitch on bootup (major.minor.build, i.e. 6.2.1234).
l3Discovered Number
L3-Discovered.
mclagIgmpSnoopingAware String
Enable/disable MCLAG IGMP-snooping awareness. Valid values: disable, enable.
mgmtMode Number
FortiLink management mode.
name String
Managed-switch name.
objectSwitchcontrollerManagedswitchId String
an identifier for the resource with format {{switch_id}}.
overrideSnmpCommunity String
Enable/disable overriding the global SNMP communities. Valid values: disable, enable.
overrideSnmpSysinfo String
Enable/disable overriding the global SNMP system information. Valid values: disable, enable.
overrideSnmpTrapThreshold String
Enable/disable overriding the global SNMP trap threshold values. Valid values: disable, enable.
overrideSnmpUser String
Enable/disable overriding the global SNMP users. Valid values: disable, enable.
poeDetectionType Number
Poe-Detection-Type.
ports List<Property Map>
Ports. The structure of ports block is documented below.
ptpProfile String
PTP profile configuration.
ptpStatus String
Enable/disable PTP profile on this FortiSwitch. Valid values: disable, enable.
purdueLevel String
Purdue Level of this FortiSwitch. Valid values: 1, 2, 3, 4, 5, 1.5, 2.5, 3.5, 5.5.
qosDropPolicy String
Set QoS drop-policy. Valid values: taildrop, random-early-detection.
qosRedProbability Number
Set QoS RED/WRED drop probability.
radiusNasIp String
NAS-IP address.
radiusNasIpOverride String
Use locally defined NAS-IP. Valid values: disable, enable.
routeOffload String
Enable/disable route offload on this FortiSwitch. Valid values: disable, enable.
routeOffloadMclag String
Enable/disable route offload MCLAG on this FortiSwitch. Valid values: disable, enable.
routeOffloadRouters List<Property Map>
Route-Offload-Router. The structure of route_offload_router block is documented below.
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.
switchDhcpOpt43Key String
DHCP option43 key.
switchId String
Managed-switch id.
tdrSupported String
Tdr-Supported.
tunnelDiscovered Number
Tunnel-Discovered.
vlans List<Property Map>
Vlan. The structure of vlan block is documented below.

Supporting Types

ObjectSwitchcontrollerManagedswitchCustomCommand
, ObjectSwitchcontrollerManagedswitchCustomCommandArgs

CommandEntry string
List of FortiSwitch commands.
CommandName string
Names of commands to be pushed to this FortiSwitch device, as configured under config switch-controller custom-command.
CommandEntry string
List of FortiSwitch commands.
CommandName string
Names of commands to be pushed to this FortiSwitch device, as configured under config switch-controller custom-command.
commandEntry String
List of FortiSwitch commands.
commandName String
Names of commands to be pushed to this FortiSwitch device, as configured under config switch-controller custom-command.
commandEntry string
List of FortiSwitch commands.
commandName string
Names of commands to be pushed to this FortiSwitch device, as configured under config switch-controller custom-command.
command_entry str
List of FortiSwitch commands.
command_name str
Names of commands to be pushed to this FortiSwitch device, as configured under config switch-controller custom-command.
commandEntry String
List of FortiSwitch commands.
commandName String
Names of commands to be pushed to this FortiSwitch device, as configured under config switch-controller custom-command.

ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClient
, ObjectSwitchcontrollerManagedswitchDhcpSnoopingStaticClientArgs

Ip string
Client static IP address.
Mac string
Client MAC address.
Name string
Client name.
Port string
Interface name.
Vlan string
VLAN name.
Ip string
Client static IP address.
Mac string
Client MAC address.
Name string
Client name.
Port string
Interface name.
Vlan string
VLAN name.
ip String
Client static IP address.
mac String
Client MAC address.
name String
Client name.
port String
Interface name.
vlan String
VLAN name.
ip string
Client static IP address.
mac string
Client MAC address.
name string
Client name.
port string
Interface name.
vlan string
VLAN name.
ip str
Client static IP address.
mac str
Client MAC address.
name str
Client name.
port str
Interface name.
vlan str
VLAN name.
ip String
Client static IP address.
mac String
Client MAC address.
name String
Client name.
port String
Interface name.
vlan String
VLAN name.

ObjectSwitchcontrollerManagedswitchPort
, ObjectSwitchcontrollerManagedswitchPortArgs

AccessMode string
Access mode of the port. Valid values: normal, nac.
AclGroups List<string>
ACL groups on this port.
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<ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82Override>
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.
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.
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.
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.

The dhcp_snoop_option82_override block supports:

AccessMode string
Access mode of the port. Valid values: normal, nac.
AclGroups []string
ACL groups on this port.
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 []ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82Override
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.
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.
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.
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.

The dhcp_snoop_option82_override block supports:

accessMode String
Access mode of the port. Valid values: normal, nac.
aclGroups List<String>
ACL groups on this port.
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<ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82Override>
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.
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.
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.
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.

The dhcp_snoop_option82_override block supports:

accessMode string
Access mode of the port. Valid values: normal, nac.
aclGroups string[]
ACL groups on this port.
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 ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82Override[]
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.
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.
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.
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.

The dhcp_snoop_option82_override block supports:

access_mode str
Access mode of the port. Valid values: normal, nac.
acl_groups Sequence[str]
ACL groups on this port.
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[ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82Override]
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.
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.
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.
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.

The dhcp_snoop_option82_override block supports:

accessMode String
Access mode of the port. Valid values: normal, nac.
aclGroups List<String>
ACL groups on this port.
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.
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.
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.
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.

The dhcp_snoop_option82_override block supports:

ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82Override
, ObjectSwitchcontrollerManagedswitchPortDhcpSnoopOption82OverrideArgs

CircuitId string
Circuit ID string.
RemoteId string
Remote ID string.
VlanName string
CircuitId string
Circuit ID string.
RemoteId string
Remote ID string.
VlanName string
circuitId String
Circuit ID string.
remoteId String
Remote ID string.
vlanName String
circuitId string
Circuit ID string.
remoteId string
Remote ID string.
vlanName string
circuit_id str
Circuit ID string.
remote_id str
Remote ID string.
vlan_name str
circuitId String
Circuit ID string.
remoteId String
Remote ID string.
vlanName String

ObjectSwitchcontrollerManagedswitchRouteOffloadRouter
, ObjectSwitchcontrollerManagedswitchRouteOffloadRouterArgs

RouterIp string
Router IP address.
VlanName string
VLAN name.
RouterIp string
Router IP address.
VlanName string
VLAN name.
routerIp String
Router IP address.
vlanName String
VLAN name.
routerIp string
Router IP address.
vlanName string
VLAN name.
router_ip str
Router IP address.
vlan_name str
VLAN name.
routerIp String
Router IP address.
vlanName String
VLAN name.

ObjectSwitchcontrollerManagedswitchVlan
, ObjectSwitchcontrollerManagedswitchVlanArgs

AssignmentPriority double
802.1x Radius (Tunnel-Private-Group-Id) VLANID assign-by-name priority. A smaller value has a higher priority.
VlanName string
VLAN name.
AssignmentPriority float64
802.1x Radius (Tunnel-Private-Group-Id) VLANID assign-by-name priority. A smaller value has a higher priority.
VlanName string
VLAN name.
assignmentPriority Double
802.1x Radius (Tunnel-Private-Group-Id) VLANID assign-by-name priority. A smaller value has a higher priority.
vlanName String
VLAN name.
assignmentPriority number
802.1x Radius (Tunnel-Private-Group-Id) VLANID assign-by-name priority. A smaller value has a higher priority.
vlanName string
VLAN name.
assignment_priority float
802.1x Radius (Tunnel-Private-Group-Id) VLANID assign-by-name priority. A smaller value has a higher priority.
vlan_name str
VLAN name.
assignmentPriority Number
802.1x Radius (Tunnel-Private-Group-Id) VLANID assign-by-name priority. A smaller value has a higher priority.
vlanName String
VLAN name.

Import

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

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSwitchcontrollerManagedswitch:ObjectSwitchcontrollerManagedswitch labelname {{switch_id}}
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.