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

iosxe.getAccessListStandard

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 Standard configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetAccessListStandard.Invoke(new()
        {
            Name = "SACL1",
        });
    
    });
    
    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.LookupAccessListStandard(ctx, &iosxe.LookupAccessListStandardArgs{
    			Name: "SACL1",
    		}, 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.GetAccessListStandardArgs;
    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.getAccessListStandard(GetAccessListStandardArgs.builder()
                .name("SACL1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_access_list_standard(name="SACL1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getAccessListStandard({
        name: "SACL1",
    });
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getAccessListStandard
          Arguments:
            name: SACL1
    

    Using getAccessListStandard

    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 getAccessListStandard(args: GetAccessListStandardArgs, opts?: InvokeOptions): Promise<GetAccessListStandardResult>
    function getAccessListStandardOutput(args: GetAccessListStandardOutputArgs, opts?: InvokeOptions): Output<GetAccessListStandardResult>
    def get_access_list_standard(device: Optional[str] = None,
                                 name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAccessListStandardResult
    def get_access_list_standard_output(device: Optional[pulumi.Input[str]] = None,
                                 name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAccessListStandardResult]
    func LookupAccessListStandard(ctx *Context, args *LookupAccessListStandardArgs, opts ...InvokeOption) (*LookupAccessListStandardResult, error)
    func LookupAccessListStandardOutput(ctx *Context, args *LookupAccessListStandardOutputArgs, opts ...InvokeOption) LookupAccessListStandardResultOutput

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

    public static class GetAccessListStandard 
    {
        public static Task<GetAccessListStandardResult> InvokeAsync(GetAccessListStandardArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessListStandardResult> Invoke(GetAccessListStandardInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccessListStandardResult> getAccessListStandard(GetAccessListStandardArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getAccessListStandard:getAccessListStandard
      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.

    getAccessListStandard Result

    The following output properties are available:

    Entries List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetAccessListStandardEntry>
    Id string
    The path of the retrieved object.
    Name string
    Device string
    A device name from the provider configuration.
    Entries []GetAccessListStandardEntry
    Id string
    The path of the retrieved object.
    Name string
    Device string
    A device name from the provider configuration.
    entries List<GetAccessListStandardEntry>
    id String
    The path of the retrieved object.
    name String
    device String
    A device name from the provider configuration.
    entries GetAccessListStandardEntry[]
    id string
    The path of the retrieved object.
    name string
    device string
    A device name from the provider configuration.
    entries Sequence[GetAccessListStandardEntry]
    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

    GetAccessListStandardEntry

    DenyAny bool
    Any source prefix
    DenyHost string
    A single source host
    DenyLog bool
    Log matches against this entry
    DenyPrefix string
    Network address prefix
    DenyPrefixMask string
    Wildcard bits
    PermitAny bool
    Any source prefix
    PermitHost string
    A single source host
    PermitLog bool
    Log matches against this entry
    PermitPrefix string
    Network address prefix
    PermitPrefixMask string
    Wildcard bits
    Remark string
    Access list entry comment
    Sequence int
    DenyAny bool
    Any source prefix
    DenyHost string
    A single source host
    DenyLog bool
    Log matches against this entry
    DenyPrefix string
    Network address prefix
    DenyPrefixMask string
    Wildcard bits
    PermitAny bool
    Any source prefix
    PermitHost string
    A single source host
    PermitLog bool
    Log matches against this entry
    PermitPrefix string
    Network address prefix
    PermitPrefixMask string
    Wildcard bits
    Remark string
    Access list entry comment
    Sequence int
    denyAny Boolean
    Any source prefix
    denyHost String
    A single source host
    denyLog Boolean
    Log matches against this entry
    denyPrefix String
    Network address prefix
    denyPrefixMask String
    Wildcard bits
    permitAny Boolean
    Any source prefix
    permitHost String
    A single source host
    permitLog Boolean
    Log matches against this entry
    permitPrefix String
    Network address prefix
    permitPrefixMask String
    Wildcard bits
    remark String
    Access list entry comment
    sequence Integer
    denyAny boolean
    Any source prefix
    denyHost string
    A single source host
    denyLog boolean
    Log matches against this entry
    denyPrefix string
    Network address prefix
    denyPrefixMask string
    Wildcard bits
    permitAny boolean
    Any source prefix
    permitHost string
    A single source host
    permitLog boolean
    Log matches against this entry
    permitPrefix string
    Network address prefix
    permitPrefixMask string
    Wildcard bits
    remark string
    Access list entry comment
    sequence number
    deny_any bool
    Any source prefix
    deny_host str
    A single source host
    deny_log bool
    Log matches against this entry
    deny_prefix str
    Network address prefix
    deny_prefix_mask str
    Wildcard bits
    permit_any bool
    Any source prefix
    permit_host str
    A single source host
    permit_log bool
    Log matches against this entry
    permit_prefix str
    Network address prefix
    permit_prefix_mask str
    Wildcard bits
    remark str
    Access list entry comment
    sequence int
    denyAny Boolean
    Any source prefix
    denyHost String
    A single source host
    denyLog Boolean
    Log matches against this entry
    denyPrefix String
    Network address prefix
    denyPrefixMask String
    Wildcard bits
    permitAny Boolean
    Any source prefix
    permitHost String
    A single source host
    permitLog Boolean
    Log matches against this entry
    permitPrefix String
    Network address prefix
    permitPrefixMask String
    Wildcard bits
    remark String
    Access list entry comment
    sequence Number

    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