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:
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- Port
Id string - The identifier of the switch template port.
- Profile
Id string - 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 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'.
- Allowed
Vlans string - 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 string - The link speed for the switch template port.
- Mac
Allow 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.
- Poe
Enabled bool - The PoE status of the switch template port.
- Port
Schedule stringId - The ID of the port schedule. A value of null will clear the port schedule.
- Profile
Config
Templates Switch Profiles Ports Profile - 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 List<string>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 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.
- Voice
Vlan int - The voice VLAN of the switch template port. Only applicable to access ports.
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- Port
Id string - The identifier of the switch template port.
- Profile
Id string - 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 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'.
- Allowed
Vlans string - 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 string - The link speed for the switch template port.
- Mac
Allow []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.
- Poe
Enabled bool - The PoE status of the switch template port.
- Port
Schedule stringId - The ID of the port schedule. A value of null will clear the port schedule.
- Profile
Config
Templates 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 []stringAllow 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 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.
- Voice
Vlan int - The voice VLAN of the switch template port. Only applicable to access ports.
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
- port
Id String - The identifier of the switch template port.
- profile
Id String - profileId path parameter. Profile ID
- access
Policy IntegerNumber - The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access
Policy 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'.
- allowed
Vlans String - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- dai
Trusted 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.
- flexible
Stacking BooleanEnabled - For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
- isolation
Enabled Boolean - The isolation status of the switch template port.
- link
Negotiation String - The link speed for the switch template port.
- mac
Allow 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.
- poe
Enabled Boolean - The PoE status of the switch template port.
- port
Schedule StringId - The ID of the port schedule. A value of null will clear the port schedule.
- profile
Config
Templates Switch Profiles Ports Profile - Profile attributes
- rstp
Enabled Boolean - The rapid spanning tree protocol status.
- sticky
Mac IntegerAllow List Limit - The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky
Mac List<String>Allow Lists - The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm
Control BooleanEnabled - The storm control status of the switch template port.
- stp
Guard 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.
- voice
Vlan Integer - The voice VLAN of the switch template port. Only applicable to access ports.
- config
Template stringId - configTemplateId path parameter. Config template ID
- organization
Id string - organizationId path parameter. Organization ID
- port
Id string - The identifier of the switch template port.
- profile
Id string - profileId path parameter. Profile ID
- access
Policy numberNumber - The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access
Policy 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'.
- allowed
Vlans string - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- dai
Trusted 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.
- flexible
Stacking booleanEnabled - For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
- isolation
Enabled boolean - The isolation status of the switch template port.
- link
Negotiation string - The link speed for the switch template port.
- mac
Allow 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.
- poe
Enabled boolean - The PoE status of the switch template port.
- port
Schedule stringId - The ID of the port schedule. A value of null will clear the port schedule.
- profile
Config
Templates Switch Profiles Ports Profile - Profile attributes
- rstp
Enabled boolean - The rapid spanning tree protocol status.
- sticky
Mac numberAllow List Limit - The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky
Mac string[]Allow Lists - The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm
Control booleanEnabled - The storm control status of the switch template port.
- stp
Guard 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.
- voice
Vlan 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
Config
Templates 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.
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
- port
Id String - The identifier of the switch template port.
- profile
Id String - profileId path parameter. Profile ID
- access
Policy NumberNumber - The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access
Policy 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'.
- allowed
Vlans String - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- dai
Trusted 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.
- flexible
Stacking BooleanEnabled - For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
- isolation
Enabled Boolean - The isolation status of the switch template port.
- link
Negotiation String - The link speed for the switch template port.
- mac
Allow 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.
- poe
Enabled Boolean - The PoE status of the switch template port.
- port
Schedule StringId - The ID of the port schedule. A value of null will clear the port schedule.
- profile Property Map
- Profile attributes
- rstp
Enabled Boolean - The rapid spanning tree protocol status.
- sticky
Mac NumberAllow List Limit - The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky
Mac List<String>Allow Lists - The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm
Control BooleanEnabled - The storm control status of the switch template port.
- stp
Guard 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.
- voice
Vlan 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.
- Link
Negotiation List<string>Capabilities - Available link speeds for the switch template port.
- Mirror
Config
Templates Switch Profiles Ports Mirror - Port mirror
- Module
Config
Templates Switch Profiles Ports Module - Expansion module
- Id string
- The provider-assigned unique ID for this managed resource.
- Link
Negotiation []stringCapabilities - Available link speeds for the switch template port.
- Mirror
Config
Templates Switch Profiles Ports Mirror - Port mirror
- Module
Config
Templates Switch Profiles Ports Module - Expansion module
- id String
- The provider-assigned unique ID for this managed resource.
- link
Negotiation List<String>Capabilities - Available link speeds for the switch template port.
- mirror
Config
Templates Switch Profiles Ports Mirror - Port mirror
- module
Config
Templates Switch Profiles Ports Module - Expansion module
- id string
- The provider-assigned unique ID for this managed resource.
- link
Negotiation string[]Capabilities - Available link speeds for the switch template port.
- mirror
Config
Templates Switch Profiles Ports Mirror - Port mirror
- module
Config
Templates 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
Config
Templates Switch Profiles Ports Mirror - Port mirror
- module
Config
Templates Switch Profiles Ports Module - Expansion module
- id String
- The provider-assigned unique ID for this managed resource.
- link
Negotiation 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) -> 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.
- 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 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'.
- Allowed
Vlans string - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- Config
Template stringId - 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 string - The link speed for the switch template port.
- Link
Negotiation List<string>Capabilities - Available link speeds for the switch template port.
- Mac
Allow 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
Config
Templates Switch Profiles Ports Mirror - Port mirror
- Module
Config
Templates Switch Profiles Ports Module - Expansion module
- Name string
- The name of the switch template port.
- Organization
Id string - organizationId path parameter. Organization ID
- Poe
Enabled bool - The PoE status of the switch template port.
- Port
Id string - The identifier of the switch template port.
- Port
Schedule stringId - The ID of the port schedule. A value of null will clear the port schedule.
- Profile
Config
Templates Switch Profiles Ports Profile - Profile attributes
- Profile
Id string - 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 List<string>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 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.
- Voice
Vlan int - 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 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'.
- Allowed
Vlans string - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- Config
Template stringId - 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 string - The link speed for the switch template port.
- Link
Negotiation []stringCapabilities - Available link speeds for the switch template port.
- Mac
Allow []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
Config
Templates Switch Profiles Ports Mirror Args - Port mirror
- Module
Config
Templates Switch Profiles Ports Module Args - Expansion module
- Name string
- The name of the switch template port.
- Organization
Id string - organizationId path parameter. Organization ID
- Poe
Enabled bool - The PoE status of the switch template port.
- Port
Id string - The identifier of the switch template port.
- Port
Schedule stringId - The ID of the port schedule. A value of null will clear the port schedule.
- Profile
Config
Templates Switch Profiles Ports Profile Args - Profile attributes
- Profile
Id string - 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 []stringAllow 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 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.
- Voice
Vlan int - The voice VLAN of the switch template port. Only applicable to access ports.
- access
Policy IntegerNumber - The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access
Policy 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'.
- allowed
Vlans String - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- config
Template StringId - configTemplateId path parameter. Config template ID
- dai
Trusted 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.
- flexible
Stacking BooleanEnabled - For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
- isolation
Enabled Boolean - The isolation status of the switch template port.
- link
Negotiation String - The link speed for the switch template port.
- link
Negotiation List<String>Capabilities - Available link speeds for the switch template port.
- mac
Allow 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
Config
Templates Switch Profiles Ports Mirror - Port mirror
- module
Config
Templates Switch Profiles Ports Module - Expansion module
- name String
- The name of the switch template port.
- organization
Id String - organizationId path parameter. Organization ID
- poe
Enabled Boolean - The PoE status of the switch template port.
- port
Id String - The identifier of the switch template port.
- port
Schedule StringId - The ID of the port schedule. A value of null will clear the port schedule.
- profile
Config
Templates Switch Profiles Ports Profile - Profile attributes
- profile
Id String - profileId path parameter. Profile ID
- rstp
Enabled Boolean - The rapid spanning tree protocol status.
- sticky
Mac IntegerAllow List Limit - The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky
Mac List<String>Allow Lists - The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm
Control BooleanEnabled - The storm control status of the switch template port.
- stp
Guard 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.
- voice
Vlan Integer - The voice VLAN of the switch template port. Only applicable to access ports.
- access
Policy numberNumber - The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access
Policy 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'.
- allowed
Vlans string - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- config
Template stringId - configTemplateId path parameter. Config template ID
- dai
Trusted 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.
- flexible
Stacking booleanEnabled - For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
- isolation
Enabled boolean - The isolation status of the switch template port.
- link
Negotiation string - The link speed for the switch template port.
- link
Negotiation string[]Capabilities - Available link speeds for the switch template port.
- mac
Allow 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
Config
Templates Switch Profiles Ports Mirror - Port mirror
- module
Config
Templates Switch Profiles Ports Module - Expansion module
- name string
- The name of the switch template port.
- organization
Id string - organizationId path parameter. Organization ID
- poe
Enabled boolean - The PoE status of the switch template port.
- port
Id string - The identifier of the switch template port.
- port
Schedule stringId - The ID of the port schedule. A value of null will clear the port schedule.
- profile
Config
Templates Switch Profiles Ports Profile - Profile attributes
- profile
Id string - profileId path parameter. Profile ID
- rstp
Enabled boolean - The rapid spanning tree protocol status.
- sticky
Mac numberAllow List Limit - The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky
Mac string[]Allow Lists - The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm
Control booleanEnabled - The storm control status of the switch template port.
- stp
Guard 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.
- voice
Vlan 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
Config
Templates Switch Profiles Ports Mirror Args - Port mirror
- module
Config
Templates 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
Config
Templates 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.
- access
Policy NumberNumber - The number of a custom access policy to configure on the switch template port. Only applicable when 'accessPolicyType' is 'Custom access policy'.
- access
Policy 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'.
- allowed
Vlans String - The VLANs allowed on the switch template port. Only applicable to trunk ports.
- config
Template StringId - configTemplateId path parameter. Config template ID
- dai
Trusted 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.
- flexible
Stacking BooleanEnabled - For supported switches (e.g. MS420/MS425), whether or not the port has flexible stacking enabled.
- isolation
Enabled Boolean - The isolation status of the switch template port.
- link
Negotiation String - The link speed for the switch template port.
- link
Negotiation List<String>Capabilities - Available link speeds for the switch template port.
- mac
Allow 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.
- organization
Id String - organizationId path parameter. Organization ID
- poe
Enabled Boolean - The PoE status of the switch template port.
- port
Id String - The identifier of the switch template port.
- port
Schedule StringId - The ID of the port schedule. A value of null will clear the port schedule.
- profile Property Map
- Profile attributes
- profile
Id String - profileId path parameter. Profile ID
- rstp
Enabled Boolean - The rapid spanning tree protocol status.
- sticky
Mac NumberAllow List Limit - The maximum number of MAC addresses for sticky MAC allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- sticky
Mac List<String>Allow Lists - The initial list of MAC addresses for sticky Mac allow list. Only applicable when 'accessPolicyType' is 'Sticky MAC allow list'.
- storm
Control BooleanEnabled - The storm control status of the switch template port.
- stp
Guard 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.
- voice
Vlan 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
meraki
Terraform Provider.