1. Packages
  2. Routeros Provider
  3. API Docs
  4. Ipv6Address
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros

routeros.Ipv6Address

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";

const ipv6Address = new routeros.Ipv6Address("ipv6Address", {
    address: "fd55::1/64",
    disabled: false,
    "interface": "ether1",
});
Copy
import pulumi
import pulumi_routeros as routeros

ipv6_address = routeros.Ipv6Address("ipv6Address",
    address="fd55::1/64",
    disabled=False,
    interface="ether1")
Copy
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.NewIpv6Address(ctx, "ipv6Address", &routeros.Ipv6AddressArgs{
			Address:   pulumi.String("fd55::1/64"),
			Disabled:  pulumi.Bool(false),
			Interface: pulumi.String("ether1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Routeros = Pulumi.Routeros;

return await Deployment.RunAsync(() => 
{
    var ipv6Address = new Routeros.Ipv6Address("ipv6Address", new()
    {
        Address = "fd55::1/64",
        Disabled = false,
        Interface = "ether1",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.Ipv6Address;
import com.pulumi.routeros.Ipv6AddressArgs;
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 ipv6Address = new Ipv6Address("ipv6Address", Ipv6AddressArgs.builder()
            .address("fd55::1/64")
            .disabled(false)
            .interface_("ether1")
            .build());

    }
}
Copy
resources:
  ipv6Address:
    type: routeros:Ipv6Address
    properties:
      address: fd55::1/64
      disabled: false
      interface: ether1
Copy

Create Ipv6Address Resource

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

Constructor syntax

new Ipv6Address(name: string, args: Ipv6AddressArgs, opts?: CustomResourceOptions);
@overload
def Ipv6Address(resource_name: str,
                args: Ipv6AddressArgs,
                opts: Optional[ResourceOptions] = None)

@overload
def Ipv6Address(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                interface: Optional[str] = None,
                ___id_: Optional[float] = None,
                ___path_: Optional[str] = None,
                address: Optional[str] = None,
                advertise: Optional[bool] = None,
                auto_link_local: Optional[bool] = None,
                comment: Optional[str] = None,
                disabled: Optional[bool] = None,
                eui64: Optional[bool] = None,
                from_pool: Optional[str] = None,
                ipv6_address_id: Optional[str] = None,
                no_dad: Optional[bool] = None)
func NewIpv6Address(ctx *Context, name string, args Ipv6AddressArgs, opts ...ResourceOption) (*Ipv6Address, error)
public Ipv6Address(string name, Ipv6AddressArgs args, CustomResourceOptions? opts = null)
public Ipv6Address(String name, Ipv6AddressArgs args)
public Ipv6Address(String name, Ipv6AddressArgs args, CustomResourceOptions options)
type: routeros:Ipv6Address
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Ipv6Address 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 Ipv6Address resource accepts the following input properties:

Interface This property is required. string
Name of the interface.
Address string
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
bool
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
AutoLinkLocal bool
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
Comment string
Disabled bool
Eui64 bool
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
FromPool string
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
Ipv6AddressId string
The ID of this resource.
NoDad bool
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
___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 This property is required. string
Name of the interface.
Address string
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
bool
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
AutoLinkLocal bool
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
Comment string
Disabled bool
Eui64 bool
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
FromPool string
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
Ipv6AddressId string
The ID of this resource.
NoDad bool
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
___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_ This property is required. String
Name of the interface.
___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.
address String
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
Boolean
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
autoLinkLocal Boolean
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment String
disabled Boolean
eui64 Boolean
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
fromPool String
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
ipv6AddressId String
The ID of this resource.
noDad Boolean
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
interface This property is required. string
Name of the interface.
___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.
address string
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
boolean
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
autoLinkLocal boolean
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment string
disabled boolean
eui64 boolean
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
fromPool string
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
ipv6AddressId string
The ID of this resource.
noDad boolean
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
interface This property is required. str
Name of the interface.
___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.
address str
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
bool
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
auto_link_local bool
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment str
disabled bool
eui64 bool
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
from_pool str
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
ipv6_address_id str
The ID of this resource.
no_dad bool
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
interface This property is required. String
Name of the interface.
___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.
address String
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
Boolean
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
autoLinkLocal Boolean
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment String
disabled Boolean
eui64 Boolean
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
fromPool String
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
ipv6AddressId String
The ID of this resource.
noDad Boolean
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.

Outputs

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

ActualInterface string
Name of the actual interface the logical one is bound to.
Deprecated bool
Whether address is deprecated
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Global bool
Whether address is global.
Id string
The provider-assigned unique ID for this managed resource.
Invalid bool
LinkLocal bool
Whether address is link local.
Slave bool
Whether address belongs to an interface which is a slave port to some other master interface
ActualInterface string
Name of the actual interface the logical one is bound to.
Deprecated bool
Whether address is deprecated
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Global bool
Whether address is global.
Id string
The provider-assigned unique ID for this managed resource.
Invalid bool
LinkLocal bool
Whether address is link local.
Slave bool
Whether address belongs to an interface which is a slave port to some other master interface
actualInterface String
Name of the actual interface the logical one is bound to.
deprecated Boolean
Whether address is deprecated
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
global Boolean
Whether address is global.
id String
The provider-assigned unique ID for this managed resource.
invalid Boolean
linkLocal Boolean
Whether address is link local.
slave Boolean
Whether address belongs to an interface which is a slave port to some other master interface
actualInterface string
Name of the actual interface the logical one is bound to.
deprecated boolean
Whether address is deprecated
dynamic boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
global boolean
Whether address is global.
id string
The provider-assigned unique ID for this managed resource.
invalid boolean
linkLocal boolean
Whether address is link local.
slave boolean
Whether address belongs to an interface which is a slave port to some other master interface
actual_interface str
Name of the actual interface the logical one is bound to.
deprecated bool
Whether address is deprecated
dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
global_ bool
Whether address is global.
id str
The provider-assigned unique ID for this managed resource.
invalid bool
link_local bool
Whether address is link local.
slave bool
Whether address belongs to an interface which is a slave port to some other master interface
actualInterface String
Name of the actual interface the logical one is bound to.
deprecated Boolean
Whether address is deprecated
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
global Boolean
Whether address is global.
id String
The provider-assigned unique ID for this managed resource.
invalid Boolean
linkLocal Boolean
Whether address is link local.
slave Boolean
Whether address belongs to an interface which is a slave port to some other master interface

Look up Existing Ipv6Address Resource

Get an existing Ipv6Address 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?: Ipv6AddressState, opts?: CustomResourceOptions): Ipv6Address
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        ___id_: Optional[float] = None,
        ___path_: Optional[str] = None,
        actual_interface: Optional[str] = None,
        address: Optional[str] = None,
        advertise: Optional[bool] = None,
        auto_link_local: Optional[bool] = None,
        comment: Optional[str] = None,
        deprecated: Optional[bool] = None,
        disabled: Optional[bool] = None,
        dynamic: Optional[bool] = None,
        eui64: Optional[bool] = None,
        from_pool: Optional[str] = None,
        global_: Optional[bool] = None,
        interface: Optional[str] = None,
        invalid: Optional[bool] = None,
        ipv6_address_id: Optional[str] = None,
        link_local: Optional[bool] = None,
        no_dad: Optional[bool] = None,
        slave: Optional[bool] = None) -> Ipv6Address
func GetIpv6Address(ctx *Context, name string, id IDInput, state *Ipv6AddressState, opts ...ResourceOption) (*Ipv6Address, error)
public static Ipv6Address Get(string name, Input<string> id, Ipv6AddressState? state, CustomResourceOptions? opts = null)
public static Ipv6Address get(String name, Output<String> id, Ipv6AddressState state, CustomResourceOptions options)
resources:  _:    type: routeros:Ipv6Address    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ActualInterface string
Name of the actual interface the logical one is bound to.
Address string
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
Advertise bool
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
AutoLinkLocal bool
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
Comment string
Deprecated bool
Whether address is deprecated
Disabled bool
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Eui64 bool
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
FromPool string
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
Global bool
Whether address is global.
Interface string
Name of the interface.
Invalid bool
Ipv6AddressId string
The ID of this resource.
LinkLocal bool
Whether address is link local.
NoDad bool
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
Slave bool
Whether address belongs to an interface which is a slave port to some other master interface
___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.
ActualInterface string
Name of the actual interface the logical one is bound to.
Address string
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
Advertise bool
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
AutoLinkLocal bool
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
Comment string
Deprecated bool
Whether address is deprecated
Disabled bool
Dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
Eui64 bool
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
FromPool string
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
Global bool
Whether address is global.
Interface string
Name of the interface.
Invalid bool
Ipv6AddressId string
The ID of this resource.
LinkLocal bool
Whether address is link local.
NoDad bool
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
Slave bool
Whether address belongs to an interface which is a slave port to some other master interface
___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.
___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.
actualInterface String
Name of the actual interface the logical one is bound to.
address String
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
advertise Boolean
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
autoLinkLocal Boolean
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment String
deprecated Boolean
Whether address is deprecated
disabled Boolean
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
eui64 Boolean
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
fromPool String
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
global Boolean
Whether address is global.
interface_ String
Name of the interface.
invalid Boolean
ipv6AddressId String
The ID of this resource.
linkLocal Boolean
Whether address is link local.
noDad Boolean
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
slave Boolean
Whether address belongs to an interface which is a slave port to some other master interface
___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.
actualInterface string
Name of the actual interface the logical one is bound to.
address string
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
advertise boolean
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
autoLinkLocal boolean
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment string
deprecated boolean
Whether address is deprecated
disabled boolean
dynamic boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
eui64 boolean
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
fromPool string
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
global boolean
Whether address is global.
interface string
Name of the interface.
invalid boolean
ipv6AddressId string
The ID of this resource.
linkLocal boolean
Whether address is link local.
noDad boolean
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
slave boolean
Whether address belongs to an interface which is a slave port to some other master interface
___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.
actual_interface str
Name of the actual interface the logical one is bound to.
address str
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
advertise bool
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
auto_link_local bool
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment str
deprecated bool
Whether address is deprecated
disabled bool
dynamic bool
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
eui64 bool
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
from_pool str
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
global_ bool
Whether address is global.
interface str
Name of the interface.
invalid bool
ipv6_address_id str
The ID of this resource.
link_local bool
Whether address is link local.
no_dad bool
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
slave bool
Whether address belongs to an interface which is a slave port to some other master interface
___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.
actualInterface String
Name of the actual interface the logical one is bound to.
address String
IPv6 address. Using the eui64 and frompool options can transform the original address! See docs
advertise Boolean
Whether to enable stateless address configuration. The prefix of that address is automatically advertised to hosts using ICMPv6 protocol. The option is set by default for addresses with prefix length 64.
autoLinkLocal Boolean
If newly created address is manual link-local address this setting allows to override dynamically created IPv6 link-local address.
comment String
deprecated Boolean
Whether address is deprecated
disabled Boolean
dynamic Boolean
Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
eui64 Boolean
Whether to calculate EUI-64 address and use it as last 64 bits of the IPv6 address.
fromPool String
Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
global Boolean
Whether address is global.
interface String
Name of the interface.
invalid Boolean
ipv6AddressId String
The ID of this resource.
linkLocal Boolean
Whether address is link local.
noDad Boolean
If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
slave Boolean
Whether address belongs to an interface which is a slave port to some other master interface

Import

#The ID can be found via API or the terminal

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

$ pulumi import routeros:index/ipv6Address:Ipv6Address ipv6_address "*0"
Copy

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.