Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs
nxos.getIpv4AccessListEntry
This data source can read IPv4 Access List Entries.
- API Documentation: ipv4aclACE
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nxos = Pulumi.Nxos;
return await Deployment.RunAsync(() => 
{
    var example = Nxos.GetIpv4AccessListEntry.Invoke(new()
    {
        Name = "ACL1",
        SequenceNumber = 10,
    });
});
package main
import (
	"github.com/lbrlabs/pulumi-nxos/sdk/go/nxos"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nxos.LookupIpv4AccessListEntry(ctx, &nxos.LookupIpv4AccessListEntryArgs{
			Name:           "ACL1",
			SequenceNumber: 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.nxos.NxosFunctions;
import com.pulumi.nxos.inputs.GetIpv4AccessListEntryArgs;
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 = NxosFunctions.getIpv4AccessListEntry(GetIpv4AccessListEntryArgs.builder()
            .name("ACL1")
            .sequenceNumber(10)
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as nxos from "@pulumi/nxos";
const example = nxos.getIpv4AccessListEntry({
    name: "ACL1",
    sequenceNumber: 10,
});
import pulumi
import pulumi_nxos as nxos
example = nxos.get_ipv4_access_list_entry(name="ACL1",
    sequence_number=10)
variables:
  example:
    fn::invoke:
      Function: nxos:getIpv4AccessListEntry
      Arguments:
        name: ACL1
        sequenceNumber: 10
Using getIpv4AccessListEntry
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 getIpv4AccessListEntry(args: GetIpv4AccessListEntryArgs, opts?: InvokeOptions): Promise<GetIpv4AccessListEntryResult>
function getIpv4AccessListEntryOutput(args: GetIpv4AccessListEntryOutputArgs, opts?: InvokeOptions): Output<GetIpv4AccessListEntryResult>def get_ipv4_access_list_entry(device: Optional[str] = None,
                               name: Optional[str] = None,
                               sequence_number: Optional[int] = None,
                               opts: Optional[InvokeOptions] = None) -> GetIpv4AccessListEntryResult
def get_ipv4_access_list_entry_output(device: Optional[pulumi.Input[str]] = None,
                               name: Optional[pulumi.Input[str]] = None,
                               sequence_number: Optional[pulumi.Input[int]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetIpv4AccessListEntryResult]func LookupIpv4AccessListEntry(ctx *Context, args *LookupIpv4AccessListEntryArgs, opts ...InvokeOption) (*LookupIpv4AccessListEntryResult, error)
func LookupIpv4AccessListEntryOutput(ctx *Context, args *LookupIpv4AccessListEntryOutputArgs, opts ...InvokeOption) LookupIpv4AccessListEntryResultOutput> Note: This function is named LookupIpv4AccessListEntry in the Go SDK.
public static class GetIpv4AccessListEntry 
{
    public static Task<GetIpv4AccessListEntryResult> InvokeAsync(GetIpv4AccessListEntryArgs args, InvokeOptions? opts = null)
    public static Output<GetIpv4AccessListEntryResult> Invoke(GetIpv4AccessListEntryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpv4AccessListEntryResult> getIpv4AccessListEntry(GetIpv4AccessListEntryArgs args, InvokeOptions options)
public static Output<GetIpv4AccessListEntryResult> getIpv4AccessListEntry(GetIpv4AccessListEntryArgs args, InvokeOptions options)
fn::invoke:
  function: nxos:index/getIpv4AccessListEntry:getIpv4AccessListEntry
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- Access list name.
- SequenceNumber int
- Sequence number.
- Device string
- A device name from the provider configuration.
- Name string
- Access list name.
- SequenceNumber int
- Sequence number.
- Device string
- A device name from the provider configuration.
- name String
- Access list name.
- sequenceNumber Integer
- Sequence number.
- device String
- A device name from the provider configuration.
- name string
- Access list name.
- sequenceNumber number
- Sequence number.
- device string
- A device name from the provider configuration.
- name str
- Access list name.
- sequence_number int
- Sequence number.
- device str
- A device name from the provider configuration.
- name String
- Access list name.
- sequenceNumber Number
- Sequence number.
- device String
- A device name from the provider configuration.
getIpv4AccessListEntry Result
The following output properties are available:
- Ack bool
- Match TCP ACK flag.
- Action string
- Action.
- DestinationAddress stringGroup 
- Destination address group.
- DestinationPort1 string
- First destination port number or name.
- DestinationPort2 string
- Second destination port number or name.
- DestinationPort stringGroup 
- Destination port group.
- DestinationPort stringMask 
- Destination port mask number or name.
- DestinationPort stringOperator 
- Destination port operator.
- DestinationPrefix string
- Destination prefix.
- DestinationPrefix stringLength 
- Destination prefix length.
- DestinationPrefix stringMask 
- Destination prefix mask.
- Dscp int
- Match DSCP.
- Est bool
- Match TCP EST flag.
- Fin bool
- Match TCP FIN flag.
- Fragment bool
- Match non-initial fragment.
- HttpOption stringType 
- HTTP option method.
- IcmpCode int
- ICMP code.
- IcmpType int
- ICMP type.
- Id string
- The distinguished name of the object.
- Logging bool
- Log matches against ACL entry.
- Name string
- Access list name.
- PacketLength1 string
- First packet length. Either invalidor a number between 19 and 9210.
- PacketLength2 string
- Second packet length. Either invalidor a number between 19 and 9210.
- PacketLength stringOperator 
- Packet length operator.
- Precedence string
- Precedence. Either unspecifiedor a number between 0 and 7.
- Protocol string
- Protocol name or number.
- ProtocolMask string
- Protocol mask name or number.
- Psh bool
- Match TCP PSH flag.
- Redirect string
- Redirect action.
- Remark string
- ACL comment.
- Rev bool
- Match TCP REV flag.
- Rst bool
- Match TCP RST flag.
- SequenceNumber int
- Sequence number.
- SourceAddress stringGroup 
- Source address group.
- SourcePort1 string
- First source port name or number.
- SourcePort2 string
- Second source port name or number.
- SourcePort stringGroup 
- Source port group.
- SourcePort stringMask 
- Source port mask name or number.
- SourcePort stringOperator 
- Source port operator.
- SourcePrefix string
- Source prefix.
- SourcePrefix stringLength 
- Source prefix length.
- SourcePrefix stringMask 
- Source prefix mask.
- Syn bool
- Match TCP SYN flag.
- TimeRange string
- Time range name.
- Ttl int
- TTL.
- Urg bool
- Match TCP URG flag.
- Vlan int
- VLAN ID.
- Vni string
- NVE VNI ID. Either invalidor a number between 0 and 16777216.
- Device string
- A device name from the provider configuration.
- Ack bool
- Match TCP ACK flag.
- Action string
- Action.
- DestinationAddress stringGroup 
- Destination address group.
- DestinationPort1 string
- First destination port number or name.
- DestinationPort2 string
- Second destination port number or name.
- DestinationPort stringGroup 
- Destination port group.
- DestinationPort stringMask 
- Destination port mask number or name.
- DestinationPort stringOperator 
- Destination port operator.
- DestinationPrefix string
- Destination prefix.
- DestinationPrefix stringLength 
- Destination prefix length.
- DestinationPrefix stringMask 
- Destination prefix mask.
- Dscp int
- Match DSCP.
- Est bool
- Match TCP EST flag.
- Fin bool
- Match TCP FIN flag.
- Fragment bool
- Match non-initial fragment.
- HttpOption stringType 
- HTTP option method.
- IcmpCode int
- ICMP code.
- IcmpType int
- ICMP type.
- Id string
- The distinguished name of the object.
- Logging bool
- Log matches against ACL entry.
- Name string
- Access list name.
- PacketLength1 string
- First packet length. Either invalidor a number between 19 and 9210.
- PacketLength2 string
- Second packet length. Either invalidor a number between 19 and 9210.
- PacketLength stringOperator 
- Packet length operator.
- Precedence string
- Precedence. Either unspecifiedor a number between 0 and 7.
- Protocol string
- Protocol name or number.
- ProtocolMask string
- Protocol mask name or number.
- Psh bool
- Match TCP PSH flag.
- Redirect string
- Redirect action.
- Remark string
- ACL comment.
- Rev bool
- Match TCP REV flag.
- Rst bool
- Match TCP RST flag.
- SequenceNumber int
- Sequence number.
- SourceAddress stringGroup 
- Source address group.
- SourcePort1 string
- First source port name or number.
- SourcePort2 string
- Second source port name or number.
- SourcePort stringGroup 
- Source port group.
- SourcePort stringMask 
- Source port mask name or number.
- SourcePort stringOperator 
- Source port operator.
- SourcePrefix string
- Source prefix.
- SourcePrefix stringLength 
- Source prefix length.
- SourcePrefix stringMask 
- Source prefix mask.
- Syn bool
- Match TCP SYN flag.
- TimeRange string
- Time range name.
- Ttl int
- TTL.
- Urg bool
- Match TCP URG flag.
- Vlan int
- VLAN ID.
- Vni string
- NVE VNI ID. Either invalidor a number between 0 and 16777216.
- Device string
- A device name from the provider configuration.
- ack Boolean
- Match TCP ACK flag.
- action String
- Action.
- destinationAddress StringGroup 
- Destination address group.
- destinationPort1 String
- First destination port number or name.
- destinationPort2 String
- Second destination port number or name.
- destinationPort StringGroup 
- Destination port group.
- destinationPort StringMask 
- Destination port mask number or name.
- destinationPort StringOperator 
- Destination port operator.
- destinationPrefix String
- Destination prefix.
- destinationPrefix StringLength 
- Destination prefix length.
- destinationPrefix StringMask 
- Destination prefix mask.
- dscp Integer
- Match DSCP.
- est Boolean
- Match TCP EST flag.
- fin Boolean
- Match TCP FIN flag.
- fragment Boolean
- Match non-initial fragment.
- httpOption StringType 
- HTTP option method.
- icmpCode Integer
- ICMP code.
- icmpType Integer
- ICMP type.
- id String
- The distinguished name of the object.
- logging Boolean
- Log matches against ACL entry.
- name String
- Access list name.
- packetLength1 String
- First packet length. Either invalidor a number between 19 and 9210.
- packetLength2 String
- Second packet length. Either invalidor a number between 19 and 9210.
- packetLength StringOperator 
- Packet length operator.
- precedence String
- Precedence. Either unspecifiedor a number between 0 and 7.
- protocol String
- Protocol name or number.
- protocolMask String
- Protocol mask name or number.
- psh Boolean
- Match TCP PSH flag.
- redirect String
- Redirect action.
- remark String
- ACL comment.
- rev Boolean
- Match TCP REV flag.
- rst Boolean
- Match TCP RST flag.
- sequenceNumber Integer
- Sequence number.
- sourceAddress StringGroup 
- Source address group.
- sourcePort1 String
- First source port name or number.
- sourcePort2 String
- Second source port name or number.
- sourcePort StringGroup 
- Source port group.
- sourcePort StringMask 
- Source port mask name or number.
- sourcePort StringOperator 
- Source port operator.
- sourcePrefix String
- Source prefix.
- sourcePrefix StringLength 
- Source prefix length.
- sourcePrefix StringMask 
- Source prefix mask.
- syn Boolean
- Match TCP SYN flag.
- timeRange String
- Time range name.
- ttl Integer
- TTL.
- urg Boolean
- Match TCP URG flag.
- vlan Integer
- VLAN ID.
- vni String
- NVE VNI ID. Either invalidor a number between 0 and 16777216.
- device String
- A device name from the provider configuration.
- ack boolean
- Match TCP ACK flag.
- action string
- Action.
- destinationAddress stringGroup 
- Destination address group.
- destinationPort1 string
- First destination port number or name.
- destinationPort2 string
- Second destination port number or name.
- destinationPort stringGroup 
- Destination port group.
- destinationPort stringMask 
- Destination port mask number or name.
- destinationPort stringOperator 
- Destination port operator.
- destinationPrefix string
- Destination prefix.
- destinationPrefix stringLength 
- Destination prefix length.
- destinationPrefix stringMask 
- Destination prefix mask.
- dscp number
- Match DSCP.
- est boolean
- Match TCP EST flag.
- fin boolean
- Match TCP FIN flag.
- fragment boolean
- Match non-initial fragment.
- httpOption stringType 
- HTTP option method.
- icmpCode number
- ICMP code.
- icmpType number
- ICMP type.
- id string
- The distinguished name of the object.
- logging boolean
- Log matches against ACL entry.
- name string
- Access list name.
- packetLength1 string
- First packet length. Either invalidor a number between 19 and 9210.
- packetLength2 string
- Second packet length. Either invalidor a number between 19 and 9210.
- packetLength stringOperator 
- Packet length operator.
- precedence string
- Precedence. Either unspecifiedor a number between 0 and 7.
- protocol string
- Protocol name or number.
- protocolMask string
- Protocol mask name or number.
- psh boolean
- Match TCP PSH flag.
- redirect string
- Redirect action.
- remark string
- ACL comment.
- rev boolean
- Match TCP REV flag.
- rst boolean
- Match TCP RST flag.
- sequenceNumber number
- Sequence number.
- sourceAddress stringGroup 
- Source address group.
- sourcePort1 string
- First source port name or number.
- sourcePort2 string
- Second source port name or number.
- sourcePort stringGroup 
- Source port group.
- sourcePort stringMask 
- Source port mask name or number.
- sourcePort stringOperator 
- Source port operator.
- sourcePrefix string
- Source prefix.
- sourcePrefix stringLength 
- Source prefix length.
- sourcePrefix stringMask 
- Source prefix mask.
- syn boolean
- Match TCP SYN flag.
- timeRange string
- Time range name.
- ttl number
- TTL.
- urg boolean
- Match TCP URG flag.
- vlan number
- VLAN ID.
- vni string
- NVE VNI ID. Either invalidor a number between 0 and 16777216.
- device string
- A device name from the provider configuration.
- ack bool
- Match TCP ACK flag.
- action str
- Action.
- destination_address_ strgroup 
- Destination address group.
- destination_port1 str
- First destination port number or name.
- destination_port2 str
- Second destination port number or name.
- destination_port_ strgroup 
- Destination port group.
- destination_port_ strmask 
- Destination port mask number or name.
- destination_port_ stroperator 
- Destination port operator.
- destination_prefix str
- Destination prefix.
- destination_prefix_ strlength 
- Destination prefix length.
- destination_prefix_ strmask 
- Destination prefix mask.
- dscp int
- Match DSCP.
- est bool
- Match TCP EST flag.
- fin bool
- Match TCP FIN flag.
- fragment bool
- Match non-initial fragment.
- http_option_ strtype 
- HTTP option method.
- icmp_code int
- ICMP code.
- icmp_type int
- ICMP type.
- id str
- The distinguished name of the object.
- logging bool
- Log matches against ACL entry.
- name str
- Access list name.
- packet_length1 str
- First packet length. Either invalidor a number between 19 and 9210.
- packet_length2 str
- Second packet length. Either invalidor a number between 19 and 9210.
- packet_length_ stroperator 
- Packet length operator.
- precedence str
- Precedence. Either unspecifiedor a number between 0 and 7.
- protocol str
- Protocol name or number.
- protocol_mask str
- Protocol mask name or number.
- psh bool
- Match TCP PSH flag.
- redirect str
- Redirect action.
- remark str
- ACL comment.
- rev bool
- Match TCP REV flag.
- rst bool
- Match TCP RST flag.
- sequence_number int
- Sequence number.
- source_address_ strgroup 
- Source address group.
- source_port1 str
- First source port name or number.
- source_port2 str
- Second source port name or number.
- source_port_ strgroup 
- Source port group.
- source_port_ strmask 
- Source port mask name or number.
- source_port_ stroperator 
- Source port operator.
- source_prefix str
- Source prefix.
- source_prefix_ strlength 
- Source prefix length.
- source_prefix_ strmask 
- Source prefix mask.
- syn bool
- Match TCP SYN flag.
- time_range str
- Time range name.
- ttl int
- TTL.
- urg bool
- Match TCP URG flag.
- vlan int
- VLAN ID.
- vni str
- NVE VNI ID. Either invalidor a number between 0 and 16777216.
- device str
- A device name from the provider configuration.
- ack Boolean
- Match TCP ACK flag.
- action String
- Action.
- destinationAddress StringGroup 
- Destination address group.
- destinationPort1 String
- First destination port number or name.
- destinationPort2 String
- Second destination port number or name.
- destinationPort StringGroup 
- Destination port group.
- destinationPort StringMask 
- Destination port mask number or name.
- destinationPort StringOperator 
- Destination port operator.
- destinationPrefix String
- Destination prefix.
- destinationPrefix StringLength 
- Destination prefix length.
- destinationPrefix StringMask 
- Destination prefix mask.
- dscp Number
- Match DSCP.
- est Boolean
- Match TCP EST flag.
- fin Boolean
- Match TCP FIN flag.
- fragment Boolean
- Match non-initial fragment.
- httpOption StringType 
- HTTP option method.
- icmpCode Number
- ICMP code.
- icmpType Number
- ICMP type.
- id String
- The distinguished name of the object.
- logging Boolean
- Log matches against ACL entry.
- name String
- Access list name.
- packetLength1 String
- First packet length. Either invalidor a number between 19 and 9210.
- packetLength2 String
- Second packet length. Either invalidor a number between 19 and 9210.
- packetLength StringOperator 
- Packet length operator.
- precedence String
- Precedence. Either unspecifiedor a number between 0 and 7.
- protocol String
- Protocol name or number.
- protocolMask String
- Protocol mask name or number.
- psh Boolean
- Match TCP PSH flag.
- redirect String
- Redirect action.
- remark String
- ACL comment.
- rev Boolean
- Match TCP REV flag.
- rst Boolean
- Match TCP RST flag.
- sequenceNumber Number
- Sequence number.
- sourceAddress StringGroup 
- Source address group.
- sourcePort1 String
- First source port name or number.
- sourcePort2 String
- Second source port name or number.
- sourcePort StringGroup 
- Source port group.
- sourcePort StringMask 
- Source port mask name or number.
- sourcePort StringOperator 
- Source port operator.
- sourcePrefix String
- Source prefix.
- sourcePrefix StringLength 
- Source prefix length.
- sourcePrefix StringMask 
- Source prefix mask.
- syn Boolean
- Match TCP SYN flag.
- timeRange String
- Time range name.
- ttl Number
- TTL.
- urg Boolean
- Match TCP URG flag.
- vlan Number
- VLAN ID.
- vni String
- NVE VNI ID. Either invalidor a number between 0 and 16777216.
- device String
- A device name from the provider configuration.
Package Details
- Repository
- nxos lbrlabs/pulumi-nxos
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nxosTerraform Provider.
