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

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",
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";

const example = iosxe.getAccessListExtended({
    name: "EACL1",
});
Copy
import pulumi
import pulumi_iosxe as iosxe

example = iosxe.get_access_list_extended(name="EACL1")
Copy
variables:
  example:
    fn::invoke:
      Function: iosxe:getAccessListExtended
      Arguments:
        name: EACL1
Copy

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>
Copy
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]
Copy
func LookupAccessListExtended(ctx *Context, args *LookupAccessListExtendedArgs, opts ...InvokeOption) (*LookupAccessListExtendedResult, error)
func LookupAccessListExtendedOutput(ctx *Context, args *LookupAccessListExtendedOutputArgs, opts ...InvokeOption) LookupAccessListExtendedResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAccessListExtendedResult> getAccessListExtended(GetAccessListExtendedArgs args, InvokeOptions options)
public static Output<GetAccessListExtendedResult> getAccessListExtended(GetAccessListExtendedArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: iosxe:index/getAccessListExtended:getAccessListExtended
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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