meraki.organizations.ConfigTemplatesSwitchProfilesPorts
Explore with Pulumi AI
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={
        "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.
Constructor 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={
        "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ConfigTemplatesSwitchProfilesPorts resource accepts the following input properties:
- ConfigTemplate stringId 
- 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
- AccessPolicy intNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- AccessPolicy stringType 
- 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.
- FlexibleStacking boolEnabled 
- 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.
- MacAllow List<string>Lists 
- 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.
- PortSchedule stringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- Profile
ConfigTemplates Switch Profiles Ports Profile 
- Profile attributes
- RstpEnabled bool
- The rapid spanning tree protocol status.
- StickyMac intAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StickyMac List<string>Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StormControl boolEnabled 
- 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').
- 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.
- ConfigTemplate stringId 
- 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
- AccessPolicy intNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- AccessPolicy stringType 
- 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.
- FlexibleStacking boolEnabled 
- 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.
- MacAllow []stringLists 
- 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.
- PortSchedule stringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- Profile
ConfigTemplates Switch Profiles Ports Profile Args 
- Profile attributes
- RstpEnabled bool
- The rapid spanning tree protocol status.
- StickyMac intAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StickyMac []stringAllow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StormControl boolEnabled 
- 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').
- []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.
- configTemplate StringId 
- 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
- accessPolicy IntegerNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- accessPolicy StringType 
- 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.
- flexibleStacking BooleanEnabled 
- 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.
- macAllow List<String>Lists 
- 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.
- portSchedule StringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- profile
ConfigTemplates Switch Profiles Ports Profile 
- Profile attributes
- rstpEnabled Boolean
- The rapid spanning tree protocol status.
- stickyMac IntegerAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stickyMac List<String>Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stormControl BooleanEnabled 
- 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').
- 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.
- configTemplate stringId 
- 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
- accessPolicy numberNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- accessPolicy stringType 
- 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.
- flexibleStacking booleanEnabled 
- 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.
- macAllow string[]Lists 
- 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.
- portSchedule stringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- profile
ConfigTemplates Switch Profiles Ports Profile 
- Profile attributes
- rstpEnabled boolean
- The rapid spanning tree protocol status.
- stickyMac numberAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stickyMac string[]Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stormControl booleanEnabled 
- 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').
- 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_ strid 
- 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_ intnumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access_policy_ strtype 
- 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_ boolenabled 
- 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_ Sequence[str]lists 
- 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_ strid 
- The ID of the port schedule. A value of null will clear the port schedule.
- profile
ConfigTemplates Switch Profiles Ports Profile Args 
- Profile attributes
- rstp_enabled bool
- The rapid spanning tree protocol status.
- sticky_mac_ intallow_ list_ limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky_mac_ Sequence[str]allow_ lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm_control_ boolenabled 
- 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').
- 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.
- configTemplate StringId 
- 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
- accessPolicy NumberNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- accessPolicy StringType 
- 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.
- flexibleStacking BooleanEnabled 
- 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.
- macAllow List<String>Lists 
- 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.
- portSchedule StringId 
- 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.
- stickyMac NumberAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stickyMac List<String>Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stormControl BooleanEnabled 
- 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').
- 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.
- LinkNegotiation List<string>Capabilities 
- Available link speeds for the switch template port.
- Mirror
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- Module
ConfigTemplates Switch Profiles Ports Module 
- Expansion module
- Id string
- The provider-assigned unique ID for this managed resource.
- LinkNegotiation []stringCapabilities 
- Available link speeds for the switch template port.
- Mirror
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- Module
ConfigTemplates Switch Profiles Ports Module 
- Expansion module
- id String
- The provider-assigned unique ID for this managed resource.
- linkNegotiation List<String>Capabilities 
- Available link speeds for the switch template port.
- mirror
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- module
ConfigTemplates Switch Profiles Ports Module 
- Expansion module
- id string
- The provider-assigned unique ID for this managed resource.
- linkNegotiation string[]Capabilities 
- Available link speeds for the switch template port.
- mirror
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- module
ConfigTemplates Switch Profiles Ports Module 
- Expansion module
- id str
- The provider-assigned unique ID for this managed resource.
- link_negotiation_ Sequence[str]capabilities 
- Available link speeds for the switch template port.
- mirror
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- module
ConfigTemplates Switch Profiles Ports Module 
- Expansion module
- id String
- The provider-assigned unique ID for this managed resource.
- linkNegotiation List<String>Capabilities 
- 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) -> ConfigTemplatesSwitchProfilesPortsfunc 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)resources:  _:    type: meraki:organizations:ConfigTemplatesSwitchProfilesPorts    get:      id: ${id}- 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.
- AccessPolicy intNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- AccessPolicy stringType 
- 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.
- ConfigTemplate stringId 
- 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.
- FlexibleStacking boolEnabled 
- 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.
- LinkNegotiation List<string>Capabilities 
- Available link speeds for the switch template port.
- MacAllow List<string>Lists 
- 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
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- Module
ConfigTemplates Switch Profiles Ports Module 
- 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.
- PortSchedule stringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- Profile
ConfigTemplates Switch Profiles Ports Profile 
- Profile attributes
- ProfileId string
- profileId path parameter. Profile ID
- RstpEnabled bool
- The rapid spanning tree protocol status.
- StickyMac intAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StickyMac List<string>Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StormControl boolEnabled 
- 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').
- 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.
- AccessPolicy intNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- AccessPolicy stringType 
- 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.
- ConfigTemplate stringId 
- 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.
- FlexibleStacking boolEnabled 
- 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.
- LinkNegotiation []stringCapabilities 
- Available link speeds for the switch template port.
- MacAllow []stringLists 
- 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
ConfigTemplates Switch Profiles Ports Mirror Args 
- Port mirror
- Module
ConfigTemplates Switch Profiles Ports Module Args 
- 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.
- PortSchedule stringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- Profile
ConfigTemplates Switch Profiles Ports Profile Args 
- Profile attributes
- ProfileId string
- profileId path parameter. Profile ID
- RstpEnabled bool
- The rapid spanning tree protocol status.
- StickyMac intAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StickyMac []stringAllow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- StormControl boolEnabled 
- 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').
- []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.
- accessPolicy IntegerNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- accessPolicy StringType 
- 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.
- configTemplate StringId 
- 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.
- flexibleStacking BooleanEnabled 
- 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.
- linkNegotiation List<String>Capabilities 
- Available link speeds for the switch template port.
- macAllow List<String>Lists 
- 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
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- module
ConfigTemplates Switch Profiles Ports Module 
- 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.
- portSchedule StringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- profile
ConfigTemplates Switch Profiles Ports Profile 
- Profile attributes
- profileId String
- profileId path parameter. Profile ID
- rstpEnabled Boolean
- The rapid spanning tree protocol status.
- stickyMac IntegerAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stickyMac List<String>Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stormControl BooleanEnabled 
- 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').
- 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.
- accessPolicy numberNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- accessPolicy stringType 
- 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.
- configTemplate stringId 
- 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.
- flexibleStacking booleanEnabled 
- 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.
- linkNegotiation string[]Capabilities 
- Available link speeds for the switch template port.
- macAllow string[]Lists 
- 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
ConfigTemplates Switch Profiles Ports Mirror 
- Port mirror
- module
ConfigTemplates Switch Profiles Ports Module 
- 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.
- portSchedule stringId 
- The ID of the port schedule. A value of null will clear the port schedule.
- profile
ConfigTemplates Switch Profiles Ports Profile 
- Profile attributes
- profileId string
- profileId path parameter. Profile ID
- rstpEnabled boolean
- The rapid spanning tree protocol status.
- stickyMac numberAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stickyMac string[]Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stormControl booleanEnabled 
- 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').
- 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_ intnumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access_policy_ strtype 
- 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_ strid 
- 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_ boolenabled 
- 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_ Sequence[str]capabilities 
- Available link speeds for the switch template port.
- mac_allow_ Sequence[str]lists 
- 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
ConfigTemplates Switch Profiles Ports Mirror Args 
- Port mirror
- module
ConfigTemplates Switch Profiles Ports Module Args 
- 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_ strid 
- The ID of the port schedule. A value of null will clear the port schedule.
- profile
ConfigTemplates Switch Profiles Ports Profile Args 
- Profile attributes
- profile_id str
- profileId path parameter. Profile ID
- rstp_enabled bool
- The rapid spanning tree protocol status.
- sticky_mac_ intallow_ list_ limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky_mac_ Sequence[str]allow_ lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm_control_ boolenabled 
- 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').
- 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.
- accessPolicy NumberNumber 
- The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- accessPolicy StringType 
- 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.
- configTemplate StringId 
- 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.
- flexibleStacking BooleanEnabled 
- 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.
- linkNegotiation List<String>Capabilities 
- Available link speeds for the switch template port.
- macAllow List<String>Lists 
- 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.
- portSchedule StringId 
- 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.
- stickyMac NumberAllow List Limit 
- The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stickyMac List<String>Allow Lists 
- The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- stormControl BooleanEnabled 
- 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').
- 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            
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 merakiTerraform Provider.
