published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger
A reservation of rack units (dcim.rackreservation).
From the official documentation:
Users can reserve specific units within a rack for future use. An arbitrary set of units within a rack can be associated with a single reservation, but reservations cannot span multiple racks. A description is required for each reservation, reservations may optionally be associated with a specific tenant.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = new netbox.Site("test", {name: "test-site"});
const testRack = new netbox.Rack("test", {
name: "test-rack",
siteId: test.siteId,
});
const testUser = new netbox.User("test", {
username: "test-user",
password: "test-password",
});
const testTenant = new netbox.Tenant("test", {name: "test-tenant"});
const testRackReservation = new netbox.RackReservation("test", {
rackId: testRack.rackId,
units: [
1,
2,
3,
],
userId: testUser.userId,
tenantId: testTenant.tenantId,
description: "test-description",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.Site("test", name="test-site")
test_rack = netbox.Rack("test",
name="test-rack",
site_id=test.site_id)
test_user = netbox.User("test",
username="test-user",
password="test-password")
test_tenant = netbox.Tenant("test", name="test-tenant")
test_rack_reservation = netbox.RackReservation("test",
rack_id=test_rack.rack_id,
units=[
1,
2,
3,
],
user_id=test_user.user_id,
tenant_id=test_tenant.tenant_id,
description="test-description")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := netbox.NewSite(ctx, "test", &netbox.SiteArgs{
Name: pulumi.String("test-site"),
})
if err != nil {
return err
}
testRack, err := netbox.NewRack(ctx, "test", &netbox.RackArgs{
Name: pulumi.String("test-rack"),
SiteId: test.SiteId,
})
if err != nil {
return err
}
testUser, err := netbox.NewUser(ctx, "test", &netbox.UserArgs{
Username: pulumi.String("test-user"),
Password: pulumi.String("test-password"),
})
if err != nil {
return err
}
testTenant, err := netbox.NewTenant(ctx, "test", &netbox.TenantArgs{
Name: pulumi.String("test-tenant"),
})
if err != nil {
return err
}
_, err = netbox.NewRackReservation(ctx, "test", &netbox.RackReservationArgs{
RackId: testRack.RackId,
Units: pulumi.Float64Array{
pulumi.Float64(1),
pulumi.Float64(2),
pulumi.Float64(3),
},
UserId: testUser.UserId,
TenantId: testTenant.TenantId,
Description: pulumi.String("test-description"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Netbox = Pulumi.Netbox;
return await Deployment.RunAsync(() =>
{
var test = new Netbox.Site("test", new()
{
Name = "test-site",
});
var testRack = new Netbox.Rack("test", new()
{
Name = "test-rack",
SiteId = test.SiteId,
});
var testUser = new Netbox.User("test", new()
{
Username = "test-user",
Password = "test-password",
});
var testTenant = new Netbox.Tenant("test", new()
{
Name = "test-tenant",
});
var testRackReservation = new Netbox.RackReservation("test", new()
{
RackId = testRack.RackId,
Units = new[]
{
1,
2,
3,
},
UserId = testUser.UserId,
TenantId = testTenant.TenantId,
Description = "test-description",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.Site;
import com.pulumi.netbox.SiteArgs;
import com.pulumi.netbox.Rack;
import com.pulumi.netbox.RackArgs;
import com.pulumi.netbox.User;
import com.pulumi.netbox.UserArgs;
import com.pulumi.netbox.Tenant;
import com.pulumi.netbox.TenantArgs;
import com.pulumi.netbox.RackReservation;
import com.pulumi.netbox.RackReservationArgs;
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 test = new Site("test", SiteArgs.builder()
.name("test-site")
.build());
var testRack = new Rack("testRack", RackArgs.builder()
.name("test-rack")
.siteId(test.siteId())
.build());
var testUser = new User("testUser", UserArgs.builder()
.username("test-user")
.password("test-password")
.build());
var testTenant = new Tenant("testTenant", TenantArgs.builder()
.name("test-tenant")
.build());
var testRackReservation = new RackReservation("testRackReservation", RackReservationArgs.builder()
.rackId(testRack.rackId())
.units(
1.0,
2.0,
3.0)
.userId(testUser.userId())
.tenantId(testTenant.tenantId())
.description("test-description")
.build());
}
}
resources:
test:
type: netbox:Site
properties:
name: test-site
testRack:
type: netbox:Rack
name: test
properties:
name: test-rack
siteId: ${test.siteId}
testUser:
type: netbox:User
name: test
properties:
username: test-user
password: test-password
testTenant:
type: netbox:Tenant
name: test
properties:
name: test-tenant
testRackReservation:
type: netbox:RackReservation
name: test
properties:
rackId: ${testRack.rackId}
units:
- 1
- 2
- 3
userId: ${testUser.userId}
tenantId: ${testTenant.tenantId}
description: test-description
Example coming soon!
Create RackReservation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RackReservation(name: string, args: RackReservationArgs, opts?: CustomResourceOptions);@overload
def RackReservation(resource_name: str,
args: RackReservationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RackReservation(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
rack_id: Optional[float] = None,
units: Optional[Sequence[float]] = None,
user_id: Optional[float] = None,
comments: Optional[str] = None,
custom_fields: Optional[Mapping[str, str]] = None,
owner_id: Optional[float] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tenant_id: Optional[float] = None)func NewRackReservation(ctx *Context, name string, args RackReservationArgs, opts ...ResourceOption) (*RackReservation, error)public RackReservation(string name, RackReservationArgs args, CustomResourceOptions? opts = null)
public RackReservation(String name, RackReservationArgs args)
public RackReservation(String name, RackReservationArgs args, CustomResourceOptions options)
type: netbox:RackReservation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "netbox_rack_reservation" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args RackReservationArgs
- 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 RackReservationArgs
- 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 RackReservationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RackReservationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RackReservationArgs
- 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 rackReservationResource = new Netbox.RackReservation("rackReservationResource", new()
{
Description = "string",
RackId = 0.0,
Units = new[]
{
0.0,
},
UserId = 0.0,
Comments = "string",
CustomFields =
{
{ "string", "string" },
},
OwnerId = 0.0,
Status = "string",
Tags = new[]
{
"string",
},
TenantId = 0.0,
});
example, err := netbox.NewRackReservation(ctx, "rackReservationResource", &netbox.RackReservationArgs{
Description: pulumi.String("string"),
RackId: pulumi.Float64(0),
Units: pulumi.Float64Array{
pulumi.Float64(0),
},
UserId: pulumi.Float64(0),
Comments: pulumi.String("string"),
CustomFields: pulumi.StringMap{
"string": pulumi.String("string"),
},
OwnerId: pulumi.Float64(0),
Status: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TenantId: pulumi.Float64(0),
})
resource "netbox_rack_reservation" "rackReservationResource" {
lifecycle {
create_before_destroy = true
}
description = "string"
rack_id = 0
units = [0]
user_id = 0
comments = "string"
custom_fields = {
"string" = "string"
}
owner_id = 0
status = "string"
tags = ["string"]
tenant_id = 0
}
var rackReservationResource = new RackReservation("rackReservationResource", RackReservationArgs.builder()
.description("string")
.rackId(0.0)
.units(0.0)
.userId(0.0)
.comments("string")
.customFields(Map.of("string", "string"))
.ownerId(0.0)
.status("string")
.tags("string")
.tenantId(0.0)
.build());
rack_reservation_resource = netbox.RackReservation("rackReservationResource",
description="string",
rack_id=float(0),
units=[float(0)],
user_id=float(0),
comments="string",
custom_fields={
"string": "string",
},
owner_id=float(0),
status="string",
tags=["string"],
tenant_id=float(0))
const rackReservationResource = new netbox.RackReservation("rackReservationResource", {
description: "string",
rackId: 0,
units: [0],
userId: 0,
comments: "string",
customFields: {
string: "string",
},
ownerId: 0,
status: "string",
tags: ["string"],
tenantId: 0,
});
type: netbox:RackReservation
properties:
comments: string
customFields:
string: string
description: string
ownerId: 0
rackId: 0
status: string
tags:
- string
tenantId: 0
units:
- 0
userId: 0
RackReservation 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 RackReservation resource accepts the following input properties:
- Description string
- Purpose of the reservation.
- Rack
Id double - Id of the rack.
- Units List<double>
- Rack unit numbers being reserved.
- User
Id double - Id of the NetBox user holding the reservation.
- Comments string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Owner
Id double - Id of the owner the object is assigned to.
- Status string
- Status of the reservation. One of: pending, active, stale.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Tenant
Id double - Id of the tenant.
- Description string
- Purpose of the reservation.
- Rack
Id float64 - Id of the rack.
- Units []float64
- Rack unit numbers being reserved.
- User
Id float64 - Id of the NetBox user holding the reservation.
- Comments string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Owner
Id float64 - Id of the owner the object is assigned to.
- Status string
- Status of the reservation. One of: pending, active, stale.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Tenant
Id float64 - Id of the tenant.
- description string
- Purpose of the reservation.
- rack_
id number - Id of the rack.
- units list(number)
- Rack unit numbers being reserved.
- user_
id number - Id of the NetBox user holding the reservation.
- comments string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- owner_
id number - Id of the owner the object is assigned to.
- status string
- Status of the reservation. One of: pending, active, stale.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- tenant_
id number - Id of the tenant.
- description String
- Purpose of the reservation.
- rack
Id Double - Id of the rack.
- units List<Double>
- Rack unit numbers being reserved.
- user
Id Double - Id of the NetBox user holding the reservation.
- comments String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- owner
Id Double - Id of the owner the object is assigned to.
- status String
- Status of the reservation. One of: pending, active, stale.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- tenant
Id Double - Id of the tenant.
- description string
- Purpose of the reservation.
- rack
Id number - Id of the rack.
- units number[]
- Rack unit numbers being reserved.
- user
Id number - Id of the NetBox user holding the reservation.
- comments string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- owner
Id number - Id of the owner the object is assigned to.
- status string
- Status of the reservation. One of: pending, active, stale.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- tenant
Id number - Id of the tenant.
- description str
- Purpose of the reservation.
- rack_
id float - Id of the rack.
- units Sequence[float]
- Rack unit numbers being reserved.
- user_
id float - Id of the NetBox user holding the reservation.
- comments str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- owner_
id float - Id of the owner the object is assigned to.
- status str
- Status of the reservation. One of: pending, active, stale.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- tenant_
id float - Id of the tenant.
- description String
- Purpose of the reservation.
- rack
Id Number - Id of the rack.
- units List<Number>
- Rack unit numbers being reserved.
- user
Id Number - Id of the NetBox user holding the reservation.
- comments String
- custom
Fields Map<String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- owner
Id Number - Id of the owner the object is assigned to.
- status String
- Status of the reservation. One of: pending, active, stale.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- tenant
Id Number - Id of the tenant.
Outputs
All input properties are implicitly available as output properties. Additionally, the RackReservation resource produces the following output properties:
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string - Rack
Reservation doubleId - NetBox id.
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Unit
Count double - Number of rack units reserved.
- Url string
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string - Rack
Reservation float64Id - NetBox id.
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Unit
Count float64 - Number of rack units reserved.
- Url string
- created string
- id string
- The provider-assigned unique ID for this managed resource.
- last_
updated string - rack_
reservation_ numberid - NetBox id.
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- unit_
count number - Number of rack units reserved.
- url string
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated String - rack
Reservation DoubleId - NetBox id.
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- unit
Count Double - Number of rack units reserved.
- url String
- created string
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated string - rack
Reservation numberId - NetBox id.
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- unit
Count number - Number of rack units reserved.
- url string
- created str
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated str - rack_
reservation_ floatid - NetBox id.
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- unit_
count float - Number of rack units reserved.
- url str
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated String - rack
Reservation NumberId - NetBox id.
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- unit
Count Number - Number of rack units reserved.
- url String
Look up Existing RackReservation Resource
Get an existing RackReservation 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?: RackReservationState, opts?: CustomResourceOptions): RackReservation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comments: Optional[str] = None,
created: Optional[str] = None,
custom_fields: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
last_updated: Optional[str] = None,
owner_id: Optional[float] = None,
rack_id: Optional[float] = None,
rack_reservation_id: Optional[float] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
tags_alls: Optional[Sequence[str]] = None,
tenant_id: Optional[float] = None,
unit_count: Optional[float] = None,
units: Optional[Sequence[float]] = None,
url: Optional[str] = None,
user_id: Optional[float] = None) -> RackReservationfunc GetRackReservation(ctx *Context, name string, id IDInput, state *RackReservationState, opts ...ResourceOption) (*RackReservation, error)public static RackReservation Get(string name, Input<string> id, RackReservationState? state, CustomResourceOptions? opts = null)public static RackReservation get(String name, Output<String> id, RackReservationState state, CustomResourceOptions options)resources: _: type: netbox:RackReservation get: id: ${id}import {
to = netbox_rack_reservation.example
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.
- Comments string
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Purpose of the reservation.
- Last
Updated string - Owner
Id double - Id of the owner the object is assigned to.
- Rack
Id double - Id of the rack.
- Rack
Reservation doubleId - NetBox id.
- Status string
- Status of the reservation. One of: pending, active, stale.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Tenant
Id double - Id of the tenant.
- Unit
Count double - Number of rack units reserved.
- Units List<double>
- Rack unit numbers being reserved.
- Url string
- User
Id double - Id of the NetBox user holding the reservation.
- Comments string
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Purpose of the reservation.
- Last
Updated string - Owner
Id float64 - Id of the owner the object is assigned to.
- Rack
Id float64 - Id of the rack.
- Rack
Reservation float64Id - NetBox id.
- Status string
- Status of the reservation. One of: pending, active, stale.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Tenant
Id float64 - Id of the tenant.
- Unit
Count float64 - Number of rack units reserved.
- Units []float64
- Rack unit numbers being reserved.
- Url string
- User
Id float64 - Id of the NetBox user holding the reservation.
- comments string
- created string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- Purpose of the reservation.
- last_
updated string - owner_
id number - Id of the owner the object is assigned to.
- rack_
id number - Id of the rack.
- rack_
reservation_ numberid - NetBox id.
- status string
- Status of the reservation. One of: pending, active, stale.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- tenant_
id number - Id of the tenant.
- unit_
count number - Number of rack units reserved.
- units list(number)
- Rack unit numbers being reserved.
- url string
- user_
id number - Id of the NetBox user holding the reservation.
- comments String
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- Purpose of the reservation.
- last
Updated String - owner
Id Double - Id of the owner the object is assigned to.
- rack
Id Double - Id of the rack.
- rack
Reservation DoubleId - NetBox id.
- status String
- Status of the reservation. One of: pending, active, stale.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id Double - Id of the tenant.
- unit
Count Double - Number of rack units reserved.
- units List<Double>
- Rack unit numbers being reserved.
- url String
- user
Id Double - Id of the NetBox user holding the reservation.
- comments string
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- Purpose of the reservation.
- last
Updated string - owner
Id number - Id of the owner the object is assigned to.
- rack
Id number - Id of the rack.
- rack
Reservation numberId - NetBox id.
- status string
- Status of the reservation. One of: pending, active, stale.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id number - Id of the tenant.
- unit
Count number - Number of rack units reserved.
- units number[]
- Rack unit numbers being reserved.
- url string
- user
Id number - Id of the NetBox user holding the reservation.
- comments str
- created str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description str
- Purpose of the reservation.
- last_
updated str - owner_
id float - Id of the owner the object is assigned to.
- rack_
id float - Id of the rack.
- rack_
reservation_ floatid - NetBox id.
- status str
- Status of the reservation. One of: pending, active, stale.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- tenant_
id float - Id of the tenant.
- unit_
count float - Number of rack units reserved.
- units Sequence[float]
- Rack unit numbers being reserved.
- url str
- user_
id float - Id of the NetBox user holding the reservation.
- comments String
- created String
- custom
Fields Map<String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- Purpose of the reservation.
- last
Updated String - owner
Id Number - Id of the owner the object is assigned to.
- rack
Id Number - Id of the rack.
- rack
Reservation NumberId - NetBox id.
- status String
- Status of the reservation. One of: pending, active, stale.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id Number - Id of the tenant.
- unit
Count Number - Number of rack units reserved.
- units List<Number>
- Rack unit numbers being reserved.
- url String
- user
Id Number - Id of the NetBox user holding the reservation.
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = netbox_rack_reservation.test
id = “123”
}
The pulumi import command can be used, for example:
$ pulumi import netbox:index/rackReservation:RackReservation test 123
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Wednesday, Nov 4, 2026 by e-breuninger