Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getAccessListStandard
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 * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getAccessListStandard({
name: "SACL1",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_access_list_standard(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)
public static Output<GetAccessListStandardResult> getAccessListStandard(GetAccessListStandardArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getAccessListStandard:getAccessListStandard
arguments:
# arguments dictionaryThe following arguments are supported:
getAccessListStandard Result
The following output properties are available:
- Entries
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Access List Standard Entry> - Id string
- The path of the retrieved object.
- Name string
- Device string
- A device name from the provider configuration.
- Entries
[]Get
Access List Standard Entry - Id string
- The path of the retrieved object.
- Name string
- Device string
- A device name from the provider configuration.
- entries
List<Get
Access List Standard Entry> - id String
- The path of the retrieved object.
- name String
- device String
- A device name from the provider configuration.
- entries
Get
Access List Standard Entry[] - id string
- The path of the retrieved object.
- name string
- device string
- A device name from the provider configuration.
- entries
Sequence[Get
Access List Standard Entry] - 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
- Deny
Any bool - Any source prefix
- Deny
Host string - A single source host
- Deny
Log bool - Log matches against this entry
- Deny
Prefix string - Network address prefix
- Deny
Prefix stringMask - Wildcard bits
- Permit
Any bool - Any source prefix
- Permit
Host string - A single source host
- Permit
Log bool - Log matches against this entry
- Permit
Prefix string - Network address prefix
- Permit
Prefix stringMask - Wildcard bits
- Remark string
- Access list entry comment
- Sequence int
- Deny
Any bool - Any source prefix
- Deny
Host string - A single source host
- Deny
Log bool - Log matches against this entry
- Deny
Prefix string - Network address prefix
- Deny
Prefix stringMask - Wildcard bits
- Permit
Any bool - Any source prefix
- Permit
Host string - A single source host
- Permit
Log bool - Log matches against this entry
- Permit
Prefix string - Network address prefix
- Permit
Prefix stringMask - Wildcard bits
- Remark string
- Access list entry comment
- Sequence int
- deny
Any Boolean - Any source prefix
- deny
Host String - A single source host
- deny
Log Boolean - Log matches against this entry
- deny
Prefix String - Network address prefix
- deny
Prefix StringMask - Wildcard bits
- permit
Any Boolean - Any source prefix
- permit
Host String - A single source host
- permit
Log Boolean - Log matches against this entry
- permit
Prefix String - Network address prefix
- permit
Prefix StringMask - Wildcard bits
- remark String
- Access list entry comment
- sequence Integer
- deny
Any boolean - Any source prefix
- deny
Host string - A single source host
- deny
Log boolean - Log matches against this entry
- deny
Prefix string - Network address prefix
- deny
Prefix stringMask - Wildcard bits
- permit
Any boolean - Any source prefix
- permit
Host string - A single source host
- permit
Log boolean - Log matches against this entry
- permit
Prefix string - Network address prefix
- permit
Prefix stringMask - 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_ strmask - 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_ strmask - Wildcard bits
- remark str
- Access list entry comment
- sequence int
- deny
Any Boolean - Any source prefix
- deny
Host String - A single source host
- deny
Log Boolean - Log matches against this entry
- deny
Prefix String - Network address prefix
- deny
Prefix StringMask - Wildcard bits
- permit
Any Boolean - Any source prefix
- permit
Host String - A single source host
- permit
Log Boolean - Log matches against this entry
- permit
Prefix String - Network address prefix
- permit
Prefix StringMask - 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
iosxeTerraform Provider.
