1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getAppliancePorts
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getAppliancePorts

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    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:

    NetworkId string
    networkId path parameter. Network ID
    PortId string
    portId path parameter. Port ID
    NetworkId string
    networkId path parameter. Network ID
    PortId string
    portId path parameter. Port ID
    networkId String
    networkId path parameter. Network ID
    portId String
    portId path parameter. Port ID
    networkId string
    networkId path parameter. Network ID
    portId string
    portId path parameter. Port ID
    network_id str
    networkId path parameter. Network ID
    port_id str
    portId path parameter. Port ID
    networkId String
    networkId path parameter. Network ID
    portId String
    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 GetAppliancePortsItem
    Items List<GetAppliancePortsItem>
    Array of ResponseApplianceGetNetworkAppliancePorts
    NetworkId string
    networkId path parameter. Network ID
    PortId string
    portId path parameter. Port ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetAppliancePortsItem
    Items []GetAppliancePortsItem
    Array of ResponseApplianceGetNetworkAppliancePorts
    NetworkId string
    networkId path parameter. Network ID
    PortId string
    portId path parameter. Port ID
    id String
    The provider-assigned unique ID for this managed resource.
    item GetAppliancePortsItem
    items List<GetAppliancePortsItem>
    Array of ResponseApplianceGetNetworkAppliancePorts
    networkId String
    networkId path parameter. Network ID
    portId String
    portId path parameter. Port ID
    id string
    The provider-assigned unique ID for this managed resource.
    item GetAppliancePortsItem
    items GetAppliancePortsItem[]
    Array of ResponseApplianceGetNetworkAppliancePorts
    networkId string
    networkId path parameter. Network ID
    portId string
    portId path parameter. Port ID
    id str
    The provider-assigned unique ID for this managed resource.
    item GetAppliancePortsItem
    items Sequence[GetAppliancePortsItem]
    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
    networkId String
    networkId path parameter. Network ID
    portId String
    portId path parameter. Port ID

    Supporting Types

    GetAppliancePortsItem

    AccessPolicy string
    The name of the policy. Only applicable to Access ports.
    AllowedVlans string
    Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
    DropUntaggedTraffic bool
    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.
    AccessPolicy string
    The name of the policy. Only applicable to Access ports.
    AllowedVlans string
    Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
    DropUntaggedTraffic bool
    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.
    accessPolicy String
    The name of the policy. Only applicable to Access ports.
    allowedVlans String
    Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
    dropUntaggedTraffic Boolean
    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.
    accessPolicy string
    The name of the policy. Only applicable to Access ports.
    allowedVlans string
    Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
    dropUntaggedTraffic boolean
    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_traffic bool
    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.
    accessPolicy String
    The name of the policy. Only applicable to Access ports.
    allowedVlans String
    Comma-delimited list of the VLAN ID's allowed on the port, or 'all' to permit all VLAN's on the port.
    dropUntaggedTraffic Boolean
    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.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi