Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getInterfacePortChannel
Start a Neo task
Explain and create an iosxe.getInterfacePortChannel resource
This data source can read the Interface Port Channel configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetInterfacePortChannel.Invoke(new()
{
Name = 10,
});
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.LookupInterfacePortChannel(ctx, &iosxe.LookupInterfacePortChannelArgs{
Name: 10,
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetInterfacePortChannelArgs;
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) {
final var example = IosxeFunctions.getInterfacePortChannel(GetInterfacePortChannelArgs.builder()
.name(10)
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getInterfacePortChannel({
name: 10,
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_interface_port_channel(name=10)
variables:
example:
fn::invoke:
Function: iosxe:getInterfacePortChannel
Arguments:
name: 10
Using getInterfacePortChannel
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 getInterfacePortChannel(args: GetInterfacePortChannelArgs, opts?: InvokeOptions): Promise<GetInterfacePortChannelResult>
function getInterfacePortChannelOutput(args: GetInterfacePortChannelOutputArgs, opts?: InvokeOptions): Output<GetInterfacePortChannelResult>def get_interface_port_channel(device: Optional[str] = None,
name: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetInterfacePortChannelResult
def get_interface_port_channel_output(device: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInterfacePortChannelResult]func LookupInterfacePortChannel(ctx *Context, args *LookupInterfacePortChannelArgs, opts ...InvokeOption) (*LookupInterfacePortChannelResult, error)
func LookupInterfacePortChannelOutput(ctx *Context, args *LookupInterfacePortChannelOutputArgs, opts ...InvokeOption) LookupInterfacePortChannelResultOutput> Note: This function is named LookupInterfacePortChannel in the Go SDK.
public static class GetInterfacePortChannel
{
public static Task<GetInterfacePortChannelResult> InvokeAsync(GetInterfacePortChannelArgs args, InvokeOptions? opts = null)
public static Output<GetInterfacePortChannelResult> Invoke(GetInterfacePortChannelInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInterfacePortChannelResult> getInterfacePortChannel(GetInterfacePortChannelArgs args, InvokeOptions options)
public static Output<GetInterfacePortChannelResult> getInterfacePortChannel(GetInterfacePortChannelArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getInterfacePortChannel:getInterfacePortChannel
arguments:
# arguments dictionaryThe following arguments are supported:
getInterfacePortChannel Result
The following output properties are available:
- Arp
Timeout int - Set ARP cache timeout
- Auto
Qos boolClassify - Configure classification for untrusted devices
- Auto
Qos boolClassify Police - Configure QoS policing for untrusted devices
- Auto
Qos boolTrust - Trust the DSCP/CoS marking
- Auto
Qos boolTrust Cos - Trust the CoS marking
- Auto
Qos boolTrust Dscp - Trust the DSCP marking
- Auto
Qos boolVideo Cts - Trust the QoS marking of the Cisco Telepresence System
- Auto
Qos boolVideo Ip Camera - Trust the QoS marking of the Ip Video Surveillance camera
- Auto
Qos boolVideo Media Player - Trust the Qos marking of the Cisco Media Player
- Auto
Qos boolVoip - Configure AutoQoS for VoIP
- Auto
Qos boolVoip Cisco Phone - Trust the QoS marking of Cisco IP Phone
- Auto
Qos boolVoip Cisco Softphone - Trust the QoS marking of Cisco IP SoftPhone
- Auto
Qos boolVoip Trust - Trust the DSCP/CoS marking
- Bfd
Echo bool - Use echo adjunct as bfd detection mechanism
- Bfd
Enable bool - Enable BFD under the interface
- Bfd
Interval int - Bfd
Interval intMin Rx - Minimum receive interval capability
- Bfd
Interval intMultiplier - Multiplier value used to compute holddown
- Bfd
Local stringAddress - The Source IP address to be used for BFD sessions over this interface.
- Bfd
Template string - BFD template
- Description string
- Interface specific description
- Helper
Addresses List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Interface Port Channel Helper Address> - Specify a destination address for UDP broadcasts
- Id string
- The path of the retrieved object.
- Ip
Access stringGroup In - Ip
Access boolGroup In Enable - inbound packets
- Ip
Access stringGroup Out - Ip
Access boolGroup Out Enable - outbound packets
- Ip
Arp intInspection Limit Rate - Rate Limit
- Ip
Arp boolInspection Trust - Configure Trust state
- Ip
Dhcp stringRelay Source Interface - Set source interface for relayed messages
- Ip
Dhcp boolSnooping Trust - DHCP Snooping trust config
- Ip
Proxy boolArp - Enable proxy ARP
- Ip
Redirects bool - Enable sending ICMP Redirect messages
- Ip
Unreachables bool - Enable sending ICMP Unreachable messages
- Ipv4Address string
- Ipv4Address
Mask string - Ipv6Address
Autoconfig boolDefault - Insert default route
- Ipv6Address
Dhcp bool - Obtain IPv6 address from DHCP server
- Ipv6Addresses
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Interface Port Channel Ipv6Address> - Ipv6Enable bool
- Enable IPv6 on interface
- Ipv6Link
Local List<Lbrlabs.Addresses Pulumi Package. Iosxe. Outputs. Get Interface Port Channel Ipv6Link Local Address> - Ipv6Mtu int
- Set IPv6 Maximum Transmission Unit
- Ipv6Nd
Ra boolSuppress All - Suppress all IPv6 RA
- Name int
- Shutdown bool
- Shutdown the selected interface
- Spanning
Tree stringGuard - Change an interface's spanning tree guard mode
- Spanning
Tree stringLink Type - Specify a link type for spanning tree tree protocol use
- Switchport bool
- Trust
Device string - trusted device class
- Vrf
Forwarding string - Configure forwarding table
- Device string
- A device name from the provider configuration.
- Arp
Timeout int - Set ARP cache timeout
- Auto
Qos boolClassify - Configure classification for untrusted devices
- Auto
Qos boolClassify Police - Configure QoS policing for untrusted devices
- Auto
Qos boolTrust - Trust the DSCP/CoS marking
- Auto
Qos boolTrust Cos - Trust the CoS marking
- Auto
Qos boolTrust Dscp - Trust the DSCP marking
- Auto
Qos boolVideo Cts - Trust the QoS marking of the Cisco Telepresence System
- Auto
Qos boolVideo Ip Camera - Trust the QoS marking of the Ip Video Surveillance camera
- Auto
Qos boolVideo Media Player - Trust the Qos marking of the Cisco Media Player
- Auto
Qos boolVoip - Configure AutoQoS for VoIP
- Auto
Qos boolVoip Cisco Phone - Trust the QoS marking of Cisco IP Phone
- Auto
Qos boolVoip Cisco Softphone - Trust the QoS marking of Cisco IP SoftPhone
- Auto
Qos boolVoip Trust - Trust the DSCP/CoS marking
- Bfd
Echo bool - Use echo adjunct as bfd detection mechanism
- Bfd
Enable bool - Enable BFD under the interface
- Bfd
Interval int - Bfd
Interval intMin Rx - Minimum receive interval capability
- Bfd
Interval intMultiplier - Multiplier value used to compute holddown
- Bfd
Local stringAddress - The Source IP address to be used for BFD sessions over this interface.
- Bfd
Template string - BFD template
- Description string
- Interface specific description
- Helper
Addresses []GetInterface Port Channel Helper Address - Specify a destination address for UDP broadcasts
- Id string
- The path of the retrieved object.
- Ip
Access stringGroup In - Ip
Access boolGroup In Enable - inbound packets
- Ip
Access stringGroup Out - Ip
Access boolGroup Out Enable - outbound packets
- Ip
Arp intInspection Limit Rate - Rate Limit
- Ip
Arp boolInspection Trust - Configure Trust state
- Ip
Dhcp stringRelay Source Interface - Set source interface for relayed messages
- Ip
Dhcp boolSnooping Trust - DHCP Snooping trust config
- Ip
Proxy boolArp - Enable proxy ARP
- Ip
Redirects bool - Enable sending ICMP Redirect messages
- Ip
Unreachables bool - Enable sending ICMP Unreachable messages
- Ipv4Address string
- Ipv4Address
Mask string - Ipv6Address
Autoconfig boolDefault - Insert default route
- Ipv6Address
Dhcp bool - Obtain IPv6 address from DHCP server
- Ipv6Addresses
[]Get
Interface Port Channel Ipv6Address - Ipv6Enable bool
- Enable IPv6 on interface
- Ipv6Link
Local []GetAddresses Interface Port Channel Ipv6Link Local Address - Ipv6Mtu int
- Set IPv6 Maximum Transmission Unit
- Ipv6Nd
Ra boolSuppress All - Suppress all IPv6 RA
- Name int
- Shutdown bool
- Shutdown the selected interface
- Spanning
Tree stringGuard - Change an interface's spanning tree guard mode
- Spanning
Tree stringLink Type - Specify a link type for spanning tree tree protocol use
- Switchport bool
- Trust
Device string - trusted device class
- Vrf
Forwarding string - Configure forwarding table
- Device string
- A device name from the provider configuration.
- arp
Timeout Integer - Set ARP cache timeout
- auto
Qos BooleanClassify - Configure classification for untrusted devices
- auto
Qos BooleanClassify Police - Configure QoS policing for untrusted devices
- auto
Qos BooleanTrust - Trust the DSCP/CoS marking
- auto
Qos BooleanTrust Cos - Trust the CoS marking
- auto
Qos BooleanTrust Dscp - Trust the DSCP marking
- auto
Qos BooleanVideo Cts - Trust the QoS marking of the Cisco Telepresence System
- auto
Qos BooleanVideo Ip Camera - Trust the QoS marking of the Ip Video Surveillance camera
- auto
Qos BooleanVideo Media Player - Trust the Qos marking of the Cisco Media Player
- auto
Qos BooleanVoip - Configure AutoQoS for VoIP
- auto
Qos BooleanVoip Cisco Phone - Trust the QoS marking of Cisco IP Phone
- auto
Qos BooleanVoip Cisco Softphone - Trust the QoS marking of Cisco IP SoftPhone
- auto
Qos BooleanVoip Trust - Trust the DSCP/CoS marking
- bfd
Echo Boolean - Use echo adjunct as bfd detection mechanism
- bfd
Enable Boolean - Enable BFD under the interface
- bfd
Interval Integer - bfd
Interval IntegerMin Rx - Minimum receive interval capability
- bfd
Interval IntegerMultiplier - Multiplier value used to compute holddown
- bfd
Local StringAddress - The Source IP address to be used for BFD sessions over this interface.
- bfd
Template String - BFD template
- description String
- Interface specific description
- helper
Addresses List<GetInterface Port Channel Helper Address> - Specify a destination address for UDP broadcasts
- id String
- The path of the retrieved object.
- ip
Access StringGroup In - ip
Access BooleanGroup In Enable - inbound packets
- ip
Access StringGroup Out - ip
Access BooleanGroup Out Enable - outbound packets
- ip
Arp IntegerInspection Limit Rate - Rate Limit
- ip
Arp BooleanInspection Trust - Configure Trust state
- ip
Dhcp StringRelay Source Interface - Set source interface for relayed messages
- ip
Dhcp BooleanSnooping Trust - DHCP Snooping trust config
- ip
Proxy BooleanArp - Enable proxy ARP
- ip
Redirects Boolean - Enable sending ICMP Redirect messages
- ip
Unreachables Boolean - Enable sending ICMP Unreachable messages
- ipv4Address String
- ipv4Address
Mask String - ipv6Address
Autoconfig BooleanDefault - Insert default route
- ipv6Address
Dhcp Boolean - Obtain IPv6 address from DHCP server
- ipv6Addresses
List<Get
Interface Port Channel Ipv6Address> - ipv6Enable Boolean
- Enable IPv6 on interface
- ipv6Link
Local List<GetAddresses Interface Port Channel Ipv6Link Local Address> - ipv6Mtu Integer
- Set IPv6 Maximum Transmission Unit
- ipv6Nd
Ra BooleanSuppress All - Suppress all IPv6 RA
- name Integer
- shutdown Boolean
- Shutdown the selected interface
- spanning
Tree StringGuard - Change an interface's spanning tree guard mode
- spanning
Tree StringLink Type - Specify a link type for spanning tree tree protocol use
- switchport Boolean
- trust
Device String - trusted device class
- vrf
Forwarding String - Configure forwarding table
- device String
- A device name from the provider configuration.
- arp
Timeout number - Set ARP cache timeout
- auto
Qos booleanClassify - Configure classification for untrusted devices
- auto
Qos booleanClassify Police - Configure QoS policing for untrusted devices
- auto
Qos booleanTrust - Trust the DSCP/CoS marking
- auto
Qos booleanTrust Cos - Trust the CoS marking
- auto
Qos booleanTrust Dscp - Trust the DSCP marking
- auto
Qos booleanVideo Cts - Trust the QoS marking of the Cisco Telepresence System
- auto
Qos booleanVideo Ip Camera - Trust the QoS marking of the Ip Video Surveillance camera
- auto
Qos booleanVideo Media Player - Trust the Qos marking of the Cisco Media Player
- auto
Qos booleanVoip - Configure AutoQoS for VoIP
- auto
Qos booleanVoip Cisco Phone - Trust the QoS marking of Cisco IP Phone
- auto
Qos booleanVoip Cisco Softphone - Trust the QoS marking of Cisco IP SoftPhone
- auto
Qos booleanVoip Trust - Trust the DSCP/CoS marking
- bfd
Echo boolean - Use echo adjunct as bfd detection mechanism
- bfd
Enable boolean - Enable BFD under the interface
- bfd
Interval number - bfd
Interval numberMin Rx - Minimum receive interval capability
- bfd
Interval numberMultiplier - Multiplier value used to compute holddown
- bfd
Local stringAddress - The Source IP address to be used for BFD sessions over this interface.
- bfd
Template string - BFD template
- description string
- Interface specific description
- helper
Addresses GetInterface Port Channel Helper Address[] - Specify a destination address for UDP broadcasts
- id string
- The path of the retrieved object.
- ip
Access stringGroup In - ip
Access booleanGroup In Enable - inbound packets
- ip
Access stringGroup Out - ip
Access booleanGroup Out Enable - outbound packets
- ip
Arp numberInspection Limit Rate - Rate Limit
- ip
Arp booleanInspection Trust - Configure Trust state
- ip
Dhcp stringRelay Source Interface - Set source interface for relayed messages
- ip
Dhcp booleanSnooping Trust - DHCP Snooping trust config
- ip
Proxy booleanArp - Enable proxy ARP
- ip
Redirects boolean - Enable sending ICMP Redirect messages
- ip
Unreachables boolean - Enable sending ICMP Unreachable messages
- ipv4Address string
- ipv4Address
Mask string - ipv6Address
Autoconfig booleanDefault - Insert default route
- ipv6Address
Dhcp boolean - Obtain IPv6 address from DHCP server
- ipv6Addresses
Get
Interface Port Channel Ipv6Address[] - ipv6Enable boolean
- Enable IPv6 on interface
- ipv6Link
Local GetAddresses Interface Port Channel Ipv6Link Local Address[] - ipv6Mtu number
- Set IPv6 Maximum Transmission Unit
- ipv6Nd
Ra booleanSuppress All - Suppress all IPv6 RA
- name number
- shutdown boolean
- Shutdown the selected interface
- spanning
Tree stringGuard - Change an interface's spanning tree guard mode
- spanning
Tree stringLink Type - Specify a link type for spanning tree tree protocol use
- switchport boolean
- trust
Device string - trusted device class
- vrf
Forwarding string - Configure forwarding table
- device string
- A device name from the provider configuration.
- arp_
timeout int - Set ARP cache timeout
- auto_
qos_ boolclassify - Configure classification for untrusted devices
- auto_
qos_ boolclassify_ police - Configure QoS policing for untrusted devices
- auto_
qos_ booltrust - Trust the DSCP/CoS marking
- auto_
qos_ booltrust_ cos - Trust the CoS marking
- auto_
qos_ booltrust_ dscp - Trust the DSCP marking
- auto_
qos_ boolvideo_ cts - Trust the QoS marking of the Cisco Telepresence System
- auto_
qos_ boolvideo_ ip_ camera - Trust the QoS marking of the Ip Video Surveillance camera
- auto_
qos_ boolvideo_ media_ player - Trust the Qos marking of the Cisco Media Player
- auto_
qos_ boolvoip - Configure AutoQoS for VoIP
- auto_
qos_ boolvoip_ cisco_ phone - Trust the QoS marking of Cisco IP Phone
- auto_
qos_ boolvoip_ cisco_ softphone - Trust the QoS marking of Cisco IP SoftPhone
- auto_
qos_ boolvoip_ trust - Trust the DSCP/CoS marking
- bfd_
echo bool - Use echo adjunct as bfd detection mechanism
- bfd_
enable bool - Enable BFD under the interface
- bfd_
interval int - bfd_
interval_ intmin_ rx - Minimum receive interval capability
- bfd_
interval_ intmultiplier - Multiplier value used to compute holddown
- bfd_
local_ straddress - The Source IP address to be used for BFD sessions over this interface.
- bfd_
template str - BFD template
- description str
- Interface specific description
- helper_
addresses Sequence[GetInterface Port Channel Helper Address] - Specify a destination address for UDP broadcasts
- id str
- The path of the retrieved object.
- ip_
access_ strgroup_ in - ip_
access_ boolgroup_ in_ enable - inbound packets
- ip_
access_ strgroup_ out - ip_
access_ boolgroup_ out_ enable - outbound packets
- ip_
arp_ intinspection_ limit_ rate - Rate Limit
- ip_
arp_ boolinspection_ trust - Configure Trust state
- ip_
dhcp_ strrelay_ source_ interface - Set source interface for relayed messages
- ip_
dhcp_ boolsnooping_ trust - DHCP Snooping trust config
- ip_
proxy_ boolarp - Enable proxy ARP
- ip_
redirects bool - Enable sending ICMP Redirect messages
- ip_
unreachables bool - Enable sending ICMP Unreachable messages
- ipv4_
address str - ipv4_
address_ strmask - ipv6_
address_ boolautoconfig_ default - Insert default route
- ipv6_
address_ booldhcp - Obtain IPv6 address from DHCP server
- ipv6_
addresses Sequence[GetInterface Port Channel Ipv6Address] - ipv6_
enable bool - Enable IPv6 on interface
- ipv6_
link_ Sequence[Getlocal_ addresses Interface Port Channel Ipv6Link Local Address] - ipv6_
mtu int - Set IPv6 Maximum Transmission Unit
- ipv6_
nd_ boolra_ suppress_ all - Suppress all IPv6 RA
- name int
- shutdown bool
- Shutdown the selected interface
- spanning_
tree_ strguard - Change an interface's spanning tree guard mode
- spanning_
tree_ strlink_ type - Specify a link type for spanning tree tree protocol use
- switchport bool
- trust_
device str - trusted device class
- vrf_
forwarding str - Configure forwarding table
- device str
- A device name from the provider configuration.
- arp
Timeout Number - Set ARP cache timeout
- auto
Qos BooleanClassify - Configure classification for untrusted devices
- auto
Qos BooleanClassify Police - Configure QoS policing for untrusted devices
- auto
Qos BooleanTrust - Trust the DSCP/CoS marking
- auto
Qos BooleanTrust Cos - Trust the CoS marking
- auto
Qos BooleanTrust Dscp - Trust the DSCP marking
- auto
Qos BooleanVideo Cts - Trust the QoS marking of the Cisco Telepresence System
- auto
Qos BooleanVideo Ip Camera - Trust the QoS marking of the Ip Video Surveillance camera
- auto
Qos BooleanVideo Media Player - Trust the Qos marking of the Cisco Media Player
- auto
Qos BooleanVoip - Configure AutoQoS for VoIP
- auto
Qos BooleanVoip Cisco Phone - Trust the QoS marking of Cisco IP Phone
- auto
Qos BooleanVoip Cisco Softphone - Trust the QoS marking of Cisco IP SoftPhone
- auto
Qos BooleanVoip Trust - Trust the DSCP/CoS marking
- bfd
Echo Boolean - Use echo adjunct as bfd detection mechanism
- bfd
Enable Boolean - Enable BFD under the interface
- bfd
Interval Number - bfd
Interval NumberMin Rx - Minimum receive interval capability
- bfd
Interval NumberMultiplier - Multiplier value used to compute holddown
- bfd
Local StringAddress - The Source IP address to be used for BFD sessions over this interface.
- bfd
Template String - BFD template
- description String
- Interface specific description
- helper
Addresses List<Property Map> - Specify a destination address for UDP broadcasts
- id String
- The path of the retrieved object.
- ip
Access StringGroup In - ip
Access BooleanGroup In Enable - inbound packets
- ip
Access StringGroup Out - ip
Access BooleanGroup Out Enable - outbound packets
- ip
Arp NumberInspection Limit Rate - Rate Limit
- ip
Arp BooleanInspection Trust - Configure Trust state
- ip
Dhcp StringRelay Source Interface - Set source interface for relayed messages
- ip
Dhcp BooleanSnooping Trust - DHCP Snooping trust config
- ip
Proxy BooleanArp - Enable proxy ARP
- ip
Redirects Boolean - Enable sending ICMP Redirect messages
- ip
Unreachables Boolean - Enable sending ICMP Unreachable messages
- ipv4Address String
- ipv4Address
Mask String - ipv6Address
Autoconfig BooleanDefault - Insert default route
- ipv6Address
Dhcp Boolean - Obtain IPv6 address from DHCP server
- ipv6Addresses List<Property Map>
- ipv6Enable Boolean
- Enable IPv6 on interface
- ipv6Link
Local List<Property Map>Addresses - ipv6Mtu Number
- Set IPv6 Maximum Transmission Unit
- ipv6Nd
Ra BooleanSuppress All - Suppress all IPv6 RA
- name Number
- shutdown Boolean
- Shutdown the selected interface
- spanning
Tree StringGuard - Change an interface's spanning tree guard mode
- spanning
Tree StringLink Type - Specify a link type for spanning tree tree protocol use
- switchport Boolean
- trust
Device String - trusted device class
- vrf
Forwarding String - Configure forwarding table
- device String
- A device name from the provider configuration.
Supporting Types
GetInterfacePortChannelHelperAddress
GetInterfacePortChannelIpv6Address
GetInterfacePortChannelIpv6LinkLocalAddress
- address str
- link_
local bool - Use link-local address
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxeTerraform Provider.
