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

iosxe.getArp

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

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetArp.Invoke();
    
    });
    
    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.LookupArp(ctx, nil, 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.GetArpArgs;
    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.getArp();
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_arp()
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getArp({});
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getArp
          Arguments: {}
    

    Using getArp

    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 getArp(args: GetArpArgs, opts?: InvokeOptions): Promise<GetArpResult>
    function getArpOutput(args: GetArpOutputArgs, opts?: InvokeOptions): Output<GetArpResult>
    def get_arp(device: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetArpResult
    def get_arp_output(device: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetArpResult]
    func LookupArp(ctx *Context, args *LookupArpArgs, opts ...InvokeOption) (*LookupArpResult, error)
    func LookupArpOutput(ctx *Context, args *LookupArpOutputArgs, opts ...InvokeOption) LookupArpResultOutput

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

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

    The following arguments are supported:

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

    getArp Result

    The following output properties are available:

    EntryLearn int
    Maximum learn entry limit
    Id string
    The path of the retrieved object.
    IncompleteEntries int
    Specify the number of IP addresses to resolve
    InspectionFilters List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetArpInspectionFilter>
    Specify ARP acl to be applied
    InspectionLogBufferEntries int
    Number of entries for log buffer
    InspectionLogBufferLogsEntries int
    Number of entries for log buffer
    InspectionLogBufferLogsInterval int
    Interval for controlling logging rate
    InspectionValidateAllowZeros bool
    Allow 0.0.0.0 sender IP address
    InspectionValidateDstMac bool
    Validate destination MAC address
    InspectionValidateIp bool
    Validate IP addresses
    InspectionValidateSrcMac bool
    Validate source MAC address
    InspectionVlan string
    Enable/Disable ARP Inspection on vlans
    ProxyDisable bool
    Disable proxy ARP on all interfaces
    Device string
    A device name from the provider configuration.
    EntryLearn int
    Maximum learn entry limit
    Id string
    The path of the retrieved object.
    IncompleteEntries int
    Specify the number of IP addresses to resolve
    InspectionFilters []GetArpInspectionFilter
    Specify ARP acl to be applied
    InspectionLogBufferEntries int
    Number of entries for log buffer
    InspectionLogBufferLogsEntries int
    Number of entries for log buffer
    InspectionLogBufferLogsInterval int
    Interval for controlling logging rate
    InspectionValidateAllowZeros bool
    Allow 0.0.0.0 sender IP address
    InspectionValidateDstMac bool
    Validate destination MAC address
    InspectionValidateIp bool
    Validate IP addresses
    InspectionValidateSrcMac bool
    Validate source MAC address
    InspectionVlan string
    Enable/Disable ARP Inspection on vlans
    ProxyDisable bool
    Disable proxy ARP on all interfaces
    Device string
    A device name from the provider configuration.
    entryLearn Integer
    Maximum learn entry limit
    id String
    The path of the retrieved object.
    incompleteEntries Integer
    Specify the number of IP addresses to resolve
    inspectionFilters List<GetArpInspectionFilter>
    Specify ARP acl to be applied
    inspectionLogBufferEntries Integer
    Number of entries for log buffer
    inspectionLogBufferLogsEntries Integer
    Number of entries for log buffer
    inspectionLogBufferLogsInterval Integer
    Interval for controlling logging rate
    inspectionValidateAllowZeros Boolean
    Allow 0.0.0.0 sender IP address
    inspectionValidateDstMac Boolean
    Validate destination MAC address
    inspectionValidateIp Boolean
    Validate IP addresses
    inspectionValidateSrcMac Boolean
    Validate source MAC address
    inspectionVlan String
    Enable/Disable ARP Inspection on vlans
    proxyDisable Boolean
    Disable proxy ARP on all interfaces
    device String
    A device name from the provider configuration.
    entryLearn number
    Maximum learn entry limit
    id string
    The path of the retrieved object.
    incompleteEntries number
    Specify the number of IP addresses to resolve
    inspectionFilters GetArpInspectionFilter[]
    Specify ARP acl to be applied
    inspectionLogBufferEntries number
    Number of entries for log buffer
    inspectionLogBufferLogsEntries number
    Number of entries for log buffer
    inspectionLogBufferLogsInterval number
    Interval for controlling logging rate
    inspectionValidateAllowZeros boolean
    Allow 0.0.0.0 sender IP address
    inspectionValidateDstMac boolean
    Validate destination MAC address
    inspectionValidateIp boolean
    Validate IP addresses
    inspectionValidateSrcMac boolean
    Validate source MAC address
    inspectionVlan string
    Enable/Disable ARP Inspection on vlans
    proxyDisable boolean
    Disable proxy ARP on all interfaces
    device string
    A device name from the provider configuration.
    entry_learn int
    Maximum learn entry limit
    id str
    The path of the retrieved object.
    incomplete_entries int
    Specify the number of IP addresses to resolve
    inspection_filters Sequence[GetArpInspectionFilter]
    Specify ARP acl to be applied
    inspection_log_buffer_entries int
    Number of entries for log buffer
    inspection_log_buffer_logs_entries int
    Number of entries for log buffer
    inspection_log_buffer_logs_interval int
    Interval for controlling logging rate
    inspection_validate_allow_zeros bool
    Allow 0.0.0.0 sender IP address
    inspection_validate_dst_mac bool
    Validate destination MAC address
    inspection_validate_ip bool
    Validate IP addresses
    inspection_validate_src_mac bool
    Validate source MAC address
    inspection_vlan str
    Enable/Disable ARP Inspection on vlans
    proxy_disable bool
    Disable proxy ARP on all interfaces
    device str
    A device name from the provider configuration.
    entryLearn Number
    Maximum learn entry limit
    id String
    The path of the retrieved object.
    incompleteEntries Number
    Specify the number of IP addresses to resolve
    inspectionFilters List<Property Map>
    Specify ARP acl to be applied
    inspectionLogBufferEntries Number
    Number of entries for log buffer
    inspectionLogBufferLogsEntries Number
    Number of entries for log buffer
    inspectionLogBufferLogsInterval Number
    Interval for controlling logging rate
    inspectionValidateAllowZeros Boolean
    Allow 0.0.0.0 sender IP address
    inspectionValidateDstMac Boolean
    Validate destination MAC address
    inspectionValidateIp Boolean
    Validate IP addresses
    inspectionValidateSrcMac Boolean
    Validate source MAC address
    inspectionVlan String
    Enable/Disable ARP Inspection on vlans
    proxyDisable Boolean
    Disable proxy ARP on all interfaces
    device String
    A device name from the provider configuration.

    Supporting Types

    GetArpInspectionFilter

    Name string
    Vlans []GetArpInspectionFilterVlan
    Vlans to apply the filter
    name String
    vlans List<GetArpInspectionFilterVlan>
    Vlans to apply the filter
    name string
    vlans GetArpInspectionFilterVlan[]
    Vlans to apply the filter
    name str
    vlans Sequence[GetArpInspectionFilterVlan]
    Vlans to apply the filter
    name String
    vlans List<Property Map>
    Vlans to apply the filter

    GetArpInspectionFilterVlan

    Static bool
    VlanRange string
    Static bool
    VlanRange string
    static_ Boolean
    vlanRange String
    static boolean
    vlanRange string
    static Boolean
    vlanRange String

    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