published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
A NetBox custom field definition (extras.customfield). Values are set per object via the custom_fields attribute.
From the official documentation:
Each model in NetBox is represented in the database as a discrete table, and each attribute of a model exists as a column within its table. For example, sites are stored in the dcim_site table, which has columns named name, facility, physical_address, and so on. As new attributes are added to objects throughout the development of NetBox, tables are expanded to include new rows.
However, some users might want to store additional object attributes that are somewhat esoteric in nature, and that would not make sense to include in the core NetBox database schema. For instance, suppose your organization needs to associate each device with a ticket number correlating it with an internal support system record. This is certainly a legitimate use for NetBox, but it’s not a common enough need to warrant including a field for every NetBox installation. Instead, you can create a custom field to hold this data.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getCustomField({
name: "test_custom_field",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_custom_field(name="test_custom_field")
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 {
_, err := netbox.LookupCustomField(ctx, &netbox.LookupCustomFieldArgs{
Name: pulumi.StringRef("test_custom_field"),
}, nil)
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 = Netbox.GetCustomField.Invoke(new()
{
Name = "test_custom_field",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.NetboxFunctions;
import com.pulumi.netbox.inputs.GetCustomFieldArgs;
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) {
final var test = NetboxFunctions.getCustomField(GetCustomFieldArgs.builder()
.name("test_custom_field")
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getCustomField
arguments:
name: test_custom_field
Example coming soon!
Using getCustomField
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomField(args: GetCustomFieldArgs, opts?: InvokeOptions): Promise<GetCustomFieldResult>
function getCustomFieldOutput(args: GetCustomFieldOutputArgs, opts?: InvokeOutputOptions): Output<GetCustomFieldResult>def get_custom_field(choice_set: Optional[str] = None,
choice_set_id: Optional[float] = None,
created: Optional[str] = None,
description: Optional[str] = None,
filter_logic: Optional[str] = None,
group_name: Optional[str] = None,
id: Optional[float] = None,
is_cloneable: Optional[bool] = None,
label: Optional[str] = None,
last_updated: Optional[str] = None,
name: Optional[str] = None,
object_type: Optional[str] = None,
object_type_id: Optional[float] = None,
owner_group_id: Optional[float] = None,
owner_group_name: Optional[str] = None,
owner_id: Optional[float] = None,
owner_name: Optional[str] = None,
q: Optional[str] = None,
related_object_type: Optional[str] = None,
related_object_type_id: Optional[float] = None,
required: Optional[bool] = None,
search_weight: Optional[float] = None,
type: Optional[str] = None,
ui_editable: Optional[str] = None,
ui_visible: Optional[str] = None,
unique: Optional[bool] = None,
validation_maximum: Optional[float] = None,
validation_minimum: Optional[float] = None,
validation_regex: Optional[str] = None,
weight: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomFieldResult
def get_custom_field_output(choice_set: pulumi.Input[Optional[str]] = None,
choice_set_id: pulumi.Input[Optional[float]] = None,
created: pulumi.Input[Optional[str]] = None,
description: pulumi.Input[Optional[str]] = None,
filter_logic: pulumi.Input[Optional[str]] = None,
group_name: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[float]] = None,
is_cloneable: pulumi.Input[Optional[bool]] = None,
label: pulumi.Input[Optional[str]] = None,
last_updated: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
object_type: pulumi.Input[Optional[str]] = None,
object_type_id: pulumi.Input[Optional[float]] = None,
owner_group_id: pulumi.Input[Optional[float]] = None,
owner_group_name: pulumi.Input[Optional[str]] = None,
owner_id: pulumi.Input[Optional[float]] = None,
owner_name: pulumi.Input[Optional[str]] = None,
q: pulumi.Input[Optional[str]] = None,
related_object_type: pulumi.Input[Optional[str]] = None,
related_object_type_id: pulumi.Input[Optional[float]] = None,
required: pulumi.Input[Optional[bool]] = None,
search_weight: pulumi.Input[Optional[float]] = None,
type: pulumi.Input[Optional[str]] = None,
ui_editable: pulumi.Input[Optional[str]] = None,
ui_visible: pulumi.Input[Optional[str]] = None,
unique: pulumi.Input[Optional[bool]] = None,
validation_maximum: pulumi.Input[Optional[float]] = None,
validation_minimum: pulumi.Input[Optional[float]] = None,
validation_regex: pulumi.Input[Optional[str]] = None,
weight: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCustomFieldResult]func LookupCustomField(ctx *Context, args *LookupCustomFieldArgs, opts ...InvokeOption) (*LookupCustomFieldResult, error)
func LookupCustomFieldOutput(ctx *Context, args *LookupCustomFieldOutputArgs, opts ...InvokeOption) LookupCustomFieldResultOutput> Note: This function is named LookupCustomField in the Go SDK.
public static class GetCustomField
{
public static Task<GetCustomFieldResult> InvokeAsync(GetCustomFieldArgs args, InvokeOptions? opts = null)
public static Output<GetCustomFieldResult> Invoke(GetCustomFieldInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCustomFieldResult> Invoke(GetCustomFieldInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCustomFieldResult> getCustomField(GetCustomFieldArgs args, InvokeOptions options)
public static Output<GetCustomFieldResult> getCustomField(GetCustomFieldArgs args, InvokeOptions options)
public static Output<GetCustomFieldResult> getCustomField(GetCustomFieldArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getCustomField:getCustomField
arguments:
# arguments dictionarydata "netbox_get_custom_field" "name" {
# arguments
}The following arguments are supported:
- Choice
Set string - Choice set to match.
- Choice
Set doubleId - Id of the choice set (select and multiselect fields).
- Created string
- Description string
- Filter
Logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- Group
Name string - Custom fields in the same group are shown together.
- Id double
- NetBox id of the custom field.
- Is
Cloneable bool - Whether the value is copied when an object is cloned.
- Label string
- Human-readable label.
- Last
Updated string - Name string
- Internal field name (also the key in custom_fields).
- Object
Type string - Object type to match.
- Object
Type doubleId - Id of the object type.
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id double - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- double
- Id of the related object type.
- Required bool
- Whether a value is required when creating objects.
- Search
Weight double - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- Type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- Ui
Editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- Ui
Visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- Unique bool
- Whether the value must be unique among the objects the field is assigned to.
- Validation
Maximum double - Maximum allowed value (numeric fields).
- Validation
Minimum double - Minimum allowed value (numeric fields).
- Validation
Regex string - Regular expression text values must match.
- Weight double
- Order within a group. Must be a whole number.
- Choice
Set string - Choice set to match.
- Choice
Set float64Id - Id of the choice set (select and multiselect fields).
- Created string
- Description string
- Filter
Logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- Group
Name string - Custom fields in the same group are shown together.
- Id float64
- NetBox id of the custom field.
- Is
Cloneable bool - Whether the value is copied when an object is cloned.
- Label string
- Human-readable label.
- Last
Updated string - Name string
- Internal field name (also the key in custom_fields).
- Object
Type string - Object type to match.
- Object
Type float64Id - Id of the object type.
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id float64 - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- float64
- Id of the related object type.
- Required bool
- Whether a value is required when creating objects.
- Search
Weight float64 - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- Type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- Ui
Editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- Ui
Visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- Unique bool
- Whether the value must be unique among the objects the field is assigned to.
- Validation
Maximum float64 - Maximum allowed value (numeric fields).
- Validation
Minimum float64 - Minimum allowed value (numeric fields).
- Validation
Regex string - Regular expression text values must match.
- Weight float64
- Order within a group. Must be a whole number.
- choice_
set string - Choice set to match.
- choice_
set_ numberid - Id of the choice set (select and multiselect fields).
- created string
- description string
- filter_
logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- group_
name string - Custom fields in the same group are shown together.
- id number
- NetBox id of the custom field.
- is_
cloneable bool - Whether the value is copied when an object is cloned.
- label string
- Human-readable label.
- last_
updated string - name string
- Internal field name (also the key in custom_fields).
- object_
type string - Object type to match.
- object_
type_ numberid - Id of the object type.
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
id number - Id of the owner the object is assigned to.
- owner_
name string - Name of the owner.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- number
- Id of the related object type.
- required bool
- Whether a value is required when creating objects.
- search_
weight number - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui_
editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui_
visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique bool
- Whether the value must be unique among the objects the field is assigned to.
- validation_
maximum number - Maximum allowed value (numeric fields).
- validation_
minimum number - Minimum allowed value (numeric fields).
- validation_
regex string - Regular expression text values must match.
- weight number
- Order within a group. Must be a whole number.
- choice
Set String - Choice set to match.
- choice
Set DoubleId - Id of the choice set (select and multiselect fields).
- created String
- description String
- filter
Logic String - How the field is matched when filtering. One of: disabled, loose, exact.
- group
Name String - Custom fields in the same group are shown together.
- id Double
- NetBox id of the custom field.
- is
Cloneable Boolean - Whether the value is copied when an object is cloned.
- label String
- Human-readable label.
- last
Updated String - name String
- Internal field name (also the key in custom_fields).
- object
Type String - Object type to match.
- object
Type DoubleId - Id of the object type.
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Double - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- String
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- Double
- Id of the related object type.
- required Boolean
- Whether a value is required when creating objects.
- search
Weight Double - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type String
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui
Editable String - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui
Visible String - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique Boolean
- Whether the value must be unique among the objects the field is assigned to.
- validation
Maximum Double - Maximum allowed value (numeric fields).
- validation
Minimum Double - Minimum allowed value (numeric fields).
- validation
Regex String - Regular expression text values must match.
- weight Double
- Order within a group. Must be a whole number.
- choice
Set string - Choice set to match.
- choice
Set numberId - Id of the choice set (select and multiselect fields).
- created string
- description string
- filter
Logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- group
Name string - Custom fields in the same group are shown together.
- id number
- NetBox id of the custom field.
- is
Cloneable boolean - Whether the value is copied when an object is cloned.
- label string
- Human-readable label.
- last
Updated string - name string
- Internal field name (also the key in custom_fields).
- object
Type string - Object type to match.
- object
Type numberId - Id of the object type.
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Id number - Id of the owner the object is assigned to.
- owner
Name string - Name of the owner.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- number
- Id of the related object type.
- required boolean
- Whether a value is required when creating objects.
- search
Weight number - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui
Editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui
Visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique boolean
- Whether the value must be unique among the objects the field is assigned to.
- validation
Maximum number - Maximum allowed value (numeric fields).
- validation
Minimum number - Minimum allowed value (numeric fields).
- validation
Regex string - Regular expression text values must match.
- weight number
- Order within a group. Must be a whole number.
- choice_
set str - Choice set to match.
- choice_
set_ floatid - Id of the choice set (select and multiselect fields).
- created str
- description str
- filter_
logic str - How the field is matched when filtering. One of: disabled, loose, exact.
- group_
name str - Custom fields in the same group are shown together.
- id float
- NetBox id of the custom field.
- is_
cloneable bool - Whether the value is copied when an object is cloned.
- label str
- Human-readable label.
- last_
updated str - name str
- Internal field name (also the key in custom_fields).
- object_
type str - Object type to match.
- object_
type_ floatid - Id of the object type.
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
id float - Id of the owner the object is assigned to.
- owner_
name str - Name of the owner.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- str
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- float
- Id of the related object type.
- required bool
- Whether a value is required when creating objects.
- search_
weight float - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type str
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui_
editable str - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui_
visible str - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique bool
- Whether the value must be unique among the objects the field is assigned to.
- validation_
maximum float - Maximum allowed value (numeric fields).
- validation_
minimum float - Minimum allowed value (numeric fields).
- validation_
regex str - Regular expression text values must match.
- weight float
- Order within a group. Must be a whole number.
- choice
Set String - Choice set to match.
- choice
Set NumberId - Id of the choice set (select and multiselect fields).
- created String
- description String
- filter
Logic String - How the field is matched when filtering. One of: disabled, loose, exact.
- group
Name String - Custom fields in the same group are shown together.
- id Number
- NetBox id of the custom field.
- is
Cloneable Boolean - Whether the value is copied when an object is cloned.
- label String
- Human-readable label.
- last
Updated String - name String
- Internal field name (also the key in custom_fields).
- object
Type String - Object type to match.
- object
Type NumberId - Id of the object type.
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Number - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- String
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- Number
- Id of the related object type.
- required Boolean
- Whether a value is required when creating objects.
- search
Weight Number - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type String
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui
Editable String - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui
Visible String - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique Boolean
- Whether the value must be unique among the objects the field is assigned to.
- validation
Maximum Number - Maximum allowed value (numeric fields).
- validation
Minimum Number - Minimum allowed value (numeric fields).
- validation
Regex String - Regular expression text values must match.
- weight Number
- Order within a group. Must be a whole number.
getCustomField Result
The following output properties are available:
- Choice
Set doubleId - Id of the choice set (select and multiselect fields).
- Comments string
- Created string
- Default string
- Default value as JSON text, e.g. jsonencode("foo") or jsonencode(5).
- Description string
- Filter
Logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- Group
Name string - Custom fields in the same group are shown together.
- Id double
- NetBox id of the custom field.
- Is
Cloneable bool - Whether the value is copied when an object is cloned.
- Label string
- Human-readable label.
- Last
Updated string - Name string
- Internal field name (also the key in custom_fields).
- Object
Types List<string> - Object types the field applies to, e.g. dcim.site.
- Owner
Id double - Id of the owner the object is assigned to.
- string
- Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- Required bool
- Whether a value is required when creating objects.
- Search
Weight double - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- Type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- Ui
Editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- Ui
Visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- Unique bool
- Whether the value must be unique among the objects the field is assigned to.
- Url string
- Validation
Maximum double - Maximum allowed value (numeric fields).
- Validation
Minimum double - Minimum allowed value (numeric fields).
- Validation
Regex string - Regular expression text values must match.
- Validation
Schema string - JSON schema that values of a json field must match, as JSON text (use jsonencode()).
- Weight double
- Order within a group. Must be a whole number.
- Choice
Set string - Choice set to match.
- Object
Type string - Object type to match.
- Object
Type doubleId - Id of the object type.
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- double
- Id of the related object type.
- Choice
Set float64Id - Id of the choice set (select and multiselect fields).
- Comments string
- Created string
- Default string
- Default value as JSON text, e.g. jsonencode("foo") or jsonencode(5).
- Description string
- Filter
Logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- Group
Name string - Custom fields in the same group are shown together.
- Id float64
- NetBox id of the custom field.
- Is
Cloneable bool - Whether the value is copied when an object is cloned.
- Label string
- Human-readable label.
- Last
Updated string - Name string
- Internal field name (also the key in custom_fields).
- Object
Types []string - Object types the field applies to, e.g. dcim.site.
- Owner
Id float64 - Id of the owner the object is assigned to.
- string
- Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- Required bool
- Whether a value is required when creating objects.
- Search
Weight float64 - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- Type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- Ui
Editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- Ui
Visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- Unique bool
- Whether the value must be unique among the objects the field is assigned to.
- Url string
- Validation
Maximum float64 - Maximum allowed value (numeric fields).
- Validation
Minimum float64 - Minimum allowed value (numeric fields).
- Validation
Regex string - Regular expression text values must match.
- Validation
Schema string - JSON schema that values of a json field must match, as JSON text (use jsonencode()).
- Weight float64
- Order within a group. Must be a whole number.
- Choice
Set string - Choice set to match.
- Object
Type string - Object type to match.
- Object
Type float64Id - Id of the object type.
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- float64
- Id of the related object type.
- choice_
set_ numberid - Id of the choice set (select and multiselect fields).
- comments string
- created string
- default string
- Default value as JSON text, e.g. jsonencode("foo") or jsonencode(5).
- description string
- filter_
logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- group_
name string - Custom fields in the same group are shown together.
- id number
- NetBox id of the custom field.
- is_
cloneable bool - Whether the value is copied when an object is cloned.
- label string
- Human-readable label.
- last_
updated string - name string
- Internal field name (also the key in custom_fields).
- object_
types list(string) - Object types the field applies to, e.g. dcim.site.
- owner_
id number - Id of the owner the object is assigned to.
- string
- Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- required bool
- Whether a value is required when creating objects.
- search_
weight number - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui_
editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui_
visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique bool
- Whether the value must be unique among the objects the field is assigned to.
- url string
- validation_
maximum number - Maximum allowed value (numeric fields).
- validation_
minimum number - Minimum allowed value (numeric fields).
- validation_
regex string - Regular expression text values must match.
- validation_
schema string - JSON schema that values of a json field must match, as JSON text (use jsonencode()).
- weight number
- Order within a group. Must be a whole number.
- choice_
set string - Choice set to match.
- object_
type string - Object type to match.
- object_
type_ numberid - Id of the object type.
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
name string - Name of the owner.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- number
- Id of the related object type.
- choice
Set DoubleId - Id of the choice set (select and multiselect fields).
- comments String
- created String
- default_ String
- Default value as JSON text, e.g. jsonencode("foo") or jsonencode(5).
- description String
- filter
Logic String - How the field is matched when filtering. One of: disabled, loose, exact.
- group
Name String - Custom fields in the same group are shown together.
- id Double
- NetBox id of the custom field.
- is
Cloneable Boolean - Whether the value is copied when an object is cloned.
- label String
- Human-readable label.
- last
Updated String - name String
- Internal field name (also the key in custom_fields).
- object
Types List<String> - Object types the field applies to, e.g. dcim.site.
- owner
Id Double - Id of the owner the object is assigned to.
- String
- Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
- String
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- required Boolean
- Whether a value is required when creating objects.
- search
Weight Double - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type String
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui
Editable String - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui
Visible String - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique Boolean
- Whether the value must be unique among the objects the field is assigned to.
- url String
- validation
Maximum Double - Maximum allowed value (numeric fields).
- validation
Minimum Double - Minimum allowed value (numeric fields).
- validation
Regex String - Regular expression text values must match.
- validation
Schema String - JSON schema that values of a json field must match, as JSON text (use jsonencode()).
- weight Double
- Order within a group. Must be a whole number.
- choice
Set String - Choice set to match.
- object
Type String - Object type to match.
- object
Type DoubleId - Id of the object type.
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- Double
- Id of the related object type.
- choice
Set numberId - Id of the choice set (select and multiselect fields).
- comments string
- created string
- default string
- Default value as JSON text, e.g. jsonencode("foo") or jsonencode(5).
- description string
- filter
Logic string - How the field is matched when filtering. One of: disabled, loose, exact.
- group
Name string - Custom fields in the same group are shown together.
- id number
- NetBox id of the custom field.
- is
Cloneable boolean - Whether the value is copied when an object is cloned.
- label string
- Human-readable label.
- last
Updated string - name string
- Internal field name (also the key in custom_fields).
- object
Types string[] - Object types the field applies to, e.g. dcim.site.
- owner
Id number - Id of the owner the object is assigned to.
- string
- Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
- string
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- required boolean
- Whether a value is required when creating objects.
- search
Weight number - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type string
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui
Editable string - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui
Visible string - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique boolean
- Whether the value must be unique among the objects the field is assigned to.
- url string
- validation
Maximum number - Maximum allowed value (numeric fields).
- validation
Minimum number - Minimum allowed value (numeric fields).
- validation
Regex string - Regular expression text values must match.
- validation
Schema string - JSON schema that values of a json field must match, as JSON text (use jsonencode()).
- weight number
- Order within a group. Must be a whole number.
- choice
Set string - Choice set to match.
- object
Type string - Object type to match.
- object
Type numberId - Id of the object type.
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Name string - Name of the owner.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- number
- Id of the related object type.
- choice_
set_ floatid - Id of the choice set (select and multiselect fields).
- comments str
- created str
- default str
- Default value as JSON text, e.g. jsonencode("foo") or jsonencode(5).
- description str
- filter_
logic str - How the field is matched when filtering. One of: disabled, loose, exact.
- group_
name str - Custom fields in the same group are shown together.
- id float
- NetBox id of the custom field.
- is_
cloneable bool - Whether the value is copied when an object is cloned.
- label str
- Human-readable label.
- last_
updated str - name str
- Internal field name (also the key in custom_fields).
- object_
types Sequence[str] - Object types the field applies to, e.g. dcim.site.
- owner_
id float - Id of the owner the object is assigned to.
- str
- Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
- str
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- required bool
- Whether a value is required when creating objects.
- search_
weight float - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type str
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui_
editable str - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui_
visible str - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique bool
- Whether the value must be unique among the objects the field is assigned to.
- url str
- validation_
maximum float - Maximum allowed value (numeric fields).
- validation_
minimum float - Minimum allowed value (numeric fields).
- validation_
regex str - Regular expression text values must match.
- validation_
schema str - JSON schema that values of a json field must match, as JSON text (use jsonencode()).
- weight float
- Order within a group. Must be a whole number.
- choice_
set str - Choice set to match.
- object_
type str - Object type to match.
- object_
type_ floatid - Id of the object type.
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
name str - Name of the owner.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- float
- Id of the related object type.
- choice
Set NumberId - Id of the choice set (select and multiselect fields).
- comments String
- created String
- default String
- Default value as JSON text, e.g. jsonencode("foo") or jsonencode(5).
- description String
- filter
Logic String - How the field is matched when filtering. One of: disabled, loose, exact.
- group
Name String - Custom fields in the same group are shown together.
- id Number
- NetBox id of the custom field.
- is
Cloneable Boolean - Whether the value is copied when an object is cloned.
- label String
- Human-readable label.
- last
Updated String - name String
- Internal field name (also the key in custom_fields).
- object
Types List<String> - Object types the field applies to, e.g. dcim.site.
- owner
Id Number - Id of the owner the object is assigned to.
- String
- Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
- String
- Content type of the related objects for object and multiobject fields, e.g. dcim.device.
- required Boolean
- Whether a value is required when creating objects.
- search
Weight Number - Weight of the field in the global search; lower values rank higher and 0 leaves the field out. Must be a whole number.
- type String
- Field data type. One of: text, longtext, integer, decimal, boolean, date, datetime, url, json, select, multiselect, object, multiobject.
- ui
Editable String - Whether the field value can be edited in the UI. One of: yes, no, hidden.
- ui
Visible String - Whether the field is displayed in the UI. One of: always, if-set, hidden.
- unique Boolean
- Whether the value must be unique among the objects the field is assigned to.
- url String
- validation
Maximum Number - Maximum allowed value (numeric fields).
- validation
Minimum Number - Minimum allowed value (numeric fields).
- validation
Regex String - Regular expression text values must match.
- validation
Schema String - JSON schema that values of a json field must match, as JSON text (use jsonencode()).
- weight Number
- Order within a group. Must be a whole number.
- choice
Set String - Choice set to match.
- object
Type String - Object type to match.
- object
Type NumberId - Id of the object type.
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- Number
- Id of the related object type.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Monday, Nov 16, 2026 by e-breuninger