menandmice_dhcp_scope
Schema
Required
- cidr
(String) The cidr of the DHCP scope.
Optional
- dhcp_server
(String) The DHCP server of this scope.
- id
(String) The ID of this resource.
Read-Only
- available
(Number) Number of available addresses in the address pool(s) of the scope.
- description
(String) A description for the DHCP scope.
- enabled
(Boolean) If this scope is enabled.
- name
(String) The name of the DHCP scope you want to query.
- ref
(String) Internal reference to this DHCP reservation.
- superscope
(String) The name of the superscope for the DHCP scope.
Note
Only applicable for MS DHCP servers.
Example
1terraform {
2 required_providers {
3 menandmice = {
4 # uncomment for terraform 0.13 and higher
5 version = "~> 0.2",
6 source = "local/menandmice",
7 }
8 }
9}
10
11data menandmice_dhcp_scope scope1{
12 dhcp_server= "micetro.example.net."
13 cidr = "192.168.2.0/24"
14}