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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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.
- DelegatedPrefix intIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- DnsSearch stringList 
- DNS search list options. Valid values: delegated,specify.
- DnsServer1 string
- DNS server 1.
- DnsServer2 string
- DNS server 2.
- DnsServer3 string
- DNS server 3.
- DnsServer4 string
- DNS server 4.
- DnsService 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.
- DynamicSort 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 ].
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- IpMode string
- Method used to assign client IP. Valid values: range,delegated.
- IpRanges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Ip Range> 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- LeaseTime int
- Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- PrefixMode string
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- PrefixRanges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Prefix Range> 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- RapidCommit string
- Enable/disable allow/disallow rapid commit. Valid values: disable,enable.
- Status string
- Enable/disable this DHCPv6 configuration. Valid values: disable,enable.
- UpstreamInterface 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.
- DelegatedPrefix intIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- DnsSearch stringList 
- DNS search list options. Valid values: delegated,specify.
- DnsServer1 string
- DNS server 1.
- DnsServer2 string
- DNS server 2.
- DnsServer3 string
- DNS server 3.
- DnsServer4 string
- DNS server 4.
- DnsService 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.
- DynamicSort 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 ].
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- IpMode string
- Method used to assign client IP. Valid values: range,delegated.
- IpRanges []ServerIp Range Args 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- LeaseTime int
- Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- PrefixMode string
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- PrefixRanges []ServerPrefix Range Args 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- RapidCommit string
- Enable/disable allow/disallow rapid commit. Valid values: disable,enable.
- Status string
- Enable/disable this DHCPv6 configuration. Valid values: disable,enable.
- UpstreamInterface 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.
- delegatedPrefix IntegerIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- dnsSearch StringList 
- DNS search list options. Valid values: delegated,specify.
- dnsServer1 String
- DNS server 1.
- dnsServer2 String
- DNS server 2.
- dnsServer3 String
- DNS server 3.
- dnsServer4 String
- DNS server 4.
- dnsService 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.
- dynamicSort 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 ].
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipMode String
- Method used to assign client IP. Valid values: range,delegated.
- ipRanges List<ServerIp Range> 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- leaseTime Integer
- Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefixMode String
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- prefixRanges List<ServerPrefix Range> 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- rapidCommit String
- Enable/disable allow/disallow rapid commit. Valid values: disable,enable.
- status String
- Enable/disable this DHCPv6 configuration. Valid values: disable,enable.
- upstreamInterface 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.
- delegatedPrefix numberIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- dnsSearch stringList 
- DNS search list options. Valid values: delegated,specify.
- dnsServer1 string
- DNS server 1.
- dnsServer2 string
- DNS server 2.
- dnsServer3 string
- DNS server 3.
- dnsServer4 string
- DNS server 4.
- dnsService 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.
- dynamicSort 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 ].
- getAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipMode string
- Method used to assign client IP. Valid values: range,delegated.
- ipRanges ServerIp Range[] 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- leaseTime number
- Lease time in seconds, 0 means unlimited.
- option1 string
- Option 1.
- option2 string
- Option 2.
- option3 string
- Option 3.
- prefixMode string
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- prefixRanges ServerPrefix Range[] 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- rapidCommit string
- Enable/disable allow/disallow rapid commit. Valid values: disable,enable.
- status string
- Enable/disable this DHCPv6 configuration. Valid values: disable,enable.
- upstreamInterface 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, otherwise, 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_rangeblock 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_rangeblock 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.
- delegatedPrefix NumberIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- dnsSearch StringList 
- DNS search list options. Valid values: delegated,specify.
- dnsServer1 String
- DNS server 1.
- dnsServer2 String
- DNS server 2.
- dnsServer3 String
- DNS server 3.
- dnsServer4 String
- DNS server 4.
- dnsService 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.
- dynamicSort 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 ].
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
- ipMode String
- Method used to assign client IP. Valid values: range,delegated.
- ipRanges List<Property Map>
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- leaseTime Number
- Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefixMode String
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- prefixRanges List<Property Map>
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- rapidCommit String
- Enable/disable allow/disallow rapid commit. Valid values: disable,enable.
- status String
- Enable/disable this DHCPv6 configuration. Valid values: disable,enable.
- upstreamInterface 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) -> Serverfunc 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)resources:  _:    type: fortios:system/dhcp6/server:Server    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.
- DelegatedPrefix intIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- DnsSearch stringList 
- DNS search list options. Valid values: delegated,specify.
- DnsServer1 string
- DNS server 1.
- DnsServer2 string
- DNS server 2.
- DnsServer3 string
- DNS server 3.
- DnsServer4 string
- DNS server 4.
- DnsService 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.
- DynamicSort 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.
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
- IpMode string
- Method used to assign client IP. Valid values: range,delegated.
- IpRanges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Ip Range> 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- LeaseTime int
- Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- PrefixMode string
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- PrefixRanges List<Pulumiverse.Fortios. System. Dhcp6. Inputs. Server Prefix Range> 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- RapidCommit 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.
- UpstreamInterface 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.
- DelegatedPrefix intIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- DnsSearch stringList 
- DNS search list options. Valid values: delegated,specify.
- DnsServer1 string
- DNS server 1.
- DnsServer2 string
- DNS server 2.
- DnsServer3 string
- DNS server 3.
- DnsServer4 string
- DNS server 4.
- DnsService 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.
- DynamicSort 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.
- GetAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
- IpMode string
- Method used to assign client IP. Valid values: range,delegated.
- IpRanges []ServerIp Range Args 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- LeaseTime int
- Lease time in seconds, 0 means unlimited.
- Option1 string
- Option 1.
- Option2 string
- Option 2.
- Option3 string
- Option 3.
- PrefixMode string
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- PrefixRanges []ServerPrefix Range Args 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- RapidCommit 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.
- UpstreamInterface 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.
- delegatedPrefix IntegerIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- dnsSearch StringList 
- DNS search list options. Valid values: delegated,specify.
- dnsServer1 String
- DNS server 1.
- dnsServer2 String
- DNS server 2.
- dnsServer3 String
- DNS server 3.
- dnsServer4 String
- DNS server 4.
- dnsService 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.
- dynamicSort 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.
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
- ipMode String
- Method used to assign client IP. Valid values: range,delegated.
- ipRanges List<ServerIp Range> 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- leaseTime Integer
- Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefixMode String
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- prefixRanges List<ServerPrefix Range> 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- rapidCommit 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.
- upstreamInterface 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.
- delegatedPrefix numberIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- dnsSearch stringList 
- DNS search list options. Valid values: delegated,specify.
- dnsServer1 string
- DNS server 1.
- dnsServer2 string
- DNS server 2.
- dnsServer3 string
- DNS server 3.
- dnsServer4 string
- DNS server 4.
- dnsService 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.
- dynamicSort 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.
- getAll stringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
- ipMode string
- Method used to assign client IP. Valid values: range,delegated.
- ipRanges ServerIp Range[] 
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- leaseTime number
- Lease time in seconds, 0 means unlimited.
- option1 string
- Option 1.
- option2 string
- Option 2.
- option3 string
- Option 3.
- prefixMode string
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- prefixRanges ServerPrefix Range[] 
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- rapidCommit 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.
- upstreamInterface 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, otherwise, 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_rangeblock 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_rangeblock 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.
- delegatedPrefix NumberIaid 
- IAID of obtained delegated-prefix from the upstream interface.
- dnsSearch StringList 
- DNS search list options. Valid values: delegated,specify.
- dnsServer1 String
- DNS server 1.
- dnsServer2 String
- DNS server 2.
- dnsServer3 String
- DNS server 3.
- dnsServer4 String
- DNS server 4.
- dnsService 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.
- dynamicSort 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.
- getAll StringTables 
- Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, 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.
- ipMode String
- Method used to assign client IP. Valid values: range,delegated.
- ipRanges List<Property Map>
- DHCP IP range configuration. The structure of ip_rangeblock is documented below.
- leaseTime Number
- Lease time in seconds, 0 means unlimited.
- option1 String
- Option 1.
- option2 String
- Option 2.
- option3 String
- Option 3.
- prefixMode String
- Assigning a prefix from a DHCPv6 client or RA. Valid values: dhcp6,ra.
- prefixRanges List<Property Map>
- DHCP prefix configuration. The structure of prefix_rangeblock is documented below.
- rapidCommit 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.
- upstreamInterface 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      
- EndPrefix string
- End of prefix range.
- Id int
- ID.
- PrefixLength int
- Prefix length.
- StartPrefix string
- Start of prefix range.
- EndPrefix string
- End of prefix range.
- Id int
- ID.
- PrefixLength int
- Prefix length.
- StartPrefix string
- Start of prefix range.
- endPrefix String
- End of prefix range.
- id Integer
- ID.
- prefixLength Integer
- Prefix length.
- startPrefix String
- Start of prefix range.
- endPrefix string
- End of prefix range.
- id number
- ID.
- prefixLength number
- Prefix length.
- startPrefix 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.
- endPrefix String
- End of prefix range.
- id Number
- ID.
- prefixLength Number
- Prefix length.
- startPrefix 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 fortiosTerraform Provider.
