fortimanager.ObjectSystemDhcpServerOptions
Explore with Pulumi AI
DHCP options.
This resource is a sub resource for variable
options
of resourcefortimanager.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],
});
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]))
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
})
}
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,
},
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args ObjectSystemDhcpServerOptionsArgs
- 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 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 string
- The unique name of the resource.
- args ObjectSystemDhcpServerOptionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectSystemDhcpServerOptionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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"])
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"],
});
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
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 string
- Server.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, 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.
- Object
System stringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Type string
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - Uci
Match 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
. - Uci
Strings List<string> - One or more UCI strings in quotes separated by spaces.
- Value string
- DHCP option value.
- Vci
Match 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
. - Vci
Strings List<string> - One or more VCI strings in quotes separated by spaces.
- Server string
- Server.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Code float64
- DHCP option code.
- Fosid float64
- ID.
- Ips []string
- DHCP option IPs.
- Object
System stringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Type string
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - Uci
Match 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
. - Uci
Strings []string - One or more UCI strings in quotes separated by spaces.
- Value string
- DHCP option value.
- Vci
Match 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
. - Vci
Strings []string - One or more VCI strings in quotes separated by spaces.
- server String
- Server.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, 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.
- object
System StringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - type String
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - uci
Match 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
. - uci
Strings List<String> - One or more UCI strings in quotes separated by spaces.
- value String
- DHCP option value.
- vci
Match 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
. - vci
Strings List<String> - One or more VCI strings in quotes separated by spaces.
- server string
- Server.
- adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - code number
- DHCP option code.
- fosid number
- ID.
- ips string[]
- DHCP option IPs.
- object
System stringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - type string
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - uci
Match 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
. - uci
Strings string[] - One or more UCI strings in quotes separated by spaces.
- value string
- DHCP option value.
- vci
Match 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
. - vci
Strings string[] - One or more VCI strings in quotes separated by spaces.
- server str
- Server.
- adom str
- Adom. This value is valid only when the
scopetype
isadom
, 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_ strdhcp_ server_ options_ id - an identifier for the resource with format {{fosid}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - 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 String
- Server.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, 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.
- object
System StringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - type String
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - uci
Match 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
. - uci
Strings List<String> - One or more UCI strings in quotes separated by spaces.
- value String
- DHCP option value.
- vci
Match 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
. - vci
Strings 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
- 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.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, 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.
- Object
System stringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Server string
- Server.
- Type string
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - Uci
Match 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
. - Uci
Strings List<string> - One or more UCI strings in quotes separated by spaces.
- Value string
- DHCP option value.
- Vci
Match 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
. - Vci
Strings List<string> - One or more VCI strings in quotes separated by spaces.
- Adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - Code float64
- DHCP option code.
- Fosid float64
- ID.
- Ips []string
- DHCP option IPs.
- Object
System stringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- Scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - Server string
- Server.
- Type string
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - Uci
Match 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
. - Uci
Strings []string - One or more UCI strings in quotes separated by spaces.
- Value string
- DHCP option value.
- Vci
Match 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
. - Vci
Strings []string - One or more VCI strings in quotes separated by spaces.
- adom String
- Adom. This value is valid only when the
scopetype
isadom
, 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.
- object
System StringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - server String
- Server.
- type String
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - uci
Match 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
. - uci
Strings List<String> - One or more UCI strings in quotes separated by spaces.
- value String
- DHCP option value.
- vci
Match 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
. - vci
Strings List<String> - One or more VCI strings in quotes separated by spaces.
- adom string
- Adom. This value is valid only when the
scopetype
isadom
, otherwise the value of adom in the provider will be inherited. - code number
- DHCP option code.
- fosid number
- ID.
- ips string[]
- DHCP option IPs.
- object
System stringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- scopetype string
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - server string
- Server.
- type string
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - uci
Match 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
. - uci
Strings string[] - One or more UCI strings in quotes separated by spaces.
- value string
- DHCP option value.
- vci
Match 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
. - vci
Strings string[] - One or more VCI strings in quotes separated by spaces.
- adom str
- Adom. This value is valid only when the
scopetype
isadom
, 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_ strdhcp_ server_ options_ id - an identifier for the resource with format {{fosid}}.
- scopetype str
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - 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
isadom
, 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.
- object
System StringDhcp Server Options Id - an identifier for the resource with format {{fosid}}.
- scopetype String
- The scope of application of the resource. Valid values:
inherit
,adom
,global
. Theinherit
means that the scopetype of the provider will be inherited, and adom will also be inherited. The default value isinherit
. - server String
- Server.
- type String
- DHCP option type. Valid values:
hex
,string
,ip
,fqdn
. - uci
Match 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
. - uci
Strings List<String> - One or more UCI strings in quotes separated by spaces.
- value String
- DHCP option value.
- vci
Match 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
. - vci
Strings 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}}
$ 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.