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

routeros.Ipv6DhcpClient

Explore with Pulumi AI

routeros logo
routeros 1.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as routeros from "@pulumi/routeros";
    
    const inetProvider = new routeros.Ipv6DhcpClient("inetProvider", {
        addDefaultRoute: true,
        disabled: false,
        "interface": "ether1",
        poolName: "pub-add-pool",
        poolPrefixLength: 64,
        requests: ["prefix"],
    });
    const client = new routeros.Ipv6DhcpClient("client", {
        addDefaultRoute: true,
        "interface": "ether1",
        poolName: "pub-add-pool",
        poolPrefixLength: 64,
        requests: ["prefix"],
    });
    
    import pulumi
    import pulumi_routeros as routeros
    
    inet_provider = routeros.Ipv6DhcpClient("inetProvider",
        add_default_route=True,
        disabled=False,
        interface="ether1",
        pool_name="pub-add-pool",
        pool_prefix_length=64,
        requests=["prefix"])
    client = routeros.Ipv6DhcpClient("client",
        add_default_route=True,
        interface="ether1",
        pool_name="pub-add-pool",
        pool_prefix_length=64,
        requests=["prefix"])
    
    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.NewIpv6DhcpClient(ctx, "inetProvider", &routeros.Ipv6DhcpClientArgs{
    			AddDefaultRoute:  pulumi.Bool(true),
    			Disabled:         pulumi.Bool(false),
    			Interface:        pulumi.String("ether1"),
    			PoolName:         pulumi.String("pub-add-pool"),
    			PoolPrefixLength: pulumi.Float64(64),
    			Requests: pulumi.StringArray{
    				pulumi.String("prefix"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = routeros.NewIpv6DhcpClient(ctx, "client", &routeros.Ipv6DhcpClientArgs{
    			AddDefaultRoute:  pulumi.Bool(true),
    			Interface:        pulumi.String("ether1"),
    			PoolName:         pulumi.String("pub-add-pool"),
    			PoolPrefixLength: pulumi.Float64(64),
    			Requests: pulumi.StringArray{
    				pulumi.String("prefix"),
    			},
    		})
    		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 inetProvider = new Routeros.Ipv6DhcpClient("inetProvider", new()
        {
            AddDefaultRoute = true,
            Disabled = false,
            Interface = "ether1",
            PoolName = "pub-add-pool",
            PoolPrefixLength = 64,
            Requests = new[]
            {
                "prefix",
            },
        });
    
        var client = new Routeros.Ipv6DhcpClient("client", new()
        {
            AddDefaultRoute = true,
            Interface = "ether1",
            PoolName = "pub-add-pool",
            PoolPrefixLength = 64,
            Requests = new[]
            {
                "prefix",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.routeros.Ipv6DhcpClient;
    import com.pulumi.routeros.Ipv6DhcpClientArgs;
    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 inetProvider = new Ipv6DhcpClient("inetProvider", Ipv6DhcpClientArgs.builder()
                .addDefaultRoute(true)
                .disabled(false)
                .interface_("ether1")
                .poolName("pub-add-pool")
                .poolPrefixLength(64)
                .requests("prefix")
                .build());
    
            var client = new Ipv6DhcpClient("client", Ipv6DhcpClientArgs.builder()
                .addDefaultRoute(true)
                .interface_("ether1")
                .poolName("pub-add-pool")
                .poolPrefixLength(64)
                .requests("prefix")
                .build());
    
        }
    }
    
    resources:
      inetProvider:
        type: routeros:Ipv6DhcpClient
        properties:
          addDefaultRoute: true
          disabled: false
          interface: ether1
          poolName: pub-add-pool
          poolPrefixLength: 64
          requests:
            - prefix
      client:
        type: routeros:Ipv6DhcpClient
        properties:
          addDefaultRoute: true
          interface: ether1
          poolName: pub-add-pool
          poolPrefixLength: 64
          requests:
            - prefix
    

    Create Ipv6DhcpClient Resource

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

    Constructor syntax

    new Ipv6DhcpClient(name: string, args: Ipv6DhcpClientArgs, opts?: CustomResourceOptions);
    @overload
    def Ipv6DhcpClient(resource_name: str,
                       args: Ipv6DhcpClientArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ipv6DhcpClient(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       interface: Optional[str] = None,
                       requests: Optional[Sequence[str]] = None,
                       default_route_distance: Optional[float] = None,
                       pool_prefix_length: Optional[float] = None,
                       comment: Optional[str] = None,
                       ___id_: Optional[float] = None,
                       dhcp_options: Optional[Sequence[str]] = None,
                       disabled: Optional[bool] = None,
                       add_default_route: Optional[bool] = None,
                       ipv6_dhcp_client_id: Optional[str] = None,
                       pool_name: Optional[str] = None,
                       allow_reconfigure: Optional[bool] = None,
                       prefix_address_lists: Optional[Sequence[str]] = None,
                       prefix_hint: Optional[str] = None,
                       rapid_commit: Optional[bool] = None,
                       ___path_: Optional[str] = None,
                       script: Optional[str] = None,
                       use_interface_duid: Optional[bool] = None,
                       use_peer_dns: Optional[bool] = None,
                       validate_server_duid: Optional[bool] = None)
    func NewIpv6DhcpClient(ctx *Context, name string, args Ipv6DhcpClientArgs, opts ...ResourceOption) (*Ipv6DhcpClient, error)
    public Ipv6DhcpClient(string name, Ipv6DhcpClientArgs args, CustomResourceOptions? opts = null)
    public Ipv6DhcpClient(String name, Ipv6DhcpClientArgs args)
    public Ipv6DhcpClient(String name, Ipv6DhcpClientArgs args, CustomResourceOptions options)
    
    type: routeros:Ipv6DhcpClient
    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 Ipv6DhcpClientArgs
    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 Ipv6DhcpClientArgs
    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 Ipv6DhcpClientArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args Ipv6DhcpClientArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args Ipv6DhcpClientArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    Interface string
    Name of the interface.
    Requests List<string>
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    AddDefaultRoute bool
    Whether to add default IPv6 route after a client connects.
    AllowReconfigure bool
    Allow reconfigure messages.
    Comment string
    DefaultRouteDistance double
    Distance of default route. Applicable if add-default-route is set to yes.
    DhcpOptions List<string>
    Options that are sent to the DHCP server.
    Disabled bool
    Ipv6DhcpClientId string
    PoolName string
    Name of the IPv6 pool in which received IPv6 prefix will be added
    PoolPrefixLength double
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    PrefixAddressLists List<string>
    Names of the firewall address lists to which received prefix will be added.
    PrefixHint string
    Include a preferred prefix length.
    RapidCommit bool
    Enable DHCP rapid commit (fast address assignment)
    Script string
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    UseInterfaceDuid bool
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    UsePeerDns bool
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    ValidateServerDuid bool
    Whether to validate the DUID of the IPv6 DHCP Server.
    ___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.
    Requests []string
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    AddDefaultRoute bool
    Whether to add default IPv6 route after a client connects.
    AllowReconfigure bool
    Allow reconfigure messages.
    Comment string
    DefaultRouteDistance float64
    Distance of default route. Applicable if add-default-route is set to yes.
    DhcpOptions []string
    Options that are sent to the DHCP server.
    Disabled bool
    Ipv6DhcpClientId string
    PoolName string
    Name of the IPv6 pool in which received IPv6 prefix will be added
    PoolPrefixLength float64
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    PrefixAddressLists []string
    Names of the firewall address lists to which received prefix will be added.
    PrefixHint string
    Include a preferred prefix length.
    RapidCommit bool
    Enable DHCP rapid commit (fast address assignment)
    Script string
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    UseInterfaceDuid bool
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    UsePeerDns bool
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    ValidateServerDuid bool
    Whether to validate the DUID of the IPv6 DHCP Server.
    ___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.
    requests List<String>
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    ___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.
    addDefaultRoute Boolean
    Whether to add default IPv6 route after a client connects.
    allowReconfigure Boolean
    Allow reconfigure messages.
    comment String
    defaultRouteDistance Double
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcpOptions List<String>
    Options that are sent to the DHCP server.
    disabled Boolean
    ipv6DhcpClientId String
    poolName String
    Name of the IPv6 pool in which received IPv6 prefix will be added
    poolPrefixLength Double
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefixAddressLists List<String>
    Names of the firewall address lists to which received prefix will be added.
    prefixHint String
    Include a preferred prefix length.
    rapidCommit Boolean
    Enable DHCP rapid commit (fast address assignment)
    script String
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    useInterfaceDuid Boolean
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    usePeerDns Boolean
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validateServerDuid Boolean
    Whether to validate the DUID of the IPv6 DHCP Server.
    interface string
    Name of the interface.
    requests string[]
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    ___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.
    addDefaultRoute boolean
    Whether to add default IPv6 route after a client connects.
    allowReconfigure boolean
    Allow reconfigure messages.
    comment string
    defaultRouteDistance number
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcpOptions string[]
    Options that are sent to the DHCP server.
    disabled boolean
    ipv6DhcpClientId string
    poolName string
    Name of the IPv6 pool in which received IPv6 prefix will be added
    poolPrefixLength number
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefixAddressLists string[]
    Names of the firewall address lists to which received prefix will be added.
    prefixHint string
    Include a preferred prefix length.
    rapidCommit boolean
    Enable DHCP rapid commit (fast address assignment)
    script string
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    useInterfaceDuid boolean
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    usePeerDns boolean
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validateServerDuid boolean
    Whether to validate the DUID of the IPv6 DHCP Server.
    interface str
    Name of the interface.
    requests Sequence[str]
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    ___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.
    add_default_route bool
    Whether to add default IPv6 route after a client connects.
    allow_reconfigure bool
    Allow reconfigure messages.
    comment str
    default_route_distance float
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcp_options Sequence[str]
    Options that are sent to the DHCP server.
    disabled bool
    ipv6_dhcp_client_id str
    pool_name str
    Name of the IPv6 pool in which received IPv6 prefix will be added
    pool_prefix_length float
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefix_address_lists Sequence[str]
    Names of the firewall address lists to which received prefix will be added.
    prefix_hint str
    Include a preferred prefix length.
    rapid_commit bool
    Enable DHCP rapid commit (fast address assignment)
    script str
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    use_interface_duid bool
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    use_peer_dns bool
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validate_server_duid bool
    Whether to validate the DUID of the IPv6 DHCP Server.
    interface String
    Name of the interface.
    requests List<String>
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    ___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.
    addDefaultRoute Boolean
    Whether to add default IPv6 route after a client connects.
    allowReconfigure Boolean
    Allow reconfigure messages.
    comment String
    defaultRouteDistance Number
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcpOptions List<String>
    Options that are sent to the DHCP server.
    disabled Boolean
    ipv6DhcpClientId String
    poolName String
    Name of the IPv6 pool in which received IPv6 prefix will be added
    poolPrefixLength Number
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefixAddressLists List<String>
    Names of the firewall address lists to which received prefix will be added.
    prefixHint String
    Include a preferred prefix length.
    rapidCommit Boolean
    Enable DHCP rapid commit (fast address assignment)
    script String
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    useInterfaceDuid Boolean
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    usePeerDns Boolean
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validateServerDuid Boolean
    Whether to validate the DUID of the IPv6 DHCP Server.

    Outputs

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

    Address string
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    DhcpServerV6 string
    The IPv6 address of the DHCP server
    Duid string
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ExpiresAfter string
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    Gateway string
    The IP address of the gateway which is assigned by DHCP server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Invalid bool
    Prefix string
    Shows received IPv6 prefix from DHCPv6-PD server
    Status string
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    Address string
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    DhcpServerV6 string
    The IPv6 address of the DHCP server
    Duid string
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ExpiresAfter string
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    Gateway string
    The IP address of the gateway which is assigned by DHCP server.
    Id string
    The provider-assigned unique ID for this managed resource.
    Invalid bool
    Prefix string
    Shows received IPv6 prefix from DHCPv6-PD server
    Status string
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    address String
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    dhcpServerV6 String
    The IPv6 address of the DHCP server
    duid String
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expiresAfter String
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway String
    The IP address of the gateway which is assigned by DHCP server.
    id String
    The provider-assigned unique ID for this managed resource.
    invalid Boolean
    prefix String
    Shows received IPv6 prefix from DHCPv6-PD server
    status String
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    address string
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    dhcpServerV6 string
    The IPv6 address of the DHCP server
    duid string
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expiresAfter string
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway string
    The IP address of the gateway which is assigned by DHCP server.
    id string
    The provider-assigned unique ID for this managed resource.
    invalid boolean
    prefix string
    Shows received IPv6 prefix from DHCPv6-PD server
    status string
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    address str
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    dhcp_server_v6 str
    The IPv6 address of the DHCP server
    duid str
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expires_after str
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway str
    The IP address of the gateway which is assigned by DHCP server.
    id str
    The provider-assigned unique ID for this managed resource.
    invalid bool
    prefix str
    Shows received IPv6 prefix from DHCPv6-PD server
    status str
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    address String
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    dhcpServerV6 String
    The IPv6 address of the DHCP server
    duid String
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expiresAfter String
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway String
    The IP address of the gateway which is assigned by DHCP server.
    id String
    The provider-assigned unique ID for this managed resource.
    invalid Boolean
    prefix String
    Shows received IPv6 prefix from DHCPv6-PD server
    status String
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release

    Look up Existing Ipv6DhcpClient Resource

    Get an existing Ipv6DhcpClient 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?: Ipv6DhcpClientState, opts?: CustomResourceOptions): Ipv6DhcpClient
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ___id_: Optional[float] = None,
            ___path_: Optional[str] = None,
            add_default_route: Optional[bool] = None,
            address: Optional[str] = None,
            allow_reconfigure: Optional[bool] = None,
            comment: Optional[str] = None,
            default_route_distance: Optional[float] = None,
            dhcp_options: Optional[Sequence[str]] = None,
            dhcp_server_v6: Optional[str] = None,
            disabled: Optional[bool] = None,
            duid: Optional[str] = None,
            dynamic: Optional[bool] = None,
            expires_after: Optional[str] = None,
            gateway: Optional[str] = None,
            interface: Optional[str] = None,
            invalid: Optional[bool] = None,
            ipv6_dhcp_client_id: Optional[str] = None,
            pool_name: Optional[str] = None,
            pool_prefix_length: Optional[float] = None,
            prefix: Optional[str] = None,
            prefix_address_lists: Optional[Sequence[str]] = None,
            prefix_hint: Optional[str] = None,
            rapid_commit: Optional[bool] = None,
            requests: Optional[Sequence[str]] = None,
            script: Optional[str] = None,
            status: Optional[str] = None,
            use_interface_duid: Optional[bool] = None,
            use_peer_dns: Optional[bool] = None,
            validate_server_duid: Optional[bool] = None) -> Ipv6DhcpClient
    func GetIpv6DhcpClient(ctx *Context, name string, id IDInput, state *Ipv6DhcpClientState, opts ...ResourceOption) (*Ipv6DhcpClient, error)
    public static Ipv6DhcpClient Get(string name, Input<string> id, Ipv6DhcpClientState? state, CustomResourceOptions? opts = null)
    public static Ipv6DhcpClient get(String name, Output<String> id, Ipv6DhcpClientState state, CustomResourceOptions options)
    resources:  _:    type: routeros:Ipv6DhcpClient    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:
    AddDefaultRoute bool
    Whether to add default IPv6 route after a client connects.
    Address string
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    AllowReconfigure bool
    Allow reconfigure messages.
    Comment string
    DefaultRouteDistance double
    Distance of default route. Applicable if add-default-route is set to yes.
    DhcpOptions List<string>
    Options that are sent to the DHCP server.
    DhcpServerV6 string
    The IPv6 address of the DHCP server
    Disabled bool
    Duid string
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ExpiresAfter string
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    Gateway string
    The IP address of the gateway which is assigned by DHCP server.
    Interface string
    Name of the interface.
    Invalid bool
    Ipv6DhcpClientId string
    PoolName string
    Name of the IPv6 pool in which received IPv6 prefix will be added
    PoolPrefixLength double
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    Prefix string
    Shows received IPv6 prefix from DHCPv6-PD server
    PrefixAddressLists List<string>
    Names of the firewall address lists to which received prefix will be added.
    PrefixHint string
    Include a preferred prefix length.
    RapidCommit bool
    Enable DHCP rapid commit (fast address assignment)
    Requests List<string>
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    Script string
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    Status string
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    UseInterfaceDuid bool
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    UsePeerDns bool
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    ValidateServerDuid bool
    Whether to validate the DUID of the IPv6 DHCP Server.
    ___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.
    AddDefaultRoute bool
    Whether to add default IPv6 route after a client connects.
    Address string
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    AllowReconfigure bool
    Allow reconfigure messages.
    Comment string
    DefaultRouteDistance float64
    Distance of default route. Applicable if add-default-route is set to yes.
    DhcpOptions []string
    Options that are sent to the DHCP server.
    DhcpServerV6 string
    The IPv6 address of the DHCP server
    Disabled bool
    Duid string
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    Dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    ExpiresAfter string
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    Gateway string
    The IP address of the gateway which is assigned by DHCP server.
    Interface string
    Name of the interface.
    Invalid bool
    Ipv6DhcpClientId string
    PoolName string
    Name of the IPv6 pool in which received IPv6 prefix will be added
    PoolPrefixLength float64
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    Prefix string
    Shows received IPv6 prefix from DHCPv6-PD server
    PrefixAddressLists []string
    Names of the firewall address lists to which received prefix will be added.
    PrefixHint string
    Include a preferred prefix length.
    RapidCommit bool
    Enable DHCP rapid commit (fast address assignment)
    Requests []string
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    Script string
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    Status string
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    UseInterfaceDuid bool
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    UsePeerDns bool
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    ValidateServerDuid bool
    Whether to validate the DUID of the IPv6 DHCP Server.
    ___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.
    addDefaultRoute Boolean
    Whether to add default IPv6 route after a client connects.
    address String
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    allowReconfigure Boolean
    Allow reconfigure messages.
    comment String
    defaultRouteDistance Double
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcpOptions List<String>
    Options that are sent to the DHCP server.
    dhcpServerV6 String
    The IPv6 address of the DHCP server
    disabled Boolean
    duid String
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expiresAfter String
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway String
    The IP address of the gateway which is assigned by DHCP server.
    interface_ String
    Name of the interface.
    invalid Boolean
    ipv6DhcpClientId String
    poolName String
    Name of the IPv6 pool in which received IPv6 prefix will be added
    poolPrefixLength Double
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefix String
    Shows received IPv6 prefix from DHCPv6-PD server
    prefixAddressLists List<String>
    Names of the firewall address lists to which received prefix will be added.
    prefixHint String
    Include a preferred prefix length.
    rapidCommit Boolean
    Enable DHCP rapid commit (fast address assignment)
    requests List<String>
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    script String
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    status String
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    useInterfaceDuid Boolean
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    usePeerDns Boolean
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validateServerDuid Boolean
    Whether to validate the DUID of the IPv6 DHCP Server.
    ___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.
    addDefaultRoute boolean
    Whether to add default IPv6 route after a client connects.
    address string
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    allowReconfigure boolean
    Allow reconfigure messages.
    comment string
    defaultRouteDistance number
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcpOptions string[]
    Options that are sent to the DHCP server.
    dhcpServerV6 string
    The IPv6 address of the DHCP server
    disabled boolean
    duid string
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expiresAfter string
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway string
    The IP address of the gateway which is assigned by DHCP server.
    interface string
    Name of the interface.
    invalid boolean
    ipv6DhcpClientId string
    poolName string
    Name of the IPv6 pool in which received IPv6 prefix will be added
    poolPrefixLength number
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefix string
    Shows received IPv6 prefix from DHCPv6-PD server
    prefixAddressLists string[]
    Names of the firewall address lists to which received prefix will be added.
    prefixHint string
    Include a preferred prefix length.
    rapidCommit boolean
    Enable DHCP rapid commit (fast address assignment)
    requests string[]
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    script string
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    status string
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    useInterfaceDuid boolean
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    usePeerDns boolean
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validateServerDuid boolean
    Whether to validate the DUID of the IPv6 DHCP Server.
    ___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.
    add_default_route bool
    Whether to add default IPv6 route after a client connects.
    address str
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    allow_reconfigure bool
    Allow reconfigure messages.
    comment str
    default_route_distance float
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcp_options Sequence[str]
    Options that are sent to the DHCP server.
    dhcp_server_v6 str
    The IPv6 address of the DHCP server
    disabled bool
    duid str
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic bool
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expires_after str
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway str
    The IP address of the gateway which is assigned by DHCP server.
    interface str
    Name of the interface.
    invalid bool
    ipv6_dhcp_client_id str
    pool_name str
    Name of the IPv6 pool in which received IPv6 prefix will be added
    pool_prefix_length float
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefix str
    Shows received IPv6 prefix from DHCPv6-PD server
    prefix_address_lists Sequence[str]
    Names of the firewall address lists to which received prefix will be added.
    prefix_hint str
    Include a preferred prefix length.
    rapid_commit bool
    Enable DHCP rapid commit (fast address assignment)
    requests Sequence[str]
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    script str
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    status str
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    use_interface_duid bool
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    use_peer_dns bool
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validate_server_duid bool
    Whether to validate the DUID of the IPv6 DHCP Server.
    ___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.
    addDefaultRoute Boolean
    Whether to add default IPv6 route after a client connects.
    address String
    IPv6 address, which is assigned to DHCPv6 Client from the Server.
    allowReconfigure Boolean
    Allow reconfigure messages.
    comment String
    defaultRouteDistance Number
    Distance of default route. Applicable if add-default-route is set to yes.
    dhcpOptions List<String>
    Options that are sent to the DHCP server.
    dhcpServerV6 String
    The IPv6 address of the DHCP server
    disabled Boolean
    duid String
    Auto-generated DUID that is sent to the server. DUID is generated using one of the MAC addresses available on the router.
    dynamic Boolean
    Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
    expiresAfter String
    A time when the IPv6 prefix expires (specified by the DHCPv6 server).
    gateway String
    The IP address of the gateway which is assigned by DHCP server.
    interface String
    Name of the interface.
    invalid Boolean
    ipv6DhcpClientId String
    poolName String
    Name of the IPv6 pool in which received IPv6 prefix will be added
    poolPrefixLength Number
    Prefix length parameter that will be set for IPv6 pool in which received IPv6 prefix is added. Prefix length must be greater than the length of the received prefix, otherwise, prefix-length will be set to received prefix length + 8 bits.
    prefix String
    Shows received IPv6 prefix from DHCPv6-PD server
    prefixAddressLists List<String>
    Names of the firewall address lists to which received prefix will be added.
    prefixHint String
    Include a preferred prefix length.
    rapidCommit Boolean
    Enable DHCP rapid commit (fast address assignment)
    requests List<String>
    To choose if the DHCPv6 request will ask for the address, info or the IPv6 prefix.
    script String
    Run this script on the DHCP-client status change. Available variables: * pd-valid - if the prefix is acquired by the client; * pd-prefix - the prefix acquired by the client if any; * na-valid - if the address is acquired by the client; * na-address - the address acquired by the client if any. * options - array of received options (only ROSv7)
    status String
    Shows the status of DHCPv6 Client: * stopped - dhcpv6 client is stopped * searching - sending solicit and trying to get advertise Shows actual (resolved) gateway and interface that will be used for packet forwarding.requesting - sent request waiting for reply * bound - received reply. Prefix assigned. * renewing - sent renew, waiting for reply * rebinding - sent rebind, waiting for reply * error - reply was not received in time or some other error occurred. * stopping - sent release
    useInterfaceDuid Boolean
    Specifies the MAC address of the specified interface as the DHCPv6 client DUID.
    usePeerDns Boolean
    Whether to accept the DNS settings advertised by the IPv6 DHCP Server.
    validateServerDuid Boolean
    Whether to validate the DUID of the IPv6 DHCP Server.

    Import

    #The ID can be found via API or the terminal

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

    $ pulumi import routeros:index/ipv6DhcpClient:Ipv6DhcpClient inet_provider "*1"
    

    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.83.0 published on Wednesday, Apr 16, 2025 by terraform-routeros