1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getCircuitGroupAssignments
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger

    Lists circuit_group_assignment objects matching the given filters.

    Example Usage

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

    Using getCircuitGroupAssignments

    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 getCircuitGroupAssignments(args: GetCircuitGroupAssignmentsArgs, opts?: InvokeOptions): Promise<GetCircuitGroupAssignmentsResult>
    function getCircuitGroupAssignmentsOutput(args: GetCircuitGroupAssignmentsOutputArgs, opts?: InvokeOutputOptions): Output<GetCircuitGroupAssignmentsResult>
    def get_circuit_group_assignments(filters: Optional[Sequence[GetCircuitGroupAssignmentsFilter]] = None,
                                      limit: Optional[float] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetCircuitGroupAssignmentsResult
    def get_circuit_group_assignments_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetCircuitGroupAssignmentsFilterArgs]]]] = None,
                                      limit: pulumi.Input[Optional[float]] = None,
                                      opts: Optional[InvokeOutputOptions] = None) -> Output[GetCircuitGroupAssignmentsResult]
    func GetCircuitGroupAssignments(ctx *Context, args *GetCircuitGroupAssignmentsArgs, opts ...InvokeOption) (*GetCircuitGroupAssignmentsResult, error)
    func GetCircuitGroupAssignmentsOutput(ctx *Context, args *GetCircuitGroupAssignmentsOutputArgs, opts ...InvokeOption) GetCircuitGroupAssignmentsResultOutput

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

    public static class GetCircuitGroupAssignments 
    {
        public static Task<GetCircuitGroupAssignmentsResult> InvokeAsync(GetCircuitGroupAssignmentsArgs args, InvokeOptions? opts = null)
        public static Output<GetCircuitGroupAssignmentsResult> Invoke(GetCircuitGroupAssignmentsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCircuitGroupAssignmentsResult> Invoke(GetCircuitGroupAssignmentsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCircuitGroupAssignmentsResult> getCircuitGroupAssignments(GetCircuitGroupAssignmentsArgs args, InvokeOptions options)
    public static Output<GetCircuitGroupAssignmentsResult> getCircuitGroupAssignments(GetCircuitGroupAssignmentsArgs args, InvokeOptions options)
    public static Output<GetCircuitGroupAssignmentsResult> getCircuitGroupAssignments(GetCircuitGroupAssignmentsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getCircuitGroupAssignments:getCircuitGroupAssignments
      arguments:
        # arguments dictionary
    data "netbox_get_circuit_group_assignments" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetCircuitGroupAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    Filters []GetCircuitGroupAssignmentsFilter
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    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: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<GetCircuitGroupAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters GetCircuitGroupAssignmentsFilter[]
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters Sequence[GetCircuitGroupAssignmentsFilter]
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    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: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    getCircuitGroupAssignments Result

    The following output properties are available:

    CircuitGroupAssignments List<GetCircuitGroupAssignmentsCircuitGroupAssignment>
    The matching circuitgroupassignments.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetCircuitGroupAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    CircuitGroupAssignments []GetCircuitGroupAssignmentsCircuitGroupAssignment
    The matching circuitgroupassignments.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetCircuitGroupAssignmentsFilter
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    circuit_group_assignments list(object)
    The matching circuitgroupassignments.
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    circuitGroupAssignments List<GetCircuitGroupAssignmentsCircuitGroupAssignment>
    The matching circuitgroupassignments.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetCircuitGroupAssignmentsFilter>
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    circuitGroupAssignments GetCircuitGroupAssignmentsCircuitGroupAssignment[]
    The matching circuitgroupassignments.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetCircuitGroupAssignmentsFilter[]
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    circuit_group_assignments Sequence[GetCircuitGroupAssignmentsCircuitGroupAssignment]
    The matching circuitgroupassignments.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetCircuitGroupAssignmentsFilter]
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    circuitGroupAssignments List<Property Map>
    The matching circuitgroupassignments.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: groupid, groupidn, id, idempty, idgt, idgte, idlt, idlte, idn, memberid, memberidn, membertype, membertypen, priority, priorityempty, priorityic, priorityie, priorityiew, priorityiregex, priorityisw, priorityn, prioritynic, prioritynie, priorityniew, prioritynisw, priorityregex, tag, tagany, tag__n. Repeating a name sends that parameter once per value.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    Supporting Types

    GetCircuitGroupAssignmentsCircuitGroupAssignment

    CircuitGroupId double
    Id of the circuit group the member is assigned to.
    Created string
    Id double
    NetBox id.
    LastUpdated string
    MemberId double
    Id of the assigned circuit or virtual circuit.
    MemberType string
    Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
    Priority string
    Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
    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
    CircuitGroupId float64
    Id of the circuit group the member is assigned to.
    Created string
    Id float64
    NetBox id.
    LastUpdated string
    MemberId float64
    Id of the assigned circuit or virtual circuit.
    MemberType string
    Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
    Priority string
    Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
    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
    circuit_group_id number
    Id of the circuit group the member is assigned to.
    created string
    id number
    NetBox id.
    last_updated string
    member_id number
    Id of the assigned circuit or virtual circuit.
    member_type string
    Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
    priority string
    Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
    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
    circuitGroupId Double
    Id of the circuit group the member is assigned to.
    created String
    id Double
    NetBox id.
    lastUpdated String
    memberId Double
    Id of the assigned circuit or virtual circuit.
    memberType String
    Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
    priority String
    Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
    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
    circuitGroupId number
    Id of the circuit group the member is assigned to.
    created string
    id number
    NetBox id.
    lastUpdated string
    memberId number
    Id of the assigned circuit or virtual circuit.
    memberType string
    Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
    priority string
    Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
    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
    circuit_group_id float
    Id of the circuit group the member is assigned to.
    created str
    id float
    NetBox id.
    last_updated str
    member_id float
    Id of the assigned circuit or virtual circuit.
    member_type str
    Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
    priority str
    Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
    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
    circuitGroupId Number
    Id of the circuit group the member is assigned to.
    created String
    id Number
    NetBox id.
    lastUpdated String
    memberId Number
    Id of the assigned circuit or virtual circuit.
    memberType String
    Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
    priority String
    Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
    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

    GetCircuitGroupAssignmentsFilter

    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.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial