published on Monday, Nov 16, 2026 by e-breuninger
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 dictionarydata "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.
- Asset
Tag string - Unique asset tag.
- Cluster
Group doubleId - Id of the cluster group.
- Cluster
Group stringSlug - Slug of the cluster group.
- Cluster
Id double - Id of the virtualization cluster the device hosts.
- Config
Template doubleId - Id of the config template.
- Console
Port doubleCount - Number of console ports on the device.
- Console
Ports bool - Has console ports.
- Console
Server doublePort Count - Number of console server ports on the device.
- Console
Server boolPorts - Has console server ports.
- Contact double
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role double - Id of the contact role.
- Created string
- Custom
Field Dictionary<string, string>Filters - 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 doubleCount - Number of device bays on the device.
- Device
Bays bool - Has device bays.
- Device
Type doubleId - Id of the device type.
- Device
Type stringSlug - Slug of the device type.
- Face string
- Face. One of: front, rear.
- Front
Port doubleCount - Number of front ports on the device.
- Has
Local boolContext Data - Whether the object has local config context data.
- Has
Oob boolIp - Has an out-of-band IP.
- Has
Primary boolIp - Has a primary IP.
- Has
Virtual boolDevice Context - Has virtual device context.
- Id double
- NetBox id.
- Interface
Count double - Number of interfaces on the device.
- Interfaces bool
- Has interfaces.
- Inventory
Item doubleCount - Number of inventory items on the device.
- Is
Full boolDepth - Is full depth.
- Last
Updated string - Latitude double
- GPS coordinate in decimal format (xx.yyyyyy).
- Location
Id double - Id of the location within the site.
- Location
Slug string - Slug of the location.
- Longitude double
- GPS coordinate in decimal format (xx.yyyyyy).
- Mac
Address string - Mac address to match.
- Manufacturer
Id double - Id of the manufacturer.
- Manufacturer
Slug string - Slug of the manufacturer.
- Model
Slug string - Slug of the device model.
- Module
Bay doubleCount - Number of module bays on the device.
- Module
Bays bool - Has module bays.
- Name string
- Device name; NetBox allows unnamed devices.
- Oob
Ip doubleId - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id double - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Parent
Bay doubleId - Id of the parent bay.
- Parent
Device doubleId - Id of the parent device.
- Pass
Through boolPorts - Has pass-through ports.
- Platform string
- Platform to match.
- Platform
Id double - Id of the platform.
- Position double
- Position to match.
- Power
Outlet doubleCount - Number of power outlets on the device.
- Power
Outlets bool - Has power outlets.
- Power
Port doubleCount - Number of power ports on the device.
- Power
Ports bool - Has power ports.
- Primary
Ip4 string - Primary IPv4 (address).
- Primary
Ip4Id double - Id of the primary IPv4 address (managed by netboxprimaryip).
- Primary
Ip6 string - Primary IPv6 (address).
- Primary
Ip6Id double - 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 double - Id of the rack.
- Rear
Port doubleCount - 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 double - Id of the device role.
- Role
Slug string - Slug of the role.
- Serial string
- Chassis serial number.
- Site
Group stringId - Id of the site group.
- Site
Group stringSlug - Slug of the site group.
- Site
Id double - 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 double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Tenant
Group stringId - Id of the tenant group.
- Tenant
Group stringSlug - Slug of the tenant group.
- Tenant
Id double - Id of the tenant.
- Tenant
Slug string - Slug of the tenant.
- Vc
Position double - Vc position to match.
- Vc
Priority double - Vc priority to match.
- Virtual
Chassis doubleId - Id of the virtual chassis.
- Virtual
Chassis boolMember - 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 float64Id - Id of the cluster group.
- Cluster
Group stringSlug - Slug of the cluster group.
- Cluster
Id float64 - Id of the virtualization cluster the device hosts.
- Config
Template float64Id - Id of the config template.
- Console
Port float64Count - Number of console ports on the device.
- Console
Ports bool - Has console ports.
- Console
Server float64Port Count - Number of console server ports on the device.
- Console
Server boolPorts - Has console server ports.
- Contact float64
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role float64 - Id of the contact role.
- Created string
- Custom
Field map[string]stringFilters - 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 float64Count - Number of device bays on the device.
- Device
Bays bool - Has device bays.
- Device
Type float64Id - Id of the device type.
- Device
Type stringSlug - Slug of the device type.
- Face string
- Face. One of: front, rear.
- Front
Port float64Count - Number of front ports on the device.
- Has
Local boolContext Data - Whether the object has local config context data.
- Has
Oob boolIp - Has an out-of-band IP.
- Has
Primary boolIp - Has a primary IP.
- Has
Virtual boolDevice Context - Has virtual device context.
- Id float64
- NetBox id.
- Interface
Count float64 - Number of interfaces on the device.
- Interfaces bool
- Has interfaces.
- Inventory
Item float64Count - Number of inventory items on the device.
- Is
Full boolDepth - Is full depth.
- Last
Updated string - Latitude float64
- GPS coordinate in decimal format (xx.yyyyyy).
- Location
Id float64 - Id of the location within the site.
- Location
Slug string - Slug of the location.
- Longitude float64
- GPS coordinate in decimal format (xx.yyyyyy).
- Mac
Address string - Mac address to match.
- Manufacturer
Id float64 - Id of the manufacturer.
- Manufacturer
Slug string - Slug of the manufacturer.
- Model
Slug string - Slug of the device model.
- Module
Bay float64Count - Number of module bays on the device.
- Module
Bays bool - Has module bays.
- Name string
- Device name; NetBox allows unnamed devices.
- Oob
Ip float64Id - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id float64 - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- Parent
Bay float64Id - Id of the parent bay.
- Parent
Device float64Id - Id of the parent device.
- Pass
Through boolPorts - Has pass-through ports.
- Platform string
- Platform to match.
- Platform
Id float64 - Id of the platform.
- Position float64
- Position to match.
- Power
Outlet float64Count - Number of power outlets on the device.
- Power
Outlets bool - Has power outlets.
- Power
Port float64Count - Number of power ports on the device.
- Power
Ports bool - Has power ports.
- Primary
Ip4 string - Primary IPv4 (address).
- Primary
Ip4Id float64 - Id of the primary IPv4 address (managed by netboxprimaryip).
- Primary
Ip6 string - Primary IPv6 (address).
- Primary
Ip6Id float64 - 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 float64 - Id of the rack.
- Rear
Port float64Count - 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 float64 - Id of the device role.
- Role
Slug string - Slug of the role.
- Serial string
- Chassis serial number.
- Site
Group stringId - Id of the site group.
- Site
Group stringSlug - Slug of the site group.
- Site
Id float64 - 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 float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Tenant
Group stringId - Id of the tenant group.
- Tenant
Group stringSlug - Slug of the tenant group.
- Tenant
Id float64 - Id of the tenant.
- Tenant
Slug string - Slug of the tenant.
- Vc
Position float64 - Vc position to match.
- Vc
Priority float64 - Vc priority to match.
- Virtual
Chassis float64Id - Id of the virtual chassis.
- Virtual
Chassis boolMember - 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_ numberid - Id of the cluster group.
- cluster_
group_ stringslug - Slug of the cluster group.
- cluster_
id number - Id of the virtualization cluster the device hosts.
- config_
template_ numberid - Id of the config template.
- console_
port_ numbercount - Number of console ports on the device.
- console_
ports bool - Has console ports.
- console_
server_ numberport_ count - Number of console server ports on the device.
- console_
server_ boolports - Has console server ports.
- contact number
- Id of the contact.
- contact_
group_ stringslug - Slug of the contact group.
- contact_
role number - Id of the contact role.
- created string
- custom_
field_ map(string)filters - 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_ numbercount - Number of device bays on the device.
- device_
bays bool - Has device bays.
- device_
type_ numberid - Id of the device type.
- device_
type_ stringslug - Slug of the device type.
- face string
- Face. One of: front, rear.
- front_
port_ numbercount - Number of front ports on the device.
- has_
local_ boolcontext_ data - Whether the object has local config context data.
- has_
oob_ boolip - Has an out-of-band IP.
- has_
primary_ boolip - Has a primary IP.
- has_
virtual_ booldevice_ context - Has virtual device context.
- id number
- NetBox id.
- interface_
count number - Number of interfaces on the device.
- interfaces bool
- Has interfaces.
- inventory_
item_ numbercount - Number of inventory items on the device.
- is_
full_ booldepth - 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_ numbercount - Number of module bays on the device.
- module_
bays bool - Has module bays.
- name string
- Device name; NetBox allows unnamed devices.
- oob_
ip_ numberid - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
id number - Id of the owner the object is assigned to.
- owner_
name string - Name of the owner.
- parent_
bay_ numberid - Id of the parent bay.
- parent_
device_ numberid - Id of the parent device.
- pass_
through_ boolports - Has pass-through ports.
- platform string
- Platform to match.
- platform_
id number - Id of the platform.
- position number
- Position to match.
- power_
outlet_ numbercount - Number of power outlets on the device.
- power_
outlets bool - Has power outlets.
- power_
port_ numbercount - Number of power ports on the device.
- power_
ports bool - Has power ports.
- primary_
ip4 string - Primary IPv4 (address).
- primary_
ip4_ numberid - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary_
ip6 string - Primary IPv6 (address).
- primary_
ip6_ numberid - 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_ numbercount - 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_ stringid - Id of the site group.
- site_
group_ stringslug - 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_ stringid - Id of the tenant group.
- tenant_
group_ stringslug - 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_ numberid - Id of the virtual chassis.
- virtual_
chassis_ boolmember - 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 DoubleId - Id of the cluster group.
- cluster
Group StringSlug - Slug of the cluster group.
- cluster
Id Double - Id of the virtualization cluster the device hosts.
- config
Template DoubleId - Id of the config template.
- console
Port DoubleCount - Number of console ports on the device.
- console
Ports Boolean - Has console ports.
- console
Server DoublePort Count - Number of console server ports on the device.
- console
Server BooleanPorts - Has console server ports.
- contact Double
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Double - Id of the contact role.
- created String
- custom
Field Map<String,String>Filters - 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 DoubleCount - Number of device bays on the device.
- device
Bays Boolean - Has device bays.
- device
Type DoubleId - Id of the device type.
- device
Type StringSlug - Slug of the device type.
- face String
- Face. One of: front, rear.
- front
Port DoubleCount - Number of front ports on the device.
- has
Local BooleanContext Data - Whether the object has local config context data.
- has
Oob BooleanIp - Has an out-of-band IP.
- has
Primary BooleanIp - Has a primary IP.
- has
Virtual BooleanDevice Context - Has virtual device context.
- id Double
- NetBox id.
- interface
Count Double - Number of interfaces on the device.
- interfaces Boolean
- Has interfaces.
- inventory
Item DoubleCount - Number of inventory items on the device.
- is
Full BooleanDepth - Is full depth.
- last
Updated String - latitude Double
- GPS coordinate in decimal format (xx.yyyyyy).
- location
Id Double - Id of the location within the site.
- location
Slug String - Slug of the location.
- longitude Double
- GPS coordinate in decimal format (xx.yyyyyy).
- mac
Address String - Mac address to match.
- manufacturer
Id Double - Id of the manufacturer.
- manufacturer
Slug String - Slug of the manufacturer.
- model
Slug String - Slug of the device model.
- module
Bay DoubleCount - Number of module bays on the device.
- module
Bays Boolean - Has module bays.
- name String
- Device name; NetBox allows unnamed devices.
- oob
Ip DoubleId - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Double - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- parent
Bay DoubleId - Id of the parent bay.
- parent
Device DoubleId - Id of the parent device.
- pass
Through BooleanPorts - Has pass-through ports.
- platform String
- Platform to match.
- platform
Id Double - Id of the platform.
- position Double
- Position to match.
- power
Outlet DoubleCount - Number of power outlets on the device.
- power
Outlets Boolean - Has power outlets.
- power
Port DoubleCount - Number of power ports on the device.
- power
Ports Boolean - Has power ports.
- primary
Ip4 String - Primary IPv4 (address).
- primary
Ip4Id Double - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary
Ip6 String - Primary IPv6 (address).
- primary
Ip6Id Double - 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 Double - Id of the rack.
- rear
Port DoubleCount - 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 Double - Id of the device role.
- role
Slug String - Slug of the role.
- serial String
- Chassis serial number.
- site
Group StringId - Id of the site group.
- site
Group StringSlug - Slug of the site group.
- site
Id Double - 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 Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- tenant
Group StringId - Id of the tenant group.
- tenant
Group StringSlug - Slug of the tenant group.
- tenant
Id Double - Id of the tenant.
- tenant
Slug String - Slug of the tenant.
- vc
Position Double - Vc position to match.
- vc
Priority Double - Vc priority to match.
- virtual
Chassis DoubleId - Id of the virtual chassis.
- virtual
Chassis BooleanMember - 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 numberId - Id of the cluster group.
- cluster
Group stringSlug - Slug of the cluster group.
- cluster
Id number - Id of the virtualization cluster the device hosts.
- config
Template numberId - Id of the config template.
- console
Port numberCount - Number of console ports on the device.
- console
Ports boolean - Has console ports.
- console
Server numberPort Count - Number of console server ports on the device.
- console
Server booleanPorts - Has console server ports.
- contact number
- Id of the contact.
- contact
Group stringSlug - Slug of the contact group.
- contact
Role number - Id of the contact role.
- created string
- custom
Field {[key: string]: string}Filters - 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 numberCount - Number of device bays on the device.
- device
Bays boolean - Has device bays.
- device
Type numberId - Id of the device type.
- device
Type stringSlug - Slug of the device type.
- face string
- Face. One of: front, rear.
- front
Port numberCount - Number of front ports on the device.
- has
Local booleanContext Data - Whether the object has local config context data.
- has
Oob booleanIp - Has an out-of-band IP.
- has
Primary booleanIp - Has a primary IP.
- has
Virtual booleanDevice Context - Has virtual device context.
- id number
- NetBox id.
- interface
Count number - Number of interfaces on the device.
- interfaces boolean
- Has interfaces.
- inventory
Item numberCount - Number of inventory items on the device.
- is
Full booleanDepth - 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 numberCount - Number of module bays on the device.
- module
Bays boolean - Has module bays.
- name string
- Device name; NetBox allows unnamed devices.
- oob
Ip numberId - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Id number - Id of the owner the object is assigned to.
- owner
Name string - Name of the owner.
- parent
Bay numberId - Id of the parent bay.
- parent
Device numberId - Id of the parent device.
- pass
Through booleanPorts - Has pass-through ports.
- platform string
- Platform to match.
- platform
Id number - Id of the platform.
- position number
- Position to match.
- power
Outlet numberCount - Number of power outlets on the device.
- power
Outlets boolean - Has power outlets.
- power
Port numberCount - Number of power ports on the device.
- power
Ports boolean - Has power ports.
- primary
Ip4 string - Primary IPv4 (address).
- primary
Ip4Id number - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary
Ip6 string - Primary IPv6 (address).
- primary
Ip6Id 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 numberCount - 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 stringId - Id of the site group.
- site
Group stringSlug - 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.
- string
- Slug of a tag the object carries.
- tenant
Group stringId - Id of the tenant group.
- tenant
Group stringSlug - 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 numberId - Id of the virtual chassis.
- virtual
Chassis booleanMember - 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_ floatid - Id of the cluster group.
- cluster_
group_ strslug - Slug of the cluster group.
- cluster_
id float - Id of the virtualization cluster the device hosts.
- config_
template_ floatid - Id of the config template.
- console_
port_ floatcount - Number of console ports on the device.
- console_
ports bool - Has console ports.
- console_
server_ floatport_ count - Number of console server ports on the device.
- console_
server_ boolports - Has console server ports.
- contact float
- Id of the contact.
- contact_
group_ strslug - Slug of the contact group.
- contact_
role float - Id of the contact role.
- created str
- custom_
field_ Mapping[str, str]filters - 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_ floatcount - Number of device bays on the device.
- device_
bays bool - Has device bays.
- device_
type_ floatid - Id of the device type.
- device_
type_ strslug - Slug of the device type.
- face str
- Face. One of: front, rear.
- front_
port_ floatcount - Number of front ports on the device.
- has_
local_ boolcontext_ data - Whether the object has local config context data.
- has_
oob_ boolip - Has an out-of-band IP.
- has_
primary_ boolip - Has a primary IP.
- has_
virtual_ booldevice_ context - Has virtual device context.
- id float
- NetBox id.
- interface_
count float - Number of interfaces on the device.
- interfaces bool
- Has interfaces.
- inventory_
item_ floatcount - Number of inventory items on the device.
- is_
full_ booldepth - 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_ floatcount - Number of module bays on the device.
- module_
bays bool - Has module bays.
- name str
- Device name; NetBox allows unnamed devices.
- oob_
ip_ floatid - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
id float - Id of the owner the object is assigned to.
- owner_
name str - Name of the owner.
- parent_
bay_ floatid - Id of the parent bay.
- parent_
device_ floatid - Id of the parent device.
- pass_
through_ boolports - Has pass-through ports.
- platform str
- Platform to match.
- platform_
id float - Id of the platform.
- position float
- Position to match.
- power_
outlet_ floatcount - Number of power outlets on the device.
- power_
outlets bool - Has power outlets.
- power_
port_ floatcount - Number of power ports on the device.
- power_
ports bool - Has power ports.
- primary_
ip4 str - Primary IPv4 (address).
- primary_
ip4_ floatid - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary_
ip6 str - Primary IPv6 (address).
- primary_
ip6_ floatid - 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_ floatcount - 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_ strid - Id of the site group.
- site_
group_ strslug - 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_ strid - Id of the tenant group.
- tenant_
group_ strslug - 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_ floatid - Id of the virtual chassis.
- virtual_
chassis_ boolmember - 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 NumberId - Id of the cluster group.
- cluster
Group StringSlug - Slug of the cluster group.
- cluster
Id Number - Id of the virtualization cluster the device hosts.
- config
Template NumberId - Id of the config template.
- console
Port NumberCount - Number of console ports on the device.
- console
Ports Boolean - Has console ports.
- console
Server NumberPort Count - Number of console server ports on the device.
- console
Server BooleanPorts - Has console server ports.
- contact Number
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Number - Id of the contact role.
- created String
- custom
Field Map<String>Filters - 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 NumberCount - Number of device bays on the device.
- device
Bays Boolean - Has device bays.
- device
Type NumberId - Id of the device type.
- device
Type StringSlug - Slug of the device type.
- face String
- Face. One of: front, rear.
- front
Port NumberCount - Number of front ports on the device.
- has
Local BooleanContext Data - Whether the object has local config context data.
- has
Oob BooleanIp - Has an out-of-band IP.
- has
Primary BooleanIp - Has a primary IP.
- has
Virtual BooleanDevice Context - Has virtual device context.
- id Number
- NetBox id.
- interface
Count Number - Number of interfaces on the device.
- interfaces Boolean
- Has interfaces.
- inventory
Item NumberCount - Number of inventory items on the device.
- is
Full BooleanDepth - 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 NumberCount - Number of module bays on the device.
- module
Bays Boolean - Has module bays.
- name String
- Device name; NetBox allows unnamed devices.
- oob
Ip NumberId - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Number - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- parent
Bay NumberId - Id of the parent bay.
- parent
Device NumberId - Id of the parent device.
- pass
Through BooleanPorts - Has pass-through ports.
- platform String
- Platform to match.
- platform
Id Number - Id of the platform.
- position Number
- Position to match.
- power
Outlet NumberCount - Number of power outlets on the device.
- power
Outlets Boolean - Has power outlets.
- power
Port NumberCount - Number of power ports on the device.
- power
Ports Boolean - Has power ports.
- primary
Ip4 String - Primary IPv4 (address).
- primary
Ip4Id Number - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary
Ip6 String - Primary IPv6 (address).
- primary
Ip6Id 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 NumberCount - 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 StringId - Id of the site group.
- site
Group StringSlug - 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.
- String
- Slug of a tag the object carries.
- tenant
Group StringId - Id of the tenant group.
- tenant
Group StringSlug - 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 NumberId - Id of the virtual chassis.
- virtual
Chassis BooleanMember - 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.
- Asset
Tag string - Unique asset tag.
- Cluster
Id double - 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 doubleId - Id of the config template.
- Console
Port doubleCount - Number of console ports on the device.
- Console
Server doublePort Count - Number of console server ports on the device.
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Device
Bay doubleCount - Number of device bays on the device.
- Device
Type doubleId - Id of the device type.
- Front
Port doubleCount - Number of front ports on the device.
- Id double
- NetBox id.
- Interface
Count double - Number of interfaces on the device.
- Inventory
Item doubleCount - Number of inventory items on the device.
- Last
Updated string - Latitude double
- GPS coordinate in decimal format (xx.yyyyyy).
- Local
Context stringData - Local config context data as JSON text (use jsonencode()).
- Location
Id double - Id of the location within the site.
- Longitude double
- GPS coordinate in decimal format (xx.yyyyyy).
- Module
Bay doubleCount - Number of module bays on the device.
- Name string
- Device name; NetBox allows unnamed devices.
- Oob
Ip doubleId - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- Owner
Id double - Id of the owner the object is assigned to.
- Platform
Id double - Id of the platform.
- Power
Outlet doubleCount - Number of power outlets on the device.
- Power
Port doubleCount - Number of power ports on the device.
- Primary
Ip4Id double - Id of the primary IPv4 address (managed by netboxprimaryip).
- Primary
Ip6Id double - 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 double - Id of the rack.
- Rack
Position double - Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
- Rear
Port doubleCount - Number of rear ports on the device.
- Role
Id double - Id of the device role.
- Serial string
- Chassis serial number.
- Site
Id double - Id of the site.
- Status string
- Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Tenant
Id double - Id of the tenant.
- Url string
- Virtual
Chassis doubleId - Id of the virtual chassis.
- Virtual
Chassis doublePosition - Position in the virtual chassis (0-255). Must be a whole number.
- Virtual
Chassis doublePriority - Master election priority in the virtual chassis (0-255). Must be a whole number.
- Cluster
Group doubleId - Id of the cluster group.
- Cluster
Group stringSlug - Slug of the cluster group.
- Console
Ports bool - Has console ports.
- Console
Server boolPorts - Has console server ports.
- Contact double
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role double - Id of the contact role.
- Custom
Field Dictionary<string, string>Filters - 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 stringSlug - Slug of the device type.
- Face string
- Face. One of: front, rear.
- Has
Local boolContext Data - Whether the object has local config context data.
- Has
Oob boolIp - Has an out-of-band IP.
- Has
Primary boolIp - Has a primary IP.
- Has
Virtual boolDevice Context - Has virtual device context.
- Interfaces bool
- Has interfaces.
- Is
Full boolDepth - Is full depth.
- Location
Slug string - Slug of the location.
- Mac
Address string - Mac address to match.
- Manufacturer
Id double - 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 doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Parent
Bay doubleId - Id of the parent bay.
- Parent
Device doubleId - Id of the parent device.
- Pass
Through boolPorts - Has pass-through ports.
- Platform string
- Platform to match.
- Position double
- 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 stringId - Id of the site group.
- Site
Group stringSlug - Slug of the site group.
- Site
Slug string - Slug of the site.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Tenant
Group stringId - Id of the tenant group.
- Tenant
Group stringSlug - Slug of the tenant group.
- Tenant
Slug string - Slug of the tenant.
- Vc
Position double - Vc position to match.
- Vc
Priority double - Vc priority to match.
- Virtual
Chassis boolMember - 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 float64 - 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 float64Id - Id of the config template.
- Console
Port float64Count - Number of console ports on the device.
- Console
Server float64Port Count - Number of console server ports on the device.
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Device
Bay float64Count - Number of device bays on the device.
- Device
Type float64Id - Id of the device type.
- Front
Port float64Count - Number of front ports on the device.
- Id float64
- NetBox id.
- Interface
Count float64 - Number of interfaces on the device.
- Inventory
Item float64Count - Number of inventory items on the device.
- Last
Updated string - Latitude float64
- GPS coordinate in decimal format (xx.yyyyyy).
- Local
Context stringData - Local config context data as JSON text (use jsonencode()).
- Location
Id float64 - Id of the location within the site.
- Longitude float64
- GPS coordinate in decimal format (xx.yyyyyy).
- Module
Bay float64Count - Number of module bays on the device.
- Name string
- Device name; NetBox allows unnamed devices.
- Oob
Ip float64Id - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- Owner
Id float64 - Id of the owner the object is assigned to.
- Platform
Id float64 - Id of the platform.
- Power
Outlet float64Count - Number of power outlets on the device.
- Power
Port float64Count - Number of power ports on the device.
- Primary
Ip4Id float64 - Id of the primary IPv4 address (managed by netboxprimaryip).
- Primary
Ip6Id float64 - 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 float64 - Id of the rack.
- Rack
Position float64 - Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
- Rear
Port float64Count - Number of rear ports on the device.
- Role
Id float64 - Id of the device role.
- Serial string
- Chassis serial number.
- Site
Id float64 - Id of the site.
- Status string
- Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Tenant
Id float64 - Id of the tenant.
- Url string
- Virtual
Chassis float64Id - Id of the virtual chassis.
- Virtual
Chassis float64Position - Position in the virtual chassis (0-255). Must be a whole number.
- Virtual
Chassis float64Priority - Master election priority in the virtual chassis (0-255). Must be a whole number.
- Cluster
Group float64Id - Id of the cluster group.
- Cluster
Group stringSlug - Slug of the cluster group.
- Console
Ports bool - Has console ports.
- Console
Server boolPorts - Has console server ports.
- Contact float64
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role float64 - Id of the contact role.
- Custom
Field map[string]stringFilters - 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 stringSlug - Slug of the device type.
- Face string
- Face. One of: front, rear.
- Has
Local boolContext Data - Whether the object has local config context data.
- Has
Oob boolIp - Has an out-of-band IP.
- Has
Primary boolIp - Has a primary IP.
- Has
Virtual boolDevice Context - Has virtual device context.
- Interfaces bool
- Has interfaces.
- Is
Full boolDepth - Is full depth.
- Location
Slug string - Slug of the location.
- Mac
Address string - Mac address to match.
- Manufacturer
Id float64 - 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 float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Parent
Bay float64Id - Id of the parent bay.
- Parent
Device float64Id - Id of the parent device.
- Pass
Through boolPorts - Has pass-through ports.
- Platform string
- Platform to match.
- Position float64
- 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 stringId - Id of the site group.
- Site
Group stringSlug - Slug of the site group.
- Site
Slug string - Slug of the site.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Tenant
Group stringId - Id of the tenant group.
- Tenant
Group stringSlug - Slug of the tenant group.
- Tenant
Slug string - Slug of the tenant.
- Vc
Position float64 - Vc position to match.
- Vc
Priority float64 - Vc priority to match.
- Virtual
Chassis boolMember - 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_ numberid - Id of the config template.
- console_
port_ numbercount - Number of console ports on the device.
- console_
server_ numberport_ count - 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_ numbercount - Number of device bays on the device.
- device_
type_ numberid - Id of the device type.
- front_
port_ numbercount - Number of front ports on the device.
- id number
- NetBox id.
- interface_
count number - Number of interfaces on the device.
- inventory_
item_ numbercount - Number of inventory items on the device.
- last_
updated string - latitude number
- GPS coordinate in decimal format (xx.yyyyyy).
- local_
context_ stringdata - 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_ numbercount - Number of module bays on the device.
- name string
- Device name; NetBox allows unnamed devices.
- oob_
ip_ numberid - 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_ numbercount - Number of power outlets on the device.
- power_
port_ numbercount - Number of power ports on the device.
- primary_
ip4_ numberid - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary_
ip6_ numberid - 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_ numbercount - 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.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- tenant_
id number - Id of the tenant.
- url string
- virtual_
chassis_ numberid - Id of the virtual chassis.
- virtual_
chassis_ numberposition - Position in the virtual chassis (0-255). Must be a whole number.
- virtual_
chassis_ numberpriority - Master election priority in the virtual chassis (0-255). Must be a whole number.
- cluster_
group_ numberid - Id of the cluster group.
- cluster_
group_ stringslug - Slug of the cluster group.
- console_
ports bool - Has console ports.
- console_
server_ boolports - Has console server ports.
- contact number
- Id of the contact.
- contact_
group_ stringslug - Slug of the contact group.
- contact_
role number - Id of the contact role.
- custom_
field_ map(string)filters - 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_ stringslug - Slug of the device type.
- face string
- Face. One of: front, rear.
- has_
local_ boolcontext_ data - Whether the object has local config context data.
- has_
oob_ boolip - Has an out-of-band IP.
- has_
primary_ boolip - Has a primary IP.
- has_
virtual_ booldevice_ context - Has virtual device context.
- interfaces bool
- Has interfaces.
- is_
full_ booldepth - 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_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
name string - Name of the owner.
- parent_
bay_ numberid - Id of the parent bay.
- parent_
device_ numberid - Id of the parent device.
- pass_
through_ boolports - 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_ stringid - Id of the site group.
- site_
group_ stringslug - 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_ stringid - Id of the tenant group.
- tenant_
group_ stringslug - 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_ boolmember - 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 Double - 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 DoubleId - Id of the config template.
- console
Port DoubleCount - Number of console ports on the device.
- console
Server DoublePort Count - Number of console server ports on the device.
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- device
Bay DoubleCount - Number of device bays on the device.
- device
Type DoubleId - Id of the device type.
- front
Port DoubleCount - Number of front ports on the device.
- id Double
- NetBox id.
- interface
Count Double - Number of interfaces on the device.
- inventory
Item DoubleCount - Number of inventory items on the device.
- last
Updated String - latitude Double
- GPS coordinate in decimal format (xx.yyyyyy).
- local
Context StringData - Local config context data as JSON text (use jsonencode()).
- location
Id Double - Id of the location within the site.
- longitude Double
- GPS coordinate in decimal format (xx.yyyyyy).
- module
Bay DoubleCount - Number of module bays on the device.
- name String
- Device name; NetBox allows unnamed devices.
- oob
Ip DoubleId - Id of the out-of-band management IP address (managed by netboxdeviceoob_ip).
- owner
Id Double - Id of the owner the object is assigned to.
- platform
Id Double - Id of the platform.
- power
Outlet DoubleCount - Number of power outlets on the device.
- power
Port DoubleCount - Number of power ports on the device.
- primary
Ip4Id Double - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary
Ip6Id Double - 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 Double - Id of the rack.
- rack
Position Double - Lowest rack unit occupied by the device; half units (e.g. 1.5) are allowed.
- rear
Port DoubleCount - Number of rear ports on the device.
- role
Id Double - Id of the device role.
- serial String
- Chassis serial number.
- site
Id Double - Id of the site.
- status String
- Operational status. One of: offline, active, planned, staged, failed, inventory, decommissioning.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id Double - Id of the tenant.
- url String
- virtual
Chassis DoubleId - Id of the virtual chassis.
- virtual
Chassis DoublePosition - Position in the virtual chassis (0-255). Must be a whole number.
- virtual
Chassis DoublePriority - Master election priority in the virtual chassis (0-255). Must be a whole number.
- cluster
Group DoubleId - Id of the cluster group.
- cluster
Group StringSlug - Slug of the cluster group.
- console
Ports Boolean - Has console ports.
- console
Server BooleanPorts - Has console server ports.
- contact Double
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Double - Id of the contact role.
- custom
Field Map<String,String>Filters - 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 Boolean - Has device bays.
- device
Type StringSlug - Slug of the device type.
- face String
- Face. One of: front, rear.
- has
Local BooleanContext Data - Whether the object has local config context data.
- has
Oob BooleanIp - Has an out-of-band IP.
- has
Primary BooleanIp - Has a primary IP.
- has
Virtual BooleanDevice Context - Has virtual device context.
- interfaces Boolean
- Has interfaces.
- is
Full BooleanDepth - Is full depth.
- location
Slug String - Slug of the location.
- mac
Address String - Mac address to match.
- manufacturer
Id Double - Id of the manufacturer.
- manufacturer
Slug String - Slug of the manufacturer.
- model
Slug String - Slug of the device model.
- module
Bays Boolean - Has module bays.
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- parent
Bay DoubleId - Id of the parent bay.
- parent
Device DoubleId - Id of the parent device.
- pass
Through BooleanPorts - Has pass-through ports.
- platform String
- Platform to match.
- position Double
- Position to match.
- power
Outlets Boolean - Has power outlets.
- power
Ports Boolean - 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 StringId - Id of the site group.
- site
Group StringSlug - Slug of the site group.
- site
Slug String - Slug of the site.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- tenant
Group StringId - Id of the tenant group.
- tenant
Group StringSlug - Slug of the tenant group.
- tenant
Slug String - Slug of the tenant.
- vc
Position Double - Vc position to match.
- vc
Priority Double - Vc priority to match.
- virtual
Chassis BooleanMember - 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 numberId - Id of the config template.
- console
Port numberCount - Number of console ports on the device.
- console
Server numberPort Count - Number of console server ports on the device.
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- device
Bay numberCount - Number of device bays on the device.
- device
Type numberId - Id of the device type.
- front
Port numberCount - Number of front ports on the device.
- id number
- NetBox id.
- interface
Count number - Number of interfaces on the device.
- inventory
Item numberCount - Number of inventory items on the device.
- last
Updated string - latitude number
- GPS coordinate in decimal format (xx.yyyyyy).
- local
Context stringData - 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 numberCount - Number of module bays on the device.
- name string
- Device name; NetBox allows unnamed devices.
- oob
Ip numberId - 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 numberCount - Number of power outlets on the device.
- power
Port numberCount - Number of power ports on the device.
- primary
Ip4Id number - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary
Ip6Id 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 numberCount - 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.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id number - Id of the tenant.
- url string
- virtual
Chassis numberId - Id of the virtual chassis.
- virtual
Chassis numberPosition - Position in the virtual chassis (0-255). Must be a whole number.
- virtual
Chassis numberPriority - Master election priority in the virtual chassis (0-255). Must be a whole number.
- cluster
Group numberId - Id of the cluster group.
- cluster
Group stringSlug - Slug of the cluster group.
- console
Ports boolean - Has console ports.
- console
Server booleanPorts - Has console server ports.
- contact number
- Id of the contact.
- contact
Group stringSlug - Slug of the contact group.
- contact
Role number - Id of the contact role.
- custom
Field {[key: string]: string}Filters - 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 boolean - Has device bays.
- device
Type stringSlug - Slug of the device type.
- face string
- Face. One of: front, rear.
- has
Local booleanContext Data - Whether the object has local config context data.
- has
Oob booleanIp - Has an out-of-band IP.
- has
Primary booleanIp - Has a primary IP.
- has
Virtual booleanDevice Context - Has virtual device context.
- interfaces boolean
- Has interfaces.
- is
Full booleanDepth - 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 boolean - Has module bays.
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Name string - Name of the owner.
- parent
Bay numberId - Id of the parent bay.
- parent
Device numberId - Id of the parent device.
- pass
Through booleanPorts - Has pass-through ports.
- platform string
- Platform to match.
- position number
- Position to match.
- power
Outlets boolean - Has power outlets.
- power
Ports boolean - 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 stringId - Id of the site group.
- site
Group stringSlug - Slug of the site group.
- site
Slug string - Slug of the site.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- tenant
Group stringId - Id of the tenant group.
- tenant
Group stringSlug - 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 booleanMember - 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_ floatid - Id of the config template.
- console_
port_ floatcount - Number of console ports on the device.
- console_
server_ floatport_ count - 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_ floatcount - Number of device bays on the device.
- device_
type_ floatid - Id of the device type.
- front_
port_ floatcount - Number of front ports on the device.
- id float
- NetBox id.
- interface_
count float - Number of interfaces on the device.
- inventory_
item_ floatcount - Number of inventory items on the device.
- last_
updated str - latitude float
- GPS coordinate in decimal format (xx.yyyyyy).
- local_
context_ strdata - 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_ floatcount - Number of module bays on the device.
- name str
- Device name; NetBox allows unnamed devices.
- oob_
ip_ floatid - 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_ floatcount - Number of power outlets on the device.
- power_
port_ floatcount - Number of power ports on the device.
- primary_
ip4_ floatid - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary_
ip6_ floatid - 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_ floatcount - 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.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- tenant_
id float - Id of the tenant.
- url str
- virtual_
chassis_ floatid - Id of the virtual chassis.
- virtual_
chassis_ floatposition - Position in the virtual chassis (0-255). Must be a whole number.
- virtual_
chassis_ floatpriority - Master election priority in the virtual chassis (0-255). Must be a whole number.
- cluster_
group_ floatid - Id of the cluster group.
- cluster_
group_ strslug - Slug of the cluster group.
- console_
ports bool - Has console ports.
- console_
server_ boolports - Has console server ports.
- contact float
- Id of the contact.
- contact_
group_ strslug - Slug of the contact group.
- contact_
role float - Id of the contact role.
- custom_
field_ Mapping[str, str]filters - 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_ strslug - Slug of the device type.
- face str
- Face. One of: front, rear.
- has_
local_ boolcontext_ data - Whether the object has local config context data.
- has_
oob_ boolip - Has an out-of-band IP.
- has_
primary_ boolip - Has a primary IP.
- has_
virtual_ booldevice_ context - Has virtual device context.
- interfaces bool
- Has interfaces.
- is_
full_ booldepth - 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_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
name str - Name of the owner.
- parent_
bay_ floatid - Id of the parent bay.
- parent_
device_ floatid - Id of the parent device.
- pass_
through_ boolports - 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_ strid - Id of the site group.
- site_
group_ strslug - 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_ strid - Id of the tenant group.
- tenant_
group_ strslug - 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_ boolmember - 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 NumberId - Id of the config template.
- console
Port NumberCount - Number of console ports on the device.
- console
Server NumberPort Count - 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 NumberCount - Number of device bays on the device.
- device
Type NumberId - Id of the device type.
- front
Port NumberCount - Number of front ports on the device.
- id Number
- NetBox id.
- interface
Count Number - Number of interfaces on the device.
- inventory
Item NumberCount - Number of inventory items on the device.
- last
Updated String - latitude Number
- GPS coordinate in decimal format (xx.yyyyyy).
- local
Context StringData - 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 NumberCount - Number of module bays on the device.
- name String
- Device name; NetBox allows unnamed devices.
- oob
Ip NumberId - 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 NumberCount - Number of power outlets on the device.
- power
Port NumberCount - Number of power ports on the device.
- primary
Ip4Id Number - Id of the primary IPv4 address (managed by netboxprimaryip).
- primary
Ip6Id 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 NumberCount - 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.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id Number - Id of the tenant.
- url String
- virtual
Chassis NumberId - Id of the virtual chassis.
- virtual
Chassis NumberPosition - Position in the virtual chassis (0-255). Must be a whole number.
- virtual
Chassis NumberPriority - Master election priority in the virtual chassis (0-255). Must be a whole number.
- cluster
Group NumberId - Id of the cluster group.
- cluster
Group StringSlug - Slug of the cluster group.
- console
Ports Boolean - Has console ports.
- console
Server BooleanPorts - Has console server ports.
- contact Number
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Number - Id of the contact role.
- custom
Field Map<String>Filters - 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 Boolean - Has device bays.
- device
Type StringSlug - Slug of the device type.
- face String
- Face. One of: front, rear.
- has
Local BooleanContext Data - Whether the object has local config context data.
- has
Oob BooleanIp - Has an out-of-band IP.
- has
Primary BooleanIp - Has a primary IP.
- has
Virtual BooleanDevice Context - Has virtual device context.
- interfaces Boolean
- Has interfaces.
- is
Full BooleanDepth - 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 Boolean - Has module bays.
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- parent
Bay NumberId - Id of the parent bay.
- parent
Device NumberId - Id of the parent device.
- pass
Through BooleanPorts - Has pass-through ports.
- platform String
- Platform to match.
- position Number
- Position to match.
- power
Outlets Boolean - Has power outlets.
- power
Ports Boolean - 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 StringId - Id of the site group.
- site
Group StringSlug - Slug of the site group.
- site
Slug String - Slug of the site.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- tenant
Group StringId - Id of the tenant group.
- tenant
Group StringSlug - 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 BooleanMember - Is a virtual chassis member.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Monday, Nov 16, 2026 by e-breuninger