1. Packages
  2. Routeros Provider
  3. API Docs
  4. Ipv6NdPrefix
routeros 1.84.0 published on Tuesday, May 6, 2025 by terraform-routeros

routeros.Ipv6NdPrefix

Explore with Pulumi AI

routeros logo
routeros 1.84.0 published on Tuesday, May 6, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const test = new routeros.Ipv6NdPrefix("test", {
        "interface": "ether1",
        preferredLifetime: "6d24h",
        prefix: "fd55::/64",
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    test = routeros.Ipv6NdPrefix("test",
        interface="ether1",
        preferred_lifetime="6d24h",
        prefix="fd55::/64")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/routeros/routeros"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := routeros.NewIpv6NdPrefix(ctx, "test", &routeros.Ipv6NdPrefixArgs{
    			Interface:         pulumi.String("ether1"),
    			PreferredLifetime: pulumi.String("6d24h"),
    			Prefix:            pulumi.String("fd55::/64"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Routeros = Pulumi.Routeros;
    
    return await Deployment.RunAsync(() => 
    {
        var test = new Routeros.Ipv6NdPrefix("test", new()
        {
            Interface = "ether1",
            PreferredLifetime = "6d24h",
            Prefix = "fd55::/64",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.Ipv6NdPrefix;
    import com.pulumi.routeros.Ipv6NdPrefixArgs;
    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 test = new Ipv6NdPrefix("test", Ipv6NdPrefixArgs.builder()
                .interface_("ether1")
                .preferredLifetime("6d24h")
                .prefix("fd55::/64")
                .build());
    
        }
    }
    
    resources:
      test:
        type: routeros:Ipv6NdPrefix
        properties:
          interface: ether1
          preferredLifetime: 6d24h
          prefix: fd55::/64
    

    Create Ipv6NdPrefix Resource

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

    Constructor syntax

    new Ipv6NdPrefix(name: string, args: Ipv6NdPrefixArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv6NdPrefix(resource_name: str,
                     args: Ipv6NdPrefixArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv6NdPrefix(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     interface: Optional[str] = None,
                     prefix: Optional[str] = None,
                     _6to4_interface: Optional[str] = None,
                     ___id_: Optional[float] = None,
                     ___path_: Optional[str] = None,
                     autonomous: Optional[bool] = None,
                     comment: Optional[str] = None,
                     disabled: Optional[bool] = None,
                     ipv6_nd_prefix_id: Optional[str] = None,
                     on_link: Optional[bool] = None,
                     preferred_lifetime: Optional[str] = None,
                     valid_lifetime: Optional[str] = None)
    func NewIpv6NdPrefix(ctx *Context, name string, args Ipv6NdPrefixArgs, opts ...ResourceOption) (*Ipv6NdPrefix, error)
    public Ipv6NdPrefix(string name, Ipv6NdPrefixArgs args, CustomResourceOptions? opts = null)
    public Ipv6NdPrefix(String name, Ipv6NdPrefixArgs args)
    public Ipv6NdPrefix(String name, Ipv6NdPrefixArgs args, CustomResourceOptions options)
    
    type: routeros:Ipv6NdPrefix
    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 Ipv6NdPrefixArgs
    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 Ipv6NdPrefixArgs
    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 Ipv6NdPrefixArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv6NdPrefixArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv6NdPrefixArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Ipv6NdPrefix Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Ipv6NdPrefix resource accepts the following input properties:

    Interface string
    Interface name on which stateless auto-configuration will be running.
    Prefix string
    A prefix from which stateless address autoconfiguration generates the valid address.
    6to4Interface string
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    Autonomous bool
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    Comment string
    Disabled bool
    Ipv6NdPrefixId string
    The ID of this resource.
    OnLink bool
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    PreferredLifetime string
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    ValidLifetime string
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    Interface string
    Interface name on which stateless auto-configuration will be running.
    Prefix string
    A prefix from which stateless address autoconfiguration generates the valid address.
    6to4Interface string
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    Autonomous bool
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    Comment string
    Disabled bool
    Ipv6NdPrefixId string
    The ID of this resource.
    OnLink bool
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    PreferredLifetime string
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    ValidLifetime string
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    interface_ String
    Interface name on which stateless auto-configuration will be running.
    prefix String
    A prefix from which stateless address autoconfiguration generates the valid address.
    _6to4Interface String
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous Boolean
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment String
    disabled Boolean
    ipv6NdPrefixId String
    The ID of this resource.
    onLink Boolean
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferredLifetime String
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    validLifetime String
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    interface string
    Interface name on which stateless auto-configuration will be running.
    prefix string
    A prefix from which stateless address autoconfiguration generates the valid address.
    6to4Interface string
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous boolean
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment string
    disabled boolean
    ipv6NdPrefixId string
    The ID of this resource.
    onLink boolean
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferredLifetime string
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    validLifetime string
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    interface str
    Interface name on which stateless auto-configuration will be running.
    prefix str
    A prefix from which stateless address autoconfiguration generates the valid address.
    _6to4_interface str
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous bool
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment str
    disabled bool
    ipv6_nd_prefix_id str
    The ID of this resource.
    on_link bool
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferred_lifetime str
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    valid_lifetime str
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    interface String
    Interface name on which stateless auto-configuration will be running.
    prefix String
    A prefix from which stateless address autoconfiguration generates the valid address.
    6to4Interface String
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous Boolean
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment String
    disabled Boolean
    ipv6NdPrefixId String
    The ID of this resource.
    onLink Boolean
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferredLifetime String
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    validLifetime String
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ipv6NdPrefix 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 Ipv6NdPrefix Resource

    Get an existing Ipv6NdPrefix 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?: Ipv6NdPrefixState, opts?: CustomResourceOptions): Ipv6NdPrefix
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            _6to4_interface: Optional[str] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            autonomous: Optional[bool] = None,
            comment: Optional[str] = None,
            disabled: Optional[bool] = None,
            interface: Optional[str] = None,
            ipv6_nd_prefix_id: Optional[str] = None,
            on_link: Optional[bool] = None,
            preferred_lifetime: Optional[str] = None,
            prefix: Optional[str] = None,
            valid_lifetime: Optional[str] = None) -> Ipv6NdPrefix
    func GetIpv6NdPrefix(ctx *Context, name string, id IDInput, state *Ipv6NdPrefixState, opts ...ResourceOption) (*Ipv6NdPrefix, error)
    public static Ipv6NdPrefix Get(string name, Input<string> id, Ipv6NdPrefixState? state, CustomResourceOptions? opts = null)
    public static Ipv6NdPrefix get(String name, Output<String> id, Ipv6NdPrefixState state, CustomResourceOptions options)
    resources:  _:    type: routeros:Ipv6NdPrefix    get:      id: ${id}
    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:
    6to4Interface string
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    Autonomous bool
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    Comment string
    Disabled bool
    Interface string
    Interface name on which stateless auto-configuration will be running.
    Ipv6NdPrefixId string
    The ID of this resource.
    OnLink bool
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    PreferredLifetime string
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    Prefix string
    A prefix from which stateless address autoconfiguration generates the valid address.
    ValidLifetime string
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    ___id_ double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    6to4Interface string
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    Autonomous bool
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    Comment string
    Disabled bool
    Interface string
    Interface name on which stateless auto-configuration will be running.
    Ipv6NdPrefixId string
    The ID of this resource.
    OnLink bool
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    PreferredLifetime string
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    Prefix string
    A prefix from which stateless address autoconfiguration generates the valid address.
    ValidLifetime string
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    ___id_ float64
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    _6to4Interface String
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ Double
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous Boolean
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment String
    disabled Boolean
    interface_ String
    Interface name on which stateless auto-configuration will be running.
    ipv6NdPrefixId String
    The ID of this resource.
    onLink Boolean
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferredLifetime String
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    prefix String
    A prefix from which stateless address autoconfiguration generates the valid address.
    validLifetime String
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    6to4Interface string
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ string
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous boolean
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment string
    disabled boolean
    interface string
    Interface name on which stateless auto-configuration will be running.
    ipv6NdPrefixId string
    The ID of this resource.
    onLink boolean
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferredLifetime string
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    prefix string
    A prefix from which stateless address autoconfiguration generates the valid address.
    validLifetime string
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    _6to4_interface str
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ float
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ str
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous bool
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment str
    disabled bool
    interface str
    Interface name on which stateless auto-configuration will be running.
    ipv6_nd_prefix_id str
    The ID of this resource.
    on_link bool
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferred_lifetime str
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    prefix str
    A prefix from which stateless address autoconfiguration generates the valid address.
    valid_lifetime str
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.
    6to4Interface String
    If this option is specified, this prefix will be combined with the IPv4 address of the interface name to produce a valid 6to4 prefix. The first 16 bits of this prefix will be replaced by 2002 and the next 32 bits of this prefix will be replaced by the IPv4 address assigned to the interface name at configuration time. The remaining 80 bits of the prefix (including the SLA ID) will be advertised as specified in the configuration file.
    ___id_ Number
    Resource ID type (.id / name). This is an internal service field, setting a value is not required.
    ___path_ String
    Resource path for CRUD operations. This is an internal service field, setting a value is not required.
    autonomous Boolean
    When set, indicates that this prefix can be used for autonomous address configuration. Otherwise, prefix information is silently ignored.
    comment String
    disabled Boolean
    interface String
    Interface name on which stateless auto-configuration will be running.
    ipv6NdPrefixId String
    The ID of this resource.
    onLink Boolean
    When set, indicates that this prefix can be used for on-link determination. When not set the advertisement makes no statement about the on-link or off-link properties of the prefix. For instance, the prefix might be used for address configuration with some of the addresses belonging to the prefix being on-link and others being off-link.
    preferredLifetime String
    Timeframe (relative to the time the packet is sent) after which generated address becomes deprecated. Deprecated is used only for already existing connections and is usable until valid lifetime expires.
    prefix String
    A prefix from which stateless address autoconfiguration generates the valid address.
    validLifetime String
    The length of time (relative to the time the packet is sent) an address remains in the valid state. The valid lifetime must be greater than or equal to the preferred lifetime.

    Import

    #The ID can be found via API or the terminal

    #The command for the terminal is -> :put [/ipv6/nd/prefix get [print show-ids]]

    $ pulumi import routeros:index/ipv6NdPrefix:Ipv6NdPrefix test *3
    

    #Or you can import a resource using one of its attributes

    $ pulumi import routeros:index/ipv6NdPrefix:Ipv6NdPrefix test "prefix=xxx"
    

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

    Package Details

    Repository
    routeros terraform-routeros/terraform-provider-routeros
    License
    Notes
    This Pulumi package is based on the routeros Terraform Provider.
    routeros logo
    routeros 1.84.0 published on Tuesday, May 6, 2025 by terraform-routeros