1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getCustomField
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.1
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 dictionary
    data "netbox_get_custom_field" "name" {
        # arguments
    }

    The following arguments are supported:

    ChoiceSet string
    Choice set to match.
    ChoiceSetId double
    Id of the choice set (select and multiselect fields).
    Created string
    Description string
    FilterLogic string
    How the field is matched when filtering. One of: disabled, loose, exact.
    GroupName string
    Custom fields in the same group are shown together.
    Id double
    NetBox id of the custom field.
    IsCloneable bool
    Whether the value is copied when an object is cloned.
    Label string
    Human-readable label.
    LastUpdated string
    Name string
    Internal field name (also the key in custom_fields).
    ObjectType string
    Object type to match.
    ObjectTypeId double
    Id of the object type.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId double
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RelatedObjectType string
    Content type of the related objects for object and multiobject fields, e.g. dcim.device.
    RelatedObjectTypeId double
    Id of the related object type.
    Required bool
    Whether a value is required when creating objects.
    SearchWeight 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.
    UiEditable string
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    UiVisible 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.
    ValidationMaximum double
    Maximum allowed value (numeric fields).
    ValidationMinimum double
    Minimum allowed value (numeric fields).
    ValidationRegex string
    Regular expression text values must match.
    Weight double
    Order within a group. Must be a whole number.
    ChoiceSet string
    Choice set to match.
    ChoiceSetId float64
    Id of the choice set (select and multiselect fields).
    Created string
    Description string
    FilterLogic string
    How the field is matched when filtering. One of: disabled, loose, exact.
    GroupName string
    Custom fields in the same group are shown together.
    Id float64
    NetBox id of the custom field.
    IsCloneable bool
    Whether the value is copied when an object is cloned.
    Label string
    Human-readable label.
    LastUpdated string
    Name string
    Internal field name (also the key in custom_fields).
    ObjectType string
    Object type to match.
    ObjectTypeId float64
    Id of the object type.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId float64
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RelatedObjectType string
    Content type of the related objects for object and multiobject fields, e.g. dcim.device.
    RelatedObjectTypeId float64
    Id of the related object type.
    Required bool
    Whether a value is required when creating objects.
    SearchWeight 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.
    UiEditable string
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    UiVisible 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.
    ValidationMaximum float64
    Maximum allowed value (numeric fields).
    ValidationMinimum float64
    Minimum allowed value (numeric fields).
    ValidationRegex 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_id number
    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_id number
    Id of the object type.
    owner_group_id number
    Id of the owner group.
    owner_group_name string
    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.
    related_object_type string
    Content type of the related objects for object and multiobject fields, e.g. dcim.device.
    related_object_type_id 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.
    choiceSet String
    Choice set to match.
    choiceSetId Double
    Id of the choice set (select and multiselect fields).
    created String
    description String
    filterLogic String
    How the field is matched when filtering. One of: disabled, loose, exact.
    groupName String
    Custom fields in the same group are shown together.
    id Double
    NetBox id of the custom field.
    isCloneable Boolean
    Whether the value is copied when an object is cloned.
    label String
    Human-readable label.
    lastUpdated String
    name String
    Internal field name (also the key in custom_fields).
    objectType String
    Object type to match.
    objectTypeId Double
    Id of the object type.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Double
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    relatedObjectType String
    Content type of the related objects for object and multiobject fields, e.g. dcim.device.
    relatedObjectTypeId Double
    Id of the related object type.
    required Boolean
    Whether a value is required when creating objects.
    searchWeight 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.
    uiEditable String
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    uiVisible 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.
    validationMaximum Double
    Maximum allowed value (numeric fields).
    validationMinimum Double
    Minimum allowed value (numeric fields).
    validationRegex String
    Regular expression text values must match.
    weight Double
    Order within a group. Must be a whole number.
    choiceSet string
    Choice set to match.
    choiceSetId number
    Id of the choice set (select and multiselect fields).
    created string
    description string
    filterLogic string
    How the field is matched when filtering. One of: disabled, loose, exact.
    groupName string
    Custom fields in the same group are shown together.
    id number
    NetBox id of the custom field.
    isCloneable boolean
    Whether the value is copied when an object is cloned.
    label string
    Human-readable label.
    lastUpdated string
    name string
    Internal field name (also the key in custom_fields).
    objectType string
    Object type to match.
    objectTypeId number
    Id of the object type.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerId number
    Id of the owner the object is assigned to.
    ownerName string
    Name of the owner.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    relatedObjectType string
    Content type of the related objects for object and multiobject fields, e.g. dcim.device.
    relatedObjectTypeId number
    Id of the related object type.
    required boolean
    Whether a value is required when creating objects.
    searchWeight 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.
    uiEditable string
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    uiVisible 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.
    validationMaximum number
    Maximum allowed value (numeric fields).
    validationMinimum number
    Minimum allowed value (numeric fields).
    validationRegex 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_id float
    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_id float
    Id of the object type.
    owner_group_id float
    Id of the owner group.
    owner_group_name str
    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.
    related_object_type str
    Content type of the related objects for object and multiobject fields, e.g. dcim.device.
    related_object_type_id 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.
    choiceSet String
    Choice set to match.
    choiceSetId Number
    Id of the choice set (select and multiselect fields).
    created String
    description String
    filterLogic String
    How the field is matched when filtering. One of: disabled, loose, exact.
    groupName String
    Custom fields in the same group are shown together.
    id Number
    NetBox id of the custom field.
    isCloneable Boolean
    Whether the value is copied when an object is cloned.
    label String
    Human-readable label.
    lastUpdated String
    name String
    Internal field name (also the key in custom_fields).
    objectType String
    Object type to match.
    objectTypeId Number
    Id of the object type.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Number
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    relatedObjectType String
    Content type of the related objects for object and multiobject fields, e.g. dcim.device.
    relatedObjectTypeId Number
    Id of the related object type.
    required Boolean
    Whether a value is required when creating objects.
    searchWeight 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.
    uiEditable String
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    uiVisible 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.
    validationMaximum Number
    Maximum allowed value (numeric fields).
    validationMinimum Number
    Minimum allowed value (numeric fields).
    validationRegex 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:

    ChoiceSetId double
    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
    FilterLogic string
    How the field is matched when filtering. One of: disabled, loose, exact.
    GroupName string
    Custom fields in the same group are shown together.
    Id double
    NetBox id of the custom field.
    IsCloneable bool
    Whether the value is copied when an object is cloned.
    Label string
    Human-readable label.
    LastUpdated string
    Name string
    Internal field name (also the key in custom_fields).
    ObjectTypes List<string>
    Object types the field applies to, e.g. dcim.site.
    OwnerId double
    Id of the owner the object is assigned to.
    RelatedObjectFilter string
    Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
    RelatedObjectType 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.
    SearchWeight 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.
    UiEditable string
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    UiVisible 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
    ValidationMaximum double
    Maximum allowed value (numeric fields).
    ValidationMinimum double
    Minimum allowed value (numeric fields).
    ValidationRegex string
    Regular expression text values must match.
    ValidationSchema 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.
    ChoiceSet string
    Choice set to match.
    ObjectType string
    Object type to match.
    ObjectTypeId double
    Id of the object type.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RelatedObjectTypeId double
    Id of the related object type.
    ChoiceSetId float64
    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
    FilterLogic string
    How the field is matched when filtering. One of: disabled, loose, exact.
    GroupName string
    Custom fields in the same group are shown together.
    Id float64
    NetBox id of the custom field.
    IsCloneable bool
    Whether the value is copied when an object is cloned.
    Label string
    Human-readable label.
    LastUpdated string
    Name string
    Internal field name (also the key in custom_fields).
    ObjectTypes []string
    Object types the field applies to, e.g. dcim.site.
    OwnerId float64
    Id of the owner the object is assigned to.
    RelatedObjectFilter string
    Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
    RelatedObjectType 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.
    SearchWeight 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.
    UiEditable string
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    UiVisible 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
    ValidationMaximum float64
    Maximum allowed value (numeric fields).
    ValidationMinimum float64
    Minimum allowed value (numeric fields).
    ValidationRegex string
    Regular expression text values must match.
    ValidationSchema 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.
    ChoiceSet string
    Choice set to match.
    ObjectType string
    Object type to match.
    ObjectTypeId float64
    Id of the object type.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RelatedObjectTypeId float64
    Id of the related object type.
    choice_set_id number
    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.
    related_object_filter string
    Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
    related_object_type 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_id number
    Id of the object type.
    owner_group_id number
    Id of the owner group.
    owner_group_name string
    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.
    related_object_type_id number
    Id of the related object type.
    choiceSetId Double
    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
    filterLogic String
    How the field is matched when filtering. One of: disabled, loose, exact.
    groupName String
    Custom fields in the same group are shown together.
    id Double
    NetBox id of the custom field.
    isCloneable Boolean
    Whether the value is copied when an object is cloned.
    label String
    Human-readable label.
    lastUpdated String
    name String
    Internal field name (also the key in custom_fields).
    objectTypes List<String>
    Object types the field applies to, e.g. dcim.site.
    ownerId Double
    Id of the owner the object is assigned to.
    relatedObjectFilter String
    Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
    relatedObjectType 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.
    searchWeight 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.
    uiEditable String
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    uiVisible 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
    validationMaximum Double
    Maximum allowed value (numeric fields).
    validationMinimum Double
    Minimum allowed value (numeric fields).
    validationRegex String
    Regular expression text values must match.
    validationSchema 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.
    choiceSet String
    Choice set to match.
    objectType String
    Object type to match.
    objectTypeId Double
    Id of the object type.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    relatedObjectTypeId Double
    Id of the related object type.
    choiceSetId number
    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
    filterLogic string
    How the field is matched when filtering. One of: disabled, loose, exact.
    groupName string
    Custom fields in the same group are shown together.
    id number
    NetBox id of the custom field.
    isCloneable boolean
    Whether the value is copied when an object is cloned.
    label string
    Human-readable label.
    lastUpdated string
    name string
    Internal field name (also the key in custom_fields).
    objectTypes string[]
    Object types the field applies to, e.g. dcim.site.
    ownerId number
    Id of the owner the object is assigned to.
    relatedObjectFilter string
    Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
    relatedObjectType 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.
    searchWeight 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.
    uiEditable string
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    uiVisible 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
    validationMaximum number
    Maximum allowed value (numeric fields).
    validationMinimum number
    Minimum allowed value (numeric fields).
    validationRegex string
    Regular expression text values must match.
    validationSchema 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.
    choiceSet string
    Choice set to match.
    objectType string
    Object type to match.
    objectTypeId number
    Id of the object type.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerName string
    Name of the owner.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    relatedObjectTypeId number
    Id of the related object type.
    choice_set_id float
    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.
    related_object_filter str
    Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
    related_object_type 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_id float
    Id of the object type.
    owner_group_id float
    Id of the owner group.
    owner_group_name str
    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.
    related_object_type_id float
    Id of the related object type.
    choiceSetId Number
    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
    filterLogic String
    How the field is matched when filtering. One of: disabled, loose, exact.
    groupName String
    Custom fields in the same group are shown together.
    id Number
    NetBox id of the custom field.
    isCloneable Boolean
    Whether the value is copied when an object is cloned.
    label String
    Human-readable label.
    lastUpdated String
    name String
    Internal field name (also the key in custom_fields).
    objectTypes List<String>
    Object types the field applies to, e.g. dcim.site.
    ownerId Number
    Id of the owner the object is assigned to.
    relatedObjectFilter String
    Query parameters that narrow the objects offered for object and multiobject fields, as JSON text, e.g. jsonencode({ status = "active" }).
    relatedObjectType 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.
    searchWeight 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.
    uiEditable String
    Whether the field value can be edited in the UI. One of: yes, no, hidden.
    uiVisible 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
    validationMaximum Number
    Maximum allowed value (numeric fields).
    validationMinimum Number
    Minimum allowed value (numeric fields).
    validationRegex String
    Regular expression text values must match.
    validationSchema 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.
    choiceSet String
    Choice set to match.
    objectType String
    Object type to match.
    objectTypeId Number
    Id of the object type.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    relatedObjectTypeId 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 netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.1
    published on Monday, Nov 16, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial