1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. getAccessListExtended
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.getAccessListExtended

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This data source can read the Access List Extended configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetAccessListExtended.Invoke(new()
        {
            Name = "EACL1",
        });
    
    });
    
    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.LookupAccessListExtended(ctx, &iosxe.LookupAccessListExtendedArgs{
    			Name: "EACL1",
    		}, 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.GetAccessListExtendedArgs;
    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.getAccessListExtended(GetAccessListExtendedArgs.builder()
                .name("EACL1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_access_list_extended(name="EACL1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getAccessListExtended({
        name: "EACL1",
    });
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getAccessListExtended
          Arguments:
            name: EACL1
    

    Using getAccessListExtended

    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 getAccessListExtended(args: GetAccessListExtendedArgs, opts?: InvokeOptions): Promise<GetAccessListExtendedResult>
    function getAccessListExtendedOutput(args: GetAccessListExtendedOutputArgs, opts?: InvokeOptions): Output<GetAccessListExtendedResult>
    def get_access_list_extended(device: Optional[str] = None,
                                 name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAccessListExtendedResult
    def get_access_list_extended_output(device: Optional[pulumi.Input[str]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAccessListExtendedResult]
    func LookupAccessListExtended(ctx *Context, args *LookupAccessListExtendedArgs, opts ...InvokeOption) (*LookupAccessListExtendedResult, error)
    func LookupAccessListExtendedOutput(ctx *Context, args *LookupAccessListExtendedOutputArgs, opts ...InvokeOption) LookupAccessListExtendedResultOutput

    > Note: This function is named LookupAccessListExtended in the Go SDK.

    public static class GetAccessListExtended 
    {
        public static Task<GetAccessListExtendedResult> InvokeAsync(GetAccessListExtendedArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessListExtendedResult> Invoke(GetAccessListExtendedInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccessListExtendedResult> getAccessListExtended(GetAccessListExtendedArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getAccessListExtended:getAccessListExtended
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Device string
    A device name from the provider configuration.
    Name string
    Device string
    A device name from the provider configuration.
    name String
    device String
    A device name from the provider configuration.
    name string
    device string
    A device name from the provider configuration.
    name str
    device str
    A device name from the provider configuration.
    name String
    device String
    A device name from the provider configuration.

    getAccessListExtended Result

    The following output properties are available:

    Entries List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetAccessListExtendedEntry>
    Id string
    The path of the retrieved object.
    Name string
    Device string
    A device name from the provider configuration.
    Entries []GetAccessListExtendedEntry
    Id string
    The path of the retrieved object.
    Name string
    Device string
    A device name from the provider configuration.
    entries List<GetAccessListExtendedEntry>
    id String
    The path of the retrieved object.
    name String
    device String
    A device name from the provider configuration.
    entries GetAccessListExtendedEntry[]
    id string
    The path of the retrieved object.
    name string
    device string
    A device name from the provider configuration.
    entries Sequence[GetAccessListExtendedEntry]
    id str
    The path of the retrieved object.
    name str
    device str
    A device name from the provider configuration.
    entries List<Property Map>
    id String
    The path of the retrieved object.
    name String
    device String
    A device name from the provider configuration.

    Supporting Types

    GetAccessListExtendedEntry

    AceRuleAction string
    AceRuleProtocol string
    Ack bool
    Match on the ACK bit
    DestinationAny bool
    Any destination host
    DestinationHost string
    A single destination host
    DestinationObjectGroup string
    Destination network object group
    DestinationPortEqual string
    Match only packets on a given port number up to 10 ports
    DestinationPortGreaterThan string
    Match only packets with a greater port number
    DestinationPortLesserThan string
    Match only packets with a lower port number
    DestinationPortRangeFrom string
    Match only packets in the range of port numbers
    DestinationPortRangeTo string
    Match only packets in the range of port numbers
    DestinationPrefix string
    DestinationPrefixMask string
    Dscp string
    Match packets with given dscp value
    Established bool
    Match established connections
    Fin bool
    Match on the FIN bit
    Fragments bool
    Check non-initial fragments
    Log bool
    Log matches against this entry
    LogInput bool
    Log matches against this entry, including input interface
    Precedence string
    Match packets with given precedence value
    Psh bool
    Match on the PSH bit
    Remark string
    Access list entry comment
    Rst bool
    Match on the RST bit
    Sequence int
    ServiceObjectGroup string
    Service object group name
    SourceAny bool
    Any source host
    SourceHost string
    A single source host
    SourceObjectGroup string
    Source network object group
    SourcePortEqual string
    Match only packets on a given port number up to 10 ports
    SourcePortGreaterThan string
    Match only packets with a greater port number
    SourcePortLesserThan string
    Match only packets with a lower port number
    SourcePortRangeFrom string
    Match only packets in the range of port numbers
    SourcePortRangeTo string
    Match only packets in the range of port numbers
    SourcePrefix string
    SourcePrefixMask string
    Syn bool
    Match on the SYN bit
    Tos string
    Match packets with given TOS value
    Urg bool
    Match on the URG bit
    AceRuleAction string
    AceRuleProtocol string
    Ack bool
    Match on the ACK bit
    DestinationAny bool
    Any destination host
    DestinationHost string
    A single destination host
    DestinationObjectGroup string
    Destination network object group
    DestinationPortEqual string
    Match only packets on a given port number up to 10 ports
    DestinationPortGreaterThan string
    Match only packets with a greater port number
    DestinationPortLesserThan string
    Match only packets with a lower port number
    DestinationPortRangeFrom string
    Match only packets in the range of port numbers
    DestinationPortRangeTo string
    Match only packets in the range of port numbers
    DestinationPrefix string
    DestinationPrefixMask string
    Dscp string
    Match packets with given dscp value
    Established bool
    Match established connections
    Fin bool
    Match on the FIN bit
    Fragments bool
    Check non-initial fragments
    Log bool
    Log matches against this entry
    LogInput bool
    Log matches against this entry, including input interface
    Precedence string
    Match packets with given precedence value
    Psh bool
    Match on the PSH bit
    Remark string
    Access list entry comment
    Rst bool
    Match on the RST bit
    Sequence int
    ServiceObjectGroup string
    Service object group name
    SourceAny bool
    Any source host
    SourceHost string
    A single source host
    SourceObjectGroup string
    Source network object group
    SourcePortEqual string
    Match only packets on a given port number up to 10 ports
    SourcePortGreaterThan string
    Match only packets with a greater port number
    SourcePortLesserThan string
    Match only packets with a lower port number
    SourcePortRangeFrom string
    Match only packets in the range of port numbers
    SourcePortRangeTo string
    Match only packets in the range of port numbers
    SourcePrefix string
    SourcePrefixMask string
    Syn bool
    Match on the SYN bit
    Tos string
    Match packets with given TOS value
    Urg bool
    Match on the URG bit
    aceRuleAction String
    aceRuleProtocol String
    ack Boolean
    Match on the ACK bit
    destinationAny Boolean
    Any destination host
    destinationHost String
    A single destination host
    destinationObjectGroup String
    Destination network object group
    destinationPortEqual String
    Match only packets on a given port number up to 10 ports
    destinationPortGreaterThan String
    Match only packets with a greater port number
    destinationPortLesserThan String
    Match only packets with a lower port number
    destinationPortRangeFrom String
    Match only packets in the range of port numbers
    destinationPortRangeTo String
    Match only packets in the range of port numbers
    destinationPrefix String
    destinationPrefixMask String
    dscp String
    Match packets with given dscp value
    established Boolean
    Match established connections
    fin Boolean
    Match on the FIN bit
    fragments Boolean
    Check non-initial fragments
    log Boolean
    Log matches against this entry
    logInput Boolean
    Log matches against this entry, including input interface
    precedence String
    Match packets with given precedence value
    psh Boolean
    Match on the PSH bit
    remark String
    Access list entry comment
    rst Boolean
    Match on the RST bit
    sequence Integer
    serviceObjectGroup String
    Service object group name
    sourceAny Boolean
    Any source host
    sourceHost String
    A single source host
    sourceObjectGroup String
    Source network object group
    sourcePortEqual String
    Match only packets on a given port number up to 10 ports
    sourcePortGreaterThan String
    Match only packets with a greater port number
    sourcePortLesserThan String
    Match only packets with a lower port number
    sourcePortRangeFrom String
    Match only packets in the range of port numbers
    sourcePortRangeTo String
    Match only packets in the range of port numbers
    sourcePrefix String
    sourcePrefixMask String
    syn Boolean
    Match on the SYN bit
    tos String
    Match packets with given TOS value
    urg Boolean
    Match on the URG bit
    aceRuleAction string
    aceRuleProtocol string
    ack boolean
    Match on the ACK bit
    destinationAny boolean
    Any destination host
    destinationHost string
    A single destination host
    destinationObjectGroup string
    Destination network object group
    destinationPortEqual string
    Match only packets on a given port number up to 10 ports
    destinationPortGreaterThan string
    Match only packets with a greater port number
    destinationPortLesserThan string
    Match only packets with a lower port number
    destinationPortRangeFrom string
    Match only packets in the range of port numbers
    destinationPortRangeTo string
    Match only packets in the range of port numbers
    destinationPrefix string
    destinationPrefixMask string
    dscp string
    Match packets with given dscp value
    established boolean
    Match established connections
    fin boolean
    Match on the FIN bit
    fragments boolean
    Check non-initial fragments
    log boolean
    Log matches against this entry
    logInput boolean
    Log matches against this entry, including input interface
    precedence string
    Match packets with given precedence value
    psh boolean
    Match on the PSH bit
    remark string
    Access list entry comment
    rst boolean
    Match on the RST bit
    sequence number
    serviceObjectGroup string
    Service object group name
    sourceAny boolean
    Any source host
    sourceHost string
    A single source host
    sourceObjectGroup string
    Source network object group
    sourcePortEqual string
    Match only packets on a given port number up to 10 ports
    sourcePortGreaterThan string
    Match only packets with a greater port number
    sourcePortLesserThan string
    Match only packets with a lower port number
    sourcePortRangeFrom string
    Match only packets in the range of port numbers
    sourcePortRangeTo string
    Match only packets in the range of port numbers
    sourcePrefix string
    sourcePrefixMask string
    syn boolean
    Match on the SYN bit
    tos string
    Match packets with given TOS value
    urg boolean
    Match on the URG bit
    ace_rule_action str
    ace_rule_protocol str
    ack bool
    Match on the ACK bit
    destination_any bool
    Any destination host
    destination_host str
    A single destination host
    destination_object_group str
    Destination network object group
    destination_port_equal str
    Match only packets on a given port number up to 10 ports
    destination_port_greater_than str
    Match only packets with a greater port number
    destination_port_lesser_than str
    Match only packets with a lower port number
    destination_port_range_from str
    Match only packets in the range of port numbers
    destination_port_range_to str
    Match only packets in the range of port numbers
    destination_prefix str
    destination_prefix_mask str
    dscp str
    Match packets with given dscp value
    established bool
    Match established connections
    fin bool
    Match on the FIN bit
    fragments bool
    Check non-initial fragments
    log bool
    Log matches against this entry
    log_input bool
    Log matches against this entry, including input interface
    precedence str
    Match packets with given precedence value
    psh bool
    Match on the PSH bit
    remark str
    Access list entry comment
    rst bool
    Match on the RST bit
    sequence int
    service_object_group str
    Service object group name
    source_any bool
    Any source host
    source_host str
    A single source host
    source_object_group str
    Source network object group
    source_port_equal str
    Match only packets on a given port number up to 10 ports
    source_port_greater_than str
    Match only packets with a greater port number
    source_port_lesser_than str
    Match only packets with a lower port number
    source_port_range_from str
    Match only packets in the range of port numbers
    source_port_range_to str
    Match only packets in the range of port numbers
    source_prefix str
    source_prefix_mask str
    syn bool
    Match on the SYN bit
    tos str
    Match packets with given TOS value
    urg bool
    Match on the URG bit
    aceRuleAction String
    aceRuleProtocol String
    ack Boolean
    Match on the ACK bit
    destinationAny Boolean
    Any destination host
    destinationHost String
    A single destination host
    destinationObjectGroup String
    Destination network object group
    destinationPortEqual String
    Match only packets on a given port number up to 10 ports
    destinationPortGreaterThan String
    Match only packets with a greater port number
    destinationPortLesserThan String
    Match only packets with a lower port number
    destinationPortRangeFrom String
    Match only packets in the range of port numbers
    destinationPortRangeTo String
    Match only packets in the range of port numbers
    destinationPrefix String
    destinationPrefixMask String
    dscp String
    Match packets with given dscp value
    established Boolean
    Match established connections
    fin Boolean
    Match on the FIN bit
    fragments Boolean
    Check non-initial fragments
    log Boolean
    Log matches against this entry
    logInput Boolean
    Log matches against this entry, including input interface
    precedence String
    Match packets with given precedence value
    psh Boolean
    Match on the PSH bit
    remark String
    Access list entry comment
    rst Boolean
    Match on the RST bit
    sequence Number
    serviceObjectGroup String
    Service object group name
    sourceAny Boolean
    Any source host
    sourceHost String
    A single source host
    sourceObjectGroup String
    Source network object group
    sourcePortEqual String
    Match only packets on a given port number up to 10 ports
    sourcePortGreaterThan String
    Match only packets with a greater port number
    sourcePortLesserThan String
    Match only packets with a lower port number
    sourcePortRangeFrom String
    Match only packets in the range of port numbers
    sourcePortRangeTo String
    Match only packets in the range of port numbers
    sourcePrefix String
    sourcePrefixMask String
    syn Boolean
    Match on the SYN bit
    tos String
    Match packets with given TOS value
    urg Boolean
    Match on the URG bit

    Package Details

    Repository
    iosxe lbrlabs/pulumi-iosxe
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs