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

fortimanager.ObjectSystemDhcpServerReservedaddress

Explore with Pulumi AI

Options for the DHCP server to assign IP settings to specific MAC addresses.

This resource is a sub resource for variable reserved_address 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 trname4 = new fortimanager.ObjectSystemDhcpServer("trname4", {fosid: 5});
const trname = new fortimanager.ObjectSystemDhcpServerReservedaddress("trname", {
    server: trname4.fosid,
    description: "This is a Terraform example",
    fosid: 34,
    ip: "10.160.88.34",
}, {
    dependsOn: [trname4],
});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname4 = fortimanager.ObjectSystemDhcpServer("trname4", fosid=5)
trname = fortimanager.ObjectSystemDhcpServerReservedaddress("trname",
    server=trname4.fosid,
    description="This is a Terraform example",
    fosid=34,
    ip="10.160.88.34",
    opts = pulumi.ResourceOptions(depends_on=[trname4]))
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 {
		trname4, err := fortimanager.NewObjectSystemDhcpServer(ctx, "trname4", &fortimanager.ObjectSystemDhcpServerArgs{
			Fosid: pulumi.Float64(5),
		})
		if err != nil {
			return err
		}
		_, err = fortimanager.NewObjectSystemDhcpServerReservedaddress(ctx, "trname", &fortimanager.ObjectSystemDhcpServerReservedaddressArgs{
			Server:      trname4.Fosid,
			Description: pulumi.String("This is a Terraform example"),
			Fosid:       pulumi.Float64(34),
			Ip:          pulumi.String("10.160.88.34"),
		}, pulumi.DependsOn([]pulumi.Resource{
			trname4,
		}))
		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 trname4 = new Fortimanager.ObjectSystemDhcpServer("trname4", new()
    {
        Fosid = 5,
    });

    var trname = new Fortimanager.ObjectSystemDhcpServerReservedaddress("trname", new()
    {
        Server = trname4.Fosid,
        Description = "This is a Terraform example",
        Fosid = 34,
        Ip = "10.160.88.34",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            trname4,
        },
    });

});
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.ObjectSystemDhcpServerReservedaddress;
import com.pulumi.fortimanager.ObjectSystemDhcpServerReservedaddressArgs;
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 trname4 = new ObjectSystemDhcpServer("trname4", ObjectSystemDhcpServerArgs.builder()
            .fosid(5)
            .build());

        var trname = new ObjectSystemDhcpServerReservedaddress("trname", ObjectSystemDhcpServerReservedaddressArgs.builder()
            .server(trname4.fosid())
            .description("This is a Terraform example")
            .fosid(34)
            .ip("10.160.88.34")
            .build(), CustomResourceOptions.builder()
                .dependsOn(trname4)
                .build());

    }
}
Copy
resources:
  trname:
    type: fortimanager:ObjectSystemDhcpServerReservedaddress
    properties:
      server: ${trname4.fosid}
      description: This is a Terraform example
      fosid: 34
      ip: 10.160.88.34
    options:
      dependsOn:
        - ${trname4}
  trname4:
    type: fortimanager:ObjectSystemDhcpServer
    properties:
      fosid: 5
Copy

Create ObjectSystemDhcpServerReservedaddress Resource

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

Constructor syntax

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

@overload
def ObjectSystemDhcpServerReservedaddress(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          server: Optional[str] = None,
                                          ip: Optional[str] = None,
                                          circuit_id: Optional[str] = None,
                                          circuit_id_type: Optional[str] = None,
                                          description: Optional[str] = None,
                                          fosid: Optional[float] = None,
                                          action: Optional[str] = None,
                                          mac: Optional[str] = None,
                                          object_system_dhcp_server_reservedaddress_id: Optional[str] = None,
                                          remote_id: Optional[str] = None,
                                          remote_id_type: Optional[str] = None,
                                          scopetype: Optional[str] = None,
                                          adom: Optional[str] = None,
                                          type: Optional[str] = None)
func NewObjectSystemDhcpServerReservedaddress(ctx *Context, name string, args ObjectSystemDhcpServerReservedaddressArgs, opts ...ResourceOption) (*ObjectSystemDhcpServerReservedaddress, error)
public ObjectSystemDhcpServerReservedaddress(string name, ObjectSystemDhcpServerReservedaddressArgs args, CustomResourceOptions? opts = null)
public ObjectSystemDhcpServerReservedaddress(String name, ObjectSystemDhcpServerReservedaddressArgs args)
public ObjectSystemDhcpServerReservedaddress(String name, ObjectSystemDhcpServerReservedaddressArgs args, CustomResourceOptions options)
type: fortimanager:ObjectSystemDhcpServerReservedaddress
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. ObjectSystemDhcpServerReservedaddressArgs
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. ObjectSystemDhcpServerReservedaddressArgs
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. ObjectSystemDhcpServerReservedaddressArgs
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. ObjectSystemDhcpServerReservedaddressArgs
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. ObjectSystemDhcpServerReservedaddressArgs
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 objectSystemDhcpServerReservedaddressResource = new Fortimanager.ObjectSystemDhcpServerReservedaddress("objectSystemDhcpServerReservedaddressResource", new()
{
    Server = "string",
    Ip = "string",
    CircuitId = "string",
    CircuitIdType = "string",
    Description = "string",
    Fosid = 0,
    Action = "string",
    Mac = "string",
    ObjectSystemDhcpServerReservedaddressId = "string",
    RemoteId = "string",
    RemoteIdType = "string",
    Scopetype = "string",
    Adom = "string",
    Type = "string",
});
Copy
example, err := fortimanager.NewObjectSystemDhcpServerReservedaddress(ctx, "objectSystemDhcpServerReservedaddressResource", &fortimanager.ObjectSystemDhcpServerReservedaddressArgs{
Server: pulumi.String("string"),
Ip: pulumi.String("string"),
CircuitId: pulumi.String("string"),
CircuitIdType: pulumi.String("string"),
Description: pulumi.String("string"),
Fosid: pulumi.Float64(0),
Action: pulumi.String("string"),
Mac: pulumi.String("string"),
ObjectSystemDhcpServerReservedaddressId: pulumi.String("string"),
RemoteId: pulumi.String("string"),
RemoteIdType: pulumi.String("string"),
Scopetype: pulumi.String("string"),
Adom: pulumi.String("string"),
Type: pulumi.String("string"),
})
Copy
var objectSystemDhcpServerReservedaddressResource = new ObjectSystemDhcpServerReservedaddress("objectSystemDhcpServerReservedaddressResource", ObjectSystemDhcpServerReservedaddressArgs.builder()
    .server("string")
    .ip("string")
    .circuitId("string")
    .circuitIdType("string")
    .description("string")
    .fosid(0)
    .action("string")
    .mac("string")
    .objectSystemDhcpServerReservedaddressId("string")
    .remoteId("string")
    .remoteIdType("string")
    .scopetype("string")
    .adom("string")
    .type("string")
    .build());
Copy
object_system_dhcp_server_reservedaddress_resource = fortimanager.ObjectSystemDhcpServerReservedaddress("objectSystemDhcpServerReservedaddressResource",
    server="string",
    ip="string",
    circuit_id="string",
    circuit_id_type="string",
    description="string",
    fosid=0,
    action="string",
    mac="string",
    object_system_dhcp_server_reservedaddress_id="string",
    remote_id="string",
    remote_id_type="string",
    scopetype="string",
    adom="string",
    type="string")
Copy
const objectSystemDhcpServerReservedaddressResource = new fortimanager.ObjectSystemDhcpServerReservedaddress("objectSystemDhcpServerReservedaddressResource", {
    server: "string",
    ip: "string",
    circuitId: "string",
    circuitIdType: "string",
    description: "string",
    fosid: 0,
    action: "string",
    mac: "string",
    objectSystemDhcpServerReservedaddressId: "string",
    remoteId: "string",
    remoteIdType: "string",
    scopetype: "string",
    adom: "string",
    type: "string",
});
Copy
type: fortimanager:ObjectSystemDhcpServerReservedaddress
properties:
    action: string
    adom: string
    circuitId: string
    circuitIdType: string
    description: string
    fosid: 0
    ip: string
    mac: string
    objectSystemDhcpServerReservedaddressId: string
    remoteId: string
    remoteIdType: string
    scopetype: string
    server: string
    type: string
Copy

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

Server This property is required. string
Server.
Action string
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CircuitId string
Option 82 circuit-ID of the client that will get the reserved IP address.
CircuitIdType string
DHCP option type. Valid values: hex, string.
Description string
Description.
Fosid double
ID.
Ip string
IP address to be reserved for the MAC address.
Mac string
MAC address of the client that will get the reserved IP address.
ObjectSystemDhcpServerReservedaddressId string
an identifier for the resource with format {{fosid}}.
RemoteId string
Option 82 remote-ID of the client that will get the reserved IP address.
RemoteIdType string
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
Server This property is required. string
Server.
Action string
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CircuitId string
Option 82 circuit-ID of the client that will get the reserved IP address.
CircuitIdType string
DHCP option type. Valid values: hex, string.
Description string
Description.
Fosid float64
ID.
Ip string
IP address to be reserved for the MAC address.
Mac string
MAC address of the client that will get the reserved IP address.
ObjectSystemDhcpServerReservedaddressId string
an identifier for the resource with format {{fosid}}.
RemoteId string
Option 82 remote-ID of the client that will get the reserved IP address.
RemoteIdType string
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
server This property is required. String
Server.
action String
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuitId String
Option 82 circuit-ID of the client that will get the reserved IP address.
circuitIdType String
DHCP option type. Valid values: hex, string.
description String
Description.
fosid Double
ID.
ip String
IP address to be reserved for the MAC address.
mac String
MAC address of the client that will get the reserved IP address.
objectSystemDhcpServerReservedaddressId String
an identifier for the resource with format {{fosid}}.
remoteId String
Option 82 remote-ID of the client that will get the reserved IP address.
remoteIdType String
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
server This property is required. string
Server.
action string
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuitId string
Option 82 circuit-ID of the client that will get the reserved IP address.
circuitIdType string
DHCP option type. Valid values: hex, string.
description string
Description.
fosid number
ID.
ip string
IP address to be reserved for the MAC address.
mac string
MAC address of the client that will get the reserved IP address.
objectSystemDhcpServerReservedaddressId string
an identifier for the resource with format {{fosid}}.
remoteId string
Option 82 remote-ID of the client that will get the reserved IP address.
remoteIdType string
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
server This property is required. str
Server.
action str
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuit_id str
Option 82 circuit-ID of the client that will get the reserved IP address.
circuit_id_type str
DHCP option type. Valid values: hex, string.
description str
Description.
fosid float
ID.
ip str
IP address to be reserved for the MAC address.
mac str
MAC address of the client that will get the reserved IP address.
object_system_dhcp_server_reservedaddress_id str
an identifier for the resource with format {{fosid}}.
remote_id str
Option 82 remote-ID of the client that will get the reserved IP address.
remote_id_type str
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
server This property is required. String
Server.
action String
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuitId String
Option 82 circuit-ID of the client that will get the reserved IP address.
circuitIdType String
DHCP option type. Valid values: hex, string.
description String
Description.
fosid Number
ID.
ip String
IP address to be reserved for the MAC address.
mac String
MAC address of the client that will get the reserved IP address.
objectSystemDhcpServerReservedaddressId String
an identifier for the resource with format {{fosid}}.
remoteId String
Option 82 remote-ID of the client that will get the reserved IP address.
remoteIdType String
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.

Outputs

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

Get an existing ObjectSystemDhcpServerReservedaddress 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?: ObjectSystemDhcpServerReservedaddressState, opts?: CustomResourceOptions): ObjectSystemDhcpServerReservedaddress
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action: Optional[str] = None,
        adom: Optional[str] = None,
        circuit_id: Optional[str] = None,
        circuit_id_type: Optional[str] = None,
        description: Optional[str] = None,
        fosid: Optional[float] = None,
        ip: Optional[str] = None,
        mac: Optional[str] = None,
        object_system_dhcp_server_reservedaddress_id: Optional[str] = None,
        remote_id: Optional[str] = None,
        remote_id_type: Optional[str] = None,
        scopetype: Optional[str] = None,
        server: Optional[str] = None,
        type: Optional[str] = None) -> ObjectSystemDhcpServerReservedaddress
func GetObjectSystemDhcpServerReservedaddress(ctx *Context, name string, id IDInput, state *ObjectSystemDhcpServerReservedaddressState, opts ...ResourceOption) (*ObjectSystemDhcpServerReservedaddress, error)
public static ObjectSystemDhcpServerReservedaddress Get(string name, Input<string> id, ObjectSystemDhcpServerReservedaddressState? state, CustomResourceOptions? opts = null)
public static ObjectSystemDhcpServerReservedaddress get(String name, Output<String> id, ObjectSystemDhcpServerReservedaddressState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:ObjectSystemDhcpServerReservedaddress    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:
Action string
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CircuitId string
Option 82 circuit-ID of the client that will get the reserved IP address.
CircuitIdType string
DHCP option type. Valid values: hex, string.
Description string
Description.
Fosid double
ID.
Ip string
IP address to be reserved for the MAC address.
Mac string
MAC address of the client that will get the reserved IP address.
ObjectSystemDhcpServerReservedaddressId string
an identifier for the resource with format {{fosid}}.
RemoteId string
Option 82 remote-ID of the client that will get the reserved IP address.
RemoteIdType string
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
Action string
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
Adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
CircuitId string
Option 82 circuit-ID of the client that will get the reserved IP address.
CircuitIdType string
DHCP option type. Valid values: hex, string.
Description string
Description.
Fosid float64
ID.
Ip string
IP address to be reserved for the MAC address.
Mac string
MAC address of the client that will get the reserved IP address.
ObjectSystemDhcpServerReservedaddressId string
an identifier for the resource with format {{fosid}}.
RemoteId string
Option 82 remote-ID of the client that will get the reserved IP address.
RemoteIdType string
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
action String
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuitId String
Option 82 circuit-ID of the client that will get the reserved IP address.
circuitIdType String
DHCP option type. Valid values: hex, string.
description String
Description.
fosid Double
ID.
ip String
IP address to be reserved for the MAC address.
mac String
MAC address of the client that will get the reserved IP address.
objectSystemDhcpServerReservedaddressId String
an identifier for the resource with format {{fosid}}.
remoteId String
Option 82 remote-ID of the client that will get the reserved IP address.
remoteIdType String
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
action string
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom string
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuitId string
Option 82 circuit-ID of the client that will get the reserved IP address.
circuitIdType string
DHCP option type. Valid values: hex, string.
description string
Description.
fosid number
ID.
ip string
IP address to be reserved for the MAC address.
mac string
MAC address of the client that will get the reserved IP address.
objectSystemDhcpServerReservedaddressId string
an identifier for the resource with format {{fosid}}.
remoteId string
Option 82 remote-ID of the client that will get the reserved IP address.
remoteIdType string
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
action str
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom str
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuit_id str
Option 82 circuit-ID of the client that will get the reserved IP address.
circuit_id_type str
DHCP option type. Valid values: hex, string.
description str
Description.
fosid float
ID.
ip str
IP address to be reserved for the MAC address.
mac str
MAC address of the client that will get the reserved IP address.
object_system_dhcp_server_reservedaddress_id str
an identifier for the resource with format {{fosid}}.
remote_id str
Option 82 remote-ID of the client that will get the reserved IP address.
remote_id_type str
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.
action String
Options for the DHCP server to configure the client with the reserved MAC address. Valid values: assign, block, reserved.
adom String
Adom. This value is valid only when the scopetype is adom, otherwise the value of adom in the provider will be inherited.
circuitId String
Option 82 circuit-ID of the client that will get the reserved IP address.
circuitIdType String
DHCP option type. Valid values: hex, string.
description String
Description.
fosid Number
ID.
ip String
IP address to be reserved for the MAC address.
mac String
MAC address of the client that will get the reserved IP address.
objectSystemDhcpServerReservedaddressId String
an identifier for the resource with format {{fosid}}.
remoteId String
Option 82 remote-ID of the client that will get the reserved IP address.
remoteIdType String
DHCP option type. Valid values: hex, string.
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 reserved-address type. Valid values: mac, option82.

Import

ObjectSystem DhcpServerReservedAddress 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/objectSystemDhcpServerReservedaddress:ObjectSystemDhcpServerReservedaddress 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.