1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getDevice
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 physical device (dcim.device). primary_ip4_id/primary_ip6_id are set through netbox_primary_ip.

    From the official documentation:

    Every piece of hardware which is installed within a site or rack exists in NetBox as a device. Devices are measured in rack units (U) and can be half depth or full depth. A device may have a height of 0U: These devices do not consume vertical rack space and cannot be assigned to a particular rack unit. A common example of a 0U device is a vertically-mounted PDU.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getDevice({
        name: "test-device",
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_device(name="test-device")
    
    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.LookupDevice(ctx, &netbox.LookupDeviceArgs{
    			Name: pulumi.StringRef("test-device"),
    		}, 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.GetDevice.Invoke(new()
        {
            Name = "test-device",
        });
    
    });
    
    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.GetDeviceArgs;
    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.getDevice(GetDeviceArgs.builder()
                .name("test-device")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getDevice
          arguments:
            name: test-device
    
    Example coming soon!
    

    Using getDevice

    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 getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
    function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOutputOptions): Output<GetDeviceResult>
    def get_device(airflow: Optional[str] = None,
                   asset_tag: Optional[str] = None,
                   cluster_group_id: Optional[float] = None,
                   cluster_group_slug: Optional[str] = None,
                   cluster_id: Optional[float] = None,
                   config_template_id: Optional[float] = None,
                   console_port_count: Optional[float] = None,
                   console_ports: Optional[bool] = None,
                   console_server_port_count: Optional[float] = None,
                   console_server_ports: Optional[bool] = None,
                   contact: Optional[float] = None,
                   contact_group_slug: Optional[str] = None,
                   contact_role: Optional[float] = None,
                   created: Optional[str] = None,
                   custom_field_filters: Optional[Mapping[str, str]] = None,
                   description: Optional[str] = None,
                   device_bay_count: Optional[float] = None,
                   device_bays: Optional[bool] = None,
                   device_type_id: Optional[float] = None,
                   device_type_slug: Optional[str] = None,
                   face: Optional[str] = None,
                   front_port_count: Optional[float] = None,
                   has_local_context_data: Optional[bool] = None,
                   has_oob_ip: Optional[bool] = None,
                   has_primary_ip: Optional[bool] = None,
                   has_virtual_device_context: Optional[bool] = None,
                   id: Optional[float] = None,
                   interface_count: Optional[float] = None,
                   interfaces: Optional[bool] = None,
                   inventory_item_count: Optional[float] = None,
                   is_full_depth: Optional[bool] = None,
                   last_updated: Optional[str] = None,
                   latitude: Optional[float] = None,
                   location_id: Optional[float] = None,
                   location_slug: Optional[str] = None,
                   longitude: Optional[float] = None,
                   mac_address: Optional[str] = None,
                   manufacturer_id: Optional[float] = None,
                   manufacturer_slug: Optional[str] = None,
                   model_slug: Optional[str] = None,
                   module_bay_count: Optional[float] = None,
                   module_bays: Optional[bool] = None,
                   name: Optional[str] = None,
                   oob_ip_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,
                   parent_bay_id: Optional[float] = None,
                   parent_device_id: Optional[float] = None,
                   pass_through_ports: Optional[bool] = None,
                   platform: Optional[str] = None,
                   platform_id: Optional[float] = None,
                   position: Optional[float] = None,
                   power_outlet_count: Optional[float] = None,
                   power_outlets: Optional[bool] = None,
                   power_port_count: Optional[float] = None,
                   power_ports: Optional[bool] = None,
                   primary_ip4: Optional[str] = None,
                   primary_ip4_id: Optional[float] = None,
                   primary_ip6: Optional[str] = None,
                   primary_ip6_id: Optional[float] = None,
                   q: Optional[str] = None,
                   rack_id: Optional[float] = None,
                   rear_port_count: Optional[float] = None,
                   region_id: Optional[str] = None,
                   region_slug: Optional[str] = None,
                   role_id: Optional[float] = None,
                   role_slug: Optional[str] = None,
                   serial: Optional[str] = None,
                   site_group_id: Optional[str] = None,
                   site_group_slug: Optional[str] = None,
                   site_id: Optional[float] = None,
                   site_slug: Optional[str] = None,
                   status: Optional[str] = None,
                   tag_id: Optional[float] = None,
                   tag_slug: Optional[str] = None,
                   tenant_group_id: Optional[str] = None,
                   tenant_group_slug: Optional[str] = None,
                   tenant_id: Optional[float] = None,
                   tenant_slug: Optional[str] = None,
                   vc_position: Optional[float] = None,
                   vc_priority: Optional[float] = None,
                   virtual_chassis_id: Optional[float] = None,
                   virtual_chassis_member: Optional[bool] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDeviceResult
    def get_device_output(airflow: pulumi.Input[Optional[str]] = None,
                   asset_tag: pulumi.Input[Optional[str]] = None,
                   cluster_group_id: pulumi.Input[Optional[float]] = None,
                   cluster_group_slug: pulumi.Input[Optional[str]] = None,
                   cluster_id: pulumi.Input[Optional[float]] = None,
                   config_template_id: pulumi.Input[Optional[float]] = None,
                   console_port_count: pulumi.Input[Optional[float]] = None,
                   console_ports: pulumi.Input[Optional[bool]] = None,
                   console_server_port_count: pulumi.Input[Optional[float]] = None,
                   console_server_ports: pulumi.Input[Optional[bool]] = None,
                   contact: pulumi.Input[Optional[float]] = None,
                   contact_group_slug: pulumi.Input[Optional[str]] = None,
                   contact_role: pulumi.Input[Optional[float]] = None,
                   created: pulumi.Input[Optional[str]] = None,
                   custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                   description: pulumi.Input[Optional[str]] = None,
                   device_bay_count: pulumi.Input[Optional[float]] = None,
                   device_bays: pulumi.Input[Optional[bool]] = None,
                   device_type_id: pulumi.Input[Optional[float]] = None,
                   device_type_slug: pulumi.Input[Optional[str]] = None,
                   face: pulumi.Input[Optional[str]] = None,
                   front_port_count: pulumi.Input[Optional[float]] = None,
                   has_local_context_data: pulumi.Input[Optional[bool]] = None,
                   has_oob_ip: pulumi.Input[Optional[bool]] = None,
                   has_primary_ip: pulumi.Input[Optional[bool]] = None,
                   has_virtual_device_context: pulumi.Input[Optional[bool]] = None,
                   id: pulumi.Input[Optional[float]] = None,
                   interface_count: pulumi.Input[Optional[float]] = None,
                   interfaces: pulumi.Input[Optional[bool]] = None,
                   inventory_item_count: pulumi.Input[Optional[float]] = None,
                   is_full_depth: pulumi.Input[Optional[bool]] = None,
                   last_updated: pulumi.Input[Optional[str]] = None,
                   latitude: pulumi.Input[Optional[float]] = None,
                   location_id: pulumi.Input[Optional[float]] = None,
                   location_slug: pulumi.Input[Optional[str]] = None,
                   longitude: pulumi.Input[Optional[float]] = None,
                   mac_address: pulumi.Input[Optional[str]] = None,
                   manufacturer_id: pulumi.Input[Optional[float]] = None,
                   manufacturer_slug: pulumi.Input[Optional[str]] = None,
                   model_slug: pulumi.Input[Optional[str]] = None,
                   module_bay_count: pulumi.Input[Optional[float]] = None,
                   module_bays: pulumi.Input[Optional[bool]] = None,
                   name: pulumi.Input[Optional[str]] = None,
                   oob_ip_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,
                   parent_bay_id: pulumi.Input[Optional[float]] = None,
                   parent_device_id: pulumi.Input[Optional[float]] = None,
                   pass_through_ports: pulumi.Input[Optional[bool]] = None,
                   platform: pulumi.Input[Optional[str]] = None,
                   platform_id: pulumi.Input[Optional[float]] = None,
                   position: pulumi.Input[Optional[float]] = None,
                   power_outlet_count: pulumi.Input[Optional[float]] = None,
                   power_outlets: pulumi.Input[Optional[bool]] = None,
                   power_port_count: pulumi.Input[Optional[float]] = None,
                   power_ports: pulumi.Input[Optional[bool]] = None,
                   primary_ip4: pulumi.Input[Optional[str]] = None,
                   primary_ip4_id: pulumi.Input[Optional[float]] = None,
                   primary_ip6: pulumi.Input[Optional[str]] = None,
                   primary_ip6_id: pulumi.Input[Optional[float]] = None,
                   q: pulumi.Input[Optional[str]] = None,
                   rack_id: pulumi.Input[Optional[float]] = None,
                   rear_port_count: pulumi.Input[Optional[float]] = None,
                   region_id: pulumi.Input[Optional[str]] = None,
                   region_slug: pulumi.Input[Optional[str]] = None,
                   role_id: pulumi.Input[Optional[float]] = None,
                   role_slug: pulumi.Input[Optional[str]] = None,
                   serial: pulumi.Input[Optional[str]] = None,
                   site_group_id: pulumi.Input[Optional[str]] = None,
                   site_group_slug: pulumi.Input[Optional[str]] = None,
                   site_id: pulumi.Input[Optional[float]] = None,
                   site_slug: pulumi.Input[Optional[str]] = None,
                   status: pulumi.Input[Optional[str]] = None,
                   tag_id: pulumi.Input[Optional[float]] = None,
                   tag_slug: pulumi.Input[Optional[str]] = None,
                   tenant_group_id: pulumi.Input[Optional[str]] = None,
                   tenant_group_slug: pulumi.Input[Optional[str]] = None,
                   tenant_id: pulumi.Input[Optional[float]] = None,
                   tenant_slug: pulumi.Input[Optional[str]] = None,
                   vc_position: pulumi.Input[Optional[float]] = None,
                   vc_priority: pulumi.Input[Optional[float]] = None,
                   virtual_chassis_id: pulumi.Input[Optional[float]] = None,
                   virtual_chassis_member: pulumi.Input[Optional[bool]] = None,
                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetDeviceResult]
    func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
    func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput

    > Note: This function is named LookupDevice in the Go SDK.

    public static class GetDevice 
    {
        public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
    public static Output<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
    public static Output<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getDevice:getDevice
      arguments:
        # arguments dictionary
    data "netbox_get_device" "name" {
        # arguments
    }

    The following arguments are supported:

    Airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    AssetTag string
    Unique asset tag.
    ClusterGroupId double
    Id of the cluster group.
    ClusterGroupSlug string
    Slug of the cluster group.
    ClusterId double
    Id of the virtualization cluster the device hosts.
    ConfigTemplateId double
    Id of the config template.
    ConsolePortCount double
    Number of console ports on the device.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPortCount double
    Number of console server ports on the device.
    ConsoleServerPorts bool
    Has console server ports.
    Contact double
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole double
    Id of the contact role.
    Created string
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Description string
    DeviceBayCount double
    Number of device bays on the device.
    DeviceBays bool
    Has device bays.
    DeviceTypeId double
    Id of the device type.
    DeviceTypeSlug string
    Slug of the device type.
    Face string
    Face. One of: front, rear.
    FrontPortCount double
    Number of front ports on the device.
    HasLocalContextData bool
    Whether the object has local config context data.
    HasOobIp bool
    Has an out-of-band IP.
    HasPrimaryIp bool
    Has a primary IP.
    HasVirtualDeviceContext bool
    Has virtual device context.
    Id double
    NetBox id.
    InterfaceCount double
    Number of interfaces on the device.
    Interfaces bool
    Has interfaces.
    InventoryItemCount double
    Number of inventory items on the device.
    IsFullDepth bool
    Is full depth.
    LastUpdated string
    Latitude double
    GPS coordinate in decimal format (xx.yyyyyy).
    LocationId double
    Id of the location within the site.
    LocationSlug string
    Slug of the location.
    Longitude double
    GPS coordinate in decimal format (xx.yyyyyy).
    MacAddress string
    Mac address to match.
    ManufacturerId double
    Id of the manufacturer.
    ManufacturerSlug string
    Slug of the manufacturer.
    ModelSlug string
    Slug of the device model.
    ModuleBayCount double
    Number of module bays on the device.
    ModuleBays bool
    Has module bays.
    Name string
    Device name; NetBox allows unnamed devices.
    OobIpId double
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    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.
    ParentBayId double
    Id of the parent bay.
    ParentDeviceId double
    Id of the parent device.
    PassThroughPorts bool
    Has pass-through ports.
    Platform string
    Platform to match.
    PlatformId double
    Id of the platform.
    Position double
    Position to match.
    PowerOutletCount double
    Number of power outlets on the device.
    PowerOutlets bool
    Has power outlets.
    PowerPortCount double
    Number of power ports on the device.
    PowerPorts bool
    Has power ports.
    PrimaryIp4 string
    Primary IPv4 (address).
    PrimaryIp4Id double
    Id of the primary IPv4 address (managed by netboxprimaryip).
    PrimaryIp6 string
    Primary IPv6 (address).
    PrimaryIp6Id double
    Id of the primary IPv6 address (managed by netboxprimaryip).
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RackId double
    Id of the rack.
    RearPortCount double
    Number of rear ports on the device.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region of the site.
    RoleId double
    Id of the device role.
    RoleSlug string
    Slug of the role.
    Serial string
    Chassis serial number.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId double
    Id of the site.
    SiteSlug string
    Slug of the site.
    Status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantId double
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    VcPosition double
    Vc position to match.
    VcPriority double
    Vc priority to match.
    VirtualChassisId double
    Id of the virtual chassis.
    VirtualChassisMember bool
    Is a virtual chassis member.
    Airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    AssetTag string
    Unique asset tag.
    ClusterGroupId float64
    Id of the cluster group.
    ClusterGroupSlug string
    Slug of the cluster group.
    ClusterId float64
    Id of the virtualization cluster the device hosts.
    ConfigTemplateId float64
    Id of the config template.
    ConsolePortCount float64
    Number of console ports on the device.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPortCount float64
    Number of console server ports on the device.
    ConsoleServerPorts bool
    Has console server ports.
    Contact float64
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole float64
    Id of the contact role.
    Created string
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Description string
    DeviceBayCount float64
    Number of device bays on the device.
    DeviceBays bool
    Has device bays.
    DeviceTypeId float64
    Id of the device type.
    DeviceTypeSlug string
    Slug of the device type.
    Face string
    Face. One of: front, rear.
    FrontPortCount float64
    Number of front ports on the device.
    HasLocalContextData bool
    Whether the object has local config context data.
    HasOobIp bool
    Has an out-of-band IP.
    HasPrimaryIp bool
    Has a primary IP.
    HasVirtualDeviceContext bool
    Has virtual device context.
    Id float64
    NetBox id.
    InterfaceCount float64
    Number of interfaces on the device.
    Interfaces bool
    Has interfaces.
    InventoryItemCount float64
    Number of inventory items on the device.
    IsFullDepth bool
    Is full depth.
    LastUpdated string
    Latitude float64
    GPS coordinate in decimal format (xx.yyyyyy).
    LocationId float64
    Id of the location within the site.
    LocationSlug string
    Slug of the location.
    Longitude float64
    GPS coordinate in decimal format (xx.yyyyyy).
    MacAddress string
    Mac address to match.
    ManufacturerId float64
    Id of the manufacturer.
    ManufacturerSlug string
    Slug of the manufacturer.
    ModelSlug string
    Slug of the device model.
    ModuleBayCount float64
    Number of module bays on the device.
    ModuleBays bool
    Has module bays.
    Name string
    Device name; NetBox allows unnamed devices.
    OobIpId float64
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    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.
    ParentBayId float64
    Id of the parent bay.
    ParentDeviceId float64
    Id of the parent device.
    PassThroughPorts bool
    Has pass-through ports.
    Platform string
    Platform to match.
    PlatformId float64
    Id of the platform.
    Position float64
    Position to match.
    PowerOutletCount float64
    Number of power outlets on the device.
    PowerOutlets bool
    Has power outlets.
    PowerPortCount float64
    Number of power ports on the device.
    PowerPorts bool
    Has power ports.
    PrimaryIp4 string
    Primary IPv4 (address).
    PrimaryIp4Id float64
    Id of the primary IPv4 address (managed by netboxprimaryip).
    PrimaryIp6 string
    Primary IPv6 (address).
    PrimaryIp6Id float64
    Id of the primary IPv6 address (managed by netboxprimaryip).
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RackId float64
    Id of the rack.
    RearPortCount float64
    Number of rear ports on the device.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region of the site.
    RoleId float64
    Id of the device role.
    RoleSlug string
    Slug of the role.
    Serial string
    Chassis serial number.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId float64
    Id of the site.
    SiteSlug string
    Slug of the site.
    Status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantId float64
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    VcPosition float64
    Vc position to match.
    VcPriority float64
    Vc priority to match.
    VirtualChassisId float64
    Id of the virtual chassis.
    VirtualChassisMember bool
    Is a virtual chassis member.
    airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    asset_tag string
    Unique asset tag.
    cluster_group_id number
    Id of the cluster group.
    cluster_group_slug string
    Slug of the cluster group.
    cluster_id number
    Id of the virtualization cluster the device hosts.
    config_template_id number
    Id of the config template.
    console_port_count number
    Number of console ports on the device.
    console_ports bool
    Has console ports.
    console_server_port_count number
    Number of console server ports on the device.
    console_server_ports bool
    Has console server ports.
    contact number
    Id of the contact.
    contact_group_slug string
    Slug of the contact group.
    contact_role number
    Id of the contact role.
    created string
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description string
    device_bay_count number
    Number of device bays on the device.
    device_bays bool
    Has device bays.
    device_type_id number
    Id of the device type.
    device_type_slug string
    Slug of the device type.
    face string
    Face. One of: front, rear.
    front_port_count number
    Number of front ports on the device.
    has_local_context_data bool
    Whether the object has local config context data.
    has_oob_ip bool
    Has an out-of-band IP.
    has_primary_ip bool
    Has a primary IP.
    has_virtual_device_context bool
    Has virtual device context.
    id number
    NetBox id.
    interface_count number
    Number of interfaces on the device.
    interfaces bool
    Has interfaces.
    inventory_item_count number
    Number of inventory items on the device.
    is_full_depth bool
    Is full depth.
    last_updated string
    latitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    location_id number
    Id of the location within the site.
    location_slug string
    Slug of the location.
    longitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    mac_address string
    Mac address to match.
    manufacturer_id number
    Id of the manufacturer.
    manufacturer_slug string
    Slug of the manufacturer.
    model_slug string
    Slug of the device model.
    module_bay_count number
    Number of module bays on the device.
    module_bays bool
    Has module bays.
    name string
    Device name; NetBox allows unnamed devices.
    oob_ip_id number
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    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.
    parent_bay_id number
    Id of the parent bay.
    parent_device_id number
    Id of the parent device.
    pass_through_ports bool
    Has pass-through ports.
    platform string
    Platform to match.
    platform_id number
    Id of the platform.
    position number
    Position to match.
    power_outlet_count number
    Number of power outlets on the device.
    power_outlets bool
    Has power outlets.
    power_port_count number
    Number of power ports on the device.
    power_ports bool
    Has power ports.
    primary_ip4 string
    Primary IPv4 (address).
    primary_ip4_id number
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primary_ip6 string
    Primary IPv6 (address).
    primary_ip6_id number
    Id of the primary IPv6 address (managed by netboxprimaryip).
    q string
    Search term, matched against the fields NetBox searches for this object type.
    rack_id number
    Id of the rack.
    rear_port_count number
    Number of rear ports on the device.
    region_id string
    Id of the region.
    region_slug string
    Slug of the region of the site.
    role_id number
    Id of the device role.
    role_slug string
    Slug of the role.
    serial string
    Chassis serial number.
    site_group_id string
    Id of the site group.
    site_group_slug string
    Slug of the site group.
    site_id number
    Id of the site.
    site_slug string
    Slug of the site.
    status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    tenant_group_id string
    Id of the tenant group.
    tenant_group_slug string
    Slug of the tenant group.
    tenant_id number
    Id of the tenant.
    tenant_slug string
    Slug of the tenant.
    vc_position number
    Vc position to match.
    vc_priority number
    Vc priority to match.
    virtual_chassis_id number
    Id of the virtual chassis.
    virtual_chassis_member bool
    Is a virtual chassis member.
    airflow String
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    assetTag String
    Unique asset tag.
    clusterGroupId Double
    Id of the cluster group.
    clusterGroupSlug String
    Slug of the cluster group.
    clusterId Double
    Id of the virtualization cluster the device hosts.
    configTemplateId Double
    Id of the config template.
    consolePortCount Double
    Number of console ports on the device.
    consolePorts Boolean
    Has console ports.
    consoleServerPortCount Double
    Number of console server ports on the device.
    consoleServerPorts Boolean
    Has console server ports.
    contact Double
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Double
    Id of the contact role.
    created String
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description String
    deviceBayCount Double
    Number of device bays on the device.
    deviceBays Boolean
    Has device bays.
    deviceTypeId Double
    Id of the device type.
    deviceTypeSlug String
    Slug of the device type.
    face String
    Face. One of: front, rear.
    frontPortCount Double
    Number of front ports on the device.
    hasLocalContextData Boolean
    Whether the object has local config context data.
    hasOobIp Boolean
    Has an out-of-band IP.
    hasPrimaryIp Boolean
    Has a primary IP.
    hasVirtualDeviceContext Boolean
    Has virtual device context.
    id Double
    NetBox id.
    interfaceCount Double
    Number of interfaces on the device.
    interfaces Boolean
    Has interfaces.
    inventoryItemCount Double
    Number of inventory items on the device.
    isFullDepth Boolean
    Is full depth.
    lastUpdated String
    latitude Double
    GPS coordinate in decimal format (xx.yyyyyy).
    locationId Double
    Id of the location within the site.
    locationSlug String
    Slug of the location.
    longitude Double
    GPS coordinate in decimal format (xx.yyyyyy).
    macAddress String
    Mac address to match.
    manufacturerId Double
    Id of the manufacturer.
    manufacturerSlug String
    Slug of the manufacturer.
    modelSlug String
    Slug of the device model.
    moduleBayCount Double
    Number of module bays on the device.
    moduleBays Boolean
    Has module bays.
    name String
    Device name; NetBox allows unnamed devices.
    oobIpId Double
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    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.
    parentBayId Double
    Id of the parent bay.
    parentDeviceId Double
    Id of the parent device.
    passThroughPorts Boolean
    Has pass-through ports.
    platform String
    Platform to match.
    platformId Double
    Id of the platform.
    position Double
    Position to match.
    powerOutletCount Double
    Number of power outlets on the device.
    powerOutlets Boolean
    Has power outlets.
    powerPortCount Double
    Number of power ports on the device.
    powerPorts Boolean
    Has power ports.
    primaryIp4 String
    Primary IPv4 (address).
    primaryIp4Id Double
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primaryIp6 String
    Primary IPv6 (address).
    primaryIp6Id Double
    Id of the primary IPv6 address (managed by netboxprimaryip).
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rackId Double
    Id of the rack.
    rearPortCount Double
    Number of rear ports on the device.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region of the site.
    roleId Double
    Id of the device role.
    roleSlug String
    Slug of the role.
    serial String
    Chassis serial number.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Double
    Id of the site.
    siteSlug String
    Slug of the site.
    status String
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantId Double
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    vcPosition Double
    Vc position to match.
    vcPriority Double
    Vc priority to match.
    virtualChassisId Double
    Id of the virtual chassis.
    virtualChassisMember Boolean
    Is a virtual chassis member.
    airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    assetTag string
    Unique asset tag.
    clusterGroupId number
    Id of the cluster group.
    clusterGroupSlug string
    Slug of the cluster group.
    clusterId number
    Id of the virtualization cluster the device hosts.
    configTemplateId number
    Id of the config template.
    consolePortCount number
    Number of console ports on the device.
    consolePorts boolean
    Has console ports.
    consoleServerPortCount number
    Number of console server ports on the device.
    consoleServerPorts boolean
    Has console server ports.
    contact number
    Id of the contact.
    contactGroupSlug string
    Slug of the contact group.
    contactRole number
    Id of the contact role.
    created string
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description string
    deviceBayCount number
    Number of device bays on the device.
    deviceBays boolean
    Has device bays.
    deviceTypeId number
    Id of the device type.
    deviceTypeSlug string
    Slug of the device type.
    face string
    Face. One of: front, rear.
    frontPortCount number
    Number of front ports on the device.
    hasLocalContextData boolean
    Whether the object has local config context data.
    hasOobIp boolean
    Has an out-of-band IP.
    hasPrimaryIp boolean
    Has a primary IP.
    hasVirtualDeviceContext boolean
    Has virtual device context.
    id number
    NetBox id.
    interfaceCount number
    Number of interfaces on the device.
    interfaces boolean
    Has interfaces.
    inventoryItemCount number
    Number of inventory items on the device.
    isFullDepth boolean
    Is full depth.
    lastUpdated string
    latitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    locationId number
    Id of the location within the site.
    locationSlug string
    Slug of the location.
    longitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    macAddress string
    Mac address to match.
    manufacturerId number
    Id of the manufacturer.
    manufacturerSlug string
    Slug of the manufacturer.
    modelSlug string
    Slug of the device model.
    moduleBayCount number
    Number of module bays on the device.
    moduleBays boolean
    Has module bays.
    name string
    Device name; NetBox allows unnamed devices.
    oobIpId number
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    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.
    parentBayId number
    Id of the parent bay.
    parentDeviceId number
    Id of the parent device.
    passThroughPorts boolean
    Has pass-through ports.
    platform string
    Platform to match.
    platformId number
    Id of the platform.
    position number
    Position to match.
    powerOutletCount number
    Number of power outlets on the device.
    powerOutlets boolean
    Has power outlets.
    powerPortCount number
    Number of power ports on the device.
    powerPorts boolean
    Has power ports.
    primaryIp4 string
    Primary IPv4 (address).
    primaryIp4Id number
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primaryIp6 string
    Primary IPv6 (address).
    primaryIp6Id number
    Id of the primary IPv6 address (managed by netboxprimaryip).
    q string
    Search term, matched against the fields NetBox searches for this object type.
    rackId number
    Id of the rack.
    rearPortCount number
    Number of rear ports on the device.
    regionId string
    Id of the region.
    regionSlug string
    Slug of the region of the site.
    roleId number
    Id of the device role.
    roleSlug string
    Slug of the role.
    serial string
    Chassis serial number.
    siteGroupId string
    Id of the site group.
    siteGroupSlug string
    Slug of the site group.
    siteId number
    Id of the site.
    siteSlug string
    Slug of the site.
    status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    tenantGroupId string
    Id of the tenant group.
    tenantGroupSlug string
    Slug of the tenant group.
    tenantId number
    Id of the tenant.
    tenantSlug string
    Slug of the tenant.
    vcPosition number
    Vc position to match.
    vcPriority number
    Vc priority to match.
    virtualChassisId number
    Id of the virtual chassis.
    virtualChassisMember boolean
    Is a virtual chassis member.
    airflow str
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    asset_tag str
    Unique asset tag.
    cluster_group_id float
    Id of the cluster group.
    cluster_group_slug str
    Slug of the cluster group.
    cluster_id float
    Id of the virtualization cluster the device hosts.
    config_template_id float
    Id of the config template.
    console_port_count float
    Number of console ports on the device.
    console_ports bool
    Has console ports.
    console_server_port_count float
    Number of console server ports on the device.
    console_server_ports bool
    Has console server ports.
    contact float
    Id of the contact.
    contact_group_slug str
    Slug of the contact group.
    contact_role float
    Id of the contact role.
    created str
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description str
    device_bay_count float
    Number of device bays on the device.
    device_bays bool
    Has device bays.
    device_type_id float
    Id of the device type.
    device_type_slug str
    Slug of the device type.
    face str
    Face. One of: front, rear.
    front_port_count float
    Number of front ports on the device.
    has_local_context_data bool
    Whether the object has local config context data.
    has_oob_ip bool
    Has an out-of-band IP.
    has_primary_ip bool
    Has a primary IP.
    has_virtual_device_context bool
    Has virtual device context.
    id float
    NetBox id.
    interface_count float
    Number of interfaces on the device.
    interfaces bool
    Has interfaces.
    inventory_item_count float
    Number of inventory items on the device.
    is_full_depth bool
    Is full depth.
    last_updated str
    latitude float
    GPS coordinate in decimal format (xx.yyyyyy).
    location_id float
    Id of the location within the site.
    location_slug str
    Slug of the location.
    longitude float
    GPS coordinate in decimal format (xx.yyyyyy).
    mac_address str
    Mac address to match.
    manufacturer_id float
    Id of the manufacturer.
    manufacturer_slug str
    Slug of the manufacturer.
    model_slug str
    Slug of the device model.
    module_bay_count float
    Number of module bays on the device.
    module_bays bool
    Has module bays.
    name str
    Device name; NetBox allows unnamed devices.
    oob_ip_id float
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    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.
    parent_bay_id float
    Id of the parent bay.
    parent_device_id float
    Id of the parent device.
    pass_through_ports bool
    Has pass-through ports.
    platform str
    Platform to match.
    platform_id float
    Id of the platform.
    position float
    Position to match.
    power_outlet_count float
    Number of power outlets on the device.
    power_outlets bool
    Has power outlets.
    power_port_count float
    Number of power ports on the device.
    power_ports bool
    Has power ports.
    primary_ip4 str
    Primary IPv4 (address).
    primary_ip4_id float
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primary_ip6 str
    Primary IPv6 (address).
    primary_ip6_id float
    Id of the primary IPv6 address (managed by netboxprimaryip).
    q str
    Search term, matched against the fields NetBox searches for this object type.
    rack_id float
    Id of the rack.
    rear_port_count float
    Number of rear ports on the device.
    region_id str
    Id of the region.
    region_slug str
    Slug of the region of the site.
    role_id float
    Id of the device role.
    role_slug str
    Slug of the role.
    serial str
    Chassis serial number.
    site_group_id str
    Id of the site group.
    site_group_slug str
    Slug of the site group.
    site_id float
    Id of the site.
    site_slug str
    Slug of the site.
    status str
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    tenant_group_id str
    Id of the tenant group.
    tenant_group_slug str
    Slug of the tenant group.
    tenant_id float
    Id of the tenant.
    tenant_slug str
    Slug of the tenant.
    vc_position float
    Vc position to match.
    vc_priority float
    Vc priority to match.
    virtual_chassis_id float
    Id of the virtual chassis.
    virtual_chassis_member bool
    Is a virtual chassis member.
    airflow String
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    assetTag String
    Unique asset tag.
    clusterGroupId Number
    Id of the cluster group.
    clusterGroupSlug String
    Slug of the cluster group.
    clusterId Number
    Id of the virtualization cluster the device hosts.
    configTemplateId Number
    Id of the config template.
    consolePortCount Number
    Number of console ports on the device.
    consolePorts Boolean
    Has console ports.
    consoleServerPortCount Number
    Number of console server ports on the device.
    consoleServerPorts Boolean
    Has console server ports.
    contact Number
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Number
    Id of the contact role.
    created String
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description String
    deviceBayCount Number
    Number of device bays on the device.
    deviceBays Boolean
    Has device bays.
    deviceTypeId Number
    Id of the device type.
    deviceTypeSlug String
    Slug of the device type.
    face String
    Face. One of: front, rear.
    frontPortCount Number
    Number of front ports on the device.
    hasLocalContextData Boolean
    Whether the object has local config context data.
    hasOobIp Boolean
    Has an out-of-band IP.
    hasPrimaryIp Boolean
    Has a primary IP.
    hasVirtualDeviceContext Boolean
    Has virtual device context.
    id Number
    NetBox id.
    interfaceCount Number
    Number of interfaces on the device.
    interfaces Boolean
    Has interfaces.
    inventoryItemCount Number
    Number of inventory items on the device.
    isFullDepth Boolean
    Is full depth.
    lastUpdated String
    latitude Number
    GPS coordinate in decimal format (xx.yyyyyy).
    locationId Number
    Id of the location within the site.
    locationSlug String
    Slug of the location.
    longitude Number
    GPS coordinate in decimal format (xx.yyyyyy).
    macAddress String
    Mac address to match.
    manufacturerId Number
    Id of the manufacturer.
    manufacturerSlug String
    Slug of the manufacturer.
    modelSlug String
    Slug of the device model.
    moduleBayCount Number
    Number of module bays on the device.
    moduleBays Boolean
    Has module bays.
    name String
    Device name; NetBox allows unnamed devices.
    oobIpId Number
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    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.
    parentBayId Number
    Id of the parent bay.
    parentDeviceId Number
    Id of the parent device.
    passThroughPorts Boolean
    Has pass-through ports.
    platform String
    Platform to match.
    platformId Number
    Id of the platform.
    position Number
    Position to match.
    powerOutletCount Number
    Number of power outlets on the device.
    powerOutlets Boolean
    Has power outlets.
    powerPortCount Number
    Number of power ports on the device.
    powerPorts Boolean
    Has power ports.
    primaryIp4 String
    Primary IPv4 (address).
    primaryIp4Id Number
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primaryIp6 String
    Primary IPv6 (address).
    primaryIp6Id Number
    Id of the primary IPv6 address (managed by netboxprimaryip).
    q String
    Search term, matched against the fields NetBox searches for this object type.
    rackId Number
    Id of the rack.
    rearPortCount Number
    Number of rear ports on the device.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region of the site.
    roleId Number
    Id of the device role.
    roleSlug String
    Slug of the role.
    serial String
    Chassis serial number.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Number
    Id of the site.
    siteSlug String
    Slug of the site.
    status String
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantId Number
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    vcPosition Number
    Vc position to match.
    vcPriority Number
    Vc priority to match.
    virtualChassisId Number
    Id of the virtual chassis.
    virtualChassisMember Boolean
    Is a virtual chassis member.

    getDevice Result

    The following output properties are available:

    Airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    AssetTag string
    Unique asset tag.
    ClusterId double
    Id of the virtualization cluster the device hosts.
    Comments string
    ConfigContext string
    Rendered config context (localcontextdata merged with the context assigned through cluster, platform, role, site, tenant and tags) as JSON text, decode with jsondecode().
    ConfigTemplateId double
    Id of the config template.
    ConsolePortCount double
    Number of console ports on the device.
    ConsoleServerPortCount double
    Number of console server ports on the device.
    Created string
    CustomFields 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
    DeviceBayCount double
    Number of device bays on the device.
    DeviceTypeId double
    Id of the device type.
    FrontPortCount double
    Number of front ports on the device.
    Id double
    NetBox id.
    InterfaceCount double
    Number of interfaces on the device.
    InventoryItemCount double
    Number of inventory items on the device.
    LastUpdated string
    Latitude double
    GPS coordinate in decimal format (xx.yyyyyy).
    LocalContextData string
    Local config context data as JSON text (use jsonencode()).
    LocationId double
    Id of the location within the site.
    Longitude double
    GPS coordinate in decimal format (xx.yyyyyy).
    ModuleBayCount double
    Number of module bays on the device.
    Name string
    Device name; NetBox allows unnamed devices.
    OobIpId double
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    OwnerId double
    Id of the owner the object is assigned to.
    PlatformId double
    Id of the platform.
    PowerOutletCount double
    Number of power outlets on the device.
    PowerPortCount double
    Number of power ports on the device.
    PrimaryIp4Id double
    Id of the primary IPv4 address (managed by netboxprimaryip).
    PrimaryIp6Id double
    Id of the primary IPv6 address (managed by netboxprimaryip).
    RackFace string
    Rack face the device is mounted on. One of: front, rear.
    RackId double
    Id of the rack.
    RackPosition double
    Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
    RearPortCount double
    Number of rear ports on the device.
    RoleId double
    Id of the device role.
    Serial string
    Chassis serial number.
    SiteId double
    Id of the site.
    Status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    TenantId double
    Id of the tenant.
    Url string
    VirtualChassisId double
    Id of the virtual chassis.
    VirtualChassisPosition double
    Position in the virtual chassis (0-255). Must be a whole number.
    VirtualChassisPriority double
    Master election priority in the virtual chassis (0-255). Must be a whole number.
    ClusterGroupId double
    Id of the cluster group.
    ClusterGroupSlug string
    Slug of the cluster group.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPorts bool
    Has console server ports.
    Contact double
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole double
    Id of the contact role.
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    DeviceBays bool
    Has device bays.
    DeviceTypeSlug string
    Slug of the device type.
    Face string
    Face. One of: front, rear.
    HasLocalContextData bool
    Whether the object has local config context data.
    HasOobIp bool
    Has an out-of-band IP.
    HasPrimaryIp bool
    Has a primary IP.
    HasVirtualDeviceContext bool
    Has virtual device context.
    Interfaces bool
    Has interfaces.
    IsFullDepth bool
    Is full depth.
    LocationSlug string
    Slug of the location.
    MacAddress string
    Mac address to match.
    ManufacturerId double
    Id of the manufacturer.
    ManufacturerSlug string
    Slug of the manufacturer.
    ModelSlug string
    Slug of the device model.
    ModuleBays bool
    Has module bays.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    ParentBayId double
    Id of the parent bay.
    ParentDeviceId double
    Id of the parent device.
    PassThroughPorts bool
    Has pass-through ports.
    Platform string
    Platform to match.
    Position double
    Position to match.
    PowerOutlets bool
    Has power outlets.
    PowerPorts bool
    Has power ports.
    PrimaryIp4 string
    Primary IPv4 (address).
    PrimaryIp6 string
    Primary IPv6 (address).
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region of the site.
    RoleSlug string
    Slug of the role.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteSlug string
    Slug of the site.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantSlug string
    Slug of the tenant.
    VcPosition double
    Vc position to match.
    VcPriority double
    Vc priority to match.
    VirtualChassisMember bool
    Is a virtual chassis member.
    Airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    AssetTag string
    Unique asset tag.
    ClusterId float64
    Id of the virtualization cluster the device hosts.
    Comments string
    ConfigContext string
    Rendered config context (localcontextdata merged with the context assigned through cluster, platform, role, site, tenant and tags) as JSON text, decode with jsondecode().
    ConfigTemplateId float64
    Id of the config template.
    ConsolePortCount float64
    Number of console ports on the device.
    ConsoleServerPortCount float64
    Number of console server ports on the device.
    Created string
    CustomFields 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
    DeviceBayCount float64
    Number of device bays on the device.
    DeviceTypeId float64
    Id of the device type.
    FrontPortCount float64
    Number of front ports on the device.
    Id float64
    NetBox id.
    InterfaceCount float64
    Number of interfaces on the device.
    InventoryItemCount float64
    Number of inventory items on the device.
    LastUpdated string
    Latitude float64
    GPS coordinate in decimal format (xx.yyyyyy).
    LocalContextData string
    Local config context data as JSON text (use jsonencode()).
    LocationId float64
    Id of the location within the site.
    Longitude float64
    GPS coordinate in decimal format (xx.yyyyyy).
    ModuleBayCount float64
    Number of module bays on the device.
    Name string
    Device name; NetBox allows unnamed devices.
    OobIpId float64
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    OwnerId float64
    Id of the owner the object is assigned to.
    PlatformId float64
    Id of the platform.
    PowerOutletCount float64
    Number of power outlets on the device.
    PowerPortCount float64
    Number of power ports on the device.
    PrimaryIp4Id float64
    Id of the primary IPv4 address (managed by netboxprimaryip).
    PrimaryIp6Id float64
    Id of the primary IPv6 address (managed by netboxprimaryip).
    RackFace string
    Rack face the device is mounted on. One of: front, rear.
    RackId float64
    Id of the rack.
    RackPosition float64
    Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
    RearPortCount float64
    Number of rear ports on the device.
    RoleId float64
    Id of the device role.
    Serial string
    Chassis serial number.
    SiteId float64
    Id of the site.
    Status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    TenantId float64
    Id of the tenant.
    Url string
    VirtualChassisId float64
    Id of the virtual chassis.
    VirtualChassisPosition float64
    Position in the virtual chassis (0-255). Must be a whole number.
    VirtualChassisPriority float64
    Master election priority in the virtual chassis (0-255). Must be a whole number.
    ClusterGroupId float64
    Id of the cluster group.
    ClusterGroupSlug string
    Slug of the cluster group.
    ConsolePorts bool
    Has console ports.
    ConsoleServerPorts bool
    Has console server ports.
    Contact float64
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole float64
    Id of the contact role.
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    DeviceBays bool
    Has device bays.
    DeviceTypeSlug string
    Slug of the device type.
    Face string
    Face. One of: front, rear.
    HasLocalContextData bool
    Whether the object has local config context data.
    HasOobIp bool
    Has an out-of-band IP.
    HasPrimaryIp bool
    Has a primary IP.
    HasVirtualDeviceContext bool
    Has virtual device context.
    Interfaces bool
    Has interfaces.
    IsFullDepth bool
    Is full depth.
    LocationSlug string
    Slug of the location.
    MacAddress string
    Mac address to match.
    ManufacturerId float64
    Id of the manufacturer.
    ManufacturerSlug string
    Slug of the manufacturer.
    ModelSlug string
    Slug of the device model.
    ModuleBays bool
    Has module bays.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    ParentBayId float64
    Id of the parent bay.
    ParentDeviceId float64
    Id of the parent device.
    PassThroughPorts bool
    Has pass-through ports.
    Platform string
    Platform to match.
    Position float64
    Position to match.
    PowerOutlets bool
    Has power outlets.
    PowerPorts bool
    Has power ports.
    PrimaryIp4 string
    Primary IPv4 (address).
    PrimaryIp6 string
    Primary IPv6 (address).
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region of the site.
    RoleSlug string
    Slug of the role.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteSlug string
    Slug of the site.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantSlug string
    Slug of the tenant.
    VcPosition float64
    Vc position to match.
    VcPriority float64
    Vc priority to match.
    VirtualChassisMember bool
    Is a virtual chassis member.
    airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    asset_tag string
    Unique asset tag.
    cluster_id number
    Id of the virtualization cluster the device hosts.
    comments string
    config_context string
    Rendered config context (localcontextdata merged with the context assigned through cluster, platform, role, site, tenant and tags) as JSON text, decode with jsondecode().
    config_template_id number
    Id of the config template.
    console_port_count number
    Number of console ports on the device.
    console_server_port_count number
    Number of console server ports on the device.
    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
    device_bay_count number
    Number of device bays on the device.
    device_type_id number
    Id of the device type.
    front_port_count number
    Number of front ports on the device.
    id number
    NetBox id.
    interface_count number
    Number of interfaces on the device.
    inventory_item_count number
    Number of inventory items on the device.
    last_updated string
    latitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    local_context_data string
    Local config context data as JSON text (use jsonencode()).
    location_id number
    Id of the location within the site.
    longitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    module_bay_count number
    Number of module bays on the device.
    name string
    Device name; NetBox allows unnamed devices.
    oob_ip_id number
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    owner_id number
    Id of the owner the object is assigned to.
    platform_id number
    Id of the platform.
    power_outlet_count number
    Number of power outlets on the device.
    power_port_count number
    Number of power ports on the device.
    primary_ip4_id number
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primary_ip6_id number
    Id of the primary IPv6 address (managed by netboxprimaryip).
    rack_face string
    Rack face the device is mounted on. One of: front, rear.
    rack_id number
    Id of the rack.
    rack_position number
    Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
    rear_port_count number
    Number of rear ports on the device.
    role_id number
    Id of the device role.
    serial string
    Chassis serial number.
    site_id number
    Id of the site.
    status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    tenant_id number
    Id of the tenant.
    url string
    virtual_chassis_id number
    Id of the virtual chassis.
    virtual_chassis_position number
    Position in the virtual chassis (0-255). Must be a whole number.
    virtual_chassis_priority number
    Master election priority in the virtual chassis (0-255). Must be a whole number.
    cluster_group_id number
    Id of the cluster group.
    cluster_group_slug string
    Slug of the cluster group.
    console_ports bool
    Has console ports.
    console_server_ports bool
    Has console server ports.
    contact number
    Id of the contact.
    contact_group_slug string
    Slug of the contact group.
    contact_role number
    Id of the contact role.
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    device_bays bool
    Has device bays.
    device_type_slug string
    Slug of the device type.
    face string
    Face. One of: front, rear.
    has_local_context_data bool
    Whether the object has local config context data.
    has_oob_ip bool
    Has an out-of-band IP.
    has_primary_ip bool
    Has a primary IP.
    has_virtual_device_context bool
    Has virtual device context.
    interfaces bool
    Has interfaces.
    is_full_depth bool
    Is full depth.
    location_slug string
    Slug of the location.
    mac_address string
    Mac address to match.
    manufacturer_id number
    Id of the manufacturer.
    manufacturer_slug string
    Slug of the manufacturer.
    model_slug string
    Slug of the device model.
    module_bays bool
    Has module bays.
    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.
    parent_bay_id number
    Id of the parent bay.
    parent_device_id number
    Id of the parent device.
    pass_through_ports bool
    Has pass-through ports.
    platform string
    Platform to match.
    position number
    Position to match.
    power_outlets bool
    Has power outlets.
    power_ports bool
    Has power ports.
    primary_ip4 string
    Primary IPv4 (address).
    primary_ip6 string
    Primary IPv6 (address).
    q string
    Search term, matched against the fields NetBox searches for this object type.
    region_id string
    Id of the region.
    region_slug string
    Slug of the region of the site.
    role_slug string
    Slug of the role.
    site_group_id string
    Id of the site group.
    site_group_slug string
    Slug of the site group.
    site_slug string
    Slug of the site.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    tenant_group_id string
    Id of the tenant group.
    tenant_group_slug string
    Slug of the tenant group.
    tenant_slug string
    Slug of the tenant.
    vc_position number
    Vc position to match.
    vc_priority number
    Vc priority to match.
    virtual_chassis_member bool
    Is a virtual chassis member.
    airflow String
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    assetTag String
    Unique asset tag.
    clusterId Double
    Id of the virtualization cluster the device hosts.
    comments String
    configContext String
    Rendered config context (localcontextdata merged with the context assigned through cluster, platform, role, site, tenant and tags) as JSON text, decode with jsondecode().
    configTemplateId Double
    Id of the config template.
    consolePortCount Double
    Number of console ports on the device.
    consoleServerPortCount Double
    Number of console server ports on the device.
    created String
    customFields 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
    deviceBayCount Double
    Number of device bays on the device.
    deviceTypeId Double
    Id of the device type.
    frontPortCount Double
    Number of front ports on the device.
    id Double
    NetBox id.
    interfaceCount Double
    Number of interfaces on the device.
    inventoryItemCount Double
    Number of inventory items on the device.
    lastUpdated String
    latitude Double
    GPS coordinate in decimal format (xx.yyyyyy).
    localContextData String
    Local config context data as JSON text (use jsonencode()).
    locationId Double
    Id of the location within the site.
    longitude Double
    GPS coordinate in decimal format (xx.yyyyyy).
    moduleBayCount Double
    Number of module bays on the device.
    name String
    Device name; NetBox allows unnamed devices.
    oobIpId Double
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    ownerId Double
    Id of the owner the object is assigned to.
    platformId Double
    Id of the platform.
    powerOutletCount Double
    Number of power outlets on the device.
    powerPortCount Double
    Number of power ports on the device.
    primaryIp4Id Double
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primaryIp6Id Double
    Id of the primary IPv6 address (managed by netboxprimaryip).
    rackFace String
    Rack face the device is mounted on. One of: front, rear.
    rackId Double
    Id of the rack.
    rackPosition Double
    Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
    rearPortCount Double
    Number of rear ports on the device.
    roleId Double
    Id of the device role.
    serial String
    Chassis serial number.
    siteId Double
    Id of the site.
    status String
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId Double
    Id of the tenant.
    url String
    virtualChassisId Double
    Id of the virtual chassis.
    virtualChassisPosition Double
    Position in the virtual chassis (0-255). Must be a whole number.
    virtualChassisPriority Double
    Master election priority in the virtual chassis (0-255). Must be a whole number.
    clusterGroupId Double
    Id of the cluster group.
    clusterGroupSlug String
    Slug of the cluster group.
    consolePorts Boolean
    Has console ports.
    consoleServerPorts Boolean
    Has console server ports.
    contact Double
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Double
    Id of the contact role.
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    deviceBays Boolean
    Has device bays.
    deviceTypeSlug String
    Slug of the device type.
    face String
    Face. One of: front, rear.
    hasLocalContextData Boolean
    Whether the object has local config context data.
    hasOobIp Boolean
    Has an out-of-band IP.
    hasPrimaryIp Boolean
    Has a primary IP.
    hasVirtualDeviceContext Boolean
    Has virtual device context.
    interfaces Boolean
    Has interfaces.
    isFullDepth Boolean
    Is full depth.
    locationSlug String
    Slug of the location.
    macAddress String
    Mac address to match.
    manufacturerId Double
    Id of the manufacturer.
    manufacturerSlug String
    Slug of the manufacturer.
    modelSlug String
    Slug of the device model.
    moduleBays Boolean
    Has module bays.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    parentBayId Double
    Id of the parent bay.
    parentDeviceId Double
    Id of the parent device.
    passThroughPorts Boolean
    Has pass-through ports.
    platform String
    Platform to match.
    position Double
    Position to match.
    powerOutlets Boolean
    Has power outlets.
    powerPorts Boolean
    Has power ports.
    primaryIp4 String
    Primary IPv4 (address).
    primaryIp6 String
    Primary IPv6 (address).
    q String
    Search term, matched against the fields NetBox searches for this object type.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region of the site.
    roleSlug String
    Slug of the role.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteSlug String
    Slug of the site.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantSlug String
    Slug of the tenant.
    vcPosition Double
    Vc position to match.
    vcPriority Double
    Vc priority to match.
    virtualChassisMember Boolean
    Is a virtual chassis member.
    airflow string
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    assetTag string
    Unique asset tag.
    clusterId number
    Id of the virtualization cluster the device hosts.
    comments string
    configContext string
    Rendered config context (localcontextdata merged with the context assigned through cluster, platform, role, site, tenant and tags) as JSON text, decode with jsondecode().
    configTemplateId number
    Id of the config template.
    consolePortCount number
    Number of console ports on the device.
    consoleServerPortCount number
    Number of console server ports on the device.
    created string
    customFields {[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
    deviceBayCount number
    Number of device bays on the device.
    deviceTypeId number
    Id of the device type.
    frontPortCount number
    Number of front ports on the device.
    id number
    NetBox id.
    interfaceCount number
    Number of interfaces on the device.
    inventoryItemCount number
    Number of inventory items on the device.
    lastUpdated string
    latitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    localContextData string
    Local config context data as JSON text (use jsonencode()).
    locationId number
    Id of the location within the site.
    longitude number
    GPS coordinate in decimal format (xx.yyyyyy).
    moduleBayCount number
    Number of module bays on the device.
    name string
    Device name; NetBox allows unnamed devices.
    oobIpId number
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    ownerId number
    Id of the owner the object is assigned to.
    platformId number
    Id of the platform.
    powerOutletCount number
    Number of power outlets on the device.
    powerPortCount number
    Number of power ports on the device.
    primaryIp4Id number
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primaryIp6Id number
    Id of the primary IPv6 address (managed by netboxprimaryip).
    rackFace string
    Rack face the device is mounted on. One of: front, rear.
    rackId number
    Id of the rack.
    rackPosition number
    Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
    rearPortCount number
    Number of rear ports on the device.
    roleId number
    Id of the device role.
    serial string
    Chassis serial number.
    siteId number
    Id of the site.
    status string
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId number
    Id of the tenant.
    url string
    virtualChassisId number
    Id of the virtual chassis.
    virtualChassisPosition number
    Position in the virtual chassis (0-255). Must be a whole number.
    virtualChassisPriority number
    Master election priority in the virtual chassis (0-255). Must be a whole number.
    clusterGroupId number
    Id of the cluster group.
    clusterGroupSlug string
    Slug of the cluster group.
    consolePorts boolean
    Has console ports.
    consoleServerPorts boolean
    Has console server ports.
    contact number
    Id of the contact.
    contactGroupSlug string
    Slug of the contact group.
    contactRole number
    Id of the contact role.
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    deviceBays boolean
    Has device bays.
    deviceTypeSlug string
    Slug of the device type.
    face string
    Face. One of: front, rear.
    hasLocalContextData boolean
    Whether the object has local config context data.
    hasOobIp boolean
    Has an out-of-band IP.
    hasPrimaryIp boolean
    Has a primary IP.
    hasVirtualDeviceContext boolean
    Has virtual device context.
    interfaces boolean
    Has interfaces.
    isFullDepth boolean
    Is full depth.
    locationSlug string
    Slug of the location.
    macAddress string
    Mac address to match.
    manufacturerId number
    Id of the manufacturer.
    manufacturerSlug string
    Slug of the manufacturer.
    modelSlug string
    Slug of the device model.
    moduleBays boolean
    Has module bays.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerName string
    Name of the owner.
    parentBayId number
    Id of the parent bay.
    parentDeviceId number
    Id of the parent device.
    passThroughPorts boolean
    Has pass-through ports.
    platform string
    Platform to match.
    position number
    Position to match.
    powerOutlets boolean
    Has power outlets.
    powerPorts boolean
    Has power ports.
    primaryIp4 string
    Primary IPv4 (address).
    primaryIp6 string
    Primary IPv6 (address).
    q string
    Search term, matched against the fields NetBox searches for this object type.
    regionId string
    Id of the region.
    regionSlug string
    Slug of the region of the site.
    roleSlug string
    Slug of the role.
    siteGroupId string
    Id of the site group.
    siteGroupSlug string
    Slug of the site group.
    siteSlug string
    Slug of the site.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    tenantGroupId string
    Id of the tenant group.
    tenantGroupSlug string
    Slug of the tenant group.
    tenantSlug string
    Slug of the tenant.
    vcPosition number
    Vc position to match.
    vcPriority number
    Vc priority to match.
    virtualChassisMember boolean
    Is a virtual chassis member.
    airflow str
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    asset_tag str
    Unique asset tag.
    cluster_id float
    Id of the virtualization cluster the device hosts.
    comments str
    config_context str
    Rendered config context (localcontextdata merged with the context assigned through cluster, platform, role, site, tenant and tags) as JSON text, decode with jsondecode().
    config_template_id float
    Id of the config template.
    console_port_count float
    Number of console ports on the device.
    console_server_port_count float
    Number of console server ports on the device.
    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
    device_bay_count float
    Number of device bays on the device.
    device_type_id float
    Id of the device type.
    front_port_count float
    Number of front ports on the device.
    id float
    NetBox id.
    interface_count float
    Number of interfaces on the device.
    inventory_item_count float
    Number of inventory items on the device.
    last_updated str
    latitude float
    GPS coordinate in decimal format (xx.yyyyyy).
    local_context_data str
    Local config context data as JSON text (use jsonencode()).
    location_id float
    Id of the location within the site.
    longitude float
    GPS coordinate in decimal format (xx.yyyyyy).
    module_bay_count float
    Number of module bays on the device.
    name str
    Device name; NetBox allows unnamed devices.
    oob_ip_id float
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    owner_id float
    Id of the owner the object is assigned to.
    platform_id float
    Id of the platform.
    power_outlet_count float
    Number of power outlets on the device.
    power_port_count float
    Number of power ports on the device.
    primary_ip4_id float
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primary_ip6_id float
    Id of the primary IPv6 address (managed by netboxprimaryip).
    rack_face str
    Rack face the device is mounted on. One of: front, rear.
    rack_id float
    Id of the rack.
    rack_position float
    Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
    rear_port_count float
    Number of rear ports on the device.
    role_id float
    Id of the device role.
    serial str
    Chassis serial number.
    site_id float
    Id of the site.
    status str
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    tenant_id float
    Id of the tenant.
    url str
    virtual_chassis_id float
    Id of the virtual chassis.
    virtual_chassis_position float
    Position in the virtual chassis (0-255). Must be a whole number.
    virtual_chassis_priority float
    Master election priority in the virtual chassis (0-255). Must be a whole number.
    cluster_group_id float
    Id of the cluster group.
    cluster_group_slug str
    Slug of the cluster group.
    console_ports bool
    Has console ports.
    console_server_ports bool
    Has console server ports.
    contact float
    Id of the contact.
    contact_group_slug str
    Slug of the contact group.
    contact_role float
    Id of the contact role.
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    device_bays bool
    Has device bays.
    device_type_slug str
    Slug of the device type.
    face str
    Face. One of: front, rear.
    has_local_context_data bool
    Whether the object has local config context data.
    has_oob_ip bool
    Has an out-of-band IP.
    has_primary_ip bool
    Has a primary IP.
    has_virtual_device_context bool
    Has virtual device context.
    interfaces bool
    Has interfaces.
    is_full_depth bool
    Is full depth.
    location_slug str
    Slug of the location.
    mac_address str
    Mac address to match.
    manufacturer_id float
    Id of the manufacturer.
    manufacturer_slug str
    Slug of the manufacturer.
    model_slug str
    Slug of the device model.
    module_bays bool
    Has module bays.
    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.
    parent_bay_id float
    Id of the parent bay.
    parent_device_id float
    Id of the parent device.
    pass_through_ports bool
    Has pass-through ports.
    platform str
    Platform to match.
    position float
    Position to match.
    power_outlets bool
    Has power outlets.
    power_ports bool
    Has power ports.
    primary_ip4 str
    Primary IPv4 (address).
    primary_ip6 str
    Primary IPv6 (address).
    q str
    Search term, matched against the fields NetBox searches for this object type.
    region_id str
    Id of the region.
    region_slug str
    Slug of the region of the site.
    role_slug str
    Slug of the role.
    site_group_id str
    Id of the site group.
    site_group_slug str
    Slug of the site group.
    site_slug str
    Slug of the site.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    tenant_group_id str
    Id of the tenant group.
    tenant_group_slug str
    Slug of the tenant group.
    tenant_slug str
    Slug of the tenant.
    vc_position float
    Vc position to match.
    vc_priority float
    Vc priority to match.
    virtual_chassis_member bool
    Is a virtual chassis member.
    airflow String
    One of: front-to-rear, rear-to-front, left-to-right, right-to-left, side-to-rear, passive, mixed, rear-to-side, bottom-to-top, top-to-bottom.
    assetTag String
    Unique asset tag.
    clusterId Number
    Id of the virtualization cluster the device hosts.
    comments String
    configContext String
    Rendered config context (localcontextdata merged with the context assigned through cluster, platform, role, site, tenant and tags) as JSON text, decode with jsondecode().
    configTemplateId Number
    Id of the config template.
    consolePortCount Number
    Number of console ports on the device.
    consoleServerPortCount Number
    Number of console server ports on the device.
    created String
    customFields 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
    deviceBayCount Number
    Number of device bays on the device.
    deviceTypeId Number
    Id of the device type.
    frontPortCount Number
    Number of front ports on the device.
    id Number
    NetBox id.
    interfaceCount Number
    Number of interfaces on the device.
    inventoryItemCount Number
    Number of inventory items on the device.
    lastUpdated String
    latitude Number
    GPS coordinate in decimal format (xx.yyyyyy).
    localContextData String
    Local config context data as JSON text (use jsonencode()).
    locationId Number
    Id of the location within the site.
    longitude Number
    GPS coordinate in decimal format (xx.yyyyyy).
    moduleBayCount Number
    Number of module bays on the device.
    name String
    Device name; NetBox allows unnamed devices.
    oobIpId Number
    Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
    ownerId Number
    Id of the owner the object is assigned to.
    platformId Number
    Id of the platform.
    powerOutletCount Number
    Number of power outlets on the device.
    powerPortCount Number
    Number of power ports on the device.
    primaryIp4Id Number
    Id of the primary IPv4 address (managed by netboxprimaryip).
    primaryIp6Id Number
    Id of the primary IPv6 address (managed by netboxprimaryip).
    rackFace String
    Rack face the device is mounted on. One of: front, rear.
    rackId Number
    Id of the rack.
    rackPosition Number
    Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
    rearPortCount Number
    Number of rear ports on the device.
    roleId Number
    Id of the device role.
    serial String
    Chassis serial number.
    siteId Number
    Id of the site.
    status String
    Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId Number
    Id of the tenant.
    url String
    virtualChassisId Number
    Id of the virtual chassis.
    virtualChassisPosition Number
    Position in the virtual chassis (0-255). Must be a whole number.
    virtualChassisPriority Number
    Master election priority in the virtual chassis (0-255). Must be a whole number.
    clusterGroupId Number
    Id of the cluster group.
    clusterGroupSlug String
    Slug of the cluster group.
    consolePorts Boolean
    Has console ports.
    consoleServerPorts Boolean
    Has console server ports.
    contact Number
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Number
    Id of the contact role.
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    deviceBays Boolean
    Has device bays.
    deviceTypeSlug String
    Slug of the device type.
    face String
    Face. One of: front, rear.
    hasLocalContextData Boolean
    Whether the object has local config context data.
    hasOobIp Boolean
    Has an out-of-band IP.
    hasPrimaryIp Boolean
    Has a primary IP.
    hasVirtualDeviceContext Boolean
    Has virtual device context.
    interfaces Boolean
    Has interfaces.
    isFullDepth Boolean
    Is full depth.
    locationSlug String
    Slug of the location.
    macAddress String
    Mac address to match.
    manufacturerId Number
    Id of the manufacturer.
    manufacturerSlug String
    Slug of the manufacturer.
    modelSlug String
    Slug of the device model.
    moduleBays Boolean
    Has module bays.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    parentBayId Number
    Id of the parent bay.
    parentDeviceId Number
    Id of the parent device.
    passThroughPorts Boolean
    Has pass-through ports.
    platform String
    Platform to match.
    position Number
    Position to match.
    powerOutlets Boolean
    Has power outlets.
    powerPorts Boolean
    Has power ports.
    primaryIp4 String
    Primary IPv4 (address).
    primaryIp6 String
    Primary IPv6 (address).
    q String
    Search term, matched against the fields NetBox searches for this object type.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region of the site.
    roleSlug String
    Slug of the role.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteSlug String
    Slug of the site.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantSlug String
    Slug of the tenant.
    vcPosition Number
    Vc position to match.
    vcPriority Number
    Vc priority to match.
    virtualChassisMember Boolean
    Is a virtual chassis member.

    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