1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. ConfigTemplatesSwitchProfilesPorts
Cisco Meraki v0.2.0 published on Friday, May 24, 2024 by Pulumi

meraki.organizations.ConfigTemplatesSwitchProfilesPorts

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.0 published on Friday, May 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.organizations.ConfigTemplatesSwitchProfilesPorts("example", {
        accessPolicyNumber: 2,
        accessPolicyType: "Sticky MAC allow list",
        allowedVlans: "1,3,5-10",
        configTemplateId: "string",
        daiTrusted: false,
        enabled: true,
        flexibleStackingEnabled: true,
        isolationEnabled: false,
        linkNegotiation: "Auto negotiate",
        macAllowLists: [
            "34:56:fe:ce:8e:b0",
            "34:56:fe:ce:8e:b1",
        ],
        name: "My switch port",
        organizationId: "string",
        poeEnabled: true,
        portId: "string",
        portScheduleId: "1234",
        profile: {
            enabled: false,
            id: "1284392014819",
            iname: "iname",
        },
        profileId: "string",
        rstpEnabled: true,
        stickyMacAllowLists: [
            "34:56:fe:ce:8e:b0",
            "34:56:fe:ce:8e:b1",
        ],
        stickyMacAllowListLimit: 5,
        stormControlEnabled: true,
        stpGuard: "disabled",
        tags: [
            "tag1",
            "tag2",
        ],
        type: "access",
        udld: "Alert only",
        vlan: 10,
        voiceVlan: 20,
    });
    export const merakiOrganizationsConfigTemplatesSwitchProfilesPortsExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.ConfigTemplatesSwitchProfilesPorts("example",
        access_policy_number=2,
        access_policy_type="Sticky MAC allow list",
        allowed_vlans="1,3,5-10",
        config_template_id="string",
        dai_trusted=False,
        enabled=True,
        flexible_stacking_enabled=True,
        isolation_enabled=False,
        link_negotiation="Auto negotiate",
        mac_allow_lists=[
            "34:56:fe:ce:8e:b0",
            "34:56:fe:ce:8e:b1",
        ],
        name="My switch port",
        organization_id="string",
        poe_enabled=True,
        port_id="string",
        port_schedule_id="1234",
        profile=meraki.organizations.ConfigTemplatesSwitchProfilesPortsProfileArgs(
            enabled=False,
            id="1284392014819",
            iname="iname",
        ),
        profile_id="string",
        rstp_enabled=True,
        sticky_mac_allow_lists=[
            "34:56:fe:ce:8e:b0",
            "34:56:fe:ce:8e:b1",
        ],
        sticky_mac_allow_list_limit=5,
        storm_control_enabled=True,
        stp_guard="disabled",
        tags=[
            "tag1",
            "tag2",
        ],
        type="access",
        udld="Alert only",
        vlan=10,
        voice_vlan=20)
    pulumi.export("merakiOrganizationsConfigTemplatesSwitchProfilesPortsExample", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := organizations.NewConfigTemplatesSwitchProfilesPorts(ctx, "example", &organizations.ConfigTemplatesSwitchProfilesPortsArgs{
    			AccessPolicyNumber:      pulumi.Int(2),
    			AccessPolicyType:        pulumi.String("Sticky MAC allow list"),
    			AllowedVlans:            pulumi.String("1,3,5-10"),
    			ConfigTemplateId:        pulumi.String("string"),
    			DaiTrusted:              pulumi.Bool(false),
    			Enabled:                 pulumi.Bool(true),
    			FlexibleStackingEnabled: pulumi.Bool(true),
    			IsolationEnabled:        pulumi.Bool(false),
    			LinkNegotiation:         pulumi.String("Auto negotiate"),
    			MacAllowLists: pulumi.StringArray{
    				pulumi.String("34:56:fe:ce:8e:b0"),
    				pulumi.String("34:56:fe:ce:8e:b1"),
    			},
    			Name:           pulumi.String("My switch port"),
    			OrganizationId: pulumi.String("string"),
    			PoeEnabled:     pulumi.Bool(true),
    			PortId:         pulumi.String("string"),
    			PortScheduleId: pulumi.String("1234"),
    			Profile: &organizations.ConfigTemplatesSwitchProfilesPortsProfileArgs{
    				Enabled: pulumi.Bool(false),
    				Id:      pulumi.String("1284392014819"),
    				Iname:   pulumi.String("iname"),
    			},
    			ProfileId:   pulumi.String("string"),
    			RstpEnabled: pulumi.Bool(true),
    			StickyMacAllowLists: pulumi.StringArray{
    				pulumi.String("34:56:fe:ce:8e:b0"),
    				pulumi.String("34:56:fe:ce:8e:b1"),
    			},
    			StickyMacAllowListLimit: pulumi.Int(5),
    			StormControlEnabled:     pulumi.Bool(true),
    			StpGuard:                pulumi.String("disabled"),
    			Tags: pulumi.StringArray{
    				pulumi.String("tag1"),
    				pulumi.String("tag2"),
    			},
    			Type:      pulumi.String("access"),
    			Udld:      pulumi.String("Alert only"),
    			Vlan:      pulumi.Int(10),
    			VoiceVlan: pulumi.Int(20),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsConfigTemplatesSwitchProfilesPortsExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Organizations.ConfigTemplatesSwitchProfilesPorts("example", new()
        {
            AccessPolicyNumber = 2,
            AccessPolicyType = "Sticky MAC allow list",
            AllowedVlans = "1,3,5-10",
            ConfigTemplateId = "string",
            DaiTrusted = false,
            Enabled = true,
            FlexibleStackingEnabled = true,
            IsolationEnabled = false,
            LinkNegotiation = "Auto negotiate",
            MacAllowLists = new[]
            {
                "34:56:fe:ce:8e:b0",
                "34:56:fe:ce:8e:b1",
            },
            Name = "My switch port",
            OrganizationId = "string",
            PoeEnabled = true,
            PortId = "string",
            PortScheduleId = "1234",
            Profile = new Meraki.Organizations.Inputs.ConfigTemplatesSwitchProfilesPortsProfileArgs
            {
                Enabled = false,
                Id = "1284392014819",
                Iname = "iname",
            },
            ProfileId = "string",
            RstpEnabled = true,
            StickyMacAllowLists = new[]
            {
                "34:56:fe:ce:8e:b0",
                "34:56:fe:ce:8e:b1",
            },
            StickyMacAllowListLimit = 5,
            StormControlEnabled = true,
            StpGuard = "disabled",
            Tags = new[]
            {
                "tag1",
                "tag2",
            },
            Type = "access",
            Udld = "Alert only",
            Vlan = 10,
            VoiceVlan = 20,
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsConfigTemplatesSwitchProfilesPortsExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.ConfigTemplatesSwitchProfilesPorts;
    import com.pulumi.meraki.organizations.ConfigTemplatesSwitchProfilesPortsArgs;
    import com.pulumi.meraki.organizations.inputs.ConfigTemplatesSwitchProfilesPortsProfileArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ConfigTemplatesSwitchProfilesPorts("example", ConfigTemplatesSwitchProfilesPortsArgs.builder()
                .accessPolicyNumber(2)
                .accessPolicyType("Sticky MAC allow list")
                .allowedVlans("1,3,5-10")
                .configTemplateId("string")
                .daiTrusted(false)
                .enabled(true)
                .flexibleStackingEnabled(true)
                .isolationEnabled(false)
                .linkNegotiation("Auto negotiate")
                .macAllowLists(            
                    "34:56:fe:ce:8e:b0",
                    "34:56:fe:ce:8e:b1")
                .name("My switch port")
                .organizationId("string")
                .poeEnabled(true)
                .portId("string")
                .portScheduleId("1234")
                .profile(ConfigTemplatesSwitchProfilesPortsProfileArgs.builder()
                    .enabled(false)
                    .id("1284392014819")
                    .iname("iname")
                    .build())
                .profileId("string")
                .rstpEnabled(true)
                .stickyMacAllowLists(            
                    "34:56:fe:ce:8e:b0",
                    "34:56:fe:ce:8e:b1")
                .stickyMacAllowListLimit(5)
                .stormControlEnabled(true)
                .stpGuard("disabled")
                .tags(            
                    "tag1",
                    "tag2")
                .type("access")
                .udld("Alert only")
                .vlan(10)
                .voiceVlan(20)
                .build());
    
            ctx.export("merakiOrganizationsConfigTemplatesSwitchProfilesPortsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:organizations:ConfigTemplatesSwitchProfilesPorts
        properties:
          accessPolicyNumber: 2
          accessPolicyType: Sticky MAC allow list
          allowedVlans: 1,3,5-10
          configTemplateId: string
          daiTrusted: false
          enabled: true
          flexibleStackingEnabled: true
          isolationEnabled: false
          linkNegotiation: Auto negotiate
          macAllowLists:
            - 34:56:fe:ce:8e:b0
            - 34:56:fe:ce:8e:b1
          name: My switch port
          organizationId: string
          poeEnabled: true
          portId: string
          portScheduleId: '1234'
          profile:
            enabled: false
            id: '1284392014819'
            iname: iname
          profileId: string
          rstpEnabled: true
          stickyMacAllowLists:
            - 34:56:fe:ce:8e:b0
            - 34:56:fe:ce:8e:b1
          stickyMacAllowListLimit: 5
          stormControlEnabled: true
          stpGuard: disabled
          tags:
            - tag1
            - tag2
          type: access
          udld: Alert only
          vlan: 10
          voiceVlan: 20
    outputs:
      merakiOrganizationsConfigTemplatesSwitchProfilesPortsExample: ${example}
    

    Create ConfigTemplatesSwitchProfilesPorts Resource

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

    Constructor syntax

    new ConfigTemplatesSwitchProfilesPorts(name: string, args: ConfigTemplatesSwitchProfilesPortsArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigTemplatesSwitchProfilesPorts(resource_name: str,
                                           args: ConfigTemplatesSwitchProfilesPortsArgs,
                                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigTemplatesSwitchProfilesPorts(resource_name: str,
                                           opts: Optional[ResourceOptions] = None,
                                           organization_id: Optional[str] = None,
                                           profile_id: Optional[str] = None,
                                           port_id: Optional[str] = None,
                                           config_template_id: Optional[str] = None,
                                           poe_enabled: Optional[bool] = None,
                                           profile: Optional[ConfigTemplatesSwitchProfilesPortsProfileArgs] = None,
                                           flexible_stacking_enabled: Optional[bool] = None,
                                           isolation_enabled: Optional[bool] = None,
                                           link_negotiation: Optional[str] = None,
                                           mac_allow_lists: Optional[Sequence[str]] = None,
                                           name: Optional[str] = None,
                                           dai_trusted: Optional[bool] = None,
                                           access_policy_number: Optional[int] = None,
                                           allowed_vlans: Optional[str] = None,
                                           port_schedule_id: Optional[str] = None,
                                           enabled: Optional[bool] = None,
                                           access_policy_type: Optional[str] = None,
                                           rstp_enabled: Optional[bool] = None,
                                           sticky_mac_allow_list_limit: Optional[int] = None,
                                           sticky_mac_allow_lists: Optional[Sequence[str]] = None,
                                           storm_control_enabled: Optional[bool] = None,
                                           stp_guard: Optional[str] = None,
                                           tags: Optional[Sequence[str]] = None,
                                           type: Optional[str] = None,
                                           udld: Optional[str] = None,
                                           vlan: Optional[int] = None,
                                           voice_vlan: Optional[int] = None)
    func NewConfigTemplatesSwitchProfilesPorts(ctx *Context, name string, args ConfigTemplatesSwitchProfilesPortsArgs, opts ...ResourceOption) (*ConfigTemplatesSwitchProfilesPorts, error)
    public ConfigTemplatesSwitchProfilesPorts(string name, ConfigTemplatesSwitchProfilesPortsArgs args, CustomResourceOptions? opts = null)
    public ConfigTemplatesSwitchProfilesPorts(String name, ConfigTemplatesSwitchProfilesPortsArgs args)
    public ConfigTemplatesSwitchProfilesPorts(String name, ConfigTemplatesSwitchProfilesPortsArgs args, CustomResourceOptions options)
    
    type: meraki:organizations:ConfigTemplatesSwitchProfilesPorts
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConfigTemplatesSwitchProfilesPortsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConfigTemplatesSwitchProfilesPortsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConfigTemplatesSwitchProfilesPortsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigTemplatesSwitchProfilesPortsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigTemplatesSwitchProfilesPortsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var configTemplatesSwitchProfilesPortsResource = new Meraki.Organizations.ConfigTemplatesSwitchProfilesPorts("configTemplatesSwitchProfilesPortsResource", new()
    {
        OrganizationId = "string",
        ProfileId = "string",
        PortId = "string",
        ConfigTemplateId = "string",
        PoeEnabled = false,
        Profile = new Meraki.Organizations.Inputs.ConfigTemplatesSwitchProfilesPortsProfileArgs
        {
            Enabled = false,
            Id = "string",
            Iname = "string",
        },
        FlexibleStackingEnabled = false,
        IsolationEnabled = false,
        LinkNegotiation = "string",
        MacAllowLists = new[]
        {
            "string",
        },
        Name = "string",
        DaiTrusted = false,
        AccessPolicyNumber = 0,
        AllowedVlans = "string",
        PortScheduleId = "string",
        Enabled = false,
        AccessPolicyType = "string",
        RstpEnabled = false,
        StickyMacAllowListLimit = 0,
        StickyMacAllowLists = new[]
        {
            "string",
        },
        StormControlEnabled = false,
        StpGuard = "string",
        Tags = new[]
        {
            "string",
        },
        Type = "string",
        Udld = "string",
        Vlan = 0,
        VoiceVlan = 0,
    });
    
    example, err := organizations.NewConfigTemplatesSwitchProfilesPorts(ctx, "configTemplatesSwitchProfilesPortsResource", &organizations.ConfigTemplatesSwitchProfilesPortsArgs{
    	OrganizationId:   pulumi.String("string"),
    	ProfileId:        pulumi.String("string"),
    	PortId:           pulumi.String("string"),
    	ConfigTemplateId: pulumi.String("string"),
    	PoeEnabled:       pulumi.Bool(false),
    	Profile: &organizations.ConfigTemplatesSwitchProfilesPortsProfileArgs{
    		Enabled: pulumi.Bool(false),
    		Id:      pulumi.String("string"),
    		Iname:   pulumi.String("string"),
    	},
    	FlexibleStackingEnabled: pulumi.Bool(false),
    	IsolationEnabled:        pulumi.Bool(false),
    	LinkNegotiation:         pulumi.String("string"),
    	MacAllowLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:                    pulumi.String("string"),
    	DaiTrusted:              pulumi.Bool(false),
    	AccessPolicyNumber:      pulumi.Int(0),
    	AllowedVlans:            pulumi.String("string"),
    	PortScheduleId:          pulumi.String("string"),
    	Enabled:                 pulumi.Bool(false),
    	AccessPolicyType:        pulumi.String("string"),
    	RstpEnabled:             pulumi.Bool(false),
    	StickyMacAllowListLimit: pulumi.Int(0),
    	StickyMacAllowLists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	StormControlEnabled: pulumi.Bool(false),
    	StpGuard:            pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Type:      pulumi.String("string"),
    	Udld:      pulumi.String("string"),
    	Vlan:      pulumi.Int(0),
    	VoiceVlan: pulumi.Int(0),
    })
    
    var configTemplatesSwitchProfilesPortsResource = new ConfigTemplatesSwitchProfilesPorts("configTemplatesSwitchProfilesPortsResource", ConfigTemplatesSwitchProfilesPortsArgs.builder()        
        .organizationId("string")
        .profileId("string")
        .portId("string")
        .configTemplateId("string")
        .poeEnabled(false)
        .profile(ConfigTemplatesSwitchProfilesPortsProfileArgs.builder()
            .enabled(false)
            .id("string")
            .iname("string")
            .build())
        .flexibleStackingEnabled(false)
        .isolationEnabled(false)
        .linkNegotiation("string")
        .macAllowLists("string")
        .name("string")
        .daiTrusted(false)
        .accessPolicyNumber(0)
        .allowedVlans("string")
        .portScheduleId("string")
        .enabled(false)
        .accessPolicyType("string")
        .rstpEnabled(false)
        .stickyMacAllowListLimit(0)
        .stickyMacAllowLists("string")
        .stormControlEnabled(false)
        .stpGuard("string")
        .tags("string")
        .type("string")
        .udld("string")
        .vlan(0)
        .voiceVlan(0)
        .build());
    
    config_templates_switch_profiles_ports_resource = meraki.organizations.ConfigTemplatesSwitchProfilesPorts("configTemplatesSwitchProfilesPortsResource",
        organization_id="string",
        profile_id="string",
        port_id="string",
        config_template_id="string",
        poe_enabled=False,
        profile=meraki.organizations.ConfigTemplatesSwitchProfilesPortsProfileArgs(
            enabled=False,
            id="string",
            iname="string",
        ),
        flexible_stacking_enabled=False,
        isolation_enabled=False,
        link_negotiation="string",
        mac_allow_lists=["string"],
        name="string",
        dai_trusted=False,
        access_policy_number=0,
        allowed_vlans="string",
        port_schedule_id="string",
        enabled=False,
        access_policy_type="string",
        rstp_enabled=False,
        sticky_mac_allow_list_limit=0,
        sticky_mac_allow_lists=["string"],
        storm_control_enabled=False,
        stp_guard="string",
        tags=["string"],
        type="string",
        udld="string",
        vlan=0,
        voice_vlan=0)
    
    const configTemplatesSwitchProfilesPortsResource = new meraki.organizations.ConfigTemplatesSwitchProfilesPorts("configTemplatesSwitchProfilesPortsResource", {
        organizationId: "string",
        profileId: "string",
        portId: "string",
        configTemplateId: "string",
        poeEnabled: false,
        profile: {
            enabled: false,
            id: "string",
            iname: "string",
        },
        flexibleStackingEnabled: false,
        isolationEnabled: false,
        linkNegotiation: "string",
        macAllowLists: ["string"],
        name: "string",
        daiTrusted: false,
        accessPolicyNumber: 0,
        allowedVlans: "string",
        portScheduleId: "string",
        enabled: false,
        accessPolicyType: "string",
        rstpEnabled: false,
        stickyMacAllowListLimit: 0,
        stickyMacAllowLists: ["string"],
        stormControlEnabled: false,
        stpGuard: "string",
        tags: ["string"],
        type: "string",
        udld: "string",
        vlan: 0,
        voiceVlan: 0,
    });
    
    type: meraki:organizations:ConfigTemplatesSwitchProfilesPorts
    properties:
        accessPolicyNumber: 0
        accessPolicyType: string
        allowedVlans: string
        configTemplateId: string
        daiTrusted: false
        enabled: false
        flexibleStackingEnabled: false
        isolationEnabled: false
        linkNegotiation: string
        macAllowLists:
            - string
        name: string
        organizationId: string
        poeEnabled: false
        portId: string
        portScheduleId: string
        profile:
            enabled: false
            id: string
            iname: string
        profileId: string
        rstpEnabled: false
        stickyMacAllowListLimit: 0
        stickyMacAllowLists:
            - string
        stormControlEnabled: false
        stpGuard: string
        tags:
            - string
        type: string
        udld: string
        vlan: 0
        voiceVlan: 0
    

    ConfigTemplatesSwitchProfilesPorts Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ConfigTemplatesSwitchProfilesPorts resource accepts the following input properties:

    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    OrganizationId string
    organizationId path parameter. Organization ID
    PortId string
    The identifier of the switch template port.
    ProfileId string
    profileId path parameter. Profile ID
    AccessPolicyNumber int
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    AccessPolicyType string
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    AllowedVlans string
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    DaiTrusted bool
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    Enabled bool
    The status of the switch template port.
    FlexibleStackingEnabled bool
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    IsolationEnabled bool
    The isolation status of the switch template port.
    LinkNegotiation string
    The link speed for the switch template port.
    MacAllowLists List<string>
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    Name string
    The name of the switch template port.
    PoeEnabled bool
    The PoE status of the switch template port.
    PortScheduleId string
    The ID of the port schedule. A value of null will clear the port schedule.
    Profile ConfigTemplatesSwitchProfilesPortsProfile
    Profile attributes
    RstpEnabled bool
    The rapid spanning tree protocol status.
    StickyMacAllowListLimit int
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StickyMacAllowLists List<string>
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StormControlEnabled bool
    The storm control status of the switch template port.
    StpGuard string
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    Tags List<string>
    The list of tags of the switch template port.
    Type string
    The type of the switch template port ('trunk' or 'access').
    Udld string
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    Vlan int
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    VoiceVlan int
    The voice VLAN of the switch template port. Only applicable to access ports.
    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    OrganizationId string
    organizationId path parameter. Organization ID
    PortId string
    The identifier of the switch template port.
    ProfileId string
    profileId path parameter. Profile ID
    AccessPolicyNumber int
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    AccessPolicyType string
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    AllowedVlans string
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    DaiTrusted bool
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    Enabled bool
    The status of the switch template port.
    FlexibleStackingEnabled bool
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    IsolationEnabled bool
    The isolation status of the switch template port.
    LinkNegotiation string
    The link speed for the switch template port.
    MacAllowLists []string
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    Name string
    The name of the switch template port.
    PoeEnabled bool
    The PoE status of the switch template port.
    PortScheduleId string
    The ID of the port schedule. A value of null will clear the port schedule.
    Profile ConfigTemplatesSwitchProfilesPortsProfileArgs
    Profile attributes
    RstpEnabled bool
    The rapid spanning tree protocol status.
    StickyMacAllowListLimit int
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StickyMacAllowLists []string
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StormControlEnabled bool
    The storm control status of the switch template port.
    StpGuard string
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    Tags []string
    The list of tags of the switch template port.
    Type string
    The type of the switch template port ('trunk' or 'access').
    Udld string
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    Vlan int
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    VoiceVlan int
    The voice VLAN of the switch template port. Only applicable to access ports.
    configTemplateId String
    configTemplateId path parameter. Config template ID
    organizationId String
    organizationId path parameter. Organization ID
    portId String
    The identifier of the switch template port.
    profileId String
    profileId path parameter. Profile ID
    accessPolicyNumber Integer
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    accessPolicyType String
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowedVlans String
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    daiTrusted Boolean
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled Boolean
    The status of the switch template port.
    flexibleStackingEnabled Boolean
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolationEnabled Boolean
    The isolation status of the switch template port.
    linkNegotiation String
    The link speed for the switch template port.
    macAllowLists List<String>
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    name String
    The name of the switch template port.
    poeEnabled Boolean
    The PoE status of the switch template port.
    portScheduleId String
    The ID of the port schedule. A value of null will clear the port schedule.
    profile ConfigTemplatesSwitchProfilesPortsProfile
    Profile attributes
    rstpEnabled Boolean
    The rapid spanning tree protocol status.
    stickyMacAllowListLimit Integer
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stickyMacAllowLists List<String>
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stormControlEnabled Boolean
    The storm control status of the switch template port.
    stpGuard String
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags List<String>
    The list of tags of the switch template port.
    type String
    The type of the switch template port ('trunk' or 'access').
    udld String
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan Integer
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voiceVlan Integer
    The voice VLAN of the switch template port. Only applicable to access ports.
    configTemplateId string
    configTemplateId path parameter. Config template ID
    organizationId string
    organizationId path parameter. Organization ID
    portId string
    The identifier of the switch template port.
    profileId string
    profileId path parameter. Profile ID
    accessPolicyNumber number
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    accessPolicyType string
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowedVlans string
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    daiTrusted boolean
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled boolean
    The status of the switch template port.
    flexibleStackingEnabled boolean
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolationEnabled boolean
    The isolation status of the switch template port.
    linkNegotiation string
    The link speed for the switch template port.
    macAllowLists string[]
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    name string
    The name of the switch template port.
    poeEnabled boolean
    The PoE status of the switch template port.
    portScheduleId string
    The ID of the port schedule. A value of null will clear the port schedule.
    profile ConfigTemplatesSwitchProfilesPortsProfile
    Profile attributes
    rstpEnabled boolean
    The rapid spanning tree protocol status.
    stickyMacAllowListLimit number
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stickyMacAllowLists string[]
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stormControlEnabled boolean
    The storm control status of the switch template port.
    stpGuard string
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags string[]
    The list of tags of the switch template port.
    type string
    The type of the switch template port ('trunk' or 'access').
    udld string
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan number
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voiceVlan number
    The voice VLAN of the switch template port. Only applicable to access ports.
    config_template_id str
    configTemplateId path parameter. Config template ID
    organization_id str
    organizationId path parameter. Organization ID
    port_id str
    The identifier of the switch template port.
    profile_id str
    profileId path parameter. Profile ID
    access_policy_number int
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    access_policy_type str
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowed_vlans str
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    dai_trusted bool
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled bool
    The status of the switch template port.
    flexible_stacking_enabled bool
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolation_enabled bool
    The isolation status of the switch template port.
    link_negotiation str
    The link speed for the switch template port.
    mac_allow_lists Sequence[str]
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    name str
    The name of the switch template port.
    poe_enabled bool
    The PoE status of the switch template port.
    port_schedule_id str
    The ID of the port schedule. A value of null will clear the port schedule.
    profile ConfigTemplatesSwitchProfilesPortsProfileArgs
    Profile attributes
    rstp_enabled bool
    The rapid spanning tree protocol status.
    sticky_mac_allow_list_limit int
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    sticky_mac_allow_lists Sequence[str]
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    storm_control_enabled bool
    The storm control status of the switch template port.
    stp_guard str
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags Sequence[str]
    The list of tags of the switch template port.
    type str
    The type of the switch template port ('trunk' or 'access').
    udld str
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan int
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voice_vlan int
    The voice VLAN of the switch template port. Only applicable to access ports.
    configTemplateId String
    configTemplateId path parameter. Config template ID
    organizationId String
    organizationId path parameter. Organization ID
    portId String
    The identifier of the switch template port.
    profileId String
    profileId path parameter. Profile ID
    accessPolicyNumber Number
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    accessPolicyType String
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowedVlans String
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    daiTrusted Boolean
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled Boolean
    The status of the switch template port.
    flexibleStackingEnabled Boolean
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolationEnabled Boolean
    The isolation status of the switch template port.
    linkNegotiation String
    The link speed for the switch template port.
    macAllowLists List<String>
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    name String
    The name of the switch template port.
    poeEnabled Boolean
    The PoE status of the switch template port.
    portScheduleId String
    The ID of the port schedule. A value of null will clear the port schedule.
    profile Property Map
    Profile attributes
    rstpEnabled Boolean
    The rapid spanning tree protocol status.
    stickyMacAllowListLimit Number
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stickyMacAllowLists List<String>
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stormControlEnabled Boolean
    The storm control status of the switch template port.
    stpGuard String
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags List<String>
    The list of tags of the switch template port.
    type String
    The type of the switch template port ('trunk' or 'access').
    udld String
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan Number
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voiceVlan Number
    The voice VLAN of the switch template port. Only applicable to access ports.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConfigTemplatesSwitchProfilesPorts resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LinkNegotiationCapabilities List<string>
    Available link speeds for the switch template port.
    Mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    Module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    Id string
    The provider-assigned unique ID for this managed resource.
    LinkNegotiationCapabilities []string
    Available link speeds for the switch template port.
    Mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    Module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    id String
    The provider-assigned unique ID for this managed resource.
    linkNegotiationCapabilities List<String>
    Available link speeds for the switch template port.
    mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    id string
    The provider-assigned unique ID for this managed resource.
    linkNegotiationCapabilities string[]
    Available link speeds for the switch template port.
    mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    id str
    The provider-assigned unique ID for this managed resource.
    link_negotiation_capabilities Sequence[str]
    Available link speeds for the switch template port.
    mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    id String
    The provider-assigned unique ID for this managed resource.
    linkNegotiationCapabilities List<String>
    Available link speeds for the switch template port.
    mirror Property Map
    Port mirror
    module Property Map
    Expansion module

    Look up Existing ConfigTemplatesSwitchProfilesPorts Resource

    Get an existing ConfigTemplatesSwitchProfilesPorts 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?: ConfigTemplatesSwitchProfilesPortsState, opts?: CustomResourceOptions): ConfigTemplatesSwitchProfilesPorts
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_policy_number: Optional[int] = None,
            access_policy_type: Optional[str] = None,
            allowed_vlans: Optional[str] = None,
            config_template_id: Optional[str] = None,
            dai_trusted: Optional[bool] = None,
            enabled: Optional[bool] = None,
            flexible_stacking_enabled: Optional[bool] = None,
            isolation_enabled: Optional[bool] = None,
            link_negotiation: Optional[str] = None,
            link_negotiation_capabilities: Optional[Sequence[str]] = None,
            mac_allow_lists: Optional[Sequence[str]] = None,
            mirror: Optional[ConfigTemplatesSwitchProfilesPortsMirrorArgs] = None,
            module: Optional[ConfigTemplatesSwitchProfilesPortsModuleArgs] = None,
            name: Optional[str] = None,
            organization_id: Optional[str] = None,
            poe_enabled: Optional[bool] = None,
            port_id: Optional[str] = None,
            port_schedule_id: Optional[str] = None,
            profile: Optional[ConfigTemplatesSwitchProfilesPortsProfileArgs] = None,
            profile_id: Optional[str] = None,
            rstp_enabled: Optional[bool] = None,
            sticky_mac_allow_list_limit: Optional[int] = None,
            sticky_mac_allow_lists: Optional[Sequence[str]] = None,
            storm_control_enabled: Optional[bool] = None,
            stp_guard: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            type: Optional[str] = None,
            udld: Optional[str] = None,
            vlan: Optional[int] = None,
            voice_vlan: Optional[int] = None) -> ConfigTemplatesSwitchProfilesPorts
    func GetConfigTemplatesSwitchProfilesPorts(ctx *Context, name string, id IDInput, state *ConfigTemplatesSwitchProfilesPortsState, opts ...ResourceOption) (*ConfigTemplatesSwitchProfilesPorts, error)
    public static ConfigTemplatesSwitchProfilesPorts Get(string name, Input<string> id, ConfigTemplatesSwitchProfilesPortsState? state, CustomResourceOptions? opts = null)
    public static ConfigTemplatesSwitchProfilesPorts get(String name, Output<String> id, ConfigTemplatesSwitchProfilesPortsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccessPolicyNumber int
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    AccessPolicyType string
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    AllowedVlans string
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    DaiTrusted bool
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    Enabled bool
    The status of the switch template port.
    FlexibleStackingEnabled bool
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    IsolationEnabled bool
    The isolation status of the switch template port.
    LinkNegotiation string
    The link speed for the switch template port.
    LinkNegotiationCapabilities List<string>
    Available link speeds for the switch template port.
    MacAllowLists List<string>
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    Mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    Module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    Name string
    The name of the switch template port.
    OrganizationId string
    organizationId path parameter. Organization ID
    PoeEnabled bool
    The PoE status of the switch template port.
    PortId string
    The identifier of the switch template port.
    PortScheduleId string
    The ID of the port schedule. A value of null will clear the port schedule.
    Profile ConfigTemplatesSwitchProfilesPortsProfile
    Profile attributes
    ProfileId string
    profileId path parameter. Profile ID
    RstpEnabled bool
    The rapid spanning tree protocol status.
    StickyMacAllowListLimit int
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StickyMacAllowLists List<string>
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StormControlEnabled bool
    The storm control status of the switch template port.
    StpGuard string
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    Tags List<string>
    The list of tags of the switch template port.
    Type string
    The type of the switch template port ('trunk' or 'access').
    Udld string
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    Vlan int
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    VoiceVlan int
    The voice VLAN of the switch template port. Only applicable to access ports.
    AccessPolicyNumber int
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    AccessPolicyType string
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    AllowedVlans string
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    ConfigTemplateId string
    configTemplateId path parameter. Config template ID
    DaiTrusted bool
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    Enabled bool
    The status of the switch template port.
    FlexibleStackingEnabled bool
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    IsolationEnabled bool
    The isolation status of the switch template port.
    LinkNegotiation string
    The link speed for the switch template port.
    LinkNegotiationCapabilities []string
    Available link speeds for the switch template port.
    MacAllowLists []string
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    Mirror ConfigTemplatesSwitchProfilesPortsMirrorArgs
    Port mirror
    Module ConfigTemplatesSwitchProfilesPortsModuleArgs
    Expansion module
    Name string
    The name of the switch template port.
    OrganizationId string
    organizationId path parameter. Organization ID
    PoeEnabled bool
    The PoE status of the switch template port.
    PortId string
    The identifier of the switch template port.
    PortScheduleId string
    The ID of the port schedule. A value of null will clear the port schedule.
    Profile ConfigTemplatesSwitchProfilesPortsProfileArgs
    Profile attributes
    ProfileId string
    profileId path parameter. Profile ID
    RstpEnabled bool
    The rapid spanning tree protocol status.
    StickyMacAllowListLimit int
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StickyMacAllowLists []string
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    StormControlEnabled bool
    The storm control status of the switch template port.
    StpGuard string
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    Tags []string
    The list of tags of the switch template port.
    Type string
    The type of the switch template port ('trunk' or 'access').
    Udld string
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    Vlan int
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    VoiceVlan int
    The voice VLAN of the switch template port. Only applicable to access ports.
    accessPolicyNumber Integer
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    accessPolicyType String
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowedVlans String
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    configTemplateId String
    configTemplateId path parameter. Config template ID
    daiTrusted Boolean
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled Boolean
    The status of the switch template port.
    flexibleStackingEnabled Boolean
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolationEnabled Boolean
    The isolation status of the switch template port.
    linkNegotiation String
    The link speed for the switch template port.
    linkNegotiationCapabilities List<String>
    Available link speeds for the switch template port.
    macAllowLists List<String>
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    name String
    The name of the switch template port.
    organizationId String
    organizationId path parameter. Organization ID
    poeEnabled Boolean
    The PoE status of the switch template port.
    portId String
    The identifier of the switch template port.
    portScheduleId String
    The ID of the port schedule. A value of null will clear the port schedule.
    profile ConfigTemplatesSwitchProfilesPortsProfile
    Profile attributes
    profileId String
    profileId path parameter. Profile ID
    rstpEnabled Boolean
    The rapid spanning tree protocol status.
    stickyMacAllowListLimit Integer
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stickyMacAllowLists List<String>
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stormControlEnabled Boolean
    The storm control status of the switch template port.
    stpGuard String
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags List<String>
    The list of tags of the switch template port.
    type String
    The type of the switch template port ('trunk' or 'access').
    udld String
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan Integer
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voiceVlan Integer
    The voice VLAN of the switch template port. Only applicable to access ports.
    accessPolicyNumber number
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    accessPolicyType string
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowedVlans string
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    configTemplateId string
    configTemplateId path parameter. Config template ID
    daiTrusted boolean
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled boolean
    The status of the switch template port.
    flexibleStackingEnabled boolean
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolationEnabled boolean
    The isolation status of the switch template port.
    linkNegotiation string
    The link speed for the switch template port.
    linkNegotiationCapabilities string[]
    Available link speeds for the switch template port.
    macAllowLists string[]
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    mirror ConfigTemplatesSwitchProfilesPortsMirror
    Port mirror
    module ConfigTemplatesSwitchProfilesPortsModule
    Expansion module
    name string
    The name of the switch template port.
    organizationId string
    organizationId path parameter. Organization ID
    poeEnabled boolean
    The PoE status of the switch template port.
    portId string
    The identifier of the switch template port.
    portScheduleId string
    The ID of the port schedule. A value of null will clear the port schedule.
    profile ConfigTemplatesSwitchProfilesPortsProfile
    Profile attributes
    profileId string
    profileId path parameter. Profile ID
    rstpEnabled boolean
    The rapid spanning tree protocol status.
    stickyMacAllowListLimit number
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stickyMacAllowLists string[]
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stormControlEnabled boolean
    The storm control status of the switch template port.
    stpGuard string
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags string[]
    The list of tags of the switch template port.
    type string
    The type of the switch template port ('trunk' or 'access').
    udld string
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan number
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voiceVlan number
    The voice VLAN of the switch template port. Only applicable to access ports.
    access_policy_number int
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    access_policy_type str
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowed_vlans str
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    config_template_id str
    configTemplateId path parameter. Config template ID
    dai_trusted bool
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled bool
    The status of the switch template port.
    flexible_stacking_enabled bool
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolation_enabled bool
    The isolation status of the switch template port.
    link_negotiation str
    The link speed for the switch template port.
    link_negotiation_capabilities Sequence[str]
    Available link speeds for the switch template port.
    mac_allow_lists Sequence[str]
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    mirror ConfigTemplatesSwitchProfilesPortsMirrorArgs
    Port mirror
    module ConfigTemplatesSwitchProfilesPortsModuleArgs
    Expansion module
    name str
    The name of the switch template port.
    organization_id str
    organizationId path parameter. Organization ID
    poe_enabled bool
    The PoE status of the switch template port.
    port_id str
    The identifier of the switch template port.
    port_schedule_id str
    The ID of the port schedule. A value of null will clear the port schedule.
    profile ConfigTemplatesSwitchProfilesPortsProfileArgs
    Profile attributes
    profile_id str
    profileId path parameter. Profile ID
    rstp_enabled bool
    The rapid spanning tree protocol status.
    sticky_mac_allow_list_limit int
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    sticky_mac_allow_lists Sequence[str]
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    storm_control_enabled bool
    The storm control status of the switch template port.
    stp_guard str
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags Sequence[str]
    The list of tags of the switch template port.
    type str
    The type of the switch template port ('trunk' or 'access').
    udld str
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan int
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voice_vlan int
    The voice VLAN of the switch template port. Only applicable to access ports.
    accessPolicyNumber Number
    The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
    accessPolicyType String
    The type of the access policy of the switch template port. Only applicable to access ports. Can be one of 'Open', 'Custom access policy', 'MAC allow list' or 'Sticky MAC allow list'.
    allowedVlans String
    The VLANs allowed on the switch template port. Only applicable to trunk ports.
    configTemplateId String
    configTemplateId path parameter. Config template ID
    daiTrusted Boolean
    If true, ARP packets for this port will be considered trusted, and Dynamic ARP Inspection will allow the traffic.
    enabled Boolean
    The status of the switch template port.
    flexibleStackingEnabled Boolean
    For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
    isolationEnabled Boolean
    The isolation status of the switch template port.
    linkNegotiation String
    The link speed for the switch template port.
    linkNegotiationCapabilities List<String>
    Available link speeds for the switch template port.
    macAllowLists List<String>
    Only devices with MAC addresses specified in this list will have access to this port. Up to 20 MAC addresses can be defined. Only applicable when 'accessPolicyType' is 'MAC allow list'.
    mirror Property Map
    Port mirror
    module Property Map
    Expansion module
    name String
    The name of the switch template port.
    organizationId String
    organizationId path parameter. Organization ID
    poeEnabled Boolean
    The PoE status of the switch template port.
    portId String
    The identifier of the switch template port.
    portScheduleId String
    The ID of the port schedule. A value of null will clear the port schedule.
    profile Property Map
    Profile attributes
    profileId String
    profileId path parameter. Profile ID
    rstpEnabled Boolean
    The rapid spanning tree protocol status.
    stickyMacAllowListLimit Number
    The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stickyMacAllowLists List<String>
    The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
    stormControlEnabled Boolean
    The storm control status of the switch template port.
    stpGuard String
    The state of the STP guard ('disabled', 'root guard', 'bpdu guard' or 'loop guard').
    tags List<String>
    The list of tags of the switch template port.
    type String
    The type of the switch template port ('trunk' or 'access').
    udld String
    The action to take when Unidirectional Link is detected (Alert only, Enforce). Default configuration is Alert only.
    vlan Number
    The VLAN of the switch template port. For a trunk port, this is the native VLAN. A null value will clear the value set for trunk ports.
    voiceVlan Number
    The voice VLAN of the switch template port. Only applicable to access ports.

    Supporting Types

    ConfigTemplatesSwitchProfilesPortsMirror, ConfigTemplatesSwitchProfilesPortsMirrorArgs

    Mode string
    The port mirror mode. Can be one of ('Destination port', 'Source port' or 'Not mirroring traffic').
    Mode string
    The port mirror mode. Can be one of ('Destination port', 'Source port' or 'Not mirroring traffic').
    mode String
    The port mirror mode. Can be one of ('Destination port', 'Source port' or 'Not mirroring traffic').
    mode string
    The port mirror mode. Can be one of ('Destination port', 'Source port' or 'Not mirroring traffic').
    mode str
    The port mirror mode. Can be one of ('Destination port', 'Source port' or 'Not mirroring traffic').
    mode String
    The port mirror mode. Can be one of ('Destination port', 'Source port' or 'Not mirroring traffic').

    ConfigTemplatesSwitchProfilesPortsModule, ConfigTemplatesSwitchProfilesPortsModuleArgs

    Model string
    The model of the expansion module.
    Model string
    The model of the expansion module.
    model String
    The model of the expansion module.
    model string
    The model of the expansion module.
    model str
    The model of the expansion module.
    model String
    The model of the expansion module.

    ConfigTemplatesSwitchProfilesPortsProfile, ConfigTemplatesSwitchProfilesPortsProfileArgs

    Enabled bool
    When enabled, override this port's configuration with a port profile.
    Id string
    When enabled, the ID of the port profile used to override the port's configuration.
    Iname string
    When enabled, the IName of the profile.
    Enabled bool
    When enabled, override this port's configuration with a port profile.
    Id string
    When enabled, the ID of the port profile used to override the port's configuration.
    Iname string
    When enabled, the IName of the profile.
    enabled Boolean
    When enabled, override this port's configuration with a port profile.
    id String
    When enabled, the ID of the port profile used to override the port's configuration.
    iname String
    When enabled, the IName of the profile.
    enabled boolean
    When enabled, override this port's configuration with a port profile.
    id string
    When enabled, the ID of the port profile used to override the port's configuration.
    iname string
    When enabled, the IName of the profile.
    enabled bool
    When enabled, override this port's configuration with a port profile.
    id str
    When enabled, the ID of the port profile used to override the port's configuration.
    iname str
    When enabled, the IName of the profile.
    enabled Boolean
    When enabled, override this port's configuration with a port profile.
    id String
    When enabled, the ID of the port profile used to override the port's configuration.
    iname String
    When enabled, the IName of the profile.

    Import

    $ pulumi import meraki:organizations/configTemplatesSwitchProfilesPorts:ConfigTemplatesSwitchProfilesPorts example "config_template_id,organization_id,port_id,profile_id"
    

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

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.0 published on Friday, May 24, 2024 by Pulumi