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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getContactAssignments({
        limit: 10,
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_contact_assignments(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.GetContactAssignments(ctx, &netbox.GetContactAssignmentsArgs{
    			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.GetContactAssignments.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.GetContactAssignmentsArgs;
    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.getContactAssignments(GetContactAssignmentsArgs.builder()
                .limit(10)
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getContactAssignments
          arguments:
            limit: 10
    
    Example coming soon!
    

    Using getContactAssignments

    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 getContactAssignments(args: GetContactAssignmentsArgs, opts?: InvokeOptions): Promise<GetContactAssignmentsResult>
    function getContactAssignmentsOutput(args: GetContactAssignmentsOutputArgs, opts?: InvokeOutputOptions): Output<GetContactAssignmentsResult>
    def get_contact_assignments(filters: Optional[Sequence[GetContactAssignmentsFilter]] = None,
                                limit: Optional[float] = None,
                                opts: Optional[InvokeOptions] = None) -> GetContactAssignmentsResult
    def get_contact_assignments_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetContactAssignmentsFilterArgs]]]] = None,
                                limit: pulumi.Input[Optional[float]] = None,
                                opts: Optional[InvokeOutputOptions] = None) -> Output[GetContactAssignmentsResult]
    func GetContactAssignments(ctx *Context, args *GetContactAssignmentsArgs, opts ...InvokeOption) (*GetContactAssignmentsResult, error)
    func GetContactAssignmentsOutput(ctx *Context, args *GetContactAssignmentsOutputArgs, opts ...InvokeOption) GetContactAssignmentsResultOutput

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

    public static class GetContactAssignments 
    {
        public static Task<GetContactAssignmentsResult> InvokeAsync(GetContactAssignmentsArgs args, InvokeOptions? opts = null)
        public static Output<GetContactAssignmentsResult> Invoke(GetContactAssignmentsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetContactAssignmentsResult> Invoke(GetContactAssignmentsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetContactAssignmentsResult> getContactAssignments(GetContactAssignmentsArgs args, InvokeOptions options)
    public static Output<GetContactAssignmentsResult> getContactAssignments(GetContactAssignmentsArgs args, InvokeOptions options)
    public static Output<GetContactAssignmentsResult> getContactAssignments(GetContactAssignmentsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getContactAssignments:getContactAssignments
      arguments:
        # arguments dictionary
    data "netbox_get_contact_assignments" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetContactAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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 []GetContactAssignmentsFilter
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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<GetContactAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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 GetContactAssignmentsFilter[]
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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[GetContactAssignmentsFilter]
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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.

    getContactAssignments Result

    The following output properties are available:

    ContactAssignments List<GetContactAssignmentsContactAssignment>
    The matching contact*assignments.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetContactAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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.
    ContactAssignments []GetContactAssignmentsContactAssignment
    The matching contact*assignments.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetContactAssignmentsFilter
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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.
    contact_assignments list(object)
    The matching contact*assignments.
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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.
    contactAssignments List<GetContactAssignmentsContactAssignment>
    The matching contact*assignments.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetContactAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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.
    contactAssignments GetContactAssignmentsContactAssignment[]
    The matching contact*assignments.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetContactAssignmentsFilter[]
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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.
    contact_assignments Sequence[GetContactAssignmentsContactAssignment]
    The matching contact*assignments.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetContactAssignmentsFilter]
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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.
    contactAssignments List<Property Map>
    The matching contact*assignments.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: contactid, contactidn, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, group, groupn, groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, objectid, objectidempty, object_idgt, object_idgte, object_idlt, object_idlte, object_idn, objecttype, objecttypen, objecttypeid, objecttypeidn, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, q, role, rolen, roleid, roleidn, tag, tagany, tagn, tagid, tagidany, tag_id_*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

    GetContactAssignmentsContactAssignment

    ContactId double
    Id of the contact.
    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).
    Id double
    NetBox id.
    LastUpdated string
    ObjectId double
    Id of the object the contact is assigned to.
    ObjectType string
    Content type of the object the contact is assigned to (dcim.site, dcim.device, tenancy.tenant, ...).
    Priority string
    Priority of the contact for this object. One of: primary, secondary, tertiary, inactive.
    RoleId double
    Id of the contact role. Once set it cannot be removed, only changed: NetBox rejects a null. If you drop it from the config, keep a depends_on on the role so it is destroyed after the assignment.
    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.
    Url string
    ContactId float64
    Id of the contact.
    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).
    Id float64
    NetBox id.
    LastUpdated string
    ObjectId float64
    Id of the object the contact is assigned to.
    ObjectType string
    Content type of the object the contact is assigned to (dcim.site, dcim.device, tenancy.tenant, ...).
    Priority string
    Priority of the contact for this object. One of: primary, secondary, tertiary, inactive.
    RoleId float64
    Id of the contact role. Once set it cannot be removed, only changed: NetBox rejects a null. If you drop it from the config, keep a depends_on on the role so it is destroyed after the assignment.
    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.
    Url string
    contact_id number
    Id of the contact.
    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).
    id number
    NetBox id.
    last_updated string
    object_id number
    Id of the object the contact is assigned to.
    object_type string
    Content type of the object the contact is assigned to (dcim.site, dcim.device, tenancy.tenant, ...).
    priority string
    Priority of the contact for this object. One of: primary, secondary, tertiary, inactive.
    role_id number
    Id of the contact role. Once set it cannot be removed, only changed: NetBox rejects a null. If you drop it from the config, keep a depends_on on the role so it is destroyed after the assignment.
    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.
    url string
    contactId Double
    Id of the contact.
    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).
    id Double
    NetBox id.
    lastUpdated String
    objectId Double
    Id of the object the contact is assigned to.
    objectType String
    Content type of the object the contact is assigned to (dcim.site, dcim.device, tenancy.tenant, ...).
    priority String
    Priority of the contact for this object. One of: primary, secondary, tertiary, inactive.
    roleId Double
    Id of the contact role. Once set it cannot be removed, only changed: NetBox rejects a null. If you drop it from the config, keep a depends_on on the role so it is destroyed after the assignment.
    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.
    url String
    contactId number
    Id of the contact.
    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).
    id number
    NetBox id.
    lastUpdated string
    objectId number
    Id of the object the contact is assigned to.
    objectType string
    Content type of the object the contact is assigned to (dcim.site, dcim.device, tenancy.tenant, ...).
    priority string
    Priority of the contact for this object. One of: primary, secondary, tertiary, inactive.
    roleId number
    Id of the contact role. Once set it cannot be removed, only changed: NetBox rejects a null. If you drop it from the config, keep a depends_on on the role so it is destroyed after the assignment.
    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.
    url string
    contact_id float
    Id of the contact.
    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).
    id float
    NetBox id.
    last_updated str
    object_id float
    Id of the object the contact is assigned to.
    object_type str
    Content type of the object the contact is assigned to (dcim.site, dcim.device, tenancy.tenant, ...).
    priority str
    Priority of the contact for this object. One of: primary, secondary, tertiary, inactive.
    role_id float
    Id of the contact role. Once set it cannot be removed, only changed: NetBox rejects a null. If you drop it from the config, keep a depends_on on the role so it is destroyed after the assignment.
    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.
    url str
    contactId Number
    Id of the contact.
    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).
    id Number
    NetBox id.
    lastUpdated String
    objectId Number
    Id of the object the contact is assigned to.
    objectType String
    Content type of the object the contact is assigned to (dcim.site, dcim.device, tenancy.tenant, ...).
    priority String
    Priority of the contact for this object. One of: primary, secondary, tertiary, inactive.
    roleId Number
    Id of the contact role. Once set it cannot be removed, only changed: NetBox rejects a null. If you drop it from the config, keep a depends_on on the role so it is destroyed after the assignment.
    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.
    url String

    GetContactAssignmentsFilter

    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