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 virtual_device_context objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getVirtualDeviceContexts({
filters: [{
name: "name",
value: "test-virtual_device_context",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_virtual_device_contexts(filters=[{
"name": "name",
"value": "test-virtual_device_context",
}])
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.GetVirtualDeviceContexts(ctx, &netbox.GetVirtualDeviceContextsArgs{
Filters: []netbox.GetVirtualDeviceContextsFilter{
{
Name: "name",
Value: "test-virtual_device_context",
},
},
}, 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.GetVirtualDeviceContexts.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetVirtualDeviceContextsFilterInputArgs
{
Name = "name",
Value = "test-virtual_device_context",
},
},
});
});
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.GetVirtualDeviceContextsArgs;
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.getVirtualDeviceContexts(GetVirtualDeviceContextsArgs.builder()
.filters(GetVirtualDeviceContextsFilterArgs.builder()
.name("name")
.value("test-virtual_device_context")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getVirtualDeviceContexts
arguments:
filters:
- name: name
value: test-virtual_device_context
Example coming soon!
Using getVirtualDeviceContexts
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 getVirtualDeviceContexts(args: GetVirtualDeviceContextsArgs, opts?: InvokeOptions): Promise<GetVirtualDeviceContextsResult>
function getVirtualDeviceContextsOutput(args: GetVirtualDeviceContextsOutputArgs, opts?: InvokeOutputOptions): Output<GetVirtualDeviceContextsResult>def get_virtual_device_contexts(filters: Optional[Sequence[GetVirtualDeviceContextsFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualDeviceContextsResult
def get_virtual_device_contexts_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetVirtualDeviceContextsFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVirtualDeviceContextsResult]func GetVirtualDeviceContexts(ctx *Context, args *GetVirtualDeviceContextsArgs, opts ...InvokeOption) (*GetVirtualDeviceContextsResult, error)
func GetVirtualDeviceContextsOutput(ctx *Context, args *GetVirtualDeviceContextsOutputArgs, opts ...InvokeOption) GetVirtualDeviceContextsResultOutput> Note: This function is named GetVirtualDeviceContexts in the Go SDK.
public static class GetVirtualDeviceContexts
{
public static Task<GetVirtualDeviceContextsResult> InvokeAsync(GetVirtualDeviceContextsArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualDeviceContextsResult> Invoke(GetVirtualDeviceContextsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualDeviceContextsResult> Invoke(GetVirtualDeviceContextsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVirtualDeviceContextsResult> getVirtualDeviceContexts(GetVirtualDeviceContextsArgs args, InvokeOptions options)
public static Output<GetVirtualDeviceContextsResult> getVirtualDeviceContexts(GetVirtualDeviceContextsArgs args, InvokeOptions options)
public static Output<GetVirtualDeviceContextsResult> getVirtualDeviceContexts(GetVirtualDeviceContextsArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getVirtualDeviceContexts:getVirtualDeviceContexts
arguments:
# arguments dictionarydata "netbox_get_virtual_device_contexts" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Virtual Device Contexts Filter> - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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
Virtual Device Contexts Filter - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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
Virtual Device Contexts Filter> - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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
Virtual Device Contexts Filter[] - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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
Virtual Device Contexts Filter] - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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.
getVirtualDeviceContexts Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Device List<GetContexts Virtual Device Contexts Virtual Device Context> - The matching virtualdevicecontexts.
- Filters
List<Get
Virtual Device Contexts Filter> - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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.
- Virtual
Device []GetContexts Virtual Device Contexts Virtual Device Context - The matching virtualdevicecontexts.
- Filters
[]Get
Virtual Device Contexts Filter - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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.
- virtual_
device_ list(object)contexts - The matching virtualdevicecontexts.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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.
- virtual
Device List<GetContexts Virtual Device Contexts Virtual Device Context> - The matching virtualdevicecontexts.
- filters
List<Get
Virtual Device Contexts Filter> - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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.
- virtual
Device GetContexts Virtual Device Contexts Virtual Device Context[] - The matching virtualdevicecontexts.
- filters
Get
Virtual Device Contexts Filter[] - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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.
- virtual_
device_ Sequence[Getcontexts Virtual Device Contexts Virtual Device Context] - The matching virtualdevicecontexts.
- filters
Sequence[Get
Virtual Device Contexts Filter] - Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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.
- virtual
Device List<Property Map>Contexts - The matching virtualdevicecontexts.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: deviceid, deviceidn, id, idempty, idgt, idgte, idlt, idlte, idn, identifier, identifierempty, identifiergt, identifiergte, identifierlt, identifierlte, identifiern, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tenantid, tenantid_*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
GetVirtualDeviceContextsFilter
GetVirtualDeviceContextsVirtualDeviceContext
- 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
Id double - Id of the device.
- Id double
- NetBox id.
- Identifier double
- Numeric identifier, unique within the device. Must be a whole number.
- Interface
Count double - Number of interfaces assigned to the context.
- Last
Updated string - Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Primary
Ip4Id double - Id of the primary IPv4 address; it must be assigned to an interface of the device.
- Primary
Ip6Id double - Id of the primary IPv6 address; it must be assigned to an interface of the device.
- Status string
- Operational status. One of: active, planned, offline.
- 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
- 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
Id float64 - Id of the device.
- Id float64
- NetBox id.
- Identifier float64
- Numeric identifier, unique within the device. Must be a whole number.
- Interface
Count float64 - Number of interfaces assigned to the context.
- Last
Updated string - Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Primary
Ip4Id float64 - Id of the primary IPv4 address; it must be assigned to an interface of the device.
- Primary
Ip6Id float64 - Id of the primary IPv6 address; it must be assigned to an interface of the device.
- Status string
- Operational status. One of: active, planned, offline.
- []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
- 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_
id number - Id of the device.
- id number
- NetBox id.
- identifier number
- Numeric identifier, unique within the device. Must be a whole number.
- interface_
count number - Number of interfaces assigned to the context.
- last_
updated string - name string
- owner_
id number - Id of the owner the object is assigned to.
- primary_
ip4_ numberid - Id of the primary IPv4 address; it must be assigned to an interface of the device.
- primary_
ip6_ numberid - Id of the primary IPv6 address; it must be assigned to an interface of the device.
- status string
- Operational status. One of: active, planned, offline.
- 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
- 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
Id Double - Id of the device.
- id Double
- NetBox id.
- identifier Double
- Numeric identifier, unique within the device. Must be a whole number.
- interface
Count Double - Number of interfaces assigned to the context.
- last
Updated String - name String
- owner
Id Double - Id of the owner the object is assigned to.
- primary
Ip4Id Double - Id of the primary IPv4 address; it must be assigned to an interface of the device.
- primary
Ip6Id Double - Id of the primary IPv6 address; it must be assigned to an interface of the device.
- status String
- Operational status. One of: active, planned, offline.
- 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
- 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
Id number - Id of the device.
- id number
- NetBox id.
- identifier number
- Numeric identifier, unique within the device. Must be a whole number.
- interface
Count number - Number of interfaces assigned to the context.
- last
Updated string - name string
- owner
Id number - Id of the owner the object is assigned to.
- primary
Ip4Id number - Id of the primary IPv4 address; it must be assigned to an interface of the device.
- primary
Ip6Id number - Id of the primary IPv6 address; it must be assigned to an interface of the device.
- status string
- Operational status. One of: active, planned, offline.
- 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
- 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_
id float - Id of the device.
- id float
- NetBox id.
- identifier float
- Numeric identifier, unique within the device. Must be a whole number.
- interface_
count float - Number of interfaces assigned to the context.
- last_
updated str - name str
- owner_
id float - Id of the owner the object is assigned to.
- primary_
ip4_ floatid - Id of the primary IPv4 address; it must be assigned to an interface of the device.
- primary_
ip6_ floatid - Id of the primary IPv6 address; it must be assigned to an interface of the device.
- status str
- Operational status. One of: active, planned, offline.
- 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
- 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
Id Number - Id of the device.
- id Number
- NetBox id.
- identifier Number
- Numeric identifier, unique within the device. Must be a whole number.
- interface
Count Number - Number of interfaces assigned to the context.
- last
Updated String - name String
- owner
Id Number - Id of the owner the object is assigned to.
- primary
Ip4Id Number - Id of the primary IPv4 address; it must be assigned to an interface of the device.
- primary
Ip6Id Number - Id of the primary IPv6 address; it must be assigned to an interface of the device.
- status String
- Operational status. One of: active, planned, offline.
- 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
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