Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
Lists 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 dictionarydata "netbox_get_contact_assignments" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Contact Assignments Filter> - 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
[]Get
Contact Assignments Filter - 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<Get
Contact Assignments Filter> - 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
Get
Contact Assignments Filter[] - 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[Get
Contact Assignments Filter] - 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:
- Contact
Assignments List<GetContact Assignments Contact Assignment> - The matching contact*assignments.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Contact Assignments Filter> - 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.
- Contact
Assignments []GetContact Assignments Contact Assignment - The matching contact*assignments.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Contact Assignments Filter - 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.
- contact
Assignments List<GetContact Assignments Contact Assignment> - The matching contact*assignments.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Contact Assignments Filter> - 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.
- contact
Assignments GetContact Assignments Contact Assignment[] - The matching contact*assignments.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Contact Assignments Filter[] - 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[GetContact Assignments Contact Assignment] - The matching contact*assignments.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Contact Assignments Filter] - 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.
- contact
Assignments 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
- Contact
Id double - Id of the contact.
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Id double
- NetBox id.
- Last
Updated string - Object
Id double - 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 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.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Url string
- Contact
Id float64 - Id of the contact.
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Id float64
- NetBox id.
- Last
Updated string - Object
Id float64 - 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 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.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- 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.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- url string
- contact
Id Double - Id of the contact.
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- id Double
- NetBox id.
- last
Updated String - object
Id Double - 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 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.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
- contact
Id number - Id of the contact.
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- 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.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- 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.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- url str
- 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.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
GetContactAssignmentsFilter
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
netbox
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger