routeros.IpDhcpClient
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as routeros from "@pulumi/routeros";
const client = new routeros.IpDhcpClient("client", {"interface": "bridge"});
import pulumi
import pulumi_routeros as routeros
client = routeros.IpDhcpClient("client", interface="bridge")
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.NewIpDhcpClient(ctx, "client", &routeros.IpDhcpClientArgs{
Interface: pulumi.String("bridge"),
})
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 client = new Routeros.IpDhcpClient("client", new()
{
Interface = "bridge",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.routeros.IpDhcpClient;
import com.pulumi.routeros.IpDhcpClientArgs;
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 client = new IpDhcpClient("client", IpDhcpClientArgs.builder()
.interface_("bridge")
.build());
}
}
resources:
client:
type: routeros:IpDhcpClient
properties:
interface: bridge
Create IpDhcpClient Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpDhcpClient(name: string, args: IpDhcpClientArgs, opts?: CustomResourceOptions);
@overload
def IpDhcpClient(resource_name: str,
args: IpDhcpClientArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IpDhcpClient(resource_name: str,
opts: Optional[ResourceOptions] = None,
interface: Optional[str] = None,
dhcp_options: Optional[str] = None,
add_default_route: Optional[str] = None,
comment: Optional[str] = None,
default_route_distance: Optional[float] = None,
default_route_tables: Optional[str] = None,
___id_: Optional[float] = None,
disabled: Optional[bool] = None,
___path_: Optional[str] = None,
ip_dhcp_client_id: Optional[str] = None,
script: Optional[str] = None,
use_peer_dns: Optional[bool] = None,
use_peer_ntp: Optional[bool] = None)
func NewIpDhcpClient(ctx *Context, name string, args IpDhcpClientArgs, opts ...ResourceOption) (*IpDhcpClient, error)
public IpDhcpClient(string name, IpDhcpClientArgs args, CustomResourceOptions? opts = null)
public IpDhcpClient(String name, IpDhcpClientArgs args)
public IpDhcpClient(String name, IpDhcpClientArgs args, CustomResourceOptions options)
type: routeros:IpDhcpClient
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 IpDhcpClientArgs
- 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 IpDhcpClientArgs
- 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 IpDhcpClientArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpDhcpClientArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpDhcpClientArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
IpDhcpClient 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 IpDhcpClient resource accepts the following input properties:
- Interface string
- Name of the interface.
- Add
Default stringRoute - Whether to install default route in routing table received from DHCP server.
- Comment string
- Default
Route doubleDistance - Distance of default route. Applicable if add-default-route is set to yes.
- Default
Route stringTables - Default route tables.
- Dhcp
Options string - Options that are sent to the DHCP server.
- Disabled bool
- Ip
Dhcp stringClient Id - The ID of this resource.
- Script string
- A script.
- Use
Peer boolDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- Use
Peer boolNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- ___
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.
- Add
Default stringRoute - Whether to install default route in routing table received from DHCP server.
- Comment string
- Default
Route float64Distance - Distance of default route. Applicable if add-default-route is set to yes.
- Default
Route stringTables - Default route tables.
- Dhcp
Options string - Options that are sent to the DHCP server.
- Disabled bool
- Ip
Dhcp stringClient Id - The ID of this resource.
- Script string
- A script.
- Use
Peer boolDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- Use
Peer boolNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- ___
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.
- add
Default StringRoute - Whether to install default route in routing table received from DHCP server.
- comment String
- default
Route DoubleDistance - Distance of default route. Applicable if add-default-route is set to yes.
- default
Route StringTables - Default route tables.
- dhcp
Options String - Options that are sent to the DHCP server.
- disabled Boolean
- ip
Dhcp StringClient Id - The ID of this resource.
- script String
- A script.
- use
Peer BooleanDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use
Peer BooleanNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- 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.
- add
Default stringRoute - Whether to install default route in routing table received from DHCP server.
- comment string
- default
Route numberDistance - Distance of default route. Applicable if add-default-route is set to yes.
- default
Route stringTables - Default route tables.
- dhcp
Options string - Options that are sent to the DHCP server.
- disabled boolean
- ip
Dhcp stringClient Id - The ID of this resource.
- script string
- A script.
- use
Peer booleanDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use
Peer booleanNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- 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.
- add_
default_ strroute - Whether to install default route in routing table received from DHCP server.
- comment str
- default_
route_ floatdistance - Distance of default route. Applicable if add-default-route is set to yes.
- default_
route_ strtables - Default route tables.
- dhcp_
options str - Options that are sent to the DHCP server.
- disabled bool
- ip_
dhcp_ strclient_ id - The ID of this resource.
- script str
- A script.
- use_
peer_ booldns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use_
peer_ boolntp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- 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.
- add
Default StringRoute - Whether to install default route in routing table received from DHCP server.
- comment String
- default
Route NumberDistance - Distance of default route. Applicable if add-default-route is set to yes.
- default
Route StringTables - Default route tables.
- dhcp
Options String - Options that are sent to the DHCP server.
- disabled Boolean
- ip
Dhcp StringClient Id - The ID of this resource.
- script String
- A script.
- use
Peer BooleanDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use
Peer BooleanNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
Outputs
All input properties are implicitly available as output properties. Additionally, the IpDhcpClient resource produces the following output properties:
- Address string
- IP address and netmask, which is assigned to DHCP Client from the Server.
- Dhcp
Server string - The IP address of the DHCP server.
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Expires
After string - A time when the lease expires (specified by the DHCP 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
- Primary
Dns string - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- Primary
Ntp string - The IP address of the primary NTP server, assigned by the DHCP server.
- Secondary
Dns string - The IP address of the second DNS resolver, assigned by the DHCP server.
- Secondary
Ntp string - The IP address of the secondary NTP server, assigned by the DHCP server.
- Status string
- Address string
- IP address and netmask, which is assigned to DHCP Client from the Server.
- Dhcp
Server string - The IP address of the DHCP server.
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Expires
After string - A time when the lease expires (specified by the DHCP 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
- Primary
Dns string - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- Primary
Ntp string - The IP address of the primary NTP server, assigned by the DHCP server.
- Secondary
Dns string - The IP address of the second DNS resolver, assigned by the DHCP server.
- Secondary
Ntp string - The IP address of the secondary NTP server, assigned by the DHCP server.
- Status string
- address String
- IP address and netmask, which is assigned to DHCP Client from the Server.
- dhcp
Server String - The IP address of the DHCP server.
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- expires
After String - A time when the lease expires (specified by the DHCP 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
- primary
Dns String - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary
Ntp String - The IP address of the primary NTP server, assigned by the DHCP server.
- secondary
Dns String - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary
Ntp String - The IP address of the secondary NTP server, assigned by the DHCP server.
- status String
- address string
- IP address and netmask, which is assigned to DHCP Client from the Server.
- dhcp
Server string - The IP address of the DHCP server.
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- expires
After string - A time when the lease expires (specified by the DHCP 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
- primary
Dns string - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary
Ntp string - The IP address of the primary NTP server, assigned by the DHCP server.
- secondary
Dns string - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary
Ntp string - The IP address of the secondary NTP server, assigned by the DHCP server.
- status string
- address str
- IP address and netmask, which is assigned to DHCP Client from the Server.
- dhcp_
server str - The IP address of the DHCP server.
- 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 lease expires (specified by the DHCP 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
- primary_
dns str - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary_
ntp str - The IP address of the primary NTP server, assigned by the DHCP server.
- secondary_
dns str - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary_
ntp str - The IP address of the secondary NTP server, assigned by the DHCP server.
- status str
- address String
- IP address and netmask, which is assigned to DHCP Client from the Server.
- dhcp
Server String - The IP address of the DHCP server.
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- expires
After String - A time when the lease expires (specified by the DHCP 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
- primary
Dns String - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary
Ntp String - The IP address of the primary NTP server, assigned by the DHCP server.
- secondary
Dns String - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary
Ntp String - The IP address of the secondary NTP server, assigned by the DHCP server.
- status String
Look up Existing IpDhcpClient Resource
Get an existing IpDhcpClient 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?: IpDhcpClientState, opts?: CustomResourceOptions): IpDhcpClient
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
add_default_route: Optional[str] = None,
address: Optional[str] = None,
comment: Optional[str] = None,
default_route_distance: Optional[float] = None,
default_route_tables: Optional[str] = None,
dhcp_options: Optional[str] = None,
dhcp_server: Optional[str] = None,
disabled: Optional[bool] = None,
dynamic: Optional[bool] = None,
expires_after: Optional[str] = None,
gateway: Optional[str] = None,
interface: Optional[str] = None,
invalid: Optional[bool] = None,
ip_dhcp_client_id: Optional[str] = None,
primary_dns: Optional[str] = None,
primary_ntp: Optional[str] = None,
script: Optional[str] = None,
secondary_dns: Optional[str] = None,
secondary_ntp: Optional[str] = None,
status: Optional[str] = None,
use_peer_dns: Optional[bool] = None,
use_peer_ntp: Optional[bool] = None) -> IpDhcpClient
func GetIpDhcpClient(ctx *Context, name string, id IDInput, state *IpDhcpClientState, opts ...ResourceOption) (*IpDhcpClient, error)
public static IpDhcpClient Get(string name, Input<string> id, IpDhcpClientState? state, CustomResourceOptions? opts = null)
public static IpDhcpClient get(String name, Output<String> id, IpDhcpClientState state, CustomResourceOptions options)
resources: _: type: routeros:IpDhcpClient 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.
- Add
Default stringRoute - Whether to install default route in routing table received from DHCP server.
- Address string
- IP address and netmask, which is assigned to DHCP Client from the Server.
- Comment string
- Default
Route doubleDistance - Distance of default route. Applicable if add-default-route is set to yes.
- Default
Route stringTables - Default route tables.
- Dhcp
Options string - Options that are sent to the DHCP server.
- Dhcp
Server string - The IP address of the DHCP server.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Expires
After string - A time when the lease expires (specified by the DHCP server).
- Gateway string
- The IP address of the gateway which is assigned by DHCP server.
- Interface string
- Name of the interface.
- Invalid bool
- Ip
Dhcp stringClient Id - The ID of this resource.
- Primary
Dns string - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- Primary
Ntp string - The IP address of the primary NTP server, assigned by the DHCP server.
- Script string
- A script.
- Secondary
Dns string - The IP address of the second DNS resolver, assigned by the DHCP server.
- Secondary
Ntp string - The IP address of the secondary NTP server, assigned by the DHCP server.
- Status string
- Use
Peer boolDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- Use
Peer boolNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- ___
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.
- Add
Default stringRoute - Whether to install default route in routing table received from DHCP server.
- Address string
- IP address and netmask, which is assigned to DHCP Client from the Server.
- Comment string
- Default
Route float64Distance - Distance of default route. Applicable if add-default-route is set to yes.
- Default
Route stringTables - Default route tables.
- Dhcp
Options string - Options that are sent to the DHCP server.
- Dhcp
Server string - The IP address of the DHCP server.
- Disabled bool
- Dynamic bool
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- Expires
After string - A time when the lease expires (specified by the DHCP server).
- Gateway string
- The IP address of the gateway which is assigned by DHCP server.
- Interface string
- Name of the interface.
- Invalid bool
- Ip
Dhcp stringClient Id - The ID of this resource.
- Primary
Dns string - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- Primary
Ntp string - The IP address of the primary NTP server, assigned by the DHCP server.
- Script string
- A script.
- Secondary
Dns string - The IP address of the second DNS resolver, assigned by the DHCP server.
- Secondary
Ntp string - The IP address of the secondary NTP server, assigned by the DHCP server.
- Status string
- Use
Peer boolDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- Use
Peer boolNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- ___
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.
- add
Default StringRoute - Whether to install default route in routing table received from DHCP server.
- address String
- IP address and netmask, which is assigned to DHCP Client from the Server.
- comment String
- default
Route DoubleDistance - Distance of default route. Applicable if add-default-route is set to yes.
- default
Route StringTables - Default route tables.
- dhcp
Options String - Options that are sent to the DHCP server.
- dhcp
Server String - The IP address of the DHCP server.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- expires
After String - A time when the lease expires (specified by the DHCP server).
- gateway String
- The IP address of the gateway which is assigned by DHCP server.
- interface_ String
- Name of the interface.
- invalid Boolean
- ip
Dhcp StringClient Id - The ID of this resource.
- primary
Dns String - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary
Ntp String - The IP address of the primary NTP server, assigned by the DHCP server.
- script String
- A script.
- secondary
Dns String - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary
Ntp String - The IP address of the secondary NTP server, assigned by the DHCP server.
- status String
- use
Peer BooleanDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use
Peer BooleanNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- ___
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.
- add
Default stringRoute - Whether to install default route in routing table received from DHCP server.
- address string
- IP address and netmask, which is assigned to DHCP Client from the Server.
- comment string
- default
Route numberDistance - Distance of default route. Applicable if add-default-route is set to yes.
- default
Route stringTables - Default route tables.
- dhcp
Options string - Options that are sent to the DHCP server.
- dhcp
Server string - The IP address of the DHCP server.
- disabled boolean
- dynamic boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- expires
After string - A time when the lease expires (specified by the DHCP server).
- gateway string
- The IP address of the gateway which is assigned by DHCP server.
- interface string
- Name of the interface.
- invalid boolean
- ip
Dhcp stringClient Id - The ID of this resource.
- primary
Dns string - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary
Ntp string - The IP address of the primary NTP server, assigned by the DHCP server.
- script string
- A script.
- secondary
Dns string - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary
Ntp string - The IP address of the secondary NTP server, assigned by the DHCP server.
- status string
- use
Peer booleanDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use
Peer booleanNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- ___
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_ strroute - Whether to install default route in routing table received from DHCP server.
- address str
- IP address and netmask, which is assigned to DHCP Client from the Server.
- comment str
- default_
route_ floatdistance - Distance of default route. Applicable if add-default-route is set to yes.
- default_
route_ strtables - Default route tables.
- dhcp_
options str - Options that are sent to the DHCP server.
- dhcp_
server str - The IP address of the DHCP server.
- disabled bool
- 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 lease expires (specified by the DHCP server).
- gateway str
- The IP address of the gateway which is assigned by DHCP server.
- interface str
- Name of the interface.
- invalid bool
- ip_
dhcp_ strclient_ id - The ID of this resource.
- primary_
dns str - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary_
ntp str - The IP address of the primary NTP server, assigned by the DHCP server.
- script str
- A script.
- secondary_
dns str - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary_
ntp str - The IP address of the secondary NTP server, assigned by the DHCP server.
- status str
- use_
peer_ booldns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use_
peer_ boolntp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
- ___
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.
- add
Default StringRoute - Whether to install default route in routing table received from DHCP server.
- address String
- IP address and netmask, which is assigned to DHCP Client from the Server.
- comment String
- default
Route NumberDistance - Distance of default route. Applicable if add-default-route is set to yes.
- default
Route StringTables - Default route tables.
- dhcp
Options String - Options that are sent to the DHCP server.
- dhcp
Server String - The IP address of the DHCP server.
- disabled Boolean
- dynamic Boolean
- Configuration item created by software, not by management interface. It is not exported, and cannot be directly modified.
- expires
After String - A time when the lease expires (specified by the DHCP server).
- gateway String
- The IP address of the gateway which is assigned by DHCP server.
- interface String
- Name of the interface.
- invalid Boolean
- ip
Dhcp StringClient Id - The ID of this resource.
- primary
Dns String - The IP address of the first DNS resolver, that was assigned by the DHCP server.
- primary
Ntp String - The IP address of the primary NTP server, assigned by the DHCP server.
- script String
- A script.
- secondary
Dns String - The IP address of the second DNS resolver, assigned by the DHCP server.
- secondary
Ntp String - The IP address of the secondary NTP server, assigned by the DHCP server.
- status String
- use
Peer BooleanDns - Whether to accept the DNS settings advertised by DHCP Server (will override the settings put in the /ip dns submenu).
- use
Peer BooleanNtp - Whether to accept the NTP settings advertised by DHCP Server (will override the settings put in the /system ntp client submenu).
Import
#The ID can be found via API or the terminal
#The command for the terminal is -> :put [/ip/dhcp-client get [print show-ids]]
$ pulumi import routeros:index/ipDhcpClient:IpDhcpClient client "*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.