Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi
meraki.networks.getAppliancePorts
Explore with Pulumi AI
Example Usage
Using getAppliancePorts
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 getAppliancePorts(args: GetAppliancePortsArgs, opts?: InvokeOptions): Promise<GetAppliancePortsResult>
function getAppliancePortsOutput(args: GetAppliancePortsOutputArgs, opts?: InvokeOptions): Output<GetAppliancePortsResult>
def get_appliance_ports(network_id: Optional[str] = None,
port_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppliancePortsResult
def get_appliance_ports_output(network_id: Optional[pulumi.Input[str]] = None,
port_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppliancePortsResult]
func LookupAppliancePorts(ctx *Context, args *LookupAppliancePortsArgs, opts ...InvokeOption) (*LookupAppliancePortsResult, error)
func LookupAppliancePortsOutput(ctx *Context, args *LookupAppliancePortsOutputArgs, opts ...InvokeOption) LookupAppliancePortsResultOutput
> Note: This function is named LookupAppliancePorts
in the Go SDK.
public static class GetAppliancePorts
{
public static Task<GetAppliancePortsResult> InvokeAsync(GetAppliancePortsArgs args, InvokeOptions? opts = null)
public static Output<GetAppliancePortsResult> Invoke(GetAppliancePortsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppliancePortsResult> getAppliancePorts(GetAppliancePortsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: meraki:networks/getAppliancePorts:getAppliancePorts
arguments:
# arguments dictionary
The following arguments are supported:
- network_
id str - networkId path parameter. Network ID
- port_
id str - portId path parameter. Port ID
getAppliancePorts Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Appliance Ports Item - Items
List<Get
Appliance Ports Item> - Array of ResponseApplianceGetNetworkAppliancePorts
- Network
Id string - networkId path parameter. Network ID
- Port
Id string - portId path parameter. Port ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Item
Get
Appliance Ports Item - Items
[]Get
Appliance Ports Item - Array of ResponseApplianceGetNetworkAppliancePorts
- Network
Id string - networkId path parameter. Network ID
- Port
Id string - portId path parameter. Port ID
- id String
- The provider-assigned unique ID for this managed resource.
- item
Get
Appliance Ports Item - items
List<Get
Appliance Ports Item> - Array of ResponseApplianceGetNetworkAppliancePorts
- network
Id String - networkId path parameter. Network ID
- port
Id String - portId path parameter. Port ID
- id string
- The provider-assigned unique ID for this managed resource.
- item
Get
Appliance Ports Item - items
Get
Appliance Ports Item[] - Array of ResponseApplianceGetNetworkAppliancePorts
- network
Id string - networkId path parameter. Network ID
- port
Id string - portId path parameter. Port ID
- id str
- The provider-assigned unique ID for this managed resource.
- item
Get
Appliance Ports Item - items
Sequence[Get
Appliance Ports Item] - Array of ResponseApplianceGetNetworkAppliancePorts
- network_
id str - networkId path parameter. Network ID
- port_
id str - portId path parameter. Port ID
- id String
- The provider-assigned unique ID for this managed resource.
- item Property Map
- items List<Property Map>
- Array of ResponseApplianceGetNetworkAppliancePorts
- network
Id String - networkId path parameter. Network ID
- port
Id String - portId path parameter. Port ID
Supporting Types
GetAppliancePortsItem
- Access
Policy string - The name of the policy. Only applicable to Access ports.
- Allowed
Vlans string - Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
- Drop
Untagged boolTraffic - Whether the trunk port can drop all untagged traffic.
- Enabled bool
- The status of the port
- Number int
- Number of the port
- Type string
- The type of the port: 'access' or 'trunk'.
- Vlan int
- Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode.
- Access
Policy string - The name of the policy. Only applicable to Access ports.
- Allowed
Vlans string - Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
- Drop
Untagged boolTraffic - Whether the trunk port can drop all untagged traffic.
- Enabled bool
- The status of the port
- Number int
- Number of the port
- Type string
- The type of the port: 'access' or 'trunk'.
- Vlan int
- Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode.
- access
Policy String - The name of the policy. Only applicable to Access ports.
- allowed
Vlans String - Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
- drop
Untagged BooleanTraffic - Whether the trunk port can drop all untagged traffic.
- enabled Boolean
- The status of the port
- number Integer
- Number of the port
- type String
- The type of the port: 'access' or 'trunk'.
- vlan Integer
- Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode.
- access
Policy string - The name of the policy. Only applicable to Access ports.
- allowed
Vlans string - Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
- drop
Untagged booleanTraffic - Whether the trunk port can drop all untagged traffic.
- enabled boolean
- The status of the port
- number number
- Number of the port
- type string
- The type of the port: 'access' or 'trunk'.
- vlan number
- Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode.
- access_
policy str - The name of the policy. Only applicable to Access ports.
- allowed_
vlans str - Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
- drop_
untagged_ booltraffic - Whether the trunk port can drop all untagged traffic.
- enabled bool
- The status of the port
- number int
- Number of the port
- type str
- The type of the port: 'access' or 'trunk'.
- vlan int
- Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode.
- access
Policy String - The name of the policy. Only applicable to Access ports.
- allowed
Vlans String - Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
- drop
Untagged BooleanTraffic - Whether the trunk port can drop all untagged traffic.
- enabled Boolean
- The status of the port
- number Number
- Number of the port
- type String
- The type of the port: 'access' or 'trunk'.
- vlan Number
- Native VLAN when the port is in Trunk mode. Access VLAN when the port is in Access mode.
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.