Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
Lists cluster objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getClusters({
filters: [{
name: "name",
value: "test-cluster",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_clusters(filters=[{
"name": "name",
"value": "test-cluster",
}])
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.GetClusters(ctx, &netbox.GetClustersArgs{
Filters: []netbox.GetClustersFilter{
{
Name: "name",
Value: "test-cluster",
},
},
}, 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.GetClusters.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetClustersFilterInputArgs
{
Name = "name",
Value = "test-cluster",
},
},
});
});
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.GetClustersArgs;
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.getClusters(GetClustersArgs.builder()
.filters(GetClustersFilterArgs.builder()
.name("name")
.value("test-cluster")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getClusters
arguments:
filters:
- name: name
value: test-cluster
Example coming soon!
Using getClusters
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 getClusters(args: GetClustersArgs, opts?: InvokeOptions): Promise<GetClustersResult>
function getClustersOutput(args: GetClustersOutputArgs, opts?: InvokeOutputOptions): Output<GetClustersResult>def get_clusters(filters: Optional[Sequence[GetClustersFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetClustersResult
def get_clusters_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetClustersFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetClustersResult]func GetClusters(ctx *Context, args *GetClustersArgs, opts ...InvokeOption) (*GetClustersResult, error)
func GetClustersOutput(ctx *Context, args *GetClustersOutputArgs, opts ...InvokeOption) GetClustersResultOutput> Note: This function is named GetClusters in the Go SDK.
public static class GetClusters
{
public static Task<GetClustersResult> InvokeAsync(GetClustersArgs args, InvokeOptions? opts = null)
public static Output<GetClustersResult> Invoke(GetClustersInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetClustersResult> Invoke(GetClustersInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetClustersResult> getClusters(GetClustersArgs args, InvokeOptions options)
public static Output<GetClustersResult> getClusters(GetClustersArgs args, InvokeOptions options)
public static Output<GetClustersResult> getClusters(GetClustersArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getClusters:getClusters
arguments:
# arguments dictionarydata "netbox_get_clusters" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Clusters Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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
Clusters Filter - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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
Clusters Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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
Clusters Filter[] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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
Clusters Filter] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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.
getClusters Result
The following output properties are available:
- Clusters
List<Get
Clusters Cluster> - The matching clusters.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Clusters Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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.
- Clusters
[]Get
Clusters Cluster - The matching clusters.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Clusters Filter - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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.
- clusters list(object)
- The matching clusters.
- id string
- The provider-assigned unique ID for this managed resource.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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.
- clusters
List<Get
Clusters Cluster> - The matching clusters.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Clusters Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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.
- clusters
Get
Clusters Cluster[] - The matching clusters.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Clusters Filter[] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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.
- clusters
Sequence[Get
Clusters Cluster] - The matching clusters.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Clusters Filter] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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.
- clusters List<Property Map>
- The matching clusters.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, location, locationn, locationid, locationidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, region, regionn, regionid, regionidn, scopeid, scopeidempty, scope_idgt, scope_idgte, scope_idlt, scope_idlte, scope_idn, scopetype, scopetypen, site, siten, sitegroup, sitegroupn, sitegroupid, sitegroupidn, siteid, siteidn, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, tenantid, tenantidn, type, typen, typeid, typeidn. 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
GetClustersCluster
- Cluster
Group doubleId - Id of the cluster group.
- Cluster
Type doubleId - Id of the cluster type.
- 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 in the cluster.
- Id double
- NetBox id.
- Last
Updated string - Location
Id double - Id of the location the object is scoped to (scope_type dcim.location).
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Region
Id double - Id of the region the object is scoped to (scope_type dcim.region).
- Scope
Id double - Id of the scope object (see scope_type).
- Scope
Type string - Content type of the scope. Derived from siteid, locationid, regionid or sitegroupid when one of those is set; set it together with scopeid otherwise. One of: dcim.site, dcim.location, dcim.region, dcim.sitegroup.
- Site
Group doubleId - Id of the site group the object is scoped to (scope_type dcim.sitegroup).
- Site
Id double - Id of the site the object is scoped to (scope*type dcim.site). Conflicts with the other scope aliases and with setting the scope** pair directly.
- Status string
- Operational status. One of: planned, staging, active, decommissioning, 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
- Virtual
Machine doubleCount - Number of virtual machines in the cluster.
- Cluster
Group float64Id - Id of the cluster group.
- Cluster
Type float64Id - Id of the cluster type.
- 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 in the cluster.
- Id float64
- NetBox id.
- Last
Updated string - Location
Id float64 - Id of the location the object is scoped to (scope_type dcim.location).
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Region
Id float64 - Id of the region the object is scoped to (scope_type dcim.region).
- Scope
Id float64 - Id of the scope object (see scope_type).
- Scope
Type string - Content type of the scope. Derived from siteid, locationid, regionid or sitegroupid when one of those is set; set it together with scopeid otherwise. One of: dcim.site, dcim.location, dcim.region, dcim.sitegroup.
- Site
Group float64Id - Id of the site group the object is scoped to (scope_type dcim.sitegroup).
- Site
Id float64 - Id of the site the object is scoped to (scope*type dcim.site). Conflicts with the other scope aliases and with setting the scope** pair directly.
- Status string
- Operational status. One of: planned, staging, active, decommissioning, 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
- Virtual
Machine float64Count - Number of virtual machines in the cluster.
- cluster_
group_ numberid - Id of the cluster group.
- cluster_
type_ numberid - Id of the cluster type.
- 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 in the cluster.
- id number
- NetBox id.
- last_
updated string - location_
id number - Id of the location the object is scoped to (scope_type dcim.location).
- name string
- owner_
id number - Id of the owner the object is assigned to.
- region_
id number - Id of the region the object is scoped to (scope_type dcim.region).
- scope_
id number - Id of the scope object (see scope_type).
- scope_
type string - Content type of the scope. Derived from siteid, locationid, regionid or sitegroupid when one of those is set; set it together with scopeid otherwise. One of: dcim.site, dcim.location, dcim.region, dcim.sitegroup.
- site_
group_ numberid - Id of the site group the object is scoped to (scope_type dcim.sitegroup).
- site_
id number - Id of the site the object is scoped to (scope*type dcim.site). Conflicts with the other scope aliases and with setting the scope** pair directly.
- status string
- Operational status. One of: planned, staging, active, decommissioning, 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
- virtual_
machine_ numbercount - Number of virtual machines in the cluster.
- cluster
Group DoubleId - Id of the cluster group.
- cluster
Type DoubleId - Id of the cluster type.
- 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 in the cluster.
- id Double
- NetBox id.
- last
Updated String - location
Id Double - Id of the location the object is scoped to (scope_type dcim.location).
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- region
Id Double - Id of the region the object is scoped to (scope_type dcim.region).
- scope
Id Double - Id of the scope object (see scope_type).
- scope
Type String - Content type of the scope. Derived from siteid, locationid, regionid or sitegroupid when one of those is set; set it together with scopeid otherwise. One of: dcim.site, dcim.location, dcim.region, dcim.sitegroup.
- site
Group DoubleId - Id of the site group the object is scoped to (scope_type dcim.sitegroup).
- site
Id Double - Id of the site the object is scoped to (scope*type dcim.site). Conflicts with the other scope aliases and with setting the scope** pair directly.
- status String
- Operational status. One of: planned, staging, active, decommissioning, 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
- virtual
Machine DoubleCount - Number of virtual machines in the cluster.
- cluster
Group numberId - Id of the cluster group.
- cluster
Type numberId - Id of the cluster type.
- 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 in the cluster.
- id number
- NetBox id.
- last
Updated string - location
Id number - Id of the location the object is scoped to (scope_type dcim.location).
- name string
- owner
Id number - Id of the owner the object is assigned to.
- region
Id number - Id of the region the object is scoped to (scope_type dcim.region).
- scope
Id number - Id of the scope object (see scope_type).
- scope
Type string - Content type of the scope. Derived from siteid, locationid, regionid or sitegroupid when one of those is set; set it together with scopeid otherwise. One of: dcim.site, dcim.location, dcim.region, dcim.sitegroup.
- site
Group numberId - Id of the site group the object is scoped to (scope_type dcim.sitegroup).
- site
Id number - Id of the site the object is scoped to (scope*type dcim.site). Conflicts with the other scope aliases and with setting the scope** pair directly.
- status string
- Operational status. One of: planned, staging, active, decommissioning, 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
- virtual
Machine numberCount - Number of virtual machines in the cluster.
- cluster_
group_ floatid - Id of the cluster group.
- cluster_
type_ floatid - Id of the cluster type.
- 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 in the cluster.
- id float
- NetBox id.
- last_
updated str - location_
id float - Id of the location the object is scoped to (scope_type dcim.location).
- name str
- owner_
id float - Id of the owner the object is assigned to.
- region_
id float - Id of the region the object is scoped to (scope_type dcim.region).
- scope_
id float - Id of the scope object (see scope_type).
- scope_
type str - Content type of the scope. Derived from siteid, locationid, regionid or sitegroupid when one of those is set; set it together with scopeid otherwise. One of: dcim.site, dcim.location, dcim.region, dcim.sitegroup.
- site_
group_ floatid - Id of the site group the object is scoped to (scope_type dcim.sitegroup).
- site_
id float - Id of the site the object is scoped to (scope*type dcim.site). Conflicts with the other scope aliases and with setting the scope** pair directly.
- status str
- Operational status. One of: planned, staging, active, decommissioning, 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
- virtual_
machine_ floatcount - Number of virtual machines in the cluster.
- cluster
Group NumberId - Id of the cluster group.
- cluster
Type NumberId - Id of the cluster type.
- 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 in the cluster.
- id Number
- NetBox id.
- last
Updated String - location
Id Number - Id of the location the object is scoped to (scope_type dcim.location).
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- region
Id Number - Id of the region the object is scoped to (scope_type dcim.region).
- scope
Id Number - Id of the scope object (see scope_type).
- scope
Type String - Content type of the scope. Derived from siteid, locationid, regionid or sitegroupid when one of those is set; set it together with scopeid otherwise. One of: dcim.site, dcim.location, dcim.region, dcim.sitegroup.
- site
Group NumberId - Id of the site group the object is scoped to (scope_type dcim.sitegroup).
- site
Id Number - Id of the site the object is scoped to (scope*type dcim.site). Conflicts with the other scope aliases and with setting the scope** pair directly.
- status String
- Operational status. One of: planned, staging, active, decommissioning, 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
- virtual
Machine NumberCount - Number of virtual machines in the cluster.
GetClustersFilter
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.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger