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",
});
import pulumi
import pulumi_routeros as routeros
ipv6_address = routeros.Ipv6Address("ipv6Address",
address="fd55::1/64",
disabled=False,
interface="ether1")
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
})
}
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",
});
});
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());
}
}
resources:
ipv6Address:
type: routeros:Ipv6Address
properties:
address: fd55::1/64
disabled: false
interface: ether1
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 string
- The unique name of the resource.
- args Ipv6AddressArgs
- 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 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 string
- The unique name of the resource.
- args Ipv6AddressArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args Ipv6AddressArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 string
- Name of the interface.
- 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.
- Auto
Link boolLocal - 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.
- From
Pool string - Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
- Ipv6Address
Id string - The ID of this resource.
- No
Dad 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 string
- Name of the interface.
- 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.
- Auto
Link boolLocal - 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.
- From
Pool string - Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
- Ipv6Address
Id string - The ID of this resource.
- No
Dad 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_ 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
- 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.
- auto
Link BooleanLocal - 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.
- from
Pool String - Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
- ipv6Address
Id String - The ID of this resource.
- no
Dad Boolean - If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
- interface 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
- 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.
- auto
Link booleanLocal - 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.
- from
Pool string - Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
- ipv6Address
Id string - The ID of this resource.
- no
Dad boolean - If set indicates that address is anycast address and Duplicate Address Detection should not be performed.
- interface 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
- 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_ boollocal - 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_ strid - 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 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
- 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.
- auto
Link BooleanLocal - 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.
- from
Pool String - Name of the pool from which prefix will be taken to construct IPv6 address taking last part of the address from address property.
- ipv6Address
Id String - The ID of this resource.
- no
Dad 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:
- Actual
Interface 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
- 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
- Actual
Interface 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
- 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
- actual
Interface 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
- link
Local 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 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
- link
Local 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
- actual
Interface 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
- link
Local 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
- 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.
- Actual
Interface 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.
- Auto
Link boolLocal - 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.
- From
Pool 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
- Ipv6Address
Id string - 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_ 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.
- Actual
Interface 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.
- Auto
Link boolLocal - 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.
- From
Pool 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
- Ipv6Address
Id string - 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_ 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.
- actual
Interface 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.
- auto
Link BooleanLocal - 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.
- from
Pool 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
- ipv6Address
Id String - The ID of this resource.
- link
Local Boolean - Whether address is link local.
- no
Dad 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.
- actual
Interface 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.
- auto
Link booleanLocal - 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.
- from
Pool 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
- ipv6Address
Id string - The ID of this resource.
- link
Local boolean - Whether address is link local.
- no
Dad 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_ boollocal - 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_ strid - 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.
- actual
Interface 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.
- auto
Link BooleanLocal - 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.
- from
Pool 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
- ipv6Address
Id String - The ID of this resource.
- link
Local Boolean - Whether address is link local.
- no
Dad 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"
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.