1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getAggregates
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger

    Lists aggregate objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getAggregates({
        limit: 10,
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_aggregates(limit=10)
    
    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.GetAggregates(ctx, &netbox.GetAggregatesArgs{
    			Limit: pulumi.Float64Ref(10),
    		}, 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.GetAggregates.Invoke(new()
        {
            Limit = 10,
        });
    
    });
    
    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.GetAggregatesArgs;
    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.getAggregates(GetAggregatesArgs.builder()
                .limit(10)
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getAggregates
          arguments:
            limit: 10
    
    Example coming soon!
    

    Using getAggregates

    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 getAggregates(args: GetAggregatesArgs, opts?: InvokeOptions): Promise<GetAggregatesResult>
    function getAggregatesOutput(args: GetAggregatesOutputArgs, opts?: InvokeOutputOptions): Output<GetAggregatesResult>
    def get_aggregates(filters: Optional[Sequence[GetAggregatesFilter]] = None,
                       limit: Optional[float] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAggregatesResult
    def get_aggregates_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetAggregatesFilterArgs]]]] = None,
                       limit: pulumi.Input[Optional[float]] = None,
                       opts: Optional[InvokeOutputOptions] = None) -> Output[GetAggregatesResult]
    func GetAggregates(ctx *Context, args *GetAggregatesArgs, opts ...InvokeOption) (*GetAggregatesResult, error)
    func GetAggregatesOutput(ctx *Context, args *GetAggregatesOutputArgs, opts ...InvokeOption) GetAggregatesResultOutput

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

    public static class GetAggregates 
    {
        public static Task<GetAggregatesResult> InvokeAsync(GetAggregatesArgs args, InvokeOptions? opts = null)
        public static Output<GetAggregatesResult> Invoke(GetAggregatesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAggregatesResult> Invoke(GetAggregatesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAggregatesResult> getAggregates(GetAggregatesArgs args, InvokeOptions options)
    public static Output<GetAggregatesResult> getAggregates(GetAggregatesArgs args, InvokeOptions options)
    public static Output<GetAggregatesResult> getAggregates(GetAggregatesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getAggregates:getAggregates
      arguments:
        # arguments dictionary
    data "netbox_get_aggregates" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetAggregatesFilter>
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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 []GetAggregatesFilter
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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<GetAggregatesFilter>
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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 GetAggregatesFilter[]
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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[GetAggregatesFilter]
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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.

    getAggregates Result

    The following output properties are available:

    Aggregates List<GetAggregatesAggregate>
    The matching aggregates.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetAggregatesFilter>
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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.
    Aggregates []GetAggregatesAggregate
    The matching aggregates.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetAggregatesFilter
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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.
    aggregates list(object)
    The matching aggregates.
    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, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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.
    aggregates List<GetAggregatesAggregate>
    The matching aggregates.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetAggregatesFilter>
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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.
    aggregates GetAggregatesAggregate[]
    The matching aggregates.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetAggregatesFilter[]
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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.
    aggregates Sequence[GetAggregatesAggregate]
    The matching aggregates.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetAggregatesFilter]
    Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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.
    aggregates List<Property Map>
    The matching aggregates.
    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, dateadded, dateaddedempty, date_addedgt, date_addedgte, date_addedlt, date_addedlte, date_addedn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, family, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, prefix, q, rir, rirn, ririd, riridn, tag, tagany, tagn, tagid, tagidany, tag_idn, tenant, tenantn, tenantgroup, tenantgroupn, tenantgroupid, tenantgroupidn, 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

    GetAggregatesAggregate

    Comments string
    Created string
    CustomFields Dictionary<string, string>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DateAdded string
    Date the aggregate was added, as YYYY-MM-DD. Keeps its value when removed from the configuration.
    Description string
    Family double
    Address family: 4 or 6.
    Id double
    NetBox id.
    LastUpdated string
    OwnerId double
    Id of the owner the object is assigned to.
    Prefix string
    The aggregate in CIDR notation, e.g. 10.0.0.0/8.
    RirId double
    Id of the RIR that allocated the aggregate.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    TenantId double
    Id of the tenant.
    Url string
    Comments string
    Created string
    CustomFields map[string]string
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    DateAdded string
    Date the aggregate was added, as YYYY-MM-DD. Keeps its value when removed from the configuration.
    Description string
    Family float64
    Address family: 4 or 6.
    Id float64
    NetBox id.
    LastUpdated string
    OwnerId float64
    Id of the owner the object is assigned to.
    Prefix string
    The aggregate in CIDR notation, e.g. 10.0.0.0/8.
    RirId float64
    Id of the RIR that allocated the aggregate.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    TenantId float64
    Id of the tenant.
    Url string
    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).
    date_added string
    Date the aggregate was added, as YYYY-MM-DD. Keeps its value when removed from the configuration.
    description string
    family number
    Address family: 4 or 6.
    id number
    NetBox id.
    last_updated string
    owner_id number
    Id of the owner the object is assigned to.
    prefix string
    The aggregate in CIDR notation, e.g. 10.0.0.0/8.
    rir_id number
    Id of the RIR that allocated the aggregate.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    tenant_id number
    Id of the tenant.
    url string
    comments String
    created String
    customFields Map<String,String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    dateAdded String
    Date the aggregate was added, as YYYY-MM-DD. Keeps its value when removed from the configuration.
    description String
    family Double
    Address family: 4 or 6.
    id Double
    NetBox id.
    lastUpdated String
    ownerId Double
    Id of the owner the object is assigned to.
    prefix String
    The aggregate in CIDR notation, e.g. 10.0.0.0/8.
    rirId Double
    Id of the RIR that allocated the aggregate.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId Double
    Id of the tenant.
    url String
    comments string
    created string
    customFields {[key: string]: string}
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    dateAdded string
    Date the aggregate was added, as YYYY-MM-DD. Keeps its value when removed from the configuration.
    description string
    family number
    Address family: 4 or 6.
    id number
    NetBox id.
    lastUpdated string
    ownerId number
    Id of the owner the object is assigned to.
    prefix string
    The aggregate in CIDR notation, e.g. 10.0.0.0/8.
    rirId number
    Id of the RIR that allocated the aggregate.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId number
    Id of the tenant.
    url string
    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).
    date_added str
    Date the aggregate was added, as YYYY-MM-DD. Keeps its value when removed from the configuration.
    description str
    family float
    Address family: 4 or 6.
    id float
    NetBox id.
    last_updated str
    owner_id float
    Id of the owner the object is assigned to.
    prefix str
    The aggregate in CIDR notation, e.g. 10.0.0.0/8.
    rir_id float
    Id of the RIR that allocated the aggregate.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    tenant_id float
    Id of the tenant.
    url str
    comments String
    created String
    customFields Map<String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    dateAdded String
    Date the aggregate was added, as YYYY-MM-DD. Keeps its value when removed from the configuration.
    description String
    family Number
    Address family: 4 or 6.
    id Number
    NetBox id.
    lastUpdated String
    ownerId Number
    Id of the owner the object is assigned to.
    prefix String
    The aggregate in CIDR notation, e.g. 10.0.0.0/8.
    rirId Number
    Id of the RIR that allocated the aggregate.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId Number
    Id of the tenant.
    url String

    GetAggregatesFilter

    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name str
    Name of the query filter (the API list parameter).
    value str
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.1
    published on Monday, Nov 16, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial