Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi
meraki.organizations.getConfigTemplatesSwitchProfilesPorts
Explore with Pulumi AI
Example Usage
Using getConfigTemplatesSwitchProfilesPorts
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConfigTemplatesSwitchProfilesPorts(args: GetConfigTemplatesSwitchProfilesPortsArgs, opts?: InvokeOptions): Promise<GetConfigTemplatesSwitchProfilesPortsResult>
function getConfigTemplatesSwitchProfilesPortsOutput(args: GetConfigTemplatesSwitchProfilesPortsOutputArgs, opts?: InvokeOptions): Output<GetConfigTemplatesSwitchProfilesPortsResult>
def get_config_templates_switch_profiles_ports(config_template_id: Optional[str] = None,
organization_id: Optional[str] = None,
port_id: Optional[str] = None,
profile_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigTemplatesSwitchProfilesPortsResult
def get_config_templates_switch_profiles_ports_output(config_template_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
port_id: Optional[pulumi.Input[str]] = None,
profile_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConfigTemplatesSwitchProfilesPortsResult]
func LookupConfigTemplatesSwitchProfilesPorts(ctx *Context, args *LookupConfigTemplatesSwitchProfilesPortsArgs, opts ...InvokeOption) (*LookupConfigTemplatesSwitchProfilesPortsResult, error)
func LookupConfigTemplatesSwitchProfilesPortsOutput(ctx *Context, args *LookupConfigTemplatesSwitchProfilesPortsOutputArgs, opts ...InvokeOption) LookupConfigTemplatesSwitchProfilesPortsResultOutput
> Note: This function is named LookupConfigTemplatesSwitchProfilesPorts
in the Go SDK.
public static class GetConfigTemplatesSwitchProfilesPorts
{
public static Task<GetConfigTemplatesSwitchProfilesPortsResult> InvokeAsync(GetConfigTemplatesSwitchProfilesPortsArgs args, InvokeOptions? opts = null)
public static Output<GetConfigTemplatesSwitchProfilesPortsResult> Invoke(GetConfigTemplatesSwitchProfilesPortsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConfigTemplatesSwitchProfilesPortsResult> getConfigTemplatesSwitchProfilesPorts(GetConfigTemplatesSwitchProfilesPortsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:organizations/getConfigTemplatesSwitchProfilesPorts:getConfigTemplatesSwitchProfilesPorts
arguments:
# arguments dictionary
The following arguments are supported:
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- Port
Id string - portId path parameter. Port ID
- Profile
Id string - profileId path parameter. Profile ID
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- Port
Id string - portId path parameter. Port ID
- Profile
Id string - profileId path parameter. Profile ID
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
- port
Id String - portId path parameter. Port ID
- profile
Id String - profileId path parameter. Profile ID
- config
Template stringId - configTemplateId path parameter. Config template ID
- organization
Id string - organizationId path parameter. Organization ID
- port
Id string - portId path parameter. Port ID
- profile
Id string - profileId path parameter. Profile ID
- config_
template_ strid - configTemplateId path parameter. Config template ID
- organization_
id str - organizationId path parameter. Organization ID
- port_
id str - portId path parameter. Port ID
- profile_
id str - profileId path parameter. Profile ID
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
- port
Id String - portId path parameter. Port ID
- profile
Id String - profileId path parameter. Profile ID
getConfigTemplatesSwitchProfilesPorts Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Config Templates Switch Profiles Ports Item - Items
List<Get
Config Templates Switch Profiles Ports Item> - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfilePorts
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- Port
Id string - portId path parameter. Port ID
- Profile
Id string - profileId path parameter. Profile ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Config Templates Switch Profiles Ports Item - Items
[]Get
Config Templates Switch Profiles Ports Item - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfilePorts
- Config
Template stringId - configTemplateId path parameter. Config template ID
- Organization
Id string - organizationId path parameter. Organization ID
- Port
Id string - portId path parameter. Port ID
- Profile
Id string - profileId path parameter. Profile ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Config Templates Switch Profiles Ports Item - items
List<Get
Config Templates Switch Profiles Ports Item> - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfilePorts
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
- port
Id String - portId path parameter. Port ID
- profile
Id String - profileId path parameter. Profile ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Config Templates Switch Profiles Ports Item - items
Get
Config Templates Switch Profiles Ports Item[] - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfilePorts
- config
Template stringId - configTemplateId path parameter. Config template ID
- organization
Id string - organizationId path parameter. Organization ID
- port
Id string - portId path parameter. Port ID
- profile
Id string - profileId path parameter. Profile ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Config Templates Switch Profiles Ports Item - items
Sequence[Get
Config Templates Switch Profiles Ports Item] - Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfilePorts
- config_
template_ strid - configTemplateId path parameter. Config template ID
- organization_
id str - organizationId path parameter. Organization ID
- port_
id str - portId path parameter. Port ID
- profile_
id str - profileId path parameter. Profile ID
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- items List<Property Map>
- Array of ResponseSwitchGetOrganizationConfigTemplateSwitchProfilePorts
- config
Template StringId - configTemplateId path parameter. Config template ID
- organization
Id String - organizationId path parameter. Organization ID
- port
Id String - portId path parameter. Port ID
- profile
Id String - profileId path parameter. Profile ID
Supporting Types
GetConfigTemplatesSwitchProfilesPortsItem
- 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.
- 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
Get
Config Templates Switch Profiles Ports Item Mirror - Port mirror
- Module
Get
Config Templates Switch Profiles Ports Item Module - Expansion module
- Name string
- The name of the switch template port.
- 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
Get
Config Templates Switch Profiles Ports Item 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.
- 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.
- 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
Get
Config Templates Switch Profiles Ports Item Mirror - Port mirror
- Module
Get
Config Templates Switch Profiles Ports Item Module - Expansion module
- Name string
- The name of the switch template port.
- 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
Get
Config Templates Switch Profiles Ports Item 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 []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.
- 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
Get
Config Templates Switch Profiles Ports Item Mirror - Port mirror
- module
Get
Config Templates Switch Profiles Ports Item Module - Expansion module
- name String
- The name of the switch template port.
- 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
Get
Config Templates Switch Profiles Ports Item 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.
- 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.
- 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
Get
Config Templates Switch Profiles Ports Item Mirror - Port mirror
- module
Get
Config Templates Switch Profiles Ports Item Module - Expansion module
- name string
- The name of the switch template port.
- 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
Get
Config Templates Switch Profiles Ports Item 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.
- 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.
- 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
Get
Config Templates Switch Profiles Ports Item Mirror - Port mirror
- module
Get
Config Templates Switch Profiles Ports Item Module - Expansion module
- name str
- The name of the switch template port.
- 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
Get
Config Templates Switch Profiles Ports Item 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_ 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.
- 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.
- 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
- 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.
GetConfigTemplatesSwitchProfilesPortsItemMirror
- 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').
GetConfigTemplatesSwitchProfilesPortsItemModule
- 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.
GetConfigTemplatesSwitchProfilesPortsItemProfile
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.