1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. ObjectSystemDhcpServerOptions
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.ObjectSystemDhcpServerOptions

Explore with Pulumi AI

DHCP options.

This resource is a sub resource for variable options of resource fortimanager.ObjectSystemDhcpServer. Conflict and overwrite may occur if use both of them.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname3 = new fortimanager.ObjectSystemDhcpServer("trname3", {fosid: 4});
const trname = new fortimanager.ObjectSystemDhcpServerOptions("trname", {
    server: trname3.fosid,
    fosid: 34,
    ips: ["10.160.88.32"],
    type: "ip",
}, {
    dependsOn: [trname3],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname3 = fortimanager.ObjectSystemDhcpServer("trname3", fosid=4)
trname = fortimanager.ObjectSystemDhcpServerOptions("trname",
    server=trname3.fosid,
    fosid=34,
    ips=["10.160.88.32"],
    type="ip",
    opts = pulumi.ResourceOptions(depends_on=[trname3]))
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		trname3, err := fortimanager.NewObjectSystemDhcpServer(ctx, "trname3", &fortimanager.ObjectSystemDhcpServerArgs{
			Fosid: pulumi.Float64(4),
		})
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectSystemDhcpServerOptions(ctx, "trname", &fortimanager.ObjectSystemDhcpServerOptionsArgs{
			Server: trname3.Fosid,
			Fosid:  pulumi.Float64(34),
			Ips: pulumi.StringArray{
				pulumi.String("10.160.88.32"),
			},
			Type: pulumi.String("ip"),
		}, pulumi.DependsOn([]pulumi.Resource{
			trname3,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname3 = new Fortimanager.ObjectSystemDhcpServer("trname3", new()
    {
        Fosid = 4,
    });

    var trname = new Fortimanager.ObjectSystemDhcpServerOptions("trname", new()
    {
        Server = trname3.Fosid,
        Fosid = 34,
        Ips = new[]
        {
            "10.160.88.32",
        },
        Type = "ip",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trname3,
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.ObjectSystemDhcpServer;
import com.pulumi.fortimanager.ObjectSystemDhcpServerArgs;
import com.pulumi.fortimanager.ObjectSystemDhcpServerOptions;
import com.pulumi.fortimanager.ObjectSystemDhcpServerOptionsArgs;
import com.pulumi.resources.CustomResourceOptions;
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 trname3 = new ObjectSystemDhcpServer("trname3", ObjectSystemDhcpServerArgs.builder()
            .fosid(4)
            .build());

        var trname = new ObjectSystemDhcpServerOptions("trname", ObjectSystemDhcpServerOptionsArgs.builder()
            .server(trname3.fosid())
            .fosid(34)
            .ips("10.160.88.32")
            .type("ip")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trname3)
                .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectSystemDhcpServerOptions
    properties:
      server: ${trname3.fosid}
      fosid: 34
      ips:
        - 10.160.88.32
      type: ip
    options:
      dependsOn:
        - ${trname3}
  trname3:
    type: fortimanager:ObjectSystemDhcpServer
    properties:
      fosid: 4
Copy

Create ObjectSystemDhcpServerOptions Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ObjectSystemDhcpServerOptions(name: string, args: ObjectSystemDhcpServerOptionsArgs, opts?: CustomResourceOptions);
@overload
def ObjectSystemDhcpServerOptions(resource_name: str,
                                  args: ObjectSystemDhcpServerOptionsArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def ObjectSystemDhcpServerOptions(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  server: Optional[str] = None,
                                  ips: Optional[Sequence[str]] = None,
                                  fosid: Optional[float] = None,
                                  adom: Optional[str] = None,
                                  object_system_dhcp_server_options_id: Optional[str] = None,
                                  scopetype: Optional[str] = None,
                                  code: Optional[float] = None,
                                  type: Optional[str] = None,
                                  uci_match: Optional[str] = None,
                                  uci_strings: Optional[Sequence[str]] = None,
                                  value: Optional[str] = None,
                                  vci_match: Optional[str] = None,
                                  vci_strings: Optional[Sequence[str]] = None)
func NewObjectSystemDhcpServerOptions(ctx *Context, name string, args ObjectSystemDhcpServerOptionsArgs, opts ...ResourceOption) (*ObjectSystemDhcpServerOptions, error)
public ObjectSystemDhcpServerOptions(string name, ObjectSystemDhcpServerOptionsArgs args, CustomResourceOptions? opts = null)
public ObjectSystemDhcpServerOptions(String name, ObjectSystemDhcpServerOptionsArgs args)
public ObjectSystemDhcpServerOptions(String name, ObjectSystemDhcpServerOptionsArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemDhcpServerOptions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ObjectSystemDhcpServerOptionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ObjectSystemDhcpServerOptionsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectSystemDhcpServerOptionsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ObjectSystemDhcpServerOptionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ObjectSystemDhcpServerOptionsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var objectSystemDhcpServerOptionsResource = new Fortimanager.ObjectSystemDhcpServerOptions("objectSystemDhcpServerOptionsResource", new()
{
    Server = "string",
    Ips = new[]
    {
        "string",
    },
    Fosid = 0,
    Adom = "string",
    ObjectSystemDhcpServerOptionsId = "string",
    Scopetype = "string",
    Code = 0,
    Type = "string",
    UciMatch = "string",
    UciStrings = new[]
    {
        "string",
    },
    Value = "string",
    VciMatch = "string",
    VciStrings = new[]
    {
        "string",
    },
});
Copy
example, err := fortimanager.NewObjectSystemDhcpServerOptions(ctx, "objectSystemDhcpServerOptionsResource", &fortimanager.ObjectSystemDhcpServerOptionsArgs{
Server: pulumi.String("string"),
Ips: pulumi.StringArray{
pulumi.String("string"),
},
Fosid: pulumi.Float64(0),
Adom: pulumi.String("string"),
ObjectSystemDhcpServerOptionsId: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Code: pulumi.Float64(0),
Type: pulumi.String("string"),
UciMatch: pulumi.String("string"),
UciStrings: pulumi.StringArray{
pulumi.String("string"),
},
Value: pulumi.String("string"),
VciMatch: pulumi.String("string"),
VciStrings: pulumi.StringArray{
pulumi.String("string"),
},
})
Copy
var objectSystemDhcpServerOptionsResource = new ObjectSystemDhcpServerOptions("objectSystemDhcpServerOptionsResource", ObjectSystemDhcpServerOptionsArgs.builder()
    .server("string")
    .ips("string")
    .fosid(0)
    .adom("string")
    .objectSystemDhcpServerOptionsId("string")
    .scopetype("string")
    .code(0)
    .type("string")
    .uciMatch("string")
    .uciStrings("string")
    .value("string")
    .vciMatch("string")
    .vciStrings("string")
    .build());
Copy
object_system_dhcp_server_options_resource = fortimanager.ObjectSystemDhcpServerOptions("objectSystemDhcpServerOptionsResource",
    server="string",
    ips=["string"],
    fosid=0,
    adom="string",
    object_system_dhcp_server_options_id="string",
    scopetype="string",
    code=0,
    type="string",
    uci_match="string",
    uci_strings=["string"],
    value="string",
    vci_match="string",
    vci_strings=["string"])
Copy
const objectSystemDhcpServerOptionsResource = new fortimanager.ObjectSystemDhcpServerOptions("objectSystemDhcpServerOptionsResource", {
    server: "string",
    ips: ["string"],
    fosid: 0,
    adom: "string",
    objectSystemDhcpServerOptionsId: "string",
    scopetype: "string",
    code: 0,
    type: "string",
    uciMatch: "string",
    uciStrings: ["string"],
    value: "string",
    vciMatch: "string",
    vciStrings: ["string"],
});
Copy
type: fortimanager:ObjectSystemDhcpServerOptions
properties:
    adom: string
    code: 0
    fosid: 0
    ips:
        - string
    objectSystemDhcpServerOptionsId: string
    scopetype: string
    server: string
    type: string
    uciMatch: string
    uciStrings:
        - string
    value: string
    vciMatch: string
    vciStrings:
        - string
Copy

ObjectSystemDhcpServerOptions 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 ObjectSystemDhcpServerOptions resource accepts the following input properties:

Server This property is required. string
Server.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Code double
DHCP option code.
Fosid double
ID.
Ips List<string>
DHCP option IPs.
ObjectSystemDhcpServerOptionsId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Type string
DHCP option type. Valid values: hex, string, ip, fqdn.
UciMatch string
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
UciStrings List<string>
One or more UCI strings in quotes separated by spaces.
Value string
DHCP option value.
VciMatch string
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
VciStrings List<string>
One or more VCI strings in quotes separated by spaces.
Server This property is required. string
Server.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Code float64
DHCP option code.
Fosid float64
ID.
Ips []string
DHCP option IPs.
ObjectSystemDhcpServerOptionsId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Type string
DHCP option type. Valid values: hex, string, ip, fqdn.
UciMatch string
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
UciStrings []string
One or more UCI strings in quotes separated by spaces.
Value string
DHCP option value.
VciMatch string
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
VciStrings []string
One or more VCI strings in quotes separated by spaces.
server This property is required. String
Server.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code Double
DHCP option code.
fosid Double
ID.
ips List<String>
DHCP option IPs.
objectSystemDhcpServerOptionsId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
type String
DHCP option type. Valid values: hex, string, ip, fqdn.
uciMatch String
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uciStrings List<String>
One or more UCI strings in quotes separated by spaces.
value String
DHCP option value.
vciMatch String
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vciStrings List<String>
One or more VCI strings in quotes separated by spaces.
server This property is required. string
Server.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code number
DHCP option code.
fosid number
ID.
ips string[]
DHCP option IPs.
objectSystemDhcpServerOptionsId string
an identifier for the resource with format {{fosid}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
type string
DHCP option type. Valid values: hex, string, ip, fqdn.
uciMatch string
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uciStrings string[]
One or more UCI strings in quotes separated by spaces.
value string
DHCP option value.
vciMatch string
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vciStrings string[]
One or more VCI strings in quotes separated by spaces.
server This property is required. str
Server.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code float
DHCP option code.
fosid float
ID.
ips Sequence[str]
DHCP option IPs.
object_system_dhcp_server_options_id str
an identifier for the resource with format {{fosid}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
type str
DHCP option type. Valid values: hex, string, ip, fqdn.
uci_match str
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uci_strings Sequence[str]
One or more UCI strings in quotes separated by spaces.
value str
DHCP option value.
vci_match str
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vci_strings Sequence[str]
One or more VCI strings in quotes separated by spaces.
server This property is required. String
Server.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code Number
DHCP option code.
fosid Number
ID.
ips List<String>
DHCP option IPs.
objectSystemDhcpServerOptionsId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
type String
DHCP option type. Valid values: hex, string, ip, fqdn.
uciMatch String
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uciStrings List<String>
One or more UCI strings in quotes separated by spaces.
value String
DHCP option value.
vciMatch String
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vciStrings List<String>
One or more VCI strings in quotes separated by spaces.

Outputs

All input properties are implicitly available as output properties. Additionally, the ObjectSystemDhcpServerOptions 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 ObjectSystemDhcpServerOptions Resource

Get an existing ObjectSystemDhcpServerOptions 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?: ObjectSystemDhcpServerOptionsState, opts?: CustomResourceOptions): ObjectSystemDhcpServerOptions
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        adom: Optional[str] = None,
        code: Optional[float] = None,
        fosid: Optional[float] = None,
        ips: Optional[Sequence[str]] = None,
        object_system_dhcp_server_options_id: Optional[str] = None,
        scopetype: Optional[str] = None,
        server: Optional[str] = None,
        type: Optional[str] = None,
        uci_match: Optional[str] = None,
        uci_strings: Optional[Sequence[str]] = None,
        value: Optional[str] = None,
        vci_match: Optional[str] = None,
        vci_strings: Optional[Sequence[str]] = None) -> ObjectSystemDhcpServerOptions
func GetObjectSystemDhcpServerOptions(ctx *Context, name string, id IDInput, state *ObjectSystemDhcpServerOptionsState, opts ...ResourceOption) (*ObjectSystemDhcpServerOptions, error)
public static ObjectSystemDhcpServerOptions Get(string name, Input<string> id, ObjectSystemDhcpServerOptionsState? state, CustomResourceOptions? opts = null)
public static ObjectSystemDhcpServerOptions get(String name, Output<String> id, ObjectSystemDhcpServerOptionsState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemDhcpServerOptions    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Code double
DHCP option code.
Fosid double
ID.
Ips List<string>
DHCP option IPs.
ObjectSystemDhcpServerOptionsId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Server string
Server.
Type string
DHCP option type. Valid values: hex, string, ip, fqdn.
UciMatch string
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
UciStrings List<string>
One or more UCI strings in quotes separated by spaces.
Value string
DHCP option value.
VciMatch string
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
VciStrings List<string>
One or more VCI strings in quotes separated by spaces.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
Code float64
DHCP option code.
Fosid float64
ID.
Ips []string
DHCP option IPs.
ObjectSystemDhcpServerOptionsId string
an identifier for the resource with format {{fosid}}.
Scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
Server string
Server.
Type string
DHCP option type. Valid values: hex, string, ip, fqdn.
UciMatch string
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
UciStrings []string
One or more UCI strings in quotes separated by spaces.
Value string
DHCP option value.
VciMatch string
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
VciStrings []string
One or more VCI strings in quotes separated by spaces.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code Double
DHCP option code.
fosid Double
ID.
ips List<String>
DHCP option IPs.
objectSystemDhcpServerOptionsId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
server String
Server.
type String
DHCP option type. Valid values: hex, string, ip, fqdn.
uciMatch String
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uciStrings List<String>
One or more UCI strings in quotes separated by spaces.
value String
DHCP option value.
vciMatch String
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vciStrings List<String>
One or more VCI strings in quotes separated by spaces.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code number
DHCP option code.
fosid number
ID.
ips string[]
DHCP option IPs.
objectSystemDhcpServerOptionsId string
an identifier for the resource with format {{fosid}}.
scopetype string
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
server string
Server.
type string
DHCP option type. Valid values: hex, string, ip, fqdn.
uciMatch string
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uciStrings string[]
One or more UCI strings in quotes separated by spaces.
value string
DHCP option value.
vciMatch string
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vciStrings string[]
One or more VCI strings in quotes separated by spaces.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code float
DHCP option code.
fosid float
ID.
ips Sequence[str]
DHCP option IPs.
object_system_dhcp_server_options_id str
an identifier for the resource with format {{fosid}}.
scopetype str
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
server str
Server.
type str
DHCP option type. Valid values: hex, string, ip, fqdn.
uci_match str
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uci_strings Sequence[str]
One or more UCI strings in quotes separated by spaces.
value str
DHCP option value.
vci_match str
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vci_strings Sequence[str]
One or more VCI strings in quotes separated by spaces.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
code Number
DHCP option code.
fosid Number
ID.
ips List<String>
DHCP option IPs.
objectSystemDhcpServerOptionsId String
an identifier for the resource with format {{fosid}}.
scopetype String
The scope of application of the resource. Valid values: inherit, adom, global. The inherit means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value is inherit.
server String
Server.
type String
DHCP option type. Valid values: hex, string, ip, fqdn.
uciMatch String
Enable/disable user class identifier (UCI) matching. When enabled only DHCP requests with a matching UCI are served with this option. Valid values: disable, enable.
uciStrings List<String>
One or more UCI strings in quotes separated by spaces.
value String
DHCP option value.
vciMatch String
Enable/disable vendor class identifier (VCI) matching. When enabled only DHCP requests with a matching VCI are served with this option. Valid values: disable, enable.
vciStrings List<String>
One or more VCI strings in quotes separated by spaces.

Import

ObjectSystem DhcpServerOptions can be imported using any of these accepted formats:

Set import_options = [“server=YOUR_VALUE”] in the provider section.

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/objectSystemDhcpServerOptions:ObjectSystemDhcpServerOptions labelname {{fosid}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

-> Hint: The scopetype and adom for import will directly inherit the scopetype and adom configuration of the provider.

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.