1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. system/dhcp6
  6. Server
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system/dhcp6.Server

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    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.
    DelegatedPrefixIaid int
    IAID of obtained delegated-prefix from the upstream interface.
    DnsSearchList string
    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.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    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.ServerIpRange>
    DHCP IP range configuration. The structure of ip_range block 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.ServerPrefixRange>
    DHCP prefix configuration. The structure of prefix_range block 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.
    DelegatedPrefixIaid int
    IAID of obtained delegated-prefix from the upstream interface.
    DnsSearchList string
    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.
    DynamicSortSubtable string
    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 ].
    GetAllTables string
    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 []ServerIpRangeArgs
    DHCP IP range configuration. The structure of ip_range block 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 []ServerPrefixRangeArgs
    DHCP prefix configuration. The structure of prefix_range block 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.
    delegatedPrefixIaid Integer
    IAID of obtained delegated-prefix from the upstream interface.
    dnsSearchList String
    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.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    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<ServerIpRange>
    DHCP IP range configuration. The structure of ip_range block 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<ServerPrefixRange>
    DHCP prefix configuration. The structure of prefix_range block 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.
    delegatedPrefixIaid number
    IAID of obtained delegated-prefix from the upstream interface.
    dnsSearchList string
    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.
    dynamicSortSubtable string
    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 ].
    getAllTables string
    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 ServerIpRange[]
    DHCP IP range configuration. The structure of ip_range block 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 ServerPrefixRange[]
    DHCP prefix configuration. The structure of prefix_range block 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_iaid int
    IAID of obtained delegated-prefix from the upstream interface.
    dns_search_list str
    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_subtable str
    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_tables str
    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[ServerIpRangeArgs]
    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[ServerPrefixRangeArgs]
    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.
    delegatedPrefixIaid Number
    IAID of obtained delegated-prefix from the upstream interface.
    dnsSearchList String
    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.
    dynamicSortSubtable String
    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 ].
    getAllTables String
    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_range block 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_range block 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) -> 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.
    The following state arguments are supported:
    DelegatedPrefixIaid int
    IAID of obtained delegated-prefix from the upstream interface.
    DnsSearchList string
    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.
    DynamicSortSubtable string
    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.
    GetAllTables string
    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.ServerIpRange>
    DHCP IP range configuration. The structure of ip_range block 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.ServerPrefixRange>
    DHCP prefix configuration. The structure of prefix_range block 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.
    DelegatedPrefixIaid int
    IAID of obtained delegated-prefix from the upstream interface.
    DnsSearchList string
    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.
    DynamicSortSubtable string
    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.
    GetAllTables string
    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 []ServerIpRangeArgs
    DHCP IP range configuration. The structure of ip_range block 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 []ServerPrefixRangeArgs
    DHCP prefix configuration. The structure of prefix_range block 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.
    delegatedPrefixIaid Integer
    IAID of obtained delegated-prefix from the upstream interface.
    dnsSearchList String
    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.
    dynamicSortSubtable String
    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.
    getAllTables String
    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<ServerIpRange>
    DHCP IP range configuration. The structure of ip_range block 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<ServerPrefixRange>
    DHCP prefix configuration. The structure of prefix_range block 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.
    delegatedPrefixIaid number
    IAID of obtained delegated-prefix from the upstream interface.
    dnsSearchList string
    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.
    dynamicSortSubtable string
    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.
    getAllTables string
    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 ServerIpRange[]
    DHCP IP range configuration. The structure of ip_range block 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 ServerPrefixRange[]
    DHCP prefix configuration. The structure of prefix_range block 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_iaid int
    IAID of obtained delegated-prefix from the upstream interface.
    dns_search_list str
    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_subtable str
    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_tables str
    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[ServerIpRangeArgs]
    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[ServerPrefixRangeArgs]
    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.
    delegatedPrefixIaid Number
    IAID of obtained delegated-prefix from the upstream interface.
    dnsSearchList String
    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.
    dynamicSortSubtable String
    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.
    getAllTables String
    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_range block 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_range block 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

    EndIp string
    End of IP range.
    Id int
    ID.
    StartIp string
    Start of IP range.
    EndIp string
    End of IP range.
    Id int
    ID.
    StartIp string
    Start of IP range.
    endIp String
    End of IP range.
    id Integer
    ID.
    startIp String
    Start of IP range.
    endIp string
    End of IP range.
    id number
    ID.
    startIp string
    Start of IP range.
    end_ip str
    End of IP range.
    id int
    ID.
    start_ip str
    Start of IP range.
    endIp String
    End of IP range.
    id Number
    ID.
    startIp String
    Start of IP range.

    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 fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse