routeros.DhcpServerLease
Explore with Pulumi AI
# routeros.DhcpServerLease (Resource)
This is an alias for backwards compatibility between plugin versions.
Please see documentation for routeros.IpDhcpServerLease
Create DhcpServerLease Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DhcpServerLease(name: string, args: DhcpServerLeaseArgs, opts?: CustomResourceOptions);
@overload
def DhcpServerLease(resource_name: str,
args: DhcpServerLeaseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DhcpServerLease(resource_name: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
mac_address: Optional[str] = None,
comment: Optional[str] = None,
dhcp_server_lease_id: Optional[str] = None,
allow_dual_stack_queue: Optional[bool] = None,
always_broadcast: Optional[bool] = None,
block_access: Optional[bool] = None,
client_id: Optional[str] = None,
___id_: Optional[float] = None,
dhcp_option: Optional[str] = None,
dhcp_option_set: Optional[str] = None,
address_lists: Optional[str] = None,
disabled: Optional[bool] = None,
insert_queue_before: Optional[str] = None,
lease_time: Optional[str] = None,
___path_: Optional[str] = None,
rate_limit: Optional[str] = None,
server: Optional[str] = None,
use_src_mac: Optional[bool] = None)
func NewDhcpServerLease(ctx *Context, name string, args DhcpServerLeaseArgs, opts ...ResourceOption) (*DhcpServerLease, error)
public DhcpServerLease(string name, DhcpServerLeaseArgs args, CustomResourceOptions? opts = null)
public DhcpServerLease(String name, DhcpServerLeaseArgs args)
public DhcpServerLease(String name, DhcpServerLeaseArgs args, CustomResourceOptions options)
type: routeros:DhcpServerLease
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 DhcpServerLeaseArgs
- 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 DhcpServerLeaseArgs
- 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 DhcpServerLeaseArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DhcpServerLeaseArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DhcpServerLeaseArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DhcpServerLease 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 DhcpServerLease resource accepts the following input properties:
- Address string
- The IP address of the DHCP lease to be created.
- Mac
Address string - The MAC addreess of the DHCP lease to be created.
- Address
Lists string - Address list to which address will be added if lease is bound.
- Allow
Dual boolStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- Always
Broadcast bool - Send all replies as broadcasts.
- Block
Access bool - Whether to block access for this DHCP client (true|false).
- Client
Id string - If specified, must match DHCP 'client identifier' option of the request.
- Comment string
- Dhcp
Option string - Add additional DHCP options.
- Dhcp
Option stringSet - Add additional set of DHCP options.
- Dhcp
Server stringLease Id - Disabled bool
- Insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- Lease
Time string - Time that the client may use the address. If set to 0s lease will never expire.
- Rate
Limit string - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- Server string
- Server name which serves this client.
- Use
Src boolMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- ___
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
- The IP address of the DHCP lease to be created.
- Mac
Address string - The MAC addreess of the DHCP lease to be created.
- Address
Lists string - Address list to which address will be added if lease is bound.
- Allow
Dual boolStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- Always
Broadcast bool - Send all replies as broadcasts.
- Block
Access bool - Whether to block access for this DHCP client (true|false).
- Client
Id string - If specified, must match DHCP 'client identifier' option of the request.
- Comment string
- Dhcp
Option string - Add additional DHCP options.
- Dhcp
Option stringSet - Add additional set of DHCP options.
- Dhcp
Server stringLease Id - Disabled bool
- Insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- Lease
Time string - Time that the client may use the address. If set to 0s lease will never expire.
- Rate
Limit string - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- Server string
- Server name which serves this client.
- Use
Src boolMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- ___
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.
- address String
- The IP address of the DHCP lease to be created.
- mac
Address String - The MAC addreess of the DHCP lease to be created.
- ___
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
Lists String - Address list to which address will be added if lease is bound.
- allow
Dual BooleanStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always
Broadcast Boolean - Send all replies as broadcasts.
- block
Access Boolean - Whether to block access for this DHCP client (true|false).
- client
Id String - If specified, must match DHCP 'client identifier' option of the request.
- comment String
- dhcp
Option String - Add additional DHCP options.
- dhcp
Option StringSet - Add additional set of DHCP options.
- dhcp
Server StringLease Id - disabled Boolean
- insert
Queue StringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- lease
Time String - Time that the client may use the address. If set to 0s lease will never expire.
- rate
Limit String - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server String
- Server name which serves this client.
- use
Src BooleanMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- address string
- The IP address of the DHCP lease to be created.
- mac
Address string - The MAC addreess of the DHCP lease to be created.
- ___
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
Lists string - Address list to which address will be added if lease is bound.
- allow
Dual booleanStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always
Broadcast boolean - Send all replies as broadcasts.
- block
Access boolean - Whether to block access for this DHCP client (true|false).
- client
Id string - If specified, must match DHCP 'client identifier' option of the request.
- comment string
- dhcp
Option string - Add additional DHCP options.
- dhcp
Option stringSet - Add additional set of DHCP options.
- dhcp
Server stringLease Id - disabled boolean
- insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- lease
Time string - Time that the client may use the address. If set to 0s lease will never expire.
- rate
Limit string - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server string
- Server name which serves this client.
- use
Src booleanMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- address str
- The IP address of the DHCP lease to be created.
- mac_
address str - The MAC addreess of the DHCP lease to be created.
- ___
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_
lists str - Address list to which address will be added if lease is bound.
- allow_
dual_ boolstack_ queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always_
broadcast bool - Send all replies as broadcasts.
- block_
access bool - Whether to block access for this DHCP client (true|false).
- client_
id str - If specified, must match DHCP 'client identifier' option of the request.
- comment str
- dhcp_
option str - Add additional DHCP options.
- dhcp_
option_ strset - Add additional set of DHCP options.
- dhcp_
server_ strlease_ id - disabled bool
- insert_
queue_ strbefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- lease_
time str - Time that the client may use the address. If set to 0s lease will never expire.
- rate_
limit str - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server str
- Server name which serves this client.
- use_
src_ boolmac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- address String
- The IP address of the DHCP lease to be created.
- mac
Address String - The MAC addreess of the DHCP lease to be created.
- ___
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
Lists String - Address list to which address will be added if lease is bound.
- allow
Dual BooleanStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always
Broadcast Boolean - Send all replies as broadcasts.
- block
Access Boolean - Whether to block access for this DHCP client (true|false).
- client
Id String - If specified, must match DHCP 'client identifier' option of the request.
- comment String
- dhcp
Option String - Add additional DHCP options.
- dhcp
Option StringSet - Add additional set of DHCP options.
- dhcp
Server StringLease Id - disabled Boolean
- insert
Queue StringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- lease
Time String - Time that the client may use the address. If set to 0s lease will never expire.
- rate
Limit String - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server String
- Server name which serves this client.
- use
Src BooleanMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
Outputs
All input properties are implicitly available as output properties. Additionally, the DhcpServerLease resource produces the following output properties:
- Active
Address string - The IP address of the machine currently holding the DHCP lease.
- Active
Client stringId - Actual client-id of the client.
- Active
Hostname string - The hostname of the machine currently holding the DHCP lease.
- Active
Mac stringAddress - The MAC address of of the machine currently holding the DHCP lease.
- Active
Server string - Actual dhcp server, which serves this client.
- Agent
Circuit stringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- Agent
Remote stringId - Remote ID, set by DHCP relay agent.
- Blocked bool
- Whether the lease is blocked.
- Class
Id string - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- Dynamic bool
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- Expires
After string - Time until lease expires.
- Host
Name string - The hostname of the device
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Seen string - Radius string
- Shows if this dynamic lease is authenticated by RADIUS or not.
- Src
Mac stringAddress - Source MAC address.
- Status string
- Lease status.
- Active
Address string - The IP address of the machine currently holding the DHCP lease.
- Active
Client stringId - Actual client-id of the client.
- Active
Hostname string - The hostname of the machine currently holding the DHCP lease.
- Active
Mac stringAddress - The MAC address of of the machine currently holding the DHCP lease.
- Active
Server string - Actual dhcp server, which serves this client.
- Agent
Circuit stringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- Agent
Remote stringId - Remote ID, set by DHCP relay agent.
- Blocked bool
- Whether the lease is blocked.
- Class
Id string - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- Dynamic bool
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- Expires
After string - Time until lease expires.
- Host
Name string - The hostname of the device
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Seen string - Radius string
- Shows if this dynamic lease is authenticated by RADIUS or not.
- Src
Mac stringAddress - Source MAC address.
- Status string
- Lease status.
- active
Address String - The IP address of the machine currently holding the DHCP lease.
- active
Client StringId - Actual client-id of the client.
- active
Hostname String - The hostname of the machine currently holding the DHCP lease.
- active
Mac StringAddress - The MAC address of of the machine currently holding the DHCP lease.
- active
Server String - Actual dhcp server, which serves this client.
- agent
Circuit StringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent
Remote StringId - Remote ID, set by DHCP relay agent.
- blocked Boolean
- Whether the lease is blocked.
- class
Id String - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- dynamic Boolean
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires
After String - Time until lease expires.
- host
Name String - The hostname of the device
- id String
- The provider-assigned unique ID for this managed resource.
- last
Seen String - radius String
- Shows if this dynamic lease is authenticated by RADIUS or not.
- src
Mac StringAddress - Source MAC address.
- status String
- Lease status.
- active
Address string - The IP address of the machine currently holding the DHCP lease.
- active
Client stringId - Actual client-id of the client.
- active
Hostname string - The hostname of the machine currently holding the DHCP lease.
- active
Mac stringAddress - The MAC address of of the machine currently holding the DHCP lease.
- active
Server string - Actual dhcp server, which serves this client.
- agent
Circuit stringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent
Remote stringId - Remote ID, set by DHCP relay agent.
- blocked boolean
- Whether the lease is blocked.
- class
Id string - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- dynamic boolean
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires
After string - Time until lease expires.
- host
Name string - The hostname of the device
- id string
- The provider-assigned unique ID for this managed resource.
- last
Seen string - radius string
- Shows if this dynamic lease is authenticated by RADIUS or not.
- src
Mac stringAddress - Source MAC address.
- status string
- Lease status.
- active_
address str - The IP address of the machine currently holding the DHCP lease.
- active_
client_ strid - Actual client-id of the client.
- active_
hostname str - The hostname of the machine currently holding the DHCP lease.
- active_
mac_ straddress - The MAC address of of the machine currently holding the DHCP lease.
- active_
server str - Actual dhcp server, which serves this client.
- agent_
circuit_ strid - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent_
remote_ strid - Remote ID, set by DHCP relay agent.
- blocked bool
- Whether the lease is blocked.
- class_
id str - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- dynamic bool
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires_
after str - Time until lease expires.
- host_
name str - The hostname of the device
- id str
- The provider-assigned unique ID for this managed resource.
- last_
seen str - radius str
- Shows if this dynamic lease is authenticated by RADIUS or not.
- src_
mac_ straddress - Source MAC address.
- status str
- Lease status.
- active
Address String - The IP address of the machine currently holding the DHCP lease.
- active
Client StringId - Actual client-id of the client.
- active
Hostname String - The hostname of the machine currently holding the DHCP lease.
- active
Mac StringAddress - The MAC address of of the machine currently holding the DHCP lease.
- active
Server String - Actual dhcp server, which serves this client.
- agent
Circuit StringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent
Remote StringId - Remote ID, set by DHCP relay agent.
- blocked Boolean
- Whether the lease is blocked.
- class
Id String - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- dynamic Boolean
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires
After String - Time until lease expires.
- host
Name String - The hostname of the device
- id String
- The provider-assigned unique ID for this managed resource.
- last
Seen String - radius String
- Shows if this dynamic lease is authenticated by RADIUS or not.
- src
Mac StringAddress - Source MAC address.
- status String
- Lease status.
Look up Existing DhcpServerLease Resource
Get an existing DhcpServerLease 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?: DhcpServerLeaseState, opts?: CustomResourceOptions): DhcpServerLease
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
___id_: Optional[float] = None,
___path_: Optional[str] = None,
active_address: Optional[str] = None,
active_client_id: Optional[str] = None,
active_hostname: Optional[str] = None,
active_mac_address: Optional[str] = None,
active_server: Optional[str] = None,
address: Optional[str] = None,
address_lists: Optional[str] = None,
agent_circuit_id: Optional[str] = None,
agent_remote_id: Optional[str] = None,
allow_dual_stack_queue: Optional[bool] = None,
always_broadcast: Optional[bool] = None,
block_access: Optional[bool] = None,
blocked: Optional[bool] = None,
class_id: Optional[str] = None,
client_id: Optional[str] = None,
comment: Optional[str] = None,
dhcp_option: Optional[str] = None,
dhcp_option_set: Optional[str] = None,
dhcp_server_lease_id: Optional[str] = None,
disabled: Optional[bool] = None,
dynamic: Optional[bool] = None,
expires_after: Optional[str] = None,
host_name: Optional[str] = None,
insert_queue_before: Optional[str] = None,
last_seen: Optional[str] = None,
lease_time: Optional[str] = None,
mac_address: Optional[str] = None,
radius: Optional[str] = None,
rate_limit: Optional[str] = None,
server: Optional[str] = None,
src_mac_address: Optional[str] = None,
status: Optional[str] = None,
use_src_mac: Optional[bool] = None) -> DhcpServerLease
func GetDhcpServerLease(ctx *Context, name string, id IDInput, state *DhcpServerLeaseState, opts ...ResourceOption) (*DhcpServerLease, error)
public static DhcpServerLease Get(string name, Input<string> id, DhcpServerLeaseState? state, CustomResourceOptions? opts = null)
public static DhcpServerLease get(String name, Output<String> id, DhcpServerLeaseState state, CustomResourceOptions options)
resources: _: type: routeros:DhcpServerLease 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.
- Active
Address string - The IP address of the machine currently holding the DHCP lease.
- Active
Client stringId - Actual client-id of the client.
- Active
Hostname string - The hostname of the machine currently holding the DHCP lease.
- Active
Mac stringAddress - The MAC address of of the machine currently holding the DHCP lease.
- Active
Server string - Actual dhcp server, which serves this client.
- Address string
- The IP address of the DHCP lease to be created.
- Address
Lists string - Address list to which address will be added if lease is bound.
- Agent
Circuit stringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- Agent
Remote stringId - Remote ID, set by DHCP relay agent.
- Allow
Dual boolStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- Always
Broadcast bool - Send all replies as broadcasts.
- Block
Access bool - Whether to block access for this DHCP client (true|false).
- Blocked bool
- Whether the lease is blocked.
- Class
Id string - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- Client
Id string - If specified, must match DHCP 'client identifier' option of the request.
- Comment string
- Dhcp
Option string - Add additional DHCP options.
- Dhcp
Option stringSet - Add additional set of DHCP options.
- Dhcp
Server stringLease Id - Disabled bool
- Dynamic bool
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- Expires
After string - Time until lease expires.
- Host
Name string - The hostname of the device
- Insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- Last
Seen string - Lease
Time string - Time that the client may use the address. If set to 0s lease will never expire.
- Mac
Address string - The MAC addreess of the DHCP lease to be created.
- Radius string
- Shows if this dynamic lease is authenticated by RADIUS or not.
- Rate
Limit string - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- Server string
- Server name which serves this client.
- Src
Mac stringAddress - Source MAC address.
- Status string
- Lease status.
- Use
Src boolMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- ___
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.
- Active
Address string - The IP address of the machine currently holding the DHCP lease.
- Active
Client stringId - Actual client-id of the client.
- Active
Hostname string - The hostname of the machine currently holding the DHCP lease.
- Active
Mac stringAddress - The MAC address of of the machine currently holding the DHCP lease.
- Active
Server string - Actual dhcp server, which serves this client.
- Address string
- The IP address of the DHCP lease to be created.
- Address
Lists string - Address list to which address will be added if lease is bound.
- Agent
Circuit stringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- Agent
Remote stringId - Remote ID, set by DHCP relay agent.
- Allow
Dual boolStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- Always
Broadcast bool - Send all replies as broadcasts.
- Block
Access bool - Whether to block access for this DHCP client (true|false).
- Blocked bool
- Whether the lease is blocked.
- Class
Id string - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- Client
Id string - If specified, must match DHCP 'client identifier' option of the request.
- Comment string
- Dhcp
Option string - Add additional DHCP options.
- Dhcp
Option stringSet - Add additional set of DHCP options.
- Dhcp
Server stringLease Id - Disabled bool
- Dynamic bool
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- Expires
After string - Time until lease expires.
- Host
Name string - The hostname of the device
- Insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- Last
Seen string - Lease
Time string - Time that the client may use the address. If set to 0s lease will never expire.
- Mac
Address string - The MAC addreess of the DHCP lease to be created.
- Radius string
- Shows if this dynamic lease is authenticated by RADIUS or not.
- Rate
Limit string - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- Server string
- Server name which serves this client.
- Src
Mac stringAddress - Source MAC address.
- Status string
- Lease status.
- Use
Src boolMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- ___
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.
- active
Address String - The IP address of the machine currently holding the DHCP lease.
- active
Client StringId - Actual client-id of the client.
- active
Hostname String - The hostname of the machine currently holding the DHCP lease.
- active
Mac StringAddress - The MAC address of of the machine currently holding the DHCP lease.
- active
Server String - Actual dhcp server, which serves this client.
- address String
- The IP address of the DHCP lease to be created.
- address
Lists String - Address list to which address will be added if lease is bound.
- agent
Circuit StringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent
Remote StringId - Remote ID, set by DHCP relay agent.
- allow
Dual BooleanStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always
Broadcast Boolean - Send all replies as broadcasts.
- block
Access Boolean - Whether to block access for this DHCP client (true|false).
- blocked Boolean
- Whether the lease is blocked.
- class
Id String - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- client
Id String - If specified, must match DHCP 'client identifier' option of the request.
- comment String
- dhcp
Option String - Add additional DHCP options.
- dhcp
Option StringSet - Add additional set of DHCP options.
- dhcp
Server StringLease Id - disabled Boolean
- dynamic Boolean
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires
After String - Time until lease expires.
- host
Name String - The hostname of the device
- insert
Queue StringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- last
Seen String - lease
Time String - Time that the client may use the address. If set to 0s lease will never expire.
- mac
Address String - The MAC addreess of the DHCP lease to be created.
- radius String
- Shows if this dynamic lease is authenticated by RADIUS or not.
- rate
Limit String - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server String
- Server name which serves this client.
- src
Mac StringAddress - Source MAC address.
- status String
- Lease status.
- use
Src BooleanMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- ___
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.
- active
Address string - The IP address of the machine currently holding the DHCP lease.
- active
Client stringId - Actual client-id of the client.
- active
Hostname string - The hostname of the machine currently holding the DHCP lease.
- active
Mac stringAddress - The MAC address of of the machine currently holding the DHCP lease.
- active
Server string - Actual dhcp server, which serves this client.
- address string
- The IP address of the DHCP lease to be created.
- address
Lists string - Address list to which address will be added if lease is bound.
- agent
Circuit stringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent
Remote stringId - Remote ID, set by DHCP relay agent.
- allow
Dual booleanStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always
Broadcast boolean - Send all replies as broadcasts.
- block
Access boolean - Whether to block access for this DHCP client (true|false).
- blocked boolean
- Whether the lease is blocked.
- class
Id string - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- client
Id string - If specified, must match DHCP 'client identifier' option of the request.
- comment string
- dhcp
Option string - Add additional DHCP options.
- dhcp
Option stringSet - Add additional set of DHCP options.
- dhcp
Server stringLease Id - disabled boolean
- dynamic boolean
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires
After string - Time until lease expires.
- host
Name string - The hostname of the device
- insert
Queue stringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- last
Seen string - lease
Time string - Time that the client may use the address. If set to 0s lease will never expire.
- mac
Address string - The MAC addreess of the DHCP lease to be created.
- radius string
- Shows if this dynamic lease is authenticated by RADIUS or not.
- rate
Limit string - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server string
- Server name which serves this client.
- src
Mac stringAddress - Source MAC address.
- status string
- Lease status.
- use
Src booleanMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- ___
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.
- active_
address str - The IP address of the machine currently holding the DHCP lease.
- active_
client_ strid - Actual client-id of the client.
- active_
hostname str - The hostname of the machine currently holding the DHCP lease.
- active_
mac_ straddress - The MAC address of of the machine currently holding the DHCP lease.
- active_
server str - Actual dhcp server, which serves this client.
- address str
- The IP address of the DHCP lease to be created.
- address_
lists str - Address list to which address will be added if lease is bound.
- agent_
circuit_ strid - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent_
remote_ strid - Remote ID, set by DHCP relay agent.
- allow_
dual_ boolstack_ queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always_
broadcast bool - Send all replies as broadcasts.
- block_
access bool - Whether to block access for this DHCP client (true|false).
- blocked bool
- Whether the lease is blocked.
- class_
id str - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- client_
id str - If specified, must match DHCP 'client identifier' option of the request.
- comment str
- dhcp_
option str - Add additional DHCP options.
- dhcp_
option_ strset - Add additional set of DHCP options.
- dhcp_
server_ strlease_ id - disabled bool
- dynamic bool
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires_
after str - Time until lease expires.
- host_
name str - The hostname of the device
- insert_
queue_ strbefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- last_
seen str - lease_
time str - Time that the client may use the address. If set to 0s lease will never expire.
- mac_
address str - The MAC addreess of the DHCP lease to be created.
- radius str
- Shows if this dynamic lease is authenticated by RADIUS or not.
- rate_
limit str - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server str
- Server name which serves this client.
- src_
mac_ straddress - Source MAC address.
- status str
- Lease status.
- use_
src_ boolmac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
- ___
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.
- active
Address String - The IP address of the machine currently holding the DHCP lease.
- active
Client StringId - Actual client-id of the client.
- active
Hostname String - The hostname of the machine currently holding the DHCP lease.
- active
Mac StringAddress - The MAC address of of the machine currently holding the DHCP lease.
- active
Server String - Actual dhcp server, which serves this client.
- address String
- The IP address of the DHCP lease to be created.
- address
Lists String - Address list to which address will be added if lease is bound.
- agent
Circuit StringId - Circuit ID of DHCP relay agent. If each character should be valid ASCII text symbol or else this value is displayed as hex dump.
- agent
Remote StringId - Remote ID, set by DHCP relay agent.
- allow
Dual BooleanStack Queue - Creates a single simple queue entry for both IPv4 and IPv6 addresses, uses the MAC address and DUID for identification.
- always
Broadcast Boolean - Send all replies as broadcasts.
- block
Access Boolean - Whether to block access for this DHCP client (true|false).
- blocked Boolean
- Whether the lease is blocked.
- class
Id String - Class ID of the client. This option is available in RouterOS starting from version 7.16.
- client
Id String - If specified, must match DHCP 'client identifier' option of the request.
- comment String
- dhcp
Option String - Add additional DHCP options.
- dhcp
Option StringSet - Add additional set of DHCP options.
- dhcp
Server StringLease Id - disabled Boolean
- dynamic Boolean
- Whether the dhcp lease is static or dynamic. Dynamic leases are not guaranteed to continue to be assigned to that specific device.
- expires
After String - Time until lease expires.
- host
Name String - The hostname of the device
- insert
Queue StringBefore - Specify where to place dynamic simple queue entries for static DCHP leases with rate-limit parameter set.
- last
Seen String - lease
Time String - Time that the client may use the address. If set to 0s lease will never expire.
- mac
Address String - The MAC addreess of the DHCP lease to be created.
- radius String
- Shows if this dynamic lease is authenticated by RADIUS or not.
- rate
Limit String - Adds a dynamic simple queue to limit IP's bandwidth to a specified rate. Requires the lease to be static.
- server String
- Server name which serves this client.
- src
Mac StringAddress - Source MAC address.
- status String
- Lease status.
- use
Src BooleanMac - When this option is set server uses source MAC address instead of received CHADDR to assign address.
Package Details
- Repository
- routeros terraform-routeros/terraform-provider-routeros
- License
- Notes
- This Pulumi package is based on the
routeros
Terraform Provider.