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

iosxe.InterfaceLoopback

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This resource can manage the Interface Loopback configuration.

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.InterfaceLoopback;
    import com.pulumi.iosxe.InterfaceLoopbackArgs;
    import com.pulumi.iosxe.inputs.InterfaceLoopbackIpv6AddressArgs;
    import com.pulumi.iosxe.inputs.InterfaceLoopbackIpv6LinkLocalAddressArgs;
    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) {
            var example = new InterfaceLoopback("example", InterfaceLoopbackArgs.builder()        
                .arpTimeout(2147)
                .description("My Interface Description")
                .ipAccessGroupIn("1")
                .ipAccessGroupInEnable(true)
                .ipAccessGroupOut("1")
                .ipAccessGroupOutEnable(true)
                .ipProxyArp(false)
                .ipRedirects(false)
                .ipUnreachables(false)
                .ipv4Address("200.1.1.1")
                .ipv4AddressMask("255.255.255.255")
                .ipv6AddressDhcp(true)
                .ipv6Addresses(InterfaceLoopbackIpv6AddressArgs.builder()
                    .eui_64(true)
                    .prefix("2002:DB8::/32")
                    .build())
                .ipv6Enable(true)
                .ipv6LinkLocalAddresses(InterfaceLoopbackIpv6LinkLocalAddressArgs.builder()
                    .address("fe80::9656:d028:8652:66b7")
                    .link_local(true)
                    .build())
                .ipv6Mtu(1300)
                .shutdown(false)
                .vrfForwarding("VRF1")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      example:
        type: iosxe:InterfaceLoopback
        properties:
          arpTimeout: 2147
          description: My Interface Description
          ipAccessGroupIn: '1'
          ipAccessGroupInEnable: true
          ipAccessGroupOut: '1'
          ipAccessGroupOutEnable: true
          ipProxyArp: false
          ipRedirects: false
          ipUnreachables: false
          ipv4Address: 200.1.1.1
          ipv4AddressMask: 255.255.255.255
          ipv6AddressDhcp: true
          ipv6Addresses:
            - eui_64: true
              prefix: 2002:DB8::/32
          ipv6Enable: true
          ipv6LinkLocalAddresses:
            - address: fe80::9656:d028:8652:66b7
              link_local: true
          ipv6Mtu: 1300
          shutdown: false
          vrfForwarding: VRF1
    

    Create InterfaceLoopback Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InterfaceLoopback(name: string, args?: InterfaceLoopbackArgs, opts?: CustomResourceOptions);
    @overload
    def InterfaceLoopback(resource_name: str,
                          args: Optional[InterfaceLoopbackArgs] = None,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterfaceLoopback(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          arp_timeout: Optional[int] = None,
                          delete_mode: Optional[str] = None,
                          description: Optional[str] = None,
                          device: Optional[str] = None,
                          ip_access_group_in: Optional[str] = None,
                          ip_access_group_in_enable: Optional[bool] = None,
                          ip_access_group_out: Optional[str] = None,
                          ip_access_group_out_enable: Optional[bool] = None,
                          ip_proxy_arp: Optional[bool] = None,
                          ip_redirects: Optional[bool] = None,
                          ip_unreachables: Optional[bool] = None,
                          ipv4_address: Optional[str] = None,
                          ipv4_address_mask: Optional[str] = None,
                          ipv6_address_autoconfig_default: Optional[bool] = None,
                          ipv6_address_dhcp: Optional[bool] = None,
                          ipv6_addresses: Optional[Sequence[InterfaceLoopbackIpv6AddressArgs]] = None,
                          ipv6_enable: Optional[bool] = None,
                          ipv6_link_local_addresses: Optional[Sequence[InterfaceLoopbackIpv6LinkLocalAddressArgs]] = None,
                          ipv6_mtu: Optional[int] = None,
                          ipv6_nd_ra_suppress_all: Optional[bool] = None,
                          name: Optional[int] = None,
                          shutdown: Optional[bool] = None,
                          vrf_forwarding: Optional[str] = None)
    func NewInterfaceLoopback(ctx *Context, name string, args *InterfaceLoopbackArgs, opts ...ResourceOption) (*InterfaceLoopback, error)
    public InterfaceLoopback(string name, InterfaceLoopbackArgs? args = null, CustomResourceOptions? opts = null)
    public InterfaceLoopback(String name, InterfaceLoopbackArgs args)
    public InterfaceLoopback(String name, InterfaceLoopbackArgs args, CustomResourceOptions options)
    
    type: iosxe:InterfaceLoopback
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args InterfaceLoopbackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InterfaceLoopbackArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InterfaceLoopbackArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InterfaceLoopbackArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InterfaceLoopbackArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var interfaceLoopbackResource = new Iosxe.InterfaceLoopback("interfaceLoopbackResource", new()
    {
        ArpTimeout = 0,
        DeleteMode = "string",
        Description = "string",
        Device = "string",
        IpAccessGroupIn = "string",
        IpAccessGroupInEnable = false,
        IpAccessGroupOut = "string",
        IpAccessGroupOutEnable = false,
        IpProxyArp = false,
        IpRedirects = false,
        IpUnreachables = false,
        Ipv4Address = "string",
        Ipv4AddressMask = "string",
        Ipv6AddressAutoconfigDefault = false,
        Ipv6AddressDhcp = false,
        Ipv6Addresses = new[]
        {
            new Iosxe.Inputs.InterfaceLoopbackIpv6AddressArgs
            {
                Prefix = "string",
                Eui64 = false,
            },
        },
        Ipv6Enable = false,
        Ipv6LinkLocalAddresses = new[]
        {
            new Iosxe.Inputs.InterfaceLoopbackIpv6LinkLocalAddressArgs
            {
                Address = "string",
                LinkLocal = false,
            },
        },
        Ipv6Mtu = 0,
        Ipv6NdRaSuppressAll = false,
        Name = 0,
        Shutdown = false,
        VrfForwarding = "string",
    });
    
    example, err := iosxe.NewInterfaceLoopback(ctx, "interfaceLoopbackResource", &iosxe.InterfaceLoopbackArgs{
    	ArpTimeout:                   pulumi.Int(0),
    	DeleteMode:                   pulumi.String("string"),
    	Description:                  pulumi.String("string"),
    	Device:                       pulumi.String("string"),
    	IpAccessGroupIn:              pulumi.String("string"),
    	IpAccessGroupInEnable:        pulumi.Bool(false),
    	IpAccessGroupOut:             pulumi.String("string"),
    	IpAccessGroupOutEnable:       pulumi.Bool(false),
    	IpProxyArp:                   pulumi.Bool(false),
    	IpRedirects:                  pulumi.Bool(false),
    	IpUnreachables:               pulumi.Bool(false),
    	Ipv4Address:                  pulumi.String("string"),
    	Ipv4AddressMask:              pulumi.String("string"),
    	Ipv6AddressAutoconfigDefault: pulumi.Bool(false),
    	Ipv6AddressDhcp:              pulumi.Bool(false),
    	Ipv6Addresses: iosxe.InterfaceLoopbackIpv6AddressArray{
    		&iosxe.InterfaceLoopbackIpv6AddressArgs{
    			Prefix: pulumi.String("string"),
    			Eui64:  pulumi.Bool(false),
    		},
    	},
    	Ipv6Enable: pulumi.Bool(false),
    	Ipv6LinkLocalAddresses: iosxe.InterfaceLoopbackIpv6LinkLocalAddressArray{
    		&iosxe.InterfaceLoopbackIpv6LinkLocalAddressArgs{
    			Address:   pulumi.String("string"),
    			LinkLocal: pulumi.Bool(false),
    		},
    	},
    	Ipv6Mtu:             pulumi.Int(0),
    	Ipv6NdRaSuppressAll: pulumi.Bool(false),
    	Name:                pulumi.Int(0),
    	Shutdown:            pulumi.Bool(false),
    	VrfForwarding:       pulumi.String("string"),
    })
    
    var interfaceLoopbackResource = new InterfaceLoopback("interfaceLoopbackResource", InterfaceLoopbackArgs.builder()
        .arpTimeout(0)
        .deleteMode("string")
        .description("string")
        .device("string")
        .ipAccessGroupIn("string")
        .ipAccessGroupInEnable(false)
        .ipAccessGroupOut("string")
        .ipAccessGroupOutEnable(false)
        .ipProxyArp(false)
        .ipRedirects(false)
        .ipUnreachables(false)
        .ipv4Address("string")
        .ipv4AddressMask("string")
        .ipv6AddressAutoconfigDefault(false)
        .ipv6AddressDhcp(false)
        .ipv6Addresses(InterfaceLoopbackIpv6AddressArgs.builder()
            .prefix("string")
            .eui64(false)
            .build())
        .ipv6Enable(false)
        .ipv6LinkLocalAddresses(InterfaceLoopbackIpv6LinkLocalAddressArgs.builder()
            .address("string")
            .linkLocal(false)
            .build())
        .ipv6Mtu(0)
        .ipv6NdRaSuppressAll(false)
        .name(0)
        .shutdown(false)
        .vrfForwarding("string")
        .build());
    
    interface_loopback_resource = iosxe.InterfaceLoopback("interfaceLoopbackResource",
        arp_timeout=0,
        delete_mode="string",
        description="string",
        device="string",
        ip_access_group_in="string",
        ip_access_group_in_enable=False,
        ip_access_group_out="string",
        ip_access_group_out_enable=False,
        ip_proxy_arp=False,
        ip_redirects=False,
        ip_unreachables=False,
        ipv4_address="string",
        ipv4_address_mask="string",
        ipv6_address_autoconfig_default=False,
        ipv6_address_dhcp=False,
        ipv6_addresses=[iosxe.InterfaceLoopbackIpv6AddressArgs(
            prefix="string",
            eui64=False,
        )],
        ipv6_enable=False,
        ipv6_link_local_addresses=[iosxe.InterfaceLoopbackIpv6LinkLocalAddressArgs(
            address="string",
            link_local=False,
        )],
        ipv6_mtu=0,
        ipv6_nd_ra_suppress_all=False,
        name=0,
        shutdown=False,
        vrf_forwarding="string")
    
    const interfaceLoopbackResource = new iosxe.InterfaceLoopback("interfaceLoopbackResource", {
        arpTimeout: 0,
        deleteMode: "string",
        description: "string",
        device: "string",
        ipAccessGroupIn: "string",
        ipAccessGroupInEnable: false,
        ipAccessGroupOut: "string",
        ipAccessGroupOutEnable: false,
        ipProxyArp: false,
        ipRedirects: false,
        ipUnreachables: false,
        ipv4Address: "string",
        ipv4AddressMask: "string",
        ipv6AddressAutoconfigDefault: false,
        ipv6AddressDhcp: false,
        ipv6Addresses: [{
            prefix: "string",
            eui64: false,
        }],
        ipv6Enable: false,
        ipv6LinkLocalAddresses: [{
            address: "string",
            linkLocal: false,
        }],
        ipv6Mtu: 0,
        ipv6NdRaSuppressAll: false,
        name: 0,
        shutdown: false,
        vrfForwarding: "string",
    });
    
    type: iosxe:InterfaceLoopback
    properties:
        arpTimeout: 0
        deleteMode: string
        description: string
        device: string
        ipAccessGroupIn: string
        ipAccessGroupInEnable: false
        ipAccessGroupOut: string
        ipAccessGroupOutEnable: false
        ipProxyArp: false
        ipRedirects: false
        ipUnreachables: false
        ipv4Address: string
        ipv4AddressMask: string
        ipv6AddressAutoconfigDefault: false
        ipv6AddressDhcp: false
        ipv6Addresses:
            - eui64: false
              prefix: string
        ipv6Enable: false
        ipv6LinkLocalAddresses:
            - address: string
              linkLocal: false
        ipv6Mtu: 0
        ipv6NdRaSuppressAll: false
        name: 0
        shutdown: false
        vrfForwarding: string
    

    InterfaceLoopback Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The InterfaceLoopback resource accepts the following input properties:

    ArpTimeout int
    Set ARP cache timeout - Range: 0-2147483
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Description string
    Interface specific description
    Device string
    A device name from the provider configuration.
    IpAccessGroupIn string
    IpAccessGroupInEnable bool
    inbound packets
    IpAccessGroupOut string
    IpAccessGroupOutEnable bool
    outbound packets
    IpProxyArp bool
    Enable proxy ARP
    IpRedirects bool
    Enable sending ICMP Redirect messages
    IpUnreachables bool
    Enable sending ICMP Unreachable messages
    Ipv4Address string
    Ipv4AddressMask string
    Ipv6AddressAutoconfigDefault bool
    Insert default route
    Ipv6AddressDhcp bool
    Obtain IPv6 address from DHCP server
    Ipv6Addresses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceLoopbackIpv6Address>
    Ipv6Enable bool
    Enable IPv6 on interface
    Ipv6LinkLocalAddresses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceLoopbackIpv6LinkLocalAddress>
    Ipv6Mtu int
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    Ipv6NdRaSuppressAll bool
    Suppress all IPv6 RA
    Name int
    • Range: 0-2147483647
    Shutdown bool
    Shutdown the selected interface
    VrfForwarding string
    Configure forwarding table
    ArpTimeout int
    Set ARP cache timeout - Range: 0-2147483
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Description string
    Interface specific description
    Device string
    A device name from the provider configuration.
    IpAccessGroupIn string
    IpAccessGroupInEnable bool
    inbound packets
    IpAccessGroupOut string
    IpAccessGroupOutEnable bool
    outbound packets
    IpProxyArp bool
    Enable proxy ARP
    IpRedirects bool
    Enable sending ICMP Redirect messages
    IpUnreachables bool
    Enable sending ICMP Unreachable messages
    Ipv4Address string
    Ipv4AddressMask string
    Ipv6AddressAutoconfigDefault bool
    Insert default route
    Ipv6AddressDhcp bool
    Obtain IPv6 address from DHCP server
    Ipv6Addresses []InterfaceLoopbackIpv6AddressArgs
    Ipv6Enable bool
    Enable IPv6 on interface
    Ipv6LinkLocalAddresses []InterfaceLoopbackIpv6LinkLocalAddressArgs
    Ipv6Mtu int
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    Ipv6NdRaSuppressAll bool
    Suppress all IPv6 RA
    Name int
    • Range: 0-2147483647
    Shutdown bool
    Shutdown the selected interface
    VrfForwarding string
    Configure forwarding table
    arpTimeout Integer
    Set ARP cache timeout - Range: 0-2147483
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description String
    Interface specific description
    device String
    A device name from the provider configuration.
    ipAccessGroupIn String
    ipAccessGroupInEnable Boolean
    inbound packets
    ipAccessGroupOut String
    ipAccessGroupOutEnable Boolean
    outbound packets
    ipProxyArp Boolean
    Enable proxy ARP
    ipRedirects Boolean
    Enable sending ICMP Redirect messages
    ipUnreachables Boolean
    Enable sending ICMP Unreachable messages
    ipv4Address String
    ipv4AddressMask String
    ipv6AddressAutoconfigDefault Boolean
    Insert default route
    ipv6AddressDhcp Boolean
    Obtain IPv6 address from DHCP server
    ipv6Addresses List<InterfaceLoopbackIpv6Address>
    ipv6Enable Boolean
    Enable IPv6 on interface
    ipv6LinkLocalAddresses List<InterfaceLoopbackIpv6LinkLocalAddress>
    ipv6Mtu Integer
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6NdRaSuppressAll Boolean
    Suppress all IPv6 RA
    name Integer
    • Range: 0-2147483647
    shutdown Boolean
    Shutdown the selected interface
    vrfForwarding String
    Configure forwarding table
    arpTimeout number
    Set ARP cache timeout - Range: 0-2147483
    deleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description string
    Interface specific description
    device string
    A device name from the provider configuration.
    ipAccessGroupIn string
    ipAccessGroupInEnable boolean
    inbound packets
    ipAccessGroupOut string
    ipAccessGroupOutEnable boolean
    outbound packets
    ipProxyArp boolean
    Enable proxy ARP
    ipRedirects boolean
    Enable sending ICMP Redirect messages
    ipUnreachables boolean
    Enable sending ICMP Unreachable messages
    ipv4Address string
    ipv4AddressMask string
    ipv6AddressAutoconfigDefault boolean
    Insert default route
    ipv6AddressDhcp boolean
    Obtain IPv6 address from DHCP server
    ipv6Addresses InterfaceLoopbackIpv6Address[]
    ipv6Enable boolean
    Enable IPv6 on interface
    ipv6LinkLocalAddresses InterfaceLoopbackIpv6LinkLocalAddress[]
    ipv6Mtu number
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6NdRaSuppressAll boolean
    Suppress all IPv6 RA
    name number
    • Range: 0-2147483647
    shutdown boolean
    Shutdown the selected interface
    vrfForwarding string
    Configure forwarding table
    arp_timeout int
    Set ARP cache timeout - Range: 0-2147483
    delete_mode str
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description str
    Interface specific description
    device str
    A device name from the provider configuration.
    ip_access_group_in str
    ip_access_group_in_enable bool
    inbound packets
    ip_access_group_out str
    ip_access_group_out_enable bool
    outbound packets
    ip_proxy_arp bool
    Enable proxy ARP
    ip_redirects bool
    Enable sending ICMP Redirect messages
    ip_unreachables bool
    Enable sending ICMP Unreachable messages
    ipv4_address str
    ipv4_address_mask str
    ipv6_address_autoconfig_default bool
    Insert default route
    ipv6_address_dhcp bool
    Obtain IPv6 address from DHCP server
    ipv6_addresses Sequence[InterfaceLoopbackIpv6AddressArgs]
    ipv6_enable bool
    Enable IPv6 on interface
    ipv6_link_local_addresses Sequence[InterfaceLoopbackIpv6LinkLocalAddressArgs]
    ipv6_mtu int
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6_nd_ra_suppress_all bool
    Suppress all IPv6 RA
    name int
    • Range: 0-2147483647
    shutdown bool
    Shutdown the selected interface
    vrf_forwarding str
    Configure forwarding table
    arpTimeout Number
    Set ARP cache timeout - Range: 0-2147483
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description String
    Interface specific description
    device String
    A device name from the provider configuration.
    ipAccessGroupIn String
    ipAccessGroupInEnable Boolean
    inbound packets
    ipAccessGroupOut String
    ipAccessGroupOutEnable Boolean
    outbound packets
    ipProxyArp Boolean
    Enable proxy ARP
    ipRedirects Boolean
    Enable sending ICMP Redirect messages
    ipUnreachables Boolean
    Enable sending ICMP Unreachable messages
    ipv4Address String
    ipv4AddressMask String
    ipv6AddressAutoconfigDefault Boolean
    Insert default route
    ipv6AddressDhcp Boolean
    Obtain IPv6 address from DHCP server
    ipv6Addresses List<Property Map>
    ipv6Enable Boolean
    Enable IPv6 on interface
    ipv6LinkLocalAddresses List<Property Map>
    ipv6Mtu Number
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6NdRaSuppressAll Boolean
    Suppress all IPv6 RA
    name Number
    • Range: 0-2147483647
    shutdown Boolean
    Shutdown the selected interface
    vrfForwarding String
    Configure forwarding table

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InterfaceLoopback resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing InterfaceLoopback Resource

    Get an existing InterfaceLoopback resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InterfaceLoopbackState, opts?: CustomResourceOptions): InterfaceLoopback
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arp_timeout: Optional[int] = None,
            delete_mode: Optional[str] = None,
            description: Optional[str] = None,
            device: Optional[str] = None,
            ip_access_group_in: Optional[str] = None,
            ip_access_group_in_enable: Optional[bool] = None,
            ip_access_group_out: Optional[str] = None,
            ip_access_group_out_enable: Optional[bool] = None,
            ip_proxy_arp: Optional[bool] = None,
            ip_redirects: Optional[bool] = None,
            ip_unreachables: Optional[bool] = None,
            ipv4_address: Optional[str] = None,
            ipv4_address_mask: Optional[str] = None,
            ipv6_address_autoconfig_default: Optional[bool] = None,
            ipv6_address_dhcp: Optional[bool] = None,
            ipv6_addresses: Optional[Sequence[InterfaceLoopbackIpv6AddressArgs]] = None,
            ipv6_enable: Optional[bool] = None,
            ipv6_link_local_addresses: Optional[Sequence[InterfaceLoopbackIpv6LinkLocalAddressArgs]] = None,
            ipv6_mtu: Optional[int] = None,
            ipv6_nd_ra_suppress_all: Optional[bool] = None,
            name: Optional[int] = None,
            shutdown: Optional[bool] = None,
            vrf_forwarding: Optional[str] = None) -> InterfaceLoopback
    func GetInterfaceLoopback(ctx *Context, name string, id IDInput, state *InterfaceLoopbackState, opts ...ResourceOption) (*InterfaceLoopback, error)
    public static InterfaceLoopback Get(string name, Input<string> id, InterfaceLoopbackState? state, CustomResourceOptions? opts = null)
    public static InterfaceLoopback get(String name, Output<String> id, InterfaceLoopbackState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ArpTimeout int
    Set ARP cache timeout - Range: 0-2147483
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Description string
    Interface specific description
    Device string
    A device name from the provider configuration.
    IpAccessGroupIn string
    IpAccessGroupInEnable bool
    inbound packets
    IpAccessGroupOut string
    IpAccessGroupOutEnable bool
    outbound packets
    IpProxyArp bool
    Enable proxy ARP
    IpRedirects bool
    Enable sending ICMP Redirect messages
    IpUnreachables bool
    Enable sending ICMP Unreachable messages
    Ipv4Address string
    Ipv4AddressMask string
    Ipv6AddressAutoconfigDefault bool
    Insert default route
    Ipv6AddressDhcp bool
    Obtain IPv6 address from DHCP server
    Ipv6Addresses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceLoopbackIpv6Address>
    Ipv6Enable bool
    Enable IPv6 on interface
    Ipv6LinkLocalAddresses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceLoopbackIpv6LinkLocalAddress>
    Ipv6Mtu int
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    Ipv6NdRaSuppressAll bool
    Suppress all IPv6 RA
    Name int
    • Range: 0-2147483647
    Shutdown bool
    Shutdown the selected interface
    VrfForwarding string
    Configure forwarding table
    ArpTimeout int
    Set ARP cache timeout - Range: 0-2147483
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Description string
    Interface specific description
    Device string
    A device name from the provider configuration.
    IpAccessGroupIn string
    IpAccessGroupInEnable bool
    inbound packets
    IpAccessGroupOut string
    IpAccessGroupOutEnable bool
    outbound packets
    IpProxyArp bool
    Enable proxy ARP
    IpRedirects bool
    Enable sending ICMP Redirect messages
    IpUnreachables bool
    Enable sending ICMP Unreachable messages
    Ipv4Address string
    Ipv4AddressMask string
    Ipv6AddressAutoconfigDefault bool
    Insert default route
    Ipv6AddressDhcp bool
    Obtain IPv6 address from DHCP server
    Ipv6Addresses []InterfaceLoopbackIpv6AddressArgs
    Ipv6Enable bool
    Enable IPv6 on interface
    Ipv6LinkLocalAddresses []InterfaceLoopbackIpv6LinkLocalAddressArgs
    Ipv6Mtu int
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    Ipv6NdRaSuppressAll bool
    Suppress all IPv6 RA
    Name int
    • Range: 0-2147483647
    Shutdown bool
    Shutdown the selected interface
    VrfForwarding string
    Configure forwarding table
    arpTimeout Integer
    Set ARP cache timeout - Range: 0-2147483
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description String
    Interface specific description
    device String
    A device name from the provider configuration.
    ipAccessGroupIn String
    ipAccessGroupInEnable Boolean
    inbound packets
    ipAccessGroupOut String
    ipAccessGroupOutEnable Boolean
    outbound packets
    ipProxyArp Boolean
    Enable proxy ARP
    ipRedirects Boolean
    Enable sending ICMP Redirect messages
    ipUnreachables Boolean
    Enable sending ICMP Unreachable messages
    ipv4Address String
    ipv4AddressMask String
    ipv6AddressAutoconfigDefault Boolean
    Insert default route
    ipv6AddressDhcp Boolean
    Obtain IPv6 address from DHCP server
    ipv6Addresses List<InterfaceLoopbackIpv6Address>
    ipv6Enable Boolean
    Enable IPv6 on interface
    ipv6LinkLocalAddresses List<InterfaceLoopbackIpv6LinkLocalAddress>
    ipv6Mtu Integer
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6NdRaSuppressAll Boolean
    Suppress all IPv6 RA
    name Integer
    • Range: 0-2147483647
    shutdown Boolean
    Shutdown the selected interface
    vrfForwarding String
    Configure forwarding table
    arpTimeout number
    Set ARP cache timeout - Range: 0-2147483
    deleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description string
    Interface specific description
    device string
    A device name from the provider configuration.
    ipAccessGroupIn string
    ipAccessGroupInEnable boolean
    inbound packets
    ipAccessGroupOut string
    ipAccessGroupOutEnable boolean
    outbound packets
    ipProxyArp boolean
    Enable proxy ARP
    ipRedirects boolean
    Enable sending ICMP Redirect messages
    ipUnreachables boolean
    Enable sending ICMP Unreachable messages
    ipv4Address string
    ipv4AddressMask string
    ipv6AddressAutoconfigDefault boolean
    Insert default route
    ipv6AddressDhcp boolean
    Obtain IPv6 address from DHCP server
    ipv6Addresses InterfaceLoopbackIpv6Address[]
    ipv6Enable boolean
    Enable IPv6 on interface
    ipv6LinkLocalAddresses InterfaceLoopbackIpv6LinkLocalAddress[]
    ipv6Mtu number
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6NdRaSuppressAll boolean
    Suppress all IPv6 RA
    name number
    • Range: 0-2147483647
    shutdown boolean
    Shutdown the selected interface
    vrfForwarding string
    Configure forwarding table
    arp_timeout int
    Set ARP cache timeout - Range: 0-2147483
    delete_mode str
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description str
    Interface specific description
    device str
    A device name from the provider configuration.
    ip_access_group_in str
    ip_access_group_in_enable bool
    inbound packets
    ip_access_group_out str
    ip_access_group_out_enable bool
    outbound packets
    ip_proxy_arp bool
    Enable proxy ARP
    ip_redirects bool
    Enable sending ICMP Redirect messages
    ip_unreachables bool
    Enable sending ICMP Unreachable messages
    ipv4_address str
    ipv4_address_mask str
    ipv6_address_autoconfig_default bool
    Insert default route
    ipv6_address_dhcp bool
    Obtain IPv6 address from DHCP server
    ipv6_addresses Sequence[InterfaceLoopbackIpv6AddressArgs]
    ipv6_enable bool
    Enable IPv6 on interface
    ipv6_link_local_addresses Sequence[InterfaceLoopbackIpv6LinkLocalAddressArgs]
    ipv6_mtu int
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6_nd_ra_suppress_all bool
    Suppress all IPv6 RA
    name int
    • Range: 0-2147483647
    shutdown bool
    Shutdown the selected interface
    vrf_forwarding str
    Configure forwarding table
    arpTimeout Number
    Set ARP cache timeout - Range: 0-2147483
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    description String
    Interface specific description
    device String
    A device name from the provider configuration.
    ipAccessGroupIn String
    ipAccessGroupInEnable Boolean
    inbound packets
    ipAccessGroupOut String
    ipAccessGroupOutEnable Boolean
    outbound packets
    ipProxyArp Boolean
    Enable proxy ARP
    ipRedirects Boolean
    Enable sending ICMP Redirect messages
    ipUnreachables Boolean
    Enable sending ICMP Unreachable messages
    ipv4Address String
    ipv4AddressMask String
    ipv6AddressAutoconfigDefault Boolean
    Insert default route
    ipv6AddressDhcp Boolean
    Obtain IPv6 address from DHCP server
    ipv6Addresses List<Property Map>
    ipv6Enable Boolean
    Enable IPv6 on interface
    ipv6LinkLocalAddresses List<Property Map>
    ipv6Mtu Number
    Set IPv6 Maximum Transmission Unit - Range: 1280-9976
    ipv6NdRaSuppressAll Boolean
    Suppress all IPv6 RA
    name Number
    • Range: 0-2147483647
    shutdown Boolean
    Shutdown the selected interface
    vrfForwarding String
    Configure forwarding table

    Supporting Types

    InterfaceLoopbackIpv6Address, InterfaceLoopbackIpv6AddressArgs

    Prefix string
    Eui64 bool
    Prefix string
    Eui64 bool
    prefix String
    eui64 Boolean
    prefix string
    eui64 boolean
    prefix str
    eui64 bool
    prefix String
    eui64 Boolean

    InterfaceLoopbackIpv6LinkLocalAddress, InterfaceLoopbackIpv6LinkLocalAddressArgs

    Address string
    LinkLocal bool
    Address string
    LinkLocal bool
    address String
    linkLocal Boolean
    address string
    linkLocal boolean
    address String
    linkLocal Boolean

    Import

     $ pulumi import iosxe:index/interfaceLoopback:InterfaceLoopback example "Cisco-IOS-XE-native:native/interface/Loopback=100"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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