1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getContacts
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 contact objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getContacts({
        filters: [{
            name: "name",
            value: "test-contact",
        }],
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_contacts(filters=[{
        "name": "name",
        "value": "test-contact",
    }])
    
    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.GetContacts(ctx, &netbox.GetContactsArgs{
    			Filters: []netbox.GetContactsFilter{
    				{
    					Name:  "name",
    					Value: "test-contact",
    				},
    			},
    		}, 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.GetContacts.Invoke(new()
        {
            Filters = new[]
            {
                new Netbox.Inputs.GetContactsFilterInputArgs
                {
                    Name = "name",
                    Value = "test-contact",
                },
            },
        });
    
    });
    
    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.GetContactsArgs;
    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.getContacts(GetContactsArgs.builder()
                .filters(GetContactsFilterArgs.builder()
                    .name("name")
                    .value("test-contact")
                    .build())
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getContacts
          arguments:
            filters:
              - name: name
                value: test-contact
    
    Example coming soon!
    

    Using getContacts

    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 getContacts(args: GetContactsArgs, opts?: InvokeOptions): Promise<GetContactsResult>
    function getContactsOutput(args: GetContactsOutputArgs, opts?: InvokeOutputOptions): Output<GetContactsResult>
    def get_contacts(filters: Optional[Sequence[GetContactsFilter]] = None,
                     limit: Optional[float] = None,
                     opts: Optional[InvokeOptions] = None) -> GetContactsResult
    def get_contacts_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetContactsFilterArgs]]]] = None,
                     limit: pulumi.Input[Optional[float]] = None,
                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetContactsResult]
    func GetContacts(ctx *Context, args *GetContactsArgs, opts ...InvokeOption) (*GetContactsResult, error)
    func GetContactsOutput(ctx *Context, args *GetContactsOutputArgs, opts ...InvokeOption) GetContactsResultOutput

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

    public static class GetContacts 
    {
        public static Task<GetContactsResult> InvokeAsync(GetContactsArgs args, InvokeOptions? opts = null)
        public static Output<GetContactsResult> Invoke(GetContactsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetContactsResult> Invoke(GetContactsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetContactsResult> getContacts(GetContactsArgs args, InvokeOptions options)
    public static Output<GetContactsResult> getContacts(GetContactsArgs args, InvokeOptions options)
    public static Output<GetContactsResult> getContacts(GetContactsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getContacts:getContacts
      arguments:
        # arguments dictionary
    data "netbox_get_contacts" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetContactsFilter>
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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 []GetContactsFilter
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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<GetContactsFilter>
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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 GetContactsFilter[]
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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[GetContactsFilter]
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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.

    getContacts Result

    The following output properties are available:

    Contacts List<GetContactsContact>
    The matching contacts.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetContactsFilter>
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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.
    Contacts []GetContactsContact
    The matching contacts.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetContactsFilter
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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.
    contacts list(object)
    The matching contacts.
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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.
    contacts List<GetContactsContact>
    The matching contacts.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetContactsFilter>
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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.
    contacts GetContactsContact[]
    The matching contacts.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetContactsFilter[]
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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.
    contacts Sequence[GetContactsContact]
    The matching contacts.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetContactsFilter]
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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.
    contacts List<Property Map>
    The matching contacts.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: address, addressempty, addressic, addressie, addressiew, addressiregex, addressisw, addressn, addressnic, addressnie, addressniew, addressnisw, addressregex, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, email, emailempty, emailic, emailie, emailiew, emailiregex, emailisw, emailn, emailnic, emailnie, emailniew, emailnisw, emailregex, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, link, linkempty, linkic, linkie, linkiew, linkiregex, linkisw, linkn, linknic, linknie, linkniew, linknisw, linkregex, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, phone, phoneempty, phoneic, phoneie, phoneiew, phoneiregex, phoneisw, phonen, phonenic, phonenie, phoneniew, phonenisw, phoneregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, title, titleempty, titleic, titleie, titleiew, titleiregex, titleisw, titlen, titlenic, titlenie, titleniew, titlenisw, titleregex. 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

    GetContactsContact

    Address string
    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).
    Description string
    Email string
    Email address.
    GroupIds List<double>
    Ids of contact groups this contact belongs to.
    Id double
    NetBox id.
    LastUpdated string
    Link string
    URL related to the contact.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Phone string
    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.
    Title string
    Url string
    Address 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).
    Description string
    Email string
    Email address.
    GroupIds []float64
    Ids of contact groups this contact belongs to.
    Id float64
    NetBox id.
    LastUpdated string
    Link string
    URL related to the contact.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Phone string
    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.
    Title string
    Url string
    address 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
    email string
    Email address.
    group_ids list(number)
    Ids of contact groups this contact belongs to.
    id number
    NetBox id.
    last_updated string
    link string
    URL related to the contact.
    name string
    owner_id number
    Id of the owner the object is assigned to.
    phone string
    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.
    title string
    url string
    address 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).
    description String
    email String
    Email address.
    groupIds List<Double>
    Ids of contact groups this contact belongs to.
    id Double
    NetBox id.
    lastUpdated String
    link String
    URL related to the contact.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    phone String
    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.
    title String
    url String
    address 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).
    description string
    email string
    Email address.
    groupIds number[]
    Ids of contact groups this contact belongs to.
    id number
    NetBox id.
    lastUpdated string
    link string
    URL related to the contact.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    phone string
    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.
    title string
    url string
    address str
    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
    email str
    Email address.
    group_ids Sequence[float]
    Ids of contact groups this contact belongs to.
    id float
    NetBox id.
    last_updated str
    link str
    URL related to the contact.
    name str
    owner_id float
    Id of the owner the object is assigned to.
    phone str
    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.
    title str
    url str
    address String
    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).
    description String
    email String
    Email address.
    groupIds List<Number>
    Ids of contact groups this contact belongs to.
    id Number
    NetBox id.
    lastUpdated String
    link String
    URL related to the contact.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    phone String
    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.
    title String
    url String

    GetContactsFilter

    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