Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getArp
Explore with Pulumi AI
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:
- Entry
Learn int - Maximum learn entry limit
- Id string
- The path of the retrieved object.
- Incomplete
Entries int - Specify the number of IP addresses to resolve
- Inspection
Filters List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Arp Inspection Filter> - Specify ARP acl to be applied
- Inspection
Log intBuffer Entries - Number of entries for log buffer
- Inspection
Log intBuffer Logs Entries - Number of entries for log buffer
- Inspection
Log intBuffer Logs Interval - Interval for controlling logging rate
- Inspection
Validate boolAllow Zeros - Allow 0.0.0.0 sender IP address
- Inspection
Validate boolDst Mac - Validate destination MAC address
- Inspection
Validate boolIp - Validate IP addresses
- Inspection
Validate boolSrc Mac - Validate source MAC address
- Inspection
Vlan string - Enable/Disable ARP Inspection on vlans
- Proxy
Disable bool - Disable proxy ARP on all interfaces
- Device string
- A device name from the provider configuration.
- Entry
Learn int - Maximum learn entry limit
- Id string
- The path of the retrieved object.
- Incomplete
Entries int - Specify the number of IP addresses to resolve
- Inspection
Filters []GetArp Inspection Filter - Specify ARP acl to be applied
- Inspection
Log intBuffer Entries - Number of entries for log buffer
- Inspection
Log intBuffer Logs Entries - Number of entries for log buffer
- Inspection
Log intBuffer Logs Interval - Interval for controlling logging rate
- Inspection
Validate boolAllow Zeros - Allow 0.0.0.0 sender IP address
- Inspection
Validate boolDst Mac - Validate destination MAC address
- Inspection
Validate boolIp - Validate IP addresses
- Inspection
Validate boolSrc Mac - Validate source MAC address
- Inspection
Vlan string - Enable/Disable ARP Inspection on vlans
- Proxy
Disable bool - Disable proxy ARP on all interfaces
- Device string
- A device name from the provider configuration.
- entry
Learn Integer - Maximum learn entry limit
- id String
- The path of the retrieved object.
- incomplete
Entries Integer - Specify the number of IP addresses to resolve
- inspection
Filters List<GetArp Inspection Filter> - Specify ARP acl to be applied
- inspection
Log IntegerBuffer Entries - Number of entries for log buffer
- inspection
Log IntegerBuffer Logs Entries - Number of entries for log buffer
- inspection
Log IntegerBuffer Logs Interval - Interval for controlling logging rate
- inspection
Validate BooleanAllow Zeros - Allow 0.0.0.0 sender IP address
- inspection
Validate BooleanDst Mac - Validate destination MAC address
- inspection
Validate BooleanIp - Validate IP addresses
- inspection
Validate BooleanSrc Mac - Validate source MAC address
- inspection
Vlan String - Enable/Disable ARP Inspection on vlans
- proxy
Disable Boolean - Disable proxy ARP on all interfaces
- device String
- A device name from the provider configuration.
- entry
Learn number - Maximum learn entry limit
- id string
- The path of the retrieved object.
- incomplete
Entries number - Specify the number of IP addresses to resolve
- inspection
Filters GetArp Inspection Filter[] - Specify ARP acl to be applied
- inspection
Log numberBuffer Entries - Number of entries for log buffer
- inspection
Log numberBuffer Logs Entries - Number of entries for log buffer
- inspection
Log numberBuffer Logs Interval - Interval for controlling logging rate
- inspection
Validate booleanAllow Zeros - Allow 0.0.0.0 sender IP address
- inspection
Validate booleanDst Mac - Validate destination MAC address
- inspection
Validate booleanIp - Validate IP addresses
- inspection
Validate booleanSrc Mac - Validate source MAC address
- inspection
Vlan string - Enable/Disable ARP Inspection on vlans
- proxy
Disable 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[GetArp Inspection Filter] - Specify ARP acl to be applied
- inspection_
log_ intbuffer_ entries - Number of entries for log buffer
- inspection_
log_ intbuffer_ logs_ entries - Number of entries for log buffer
- inspection_
log_ intbuffer_ logs_ interval - Interval for controlling logging rate
- inspection_
validate_ boolallow_ zeros - Allow 0.0.0.0 sender IP address
- inspection_
validate_ booldst_ mac - Validate destination MAC address
- inspection_
validate_ boolip - Validate IP addresses
- inspection_
validate_ boolsrc_ mac - 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.
- entry
Learn Number - Maximum learn entry limit
- id String
- The path of the retrieved object.
- incomplete
Entries Number - Specify the number of IP addresses to resolve
- inspection
Filters List<Property Map> - Specify ARP acl to be applied
- inspection
Log NumberBuffer Entries - Number of entries for log buffer
- inspection
Log NumberBuffer Logs Entries - Number of entries for log buffer
- inspection
Log NumberBuffer Logs Interval - Interval for controlling logging rate
- inspection
Validate BooleanAllow Zeros - Allow 0.0.0.0 sender IP address
- inspection
Validate BooleanDst Mac - Validate destination MAC address
- inspection
Validate BooleanIp - Validate IP addresses
- inspection
Validate BooleanSrc Mac - Validate source MAC address
- inspection
Vlan String - Enable/Disable ARP Inspection on vlans
- proxy
Disable Boolean - Disable proxy ARP on all interfaces
- device String
- A device name from the provider configuration.
Supporting Types
GetArpInspectionFilter
- Name string
- Vlans
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Get Arp Inspection Filter Vlan> - Vlans to apply the filter
- Name string
- Vlans
[]Get
Arp Inspection Filter Vlan - Vlans to apply the filter
- name String
- vlans
List<Get
Arp Inspection Filter Vlan> - Vlans to apply the filter
- name string
- vlans
Get
Arp Inspection Filter Vlan[] - Vlans to apply the filter
- name str
- vlans
Sequence[Get
Arp Inspection Filter Vlan] - Vlans to apply the filter
- name String
- vlans List<Property Map>
- Vlans to apply the filter
GetArpInspectionFilterVlan
- static bool
- vlan_
range str
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxe
Terraform Provider.