Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
This data source can read the Interface Loopback configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetInterfaceLoopback.Invoke(new()
{
Name = 100,
});
});
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.LookupInterfaceLoopback(ctx, &iosxe.LookupInterfaceLoopbackArgs{
Name: 100,
}, 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.GetInterfaceLoopbackArgs;
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.getInterfaceLoopback(GetInterfaceLoopbackArgs.builder()
.name(100)
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getInterfaceLoopback({
name: 100,
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_interface_loopback(name=100)
variables:
example:
fn::invoke:
Function: iosxe:getInterfaceLoopback
Arguments:
name: 100
Using getInterfaceLoopback
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 getInterfaceLoopback(args: GetInterfaceLoopbackArgs, opts?: InvokeOptions): Promise<GetInterfaceLoopbackResult>
function getInterfaceLoopbackOutput(args: GetInterfaceLoopbackOutputArgs, opts?: InvokeOptions): Output<GetInterfaceLoopbackResult>def get_interface_loopback(device: Optional[str] = None,
name: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetInterfaceLoopbackResult
def get_interface_loopback_output(device: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInterfaceLoopbackResult]func LookupInterfaceLoopback(ctx *Context, args *LookupInterfaceLoopbackArgs, opts ...InvokeOption) (*LookupInterfaceLoopbackResult, error)
func LookupInterfaceLoopbackOutput(ctx *Context, args *LookupInterfaceLoopbackOutputArgs, opts ...InvokeOption) LookupInterfaceLoopbackResultOutput> Note: This function is named LookupInterfaceLoopback in the Go SDK.
public static class GetInterfaceLoopback
{
public static Task<GetInterfaceLoopbackResult> InvokeAsync(GetInterfaceLoopbackArgs args, InvokeOptions? opts = null)
public static Output<GetInterfaceLoopbackResult> Invoke(GetInterfaceLoopbackInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInterfaceLoopbackResult> getInterfaceLoopback(GetInterfaceLoopbackArgs args, InvokeOptions options)
public static Output<GetInterfaceLoopbackResult> getInterfaceLoopback(GetInterfaceLoopbackArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getInterfaceLoopback:getInterfaceLoopback
arguments:
# arguments dictionaryThe following arguments are supported:
getInterfaceLoopback Result
The following output properties are available:
- Arp
Timeout int - Set ARP cache timeout
- Description string
- Interface specific description
- Id string
- The path of the retrieved object.
- Ip
Access stringGroup In - Ip
Access boolGroup In Enable - inbound packets
- Ip
Access stringGroup Out - Ip
Access boolGroup Out Enable - outbound packets
- Ip
Proxy boolArp - Enable proxy ARP
- Ip
Redirects bool - Enable sending ICMP Redirect messages
- Ip
Unreachables bool - Enable sending ICMP Unreachable messages
- Ipv4Address string
- Ipv4Address
Mask string - Ipv6Address
Autoconfig boolDefault - Insert default route
- Ipv6Address
Dhcp bool - Obtain IPv6 address from DHCP server
- Ipv6Addresses
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Interface Loopback Ipv6Address> - Ipv6Enable bool
- Enable IPv6 on interface
- Ipv6Link
Local List<Lbrlabs.Addresses Pulumi Package. Iosxe. Outputs. Get Interface Loopback Ipv6Link Local Address> - Ipv6Mtu int
- Set IPv6 Maximum Transmission Unit
- Ipv6Nd
Ra boolSuppress All - Suppress all IPv6 RA
- Name int
- Shutdown bool
- Shutdown the selected interface
- Vrf
Forwarding string - Configure forwarding table
- Device string
- A device name from the provider configuration.
- Arp
Timeout int - Set ARP cache timeout
- Description string
- Interface specific description
- Id string
- The path of the retrieved object.
- Ip
Access stringGroup In - Ip
Access boolGroup In Enable - inbound packets
- Ip
Access stringGroup Out - Ip
Access boolGroup Out Enable - outbound packets
- Ip
Proxy boolArp - Enable proxy ARP
- Ip
Redirects bool - Enable sending ICMP Redirect messages
- Ip
Unreachables bool - Enable sending ICMP Unreachable messages
- Ipv4Address string
- Ipv4Address
Mask string - Ipv6Address
Autoconfig boolDefault - Insert default route
- Ipv6Address
Dhcp bool - Obtain IPv6 address from DHCP server
- Ipv6Addresses
[]Get
Interface Loopback Ipv6Address - Ipv6Enable bool
- Enable IPv6 on interface
- Ipv6Link
Local []GetAddresses Interface Loopback Ipv6Link Local Address - Ipv6Mtu int
- Set IPv6 Maximum Transmission Unit
- Ipv6Nd
Ra boolSuppress All - Suppress all IPv6 RA
- Name int
- Shutdown bool
- Shutdown the selected interface
- Vrf
Forwarding string - Configure forwarding table
- Device string
- A device name from the provider configuration.
- arp
Timeout Integer - Set ARP cache timeout
- description String
- Interface specific description
- id String
- The path of the retrieved object.
- ip
Access StringGroup In - ip
Access BooleanGroup In Enable - inbound packets
- ip
Access StringGroup Out - ip
Access BooleanGroup Out Enable - outbound packets
- ip
Proxy BooleanArp - Enable proxy ARP
- ip
Redirects Boolean - Enable sending ICMP Redirect messages
- ip
Unreachables Boolean - Enable sending ICMP Unreachable messages
- ipv4Address String
- ipv4Address
Mask String - ipv6Address
Autoconfig BooleanDefault - Insert default route
- ipv6Address
Dhcp Boolean - Obtain IPv6 address from DHCP server
- ipv6Addresses
List<Get
Interface Loopback Ipv6Address> - ipv6Enable Boolean
- Enable IPv6 on interface
- ipv6Link
Local List<GetAddresses Interface Loopback Ipv6Link Local Address> - ipv6Mtu Integer
- Set IPv6 Maximum Transmission Unit
- ipv6Nd
Ra BooleanSuppress All - Suppress all IPv6 RA
- name Integer
- shutdown Boolean
- Shutdown the selected interface
- vrf
Forwarding String - Configure forwarding table
- device String
- A device name from the provider configuration.
- arp
Timeout number - Set ARP cache timeout
- description string
- Interface specific description
- id string
- The path of the retrieved object.
- ip
Access stringGroup In - ip
Access booleanGroup In Enable - inbound packets
- ip
Access stringGroup Out - ip
Access booleanGroup Out Enable - outbound packets
- ip
Proxy booleanArp - Enable proxy ARP
- ip
Redirects boolean - Enable sending ICMP Redirect messages
- ip
Unreachables boolean - Enable sending ICMP Unreachable messages
- ipv4Address string
- ipv4Address
Mask string - ipv6Address
Autoconfig booleanDefault - Insert default route
- ipv6Address
Dhcp boolean - Obtain IPv6 address from DHCP server
- ipv6Addresses
Get
Interface Loopback Ipv6Address[] - ipv6Enable boolean
- Enable IPv6 on interface
- ipv6Link
Local GetAddresses Interface Loopback Ipv6Link Local Address[] - ipv6Mtu number
- Set IPv6 Maximum Transmission Unit
- ipv6Nd
Ra booleanSuppress All - Suppress all IPv6 RA
- name number
- shutdown boolean
- Shutdown the selected interface
- vrf
Forwarding string - Configure forwarding table
- device string
- A device name from the provider configuration.
- arp_
timeout int - Set ARP cache timeout
- description str
- Interface specific description
- id str
- The path of the retrieved object.
- ip_
access_ strgroup_ in - ip_
access_ boolgroup_ in_ enable - inbound packets
- ip_
access_ strgroup_ out - ip_
access_ boolgroup_ out_ enable - outbound packets
- ip_
proxy_ boolarp - Enable proxy ARP
- ip_
redirects bool - Enable sending ICMP Redirect messages
- ip_
unreachables bool - Enable sending ICMP Unreachable messages
- ipv4_
address str - ipv4_
address_ strmask - ipv6_
address_ boolautoconfig_ default - Insert default route
- ipv6_
address_ booldhcp - Obtain IPv6 address from DHCP server
- ipv6_
addresses Sequence[GetInterface Loopback Ipv6Address] - ipv6_
enable bool - Enable IPv6 on interface
- ipv6_
link_ Sequence[Getlocal_ addresses Interface Loopback Ipv6Link Local Address] - ipv6_
mtu int - Set IPv6 Maximum Transmission Unit
- ipv6_
nd_ boolra_ suppress_ all - Suppress all IPv6 RA
- name int
- shutdown bool
- Shutdown the selected interface
- vrf_
forwarding str - Configure forwarding table
- device str
- A device name from the provider configuration.
- arp
Timeout Number - Set ARP cache timeout
- description String
- Interface specific description
- id String
- The path of the retrieved object.
- ip
Access StringGroup In - ip
Access BooleanGroup In Enable - inbound packets
- ip
Access StringGroup Out - ip
Access BooleanGroup Out Enable - outbound packets
- ip
Proxy BooleanArp - Enable proxy ARP
- ip
Redirects Boolean - Enable sending ICMP Redirect messages
- ip
Unreachables Boolean - Enable sending ICMP Unreachable messages
- ipv4Address String
- ipv4Address
Mask String - ipv6Address
Autoconfig BooleanDefault - Insert default route
- ipv6Address
Dhcp Boolean - Obtain IPv6 address from DHCP server
- ipv6Addresses List<Property Map>
- ipv6Enable Boolean
- Enable IPv6 on interface
- ipv6Link
Local List<Property Map>Addresses - ipv6Mtu Number
- Set IPv6 Maximum Transmission Unit
- ipv6Nd
Ra BooleanSuppress All - Suppress all IPv6 RA
- name Number
- shutdown Boolean
- Shutdown the selected interface
- vrf
Forwarding String - Configure forwarding table
- device String
- A device name from the provider configuration.
Supporting Types
GetInterfaceLoopbackIpv6Address
GetInterfaceLoopbackIpv6LinkLocalAddress
- address str
- link_
local bool - Use link-local address
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxeTerraform Provider.
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
