Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger
Lists site objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getSites({
filters: [{
name: "name",
value: "test-site",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_sites(filters=[{
"name": "name",
"value": "test-site",
}])
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.GetSites(ctx, &netbox.GetSitesArgs{
Filters: []netbox.GetSitesFilter{
{
Name: "name",
Value: "test-site",
},
},
}, 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.GetSites.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetSitesFilterInputArgs
{
Name = "name",
Value = "test-site",
},
},
});
});
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.GetSitesArgs;
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.getSites(GetSitesArgs.builder()
.filters(GetSitesFilterArgs.builder()
.name("name")
.value("test-site")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getSites
arguments:
filters:
- name: name
value: test-site
Example coming soon!
Using getSites
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 getSites(args: GetSitesArgs, opts?: InvokeOptions): Promise<GetSitesResult>
function getSitesOutput(args: GetSitesOutputArgs, opts?: InvokeOutputOptions): Output<GetSitesResult>def get_sites(filters: Optional[Sequence[GetSitesFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetSitesResult
def get_sites_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetSitesFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSitesResult]func GetSites(ctx *Context, args *GetSitesArgs, opts ...InvokeOption) (*GetSitesResult, error)
func GetSitesOutput(ctx *Context, args *GetSitesOutputArgs, opts ...InvokeOption) GetSitesResultOutput> Note: This function is named GetSites in the Go SDK.
public static class GetSites
{
public static Task<GetSitesResult> InvokeAsync(GetSitesArgs args, InvokeOptions? opts = null)
public static Output<GetSitesResult> Invoke(GetSitesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSitesResult> Invoke(GetSitesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSitesResult> getSites(GetSitesArgs args, InvokeOptions options)
public static Output<GetSitesResult> getSites(GetSitesArgs args, InvokeOptions options)
public static Output<GetSitesResult> getSites(GetSitesArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getSites:getSites
arguments:
# arguments dictionarydata "netbox_get_sites" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Sites Filter> - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- Filters
[]Get
Sites Filter - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit float64
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
List<Get
Sites Filter> - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
Get
Sites Filter[] - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
Sequence[Get
Sites Filter] - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit float
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
getSites Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Sites
List<Get
Sites Site> - The matching sites.
- Filters
List<Get
Sites Filter> - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sites
[]Get
Sites Site - The matching sites.
- Filters
[]Get
Sites Filter - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit float64
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id string
- The provider-assigned unique ID for this managed resource.
- sites list(object)
- The matching sites.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id String
- The provider-assigned unique ID for this managed resource.
- sites
List<Get
Sites Site> - The matching sites.
- filters
List<Get
Sites Filter> - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id string
- The provider-assigned unique ID for this managed resource.
- sites
Get
Sites Site[] - The matching sites.
- filters
Get
Sites Filter[] - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id str
- The provider-assigned unique ID for this managed resource.
- sites
Sequence[Get
Sites Site] - The matching sites.
- filters
Sequence[Get
Sites Filter] - Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit float
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id String
- The provider-assigned unique ID for this managed resource.
- sites List<Property Map>
- The matching sites.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: facility, facilityempty, facilityic, facilityie, facilityiew, facilityiregex, facilityisw, facilityn, facilitynic, facilitynie, facilityniew, facilitynisw, facilityregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
Supporting Types
GetSitesFilter
GetSitesSite
- Asn
Ids List<double> - Ids of ASNs assigned to the site.
- Circuit
Count double - Number of circuits at the site.
- Comments string
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Device
Count double - Number of devices at the site.
- Facility string
- Local facility ID or description.
- Group
Id double - Id of the site group.
- Id double
- NetBox id of the site.
- Last
Updated string - Latitude double
- GPS coordinate in decimal format (xx.yyyyyy).
- Longitude double
- GPS coordinate in decimal format (xx.yyyyyy).
- Name string
- Full name of the site.
- Owner
Id double - Id of the owner the object is assigned to.
- Physical
Address string - Prefix
Count double - Number of prefixes at the site.
- Rack
Count double - Number of racks at the site.
- Region
Id double - Id of the region.
- Shipping
Address string - Slug string
- URL-friendly unique shorthand; derived from name when not set.
- Status string
- Operational status. One of: planned, staging, active, decommissioning, retired.
- 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.
- Timezone string
- Time zone name, e.g. Europe/Berlin.
- Url string
- Virtual
Machine doubleCount - Number of virtual machines at the site.
- Vlan
Count double - Number of VLANs at the site.
- Asn
Ids []float64 - Ids of ASNs assigned to the site.
- Circuit
Count float64 - Number of circuits at the site.
- Comments string
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Device
Count float64 - Number of devices at the site.
- Facility string
- Local facility ID or description.
- Group
Id float64 - Id of the site group.
- Id float64
- NetBox id of the site.
- Last
Updated string - Latitude float64
- GPS coordinate in decimal format (xx.yyyyyy).
- Longitude float64
- GPS coordinate in decimal format (xx.yyyyyy).
- Name string
- Full name of the site.
- Owner
Id float64 - Id of the owner the object is assigned to.
- Physical
Address string - Prefix
Count float64 - Number of prefixes at the site.
- Rack
Count float64 - Number of racks at the site.
- Region
Id float64 - Id of the region.
- Shipping
Address string - Slug string
- URL-friendly unique shorthand; derived from name when not set.
- Status string
- Operational status. One of: planned, staging, active, decommissioning, retired.
- []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.
- Timezone string
- Time zone name, e.g. Europe/Berlin.
- Url string
- Virtual
Machine float64Count - Number of virtual machines at the site.
- Vlan
Count float64 - Number of VLANs at the site.
- asn_
ids list(number) - Ids of ASNs assigned to the site.
- circuit_
count number - Number of circuits at the site.
- comments string
- created string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- device_
count number - Number of devices at the site.
- facility string
- Local facility ID or description.
- group_
id number - Id of the site group.
- id number
- NetBox id of the site.
- last_
updated string - latitude number
- GPS coordinate in decimal format (xx.yyyyyy).
- longitude number
- GPS coordinate in decimal format (xx.yyyyyy).
- name string
- Full name of the site.
- owner_
id number - Id of the owner the object is assigned to.
- physical_
address string - prefix_
count number - Number of prefixes at the site.
- rack_
count number - Number of racks at the site.
- region_
id number - Id of the region.
- shipping_
address string - slug string
- URL-friendly unique shorthand; derived from name when not set.
- status string
- Operational status. One of: planned, staging, active, decommissioning, retired.
- 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.
- timezone string
- Time zone name, e.g. Europe/Berlin.
- url string
- virtual_
machine_ numbercount - Number of virtual machines at the site.
- vlan_
count number - Number of VLANs at the site.
- asn
Ids List<Double> - Ids of ASNs assigned to the site.
- circuit
Count Double - Number of circuits at the site.
- comments String
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- device
Count Double - Number of devices at the site.
- facility String
- Local facility ID or description.
- group
Id Double - Id of the site group.
- id Double
- NetBox id of the site.
- last
Updated String - latitude Double
- GPS coordinate in decimal format (xx.yyyyyy).
- longitude Double
- GPS coordinate in decimal format (xx.yyyyyy).
- name String
- Full name of the site.
- owner
Id Double - Id of the owner the object is assigned to.
- physical
Address String - prefix
Count Double - Number of prefixes at the site.
- rack
Count Double - Number of racks at the site.
- region
Id Double - Id of the region.
- shipping
Address String - slug String
- URL-friendly unique shorthand; derived from name when not set.
- status String
- Operational status. One of: planned, staging, active, decommissioning, retired.
- 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.
- timezone String
- Time zone name, e.g. Europe/Berlin.
- url String
- virtual
Machine DoubleCount - Number of virtual machines at the site.
- vlan
Count Double - Number of VLANs at the site.
- asn
Ids number[] - Ids of ASNs assigned to the site.
- circuit
Count number - Number of circuits at the site.
- comments string
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- device
Count number - Number of devices at the site.
- facility string
- Local facility ID or description.
- group
Id number - Id of the site group.
- id number
- NetBox id of the site.
- last
Updated string - latitude number
- GPS coordinate in decimal format (xx.yyyyyy).
- longitude number
- GPS coordinate in decimal format (xx.yyyyyy).
- name string
- Full name of the site.
- owner
Id number - Id of the owner the object is assigned to.
- physical
Address string - prefix
Count number - Number of prefixes at the site.
- rack
Count number - Number of racks at the site.
- region
Id number - Id of the region.
- shipping
Address string - slug string
- URL-friendly unique shorthand; derived from name when not set.
- status string
- Operational status. One of: planned, staging, active, decommissioning, retired.
- 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.
- timezone string
- Time zone name, e.g. Europe/Berlin.
- url string
- virtual
Machine numberCount - Number of virtual machines at the site.
- vlan
Count number - Number of VLANs at the site.
- asn_
ids Sequence[float] - Ids of ASNs assigned to the site.
- circuit_
count float - Number of circuits at the site.
- comments str
- created str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description str
- device_
count float - Number of devices at the site.
- facility str
- Local facility ID or description.
- group_
id float - Id of the site group.
- id float
- NetBox id of the site.
- last_
updated str - latitude float
- GPS coordinate in decimal format (xx.yyyyyy).
- longitude float
- GPS coordinate in decimal format (xx.yyyyyy).
- name str
- Full name of the site.
- owner_
id float - Id of the owner the object is assigned to.
- physical_
address str - prefix_
count float - Number of prefixes at the site.
- rack_
count float - Number of racks at the site.
- region_
id float - Id of the region.
- shipping_
address str - slug str
- URL-friendly unique shorthand; derived from name when not set.
- status str
- Operational status. One of: planned, staging, active, decommissioning, retired.
- 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.
- timezone str
- Time zone name, e.g. Europe/Berlin.
- url str
- virtual_
machine_ floatcount - Number of virtual machines at the site.
- vlan_
count float - Number of VLANs at the site.
- asn
Ids List<Number> - Ids of ASNs assigned to the site.
- circuit
Count Number - Number of circuits at the site.
- comments String
- created String
- custom
Fields Map<String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- device
Count Number - Number of devices at the site.
- facility String
- Local facility ID or description.
- group
Id Number - Id of the site group.
- id Number
- NetBox id of the site.
- last
Updated String - latitude Number
- GPS coordinate in decimal format (xx.yyyyyy).
- longitude Number
- GPS coordinate in decimal format (xx.yyyyyy).
- name String
- Full name of the site.
- owner
Id Number - Id of the owner the object is assigned to.
- physical
Address String - prefix
Count Number - Number of prefixes at the site.
- rack
Count Number - Number of racks at the site.
- region
Id Number - Id of the region.
- shipping
Address String - slug String
- URL-friendly unique shorthand; derived from name when not set.
- status String
- Operational status. One of: planned, staging, active, decommissioning, retired.
- 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.
- timezone String
- Time zone name, e.g. Europe/Berlin.
- url String
- virtual
Machine NumberCount - Number of virtual machines at the site.
- vlan
Count Number - Number of VLANs at the site.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger