fortios.system/dhcp6.Server
Explore with Pulumi AI
Configure DHCPv6 servers.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.system.dhcp6.Server("trname", {
fosid: 1,
"interface": "port3",
leaseTime: 604800,
rapidCommit: "disable",
status: "enable",
subnet: "2001:db8:1234:113::/64",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.system.dhcp6.Server("trname",
fosid=1,
interface="port3",
lease_time=604800,
rapid_commit="disable",
status="enable",
subnet="2001:db8:1234:113::/64")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := system.NewServer(ctx, "trname", &system.ServerArgs{
Fosid: pulumi.Int(1),
Interface: pulumi.String("port3"),
LeaseTime: pulumi.Int(604800),
RapidCommit: pulumi.String("disable"),
Status: pulumi.String("enable"),
Subnet: pulumi.String("2001:db8:1234:113::/64"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;
return await Deployment.RunAsync(() =>
{
var trname = new Fortios.System.Dhcp6.Server("trname", new()
{
Fosid = 1,
Interface = "port3",
LeaseTime = 604800,
RapidCommit = "disable",
Status = "enable",
Subnet = "2001:db8:1234:113::/64",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.Server;
import com.pulumi.fortios.system.ServerArgs;
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 trname = new Server("trname", ServerArgs.builder()
.fosid(1)
.interface_("port3")
.leaseTime(604800)
.rapidCommit("disable")
.status("enable")
.subnet("2001:db8:1234:113::/64")
.build());
}
}
resources:
trname:
type: fortios:system/dhcp6:Server
properties:
fosid: 1
interface: port3
leaseTime: 604800
rapidCommit: disable
status: enable
subnet: 2001:db8:1234:113::/64
Create Server Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Server(name: string, args: ServerArgs, opts?: CustomResourceOptions);
@overload
def Server(resource_name: str,
args: ServerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Server(resource_name: str,
opts: Optional[ResourceOptions] = None,
fosid: Optional[int] = None,
subnet: Optional[str] = None,
interface: Optional[str] = None,
ip_mode: Optional[str] = None,
lease_time: Optional[int] = None,
dns_server4: Optional[str] = None,
dns_service: Optional[str] = None,
domain: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
dns_server2: Optional[str] = None,
get_all_tables: Optional[str] = None,
dns_server1: Optional[str] = None,
delegated_prefix_iaid: Optional[int] = None,
ip_ranges: Optional[Sequence[ServerIpRangeArgs]] = None,
dns_server3: Optional[str] = None,
option1: Optional[str] = None,
option2: Optional[str] = None,
option3: Optional[str] = None,
prefix_mode: Optional[str] = None,
prefix_ranges: Optional[Sequence[ServerPrefixRangeArgs]] = None,
rapid_commit: Optional[str] = None,
status: Optional[str] = None,
dns_search_list: Optional[str] = None,
upstream_interface: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewServer(ctx *Context, name string, args ServerArgs, opts ...ResourceOption) (*Server, error)
public Server(string name, ServerArgs args, CustomResourceOptions? opts = null)
public Server(String name, ServerArgs args)
public Server(String name, ServerArgs args, CustomResourceOptions options)
type: fortios:system/dhcp6/server:Server
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 ServerArgs
- 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 ServerArgs
- 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 ServerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Server Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Server resource accepts the following input properties:
- Fosid int
- ID.
- Interface string
- DHCP server can assign IP configurations to clients connected to this interface.
- Subnet string
- Subnet or subnet-id if the IP mode is delegated.
- Delegated
Prefix intIaid - IAID of obtained delegated-prefix from the upstream interface.
- Dns
Search stringList - DNS search list options. Valid values:
delegated
,specify
. - Dns
Server1 string - DNS server 1.
- Dns
Server2 string - DNS server 2.
- Dns
Server3 string - DNS server 3.
- Dns
Server4 string - DNS server 4.
- Dns
Service string - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - Domain string
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ip
Mode string - Method used to assign client IP. Valid values:
range
,delegated
. - Ip
Ranges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Ip Range> - DHCP IP range configuration. The structure of
ip_range
block is documented below. - Lease
Time int - Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- Prefix
Mode string - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - Prefix
Ranges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Prefix Range> - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - Rapid
Commit string - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - Status string
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - Upstream
Interface string - Interface name from where delegated information is provided.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Fosid int
- ID.
- Interface string
- DHCP server can assign IP configurations to clients connected to this interface.
- Subnet string
- Subnet or subnet-id if the IP mode is delegated.
- Delegated
Prefix intIaid - IAID of obtained delegated-prefix from the upstream interface.
- Dns
Search stringList - DNS search list options. Valid values:
delegated
,specify
. - Dns
Server1 string - DNS server 1.
- Dns
Server2 string - DNS server 2.
- Dns
Server3 string - DNS server 3.
- Dns
Server4 string - DNS server 4.
- Dns
Service string - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - Domain string
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Ip
Mode string - Method used to assign client IP. Valid values:
range
,delegated
. - Ip
Ranges []ServerIp Range Args - DHCP IP range configuration. The structure of
ip_range
block is documented below. - Lease
Time int - Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- Prefix
Mode string - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - Prefix
Ranges []ServerPrefix Range Args - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - Rapid
Commit string - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - Status string
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - Upstream
Interface string - Interface name from where delegated information is provided.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid Integer
- ID.
- interface_ String
- DHCP server can assign IP configurations to clients connected to this interface.
- subnet String
- Subnet or subnet-id if the IP mode is delegated.
- delegated
Prefix IntegerIaid - IAID of obtained delegated-prefix from the upstream interface.
- dns
Search StringList - DNS search list options. Valid values:
delegated
,specify
. - dns
Server1 String - DNS server 1.
- dns
Server2 String - DNS server 2.
- dns
Server3 String - DNS server 3.
- dns
Server4 String - DNS server 4.
- dns
Service String - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain String
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip
Mode String - Method used to assign client IP. Valid values:
range
,delegated
. - ip
Ranges List<ServerIp Range> - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease
Time Integer - Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefix
Mode String - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix
Ranges List<ServerPrefix Range> - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid
Commit String - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status String
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - upstream
Interface String - Interface name from where delegated information is provided.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid number
- ID.
- interface string
- DHCP server can assign IP configurations to clients connected to this interface.
- subnet string
- Subnet or subnet-id if the IP mode is delegated.
- delegated
Prefix numberIaid - IAID of obtained delegated-prefix from the upstream interface.
- dns
Search stringList - DNS search list options. Valid values:
delegated
,specify
. - dns
Server1 string - DNS server 1.
- dns
Server2 string - DNS server 2.
- dns
Server3 string - DNS server 3.
- dns
Server4 string - DNS server 4.
- dns
Service string - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain string
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip
Mode string - Method used to assign client IP. Valid values:
range
,delegated
. - ip
Ranges ServerIp Range[] - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease
Time number - Lease time in seconds, 0 means unlimited.
- option1 string
- Option 1.
- option2 string
- Option 2.
- option3 string
- Option 3.
- prefix
Mode string - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix
Ranges ServerPrefix Range[] - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid
Commit string - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status string
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - upstream
Interface string - Interface name from where delegated information is provided.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid int
- ID.
- interface str
- DHCP server can assign IP configurations to clients connected to this interface.
- subnet str
- Subnet or subnet-id if the IP mode is delegated.
- delegated_
prefix_ intiaid - IAID of obtained delegated-prefix from the upstream interface.
- dns_
search_ strlist - DNS search list options. Valid values:
delegated
,specify
. - dns_
server1 str - DNS server 1.
- dns_
server2 str - DNS server 2.
- dns_
server3 str - DNS server 3.
- dns_
server4 str - DNS server 4.
- dns_
service str - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain str
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip_
mode str - Method used to assign client IP. Valid values:
range
,delegated
. - ip_
ranges Sequence[ServerIp Range Args] - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease_
time int - Lease time in seconds, 0 means unlimited.
- option1 str
- Option 1.
- option2 str
- Option 2.
- option3 str
- Option 3.
- prefix_
mode str - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix_
ranges Sequence[ServerPrefix Range Args] - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid_
commit str - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status str
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - upstream_
interface str - Interface name from where delegated information is provided.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- fosid Number
- ID.
- interface String
- DHCP server can assign IP configurations to clients connected to this interface.
- subnet String
- Subnet or subnet-id if the IP mode is delegated.
- delegated
Prefix NumberIaid - IAID of obtained delegated-prefix from the upstream interface.
- dns
Search StringList - DNS search list options. Valid values:
delegated
,specify
. - dns
Server1 String - DNS server 1.
- dns
Server2 String - DNS server 2.
- dns
Server3 String - DNS server 3.
- dns
Server4 String - DNS server 4.
- dns
Service String - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain String
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ip
Mode String - Method used to assign client IP. Valid values:
range
,delegated
. - ip
Ranges List<Property Map> - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease
Time Number - Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefix
Mode String - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix
Ranges List<Property Map> - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid
Commit String - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status String
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - upstream
Interface String - Interface name from where delegated information is provided.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Outputs
All input properties are implicitly available as output properties. Additionally, the Server resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing Server Resource
Get an existing Server 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?: ServerState, opts?: CustomResourceOptions): Server
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
delegated_prefix_iaid: Optional[int] = None,
dns_search_list: Optional[str] = None,
dns_server1: Optional[str] = None,
dns_server2: Optional[str] = None,
dns_server3: Optional[str] = None,
dns_server4: Optional[str] = None,
dns_service: Optional[str] = None,
domain: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
fosid: Optional[int] = None,
get_all_tables: Optional[str] = None,
interface: Optional[str] = None,
ip_mode: Optional[str] = None,
ip_ranges: Optional[Sequence[ServerIpRangeArgs]] = None,
lease_time: Optional[int] = None,
option1: Optional[str] = None,
option2: Optional[str] = None,
option3: Optional[str] = None,
prefix_mode: Optional[str] = None,
prefix_ranges: Optional[Sequence[ServerPrefixRangeArgs]] = None,
rapid_commit: Optional[str] = None,
status: Optional[str] = None,
subnet: Optional[str] = None,
upstream_interface: Optional[str] = None,
vdomparam: Optional[str] = None) -> Server
func GetServer(ctx *Context, name string, id IDInput, state *ServerState, opts ...ResourceOption) (*Server, error)
public static Server Get(string name, Input<string> id, ServerState? state, CustomResourceOptions? opts = null)
public static Server get(String name, Output<String> id, ServerState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Delegated
Prefix intIaid - IAID of obtained delegated-prefix from the upstream interface.
- Dns
Search stringList - DNS search list options. Valid values:
delegated
,specify
. - Dns
Server1 string - DNS server 1.
- Dns
Server2 string - DNS server 2.
- Dns
Server3 string - DNS server 3.
- Dns
Server4 string - DNS server 4.
- Dns
Service string - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - Domain string
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Fosid int
- ID.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- DHCP server can assign IP configurations to clients connected to this interface.
- Ip
Mode string - Method used to assign client IP. Valid values:
range
,delegated
. - Ip
Ranges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Ip Range> - DHCP IP range configuration. The structure of
ip_range
block is documented below. - Lease
Time int - Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- Prefix
Mode string - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - Prefix
Ranges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Prefix Range> - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - Rapid
Commit string - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - Status string
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - Subnet string
- Subnet or subnet-id if the IP mode is delegated.
- Upstream
Interface string - Interface name from where delegated information is provided.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- Delegated
Prefix intIaid - IAID of obtained delegated-prefix from the upstream interface.
- Dns
Search stringList - DNS search list options. Valid values:
delegated
,specify
. - Dns
Server1 string - DNS server 1.
- Dns
Server2 string - DNS server 2.
- Dns
Server3 string - DNS server 3.
- Dns
Server4 string - DNS server 4.
- Dns
Service string - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - Domain string
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- Dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- Fosid int
- ID.
- Get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- Interface string
- DHCP server can assign IP configurations to clients connected to this interface.
- Ip
Mode string - Method used to assign client IP. Valid values:
range
,delegated
. - Ip
Ranges []ServerIp Range Args - DHCP IP range configuration. The structure of
ip_range
block is documented below. - Lease
Time int - Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- Prefix
Mode string - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - Prefix
Ranges []ServerPrefix Range Args - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - Rapid
Commit string - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - Status string
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - Subnet string
- Subnet or subnet-id if the IP mode is delegated.
- Upstream
Interface string - Interface name from where delegated information is provided.
- Vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- delegated
Prefix IntegerIaid - IAID of obtained delegated-prefix from the upstream interface.
- dns
Search StringList - DNS search list options. Valid values:
delegated
,specify
. - dns
Server1 String - DNS server 1.
- dns
Server2 String - DNS server 2.
- dns
Server3 String - DNS server 3.
- dns
Server4 String - DNS server 4.
- dns
Service String - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain String
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid Integer
- ID.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface_ String
- DHCP server can assign IP configurations to clients connected to this interface.
- ip
Mode String - Method used to assign client IP. Valid values:
range
,delegated
. - ip
Ranges List<ServerIp Range> - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease
Time Integer - Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefix
Mode String - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix
Ranges List<ServerPrefix Range> - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid
Commit String - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status String
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - subnet String
- Subnet or subnet-id if the IP mode is delegated.
- upstream
Interface String - Interface name from where delegated information is provided.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- delegated
Prefix numberIaid - IAID of obtained delegated-prefix from the upstream interface.
- dns
Search stringList - DNS search list options. Valid values:
delegated
,specify
. - dns
Server1 string - DNS server 1.
- dns
Server2 string - DNS server 2.
- dns
Server3 string - DNS server 3.
- dns
Server4 string - DNS server 4.
- dns
Service string - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain string
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic
Sort stringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid number
- ID.
- get
All stringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface string
- DHCP server can assign IP configurations to clients connected to this interface.
- ip
Mode string - Method used to assign client IP. Valid values:
range
,delegated
. - ip
Ranges ServerIp Range[] - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease
Time number - Lease time in seconds, 0 means unlimited.
- option1 string
- Option 1.
- option2 string
- Option 2.
- option3 string
- Option 3.
- prefix
Mode string - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix
Ranges ServerPrefix Range[] - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid
Commit string - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status string
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - subnet string
- Subnet or subnet-id if the IP mode is delegated.
- upstream
Interface string - Interface name from where delegated information is provided.
- vdomparam string
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- delegated_
prefix_ intiaid - IAID of obtained delegated-prefix from the upstream interface.
- dns_
search_ strlist - DNS search list options. Valid values:
delegated
,specify
. - dns_
server1 str - DNS server 1.
- dns_
server2 str - DNS server 2.
- dns_
server3 str - DNS server 3.
- dns_
server4 str - DNS server 4.
- dns_
service str - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain str
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic_
sort_ strsubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid int
- ID.
- get_
all_ strtables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface str
- DHCP server can assign IP configurations to clients connected to this interface.
- ip_
mode str - Method used to assign client IP. Valid values:
range
,delegated
. - ip_
ranges Sequence[ServerIp Range Args] - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease_
time int - Lease time in seconds, 0 means unlimited.
- option1 str
- Option 1.
- option2 str
- Option 2.
- option3 str
- Option 3.
- prefix_
mode str - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix_
ranges Sequence[ServerPrefix Range Args] - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid_
commit str - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status str
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - subnet str
- Subnet or subnet-id if the IP mode is delegated.
- upstream_
interface str - Interface name from where delegated information is provided.
- vdomparam str
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
- delegated
Prefix NumberIaid - IAID of obtained delegated-prefix from the upstream interface.
- dns
Search StringList - DNS search list options. Valid values:
delegated
,specify
. - dns
Server1 String - DNS server 1.
- dns
Server2 String - DNS server 2.
- dns
Server3 String - DNS server 3.
- dns
Server4 String - DNS server 4.
- dns
Service String - Options for assigning DNS servers to DHCPv6 clients. Valid values:
delegated
,default
,specify
. - domain String
- Domain name suffix for the IP addresses that the DHCP server assigns to clients.
- dynamic
Sort StringSubtable - Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
- fosid Number
- ID.
- get
All StringTables - Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- interface String
- DHCP server can assign IP configurations to clients connected to this interface.
- ip
Mode String - Method used to assign client IP. Valid values:
range
,delegated
. - ip
Ranges List<Property Map> - DHCP IP range configuration. The structure of
ip_range
block is documented below. - lease
Time Number - Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefix
Mode String - Assigning a prefix from a DHCPv6 client or RA. Valid values:
dhcp6
,ra
. - prefix
Ranges List<Property Map> - DHCP prefix configuration. The structure of
prefix_range
block is documented below. - rapid
Commit String - Enable/disable allow/disallow rapid commit. Valid values:
disable
,enable
. - status String
- Enable/disable this DHCPv6 configuration. Valid values:
disable
,enable
. - subnet String
- Subnet or subnet-id if the IP mode is delegated.
- upstream
Interface String - Interface name from where delegated information is provided.
- vdomparam String
- Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
Supporting Types
ServerIpRange, ServerIpRangeArgs
ServerPrefixRange, ServerPrefixRangeArgs
- End
Prefix string - End of prefix range.
- Id int
- ID.
- Prefix
Length int - Prefix length.
- Start
Prefix string - Start of prefix range.
- End
Prefix string - End of prefix range.
- Id int
- ID.
- Prefix
Length int - Prefix length.
- Start
Prefix string - Start of prefix range.
- end
Prefix String - End of prefix range.
- id Integer
- ID.
- prefix
Length Integer - Prefix length.
- start
Prefix String - Start of prefix range.
- end
Prefix string - End of prefix range.
- id number
- ID.
- prefix
Length number - Prefix length.
- start
Prefix string - Start of prefix range.
- end_
prefix str - End of prefix range.
- id int
- ID.
- prefix_
length int - Prefix length.
- start_
prefix str - Start of prefix range.
- end
Prefix String - End of prefix range.
- id Number
- ID.
- prefix
Length Number - Prefix length.
- start
Prefix String - Start of prefix range.
Import
SystemDhcp6 Server can be imported using any of these accepted formats:
$ pulumi import fortios:system/dhcp6/server:Server labelname {{fosid}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:system/dhcp6/server:Server labelname {{fosid}}
$ unset “FORTIOS_IMPORT_TABLE”
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.