published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
Membership of a circuit or virtual circuit in a circuit group (circuits.circuitgroupassignment).
From the official documentation:
Circuits can be assigned to circuit groups for correlation purposes. For instance, three circuits, each belonging to a different provider, may each be assigned to the same circuit group. Each assignment may optionally include a priority designation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getCircuitGroupAssignment({
id: 123,
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_circuit_group_assignment(id=123)
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.LookupCircuitGroupAssignment(ctx, &netbox.LookupCircuitGroupAssignmentArgs{
Id: pulumi.Float64Ref(123),
}, 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.GetCircuitGroupAssignment.Invoke(new()
{
Id = 123,
});
});
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.GetCircuitGroupAssignmentArgs;
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.getCircuitGroupAssignment(GetCircuitGroupAssignmentArgs.builder()
.id(123)
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getCircuitGroupAssignment
arguments:
id: 123
Example coming soon!
Using getCircuitGroupAssignment
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 getCircuitGroupAssignment(args: GetCircuitGroupAssignmentArgs, opts?: InvokeOptions): Promise<GetCircuitGroupAssignmentResult>
function getCircuitGroupAssignmentOutput(args: GetCircuitGroupAssignmentOutputArgs, opts?: InvokeOutputOptions): Output<GetCircuitGroupAssignmentResult>def get_circuit_group_assignment(circuit: Optional[str] = None,
circuit_group_id: Optional[float] = None,
circuit_id: Optional[float] = None,
created: Optional[str] = None,
group_slug: Optional[str] = None,
id: Optional[float] = None,
last_updated: Optional[str] = None,
member_id: Optional[float] = None,
member_type: Optional[str] = None,
member_type_id: Optional[float] = None,
priority: Optional[str] = None,
provider_id: Optional[float] = None,
provider_slug: Optional[str] = None,
q: Optional[str] = None,
tag_id: Optional[float] = None,
tag_slug: Optional[str] = None,
virtual_circuit: Optional[str] = None,
virtual_circuit_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetCircuitGroupAssignmentResult
def get_circuit_group_assignment_output(circuit: pulumi.Input[Optional[str]] = None,
circuit_group_id: pulumi.Input[Optional[float]] = None,
circuit_id: pulumi.Input[Optional[float]] = None,
created: pulumi.Input[Optional[str]] = None,
group_slug: pulumi.Input[Optional[str]] = None,
id: pulumi.Input[Optional[float]] = None,
last_updated: pulumi.Input[Optional[str]] = None,
member_id: pulumi.Input[Optional[float]] = None,
member_type: pulumi.Input[Optional[str]] = None,
member_type_id: pulumi.Input[Optional[float]] = None,
priority: pulumi.Input[Optional[str]] = None,
provider_id: pulumi.Input[Optional[float]] = None,
provider_slug: pulumi.Input[Optional[str]] = None,
q: pulumi.Input[Optional[str]] = None,
tag_id: pulumi.Input[Optional[float]] = None,
tag_slug: pulumi.Input[Optional[str]] = None,
virtual_circuit: pulumi.Input[Optional[str]] = None,
virtual_circuit_id: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCircuitGroupAssignmentResult]func LookupCircuitGroupAssignment(ctx *Context, args *LookupCircuitGroupAssignmentArgs, opts ...InvokeOption) (*LookupCircuitGroupAssignmentResult, error)
func LookupCircuitGroupAssignmentOutput(ctx *Context, args *LookupCircuitGroupAssignmentOutputArgs, opts ...InvokeOption) LookupCircuitGroupAssignmentResultOutput> Note: This function is named LookupCircuitGroupAssignment in the Go SDK.
public static class GetCircuitGroupAssignment
{
public static Task<GetCircuitGroupAssignmentResult> InvokeAsync(GetCircuitGroupAssignmentArgs args, InvokeOptions? opts = null)
public static Output<GetCircuitGroupAssignmentResult> Invoke(GetCircuitGroupAssignmentInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCircuitGroupAssignmentResult> Invoke(GetCircuitGroupAssignmentInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCircuitGroupAssignmentResult> getCircuitGroupAssignment(GetCircuitGroupAssignmentArgs args, InvokeOptions options)
public static Output<GetCircuitGroupAssignmentResult> getCircuitGroupAssignment(GetCircuitGroupAssignmentArgs args, InvokeOptions options)
public static Output<GetCircuitGroupAssignmentResult> getCircuitGroupAssignment(GetCircuitGroupAssignmentArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getCircuitGroupAssignment:getCircuitGroupAssignment
arguments:
# arguments dictionarydata "netbox_get_circuit_group_assignment" "name" {
# arguments
}The following arguments are supported:
- Circuit string
- Circuit to match.
- Circuit
Group doubleId - Id of the circuit group the member is assigned to.
- Circuit
Id double - Id of the circuit.
- Created string
- Group
Slug string - Slug of the circuit group.
- Id double
- NetBox id.
- Last
Updated string - Member
Id double - Id of the assigned circuit or virtual circuit.
- Member
Type string - Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
- Member
Type doubleId - Id of the member type.
- Priority string
- Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
- Provider
Id double - Id of the provider.
- Provider
Slug string - Slug of the provider.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Circuit string - Virtual circuit to match.
- Virtual
Circuit doubleId - Id of the virtual circuit.
- Circuit string
- Circuit to match.
- Circuit
Group float64Id - Id of the circuit group the member is assigned to.
- Circuit
Id float64 - Id of the circuit.
- Created string
- Group
Slug string - Slug of the circuit group.
- Id float64
- NetBox id.
- Last
Updated string - Member
Id float64 - Id of the assigned circuit or virtual circuit.
- Member
Type string - Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
- Member
Type float64Id - Id of the member type.
- Priority string
- Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
- Provider
Id float64 - Id of the provider.
- Provider
Slug string - Slug of the provider.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Circuit string - Virtual circuit to match.
- Virtual
Circuit float64Id - Id of the virtual circuit.
- circuit string
- Circuit to match.
- circuit_
group_ numberid - Id of the circuit group the member is assigned to.
- circuit_
id number - Id of the circuit.
- created string
- group_
slug string - Slug of the circuit group.
- 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.
- member_
type_ numberid - Id of the member type.
- priority string
- Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
- provider_
id number - Id of the provider.
- provider_
slug string - Slug of the provider.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id number - Id of a tag the object carries.
- tag_
slug string - Slug of a tag the object carries.
- virtual_
circuit string - Virtual circuit to match.
- virtual_
circuit_ numberid - Id of the virtual circuit.
- circuit String
- Circuit to match.
- circuit
Group DoubleId - Id of the circuit group the member is assigned to.
- circuit
Id Double - Id of the circuit.
- created String
- group
Slug String - Slug of the circuit group.
- id Double
- NetBox id.
- last
Updated String - member
Id Double - Id of the assigned circuit or virtual circuit.
- member
Type String - Content type of the assigned member. One of: circuits.circuit, circuits.virtualcircuit.
- member
Type DoubleId - Id of the member type.
- priority String
- Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
- provider
Id Double - Id of the provider.
- provider
Slug String - Slug of the provider.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Circuit String - Virtual circuit to match.
- virtual
Circuit DoubleId - Id of the virtual circuit.
- circuit string
- Circuit to match.
- circuit
Group numberId - Id of the circuit group the member is assigned to.
- circuit
Id number - Id of the circuit.
- created string
- group
Slug string - Slug of the circuit group.
- 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.
- member
Type numberId - Id of the member type.
- priority string
- Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
- provider
Id number - Id of the provider.
- provider
Slug string - Slug of the provider.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- virtual
Circuit string - Virtual circuit to match.
- virtual
Circuit numberId - Id of the virtual circuit.
- circuit str
- Circuit to match.
- circuit_
group_ floatid - Id of the circuit group the member is assigned to.
- circuit_
id float - Id of the circuit.
- created str
- group_
slug str - Slug of the circuit group.
- 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.
- member_
type_ floatid - Id of the member type.
- priority str
- Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
- provider_
id float - Id of the provider.
- provider_
slug str - Slug of the provider.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id float - Id of a tag the object carries.
- tag_
slug str - Slug of a tag the object carries.
- virtual_
circuit str - Virtual circuit to match.
- virtual_
circuit_ floatid - Id of the virtual circuit.
- circuit String
- Circuit to match.
- circuit
Group NumberId - Id of the circuit group the member is assigned to.
- circuit
Id Number - Id of the circuit.
- created String
- group
Slug String - Slug of the circuit group.
- 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.
- member
Type NumberId - Id of the member type.
- priority String
- Priority of this member within the group. One of: primary, secondary, tertiary, inactive.
- provider
Id Number - Id of the provider.
- provider
Slug String - Slug of the provider.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Circuit String - Virtual circuit to match.
- virtual
Circuit NumberId - Id of the virtual circuit.
getCircuitGroupAssignment Result
The following output properties are available:
- Circuit
Group doubleId - Id of the circuit group the member is assigned to.
- Created string
- Id double
- NetBox id.
- Last
Updated string - Member
Id double - 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.
- 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
- Circuit string
- Circuit to match.
- Circuit
Id double - Id of the circuit.
- Group
Slug string - Slug of the circuit group.
- Member
Type doubleId - Id of the member type.
- Provider
Id double - Id of the provider.
- Provider
Slug string - Slug of the provider.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Circuit string - Virtual circuit to match.
- Virtual
Circuit doubleId - Id of the virtual circuit.
- Circuit
Group float64Id - Id of the circuit group the member is assigned to.
- Created string
- Id float64
- NetBox id.
- Last
Updated string - Member
Id float64 - 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.
- []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
- Circuit string
- Circuit to match.
- Circuit
Id float64 - Id of the circuit.
- Group
Slug string - Slug of the circuit group.
- Member
Type float64Id - Id of the member type.
- Provider
Id float64 - Id of the provider.
- Provider
Slug string - Slug of the provider.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Circuit string - Virtual circuit to match.
- Virtual
Circuit float64Id - Id of the virtual circuit.
- circuit_
group_ numberid - 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.
- 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
- circuit string
- Circuit to match.
- circuit_
id number - Id of the circuit.
- group_
slug string - Slug of the circuit group.
- member_
type_ numberid - Id of the member type.
- provider_
id number - Id of the provider.
- provider_
slug string - Slug of the provider.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id number - Id of a tag the object carries.
- tag_
slug string - Slug of a tag the object carries.
- virtual_
circuit string - Virtual circuit to match.
- virtual_
circuit_ numberid - Id of the virtual circuit.
- circuit
Group DoubleId - Id of the circuit group the member is assigned to.
- created String
- id Double
- NetBox id.
- last
Updated String - member
Id Double - 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.
- 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
- circuit String
- Circuit to match.
- circuit
Id Double - Id of the circuit.
- group
Slug String - Slug of the circuit group.
- member
Type DoubleId - Id of the member type.
- provider
Id Double - Id of the provider.
- provider
Slug String - Slug of the provider.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Circuit String - Virtual circuit to match.
- virtual
Circuit DoubleId - Id of the virtual circuit.
- circuit
Group numberId - 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.
- 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
- circuit string
- Circuit to match.
- circuit
Id number - Id of the circuit.
- group
Slug string - Slug of the circuit group.
- member
Type numberId - Id of the member type.
- provider
Id number - Id of the provider.
- provider
Slug string - Slug of the provider.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- virtual
Circuit string - Virtual circuit to match.
- virtual
Circuit numberId - Id of the virtual circuit.
- circuit_
group_ floatid - 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.
- 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
- circuit str
- Circuit to match.
- circuit_
id float - Id of the circuit.
- group_
slug str - Slug of the circuit group.
- member_
type_ floatid - Id of the member type.
- provider_
id float - Id of the provider.
- provider_
slug str - Slug of the provider.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id float - Id of a tag the object carries.
- tag_
slug str - Slug of a tag the object carries.
- virtual_
circuit str - Virtual circuit to match.
- virtual_
circuit_ floatid - Id of the virtual circuit.
- circuit
Group NumberId - 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.
- 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
- circuit String
- Circuit to match.
- circuit
Id Number - Id of the circuit.
- group
Slug String - Slug of the circuit group.
- member
Type NumberId - Id of the member type.
- provider
Id Number - Id of the provider.
- provider
Slug String - Slug of the provider.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Circuit String - Virtual circuit to match.
- virtual
Circuit NumberId - Id of the virtual circuit.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Monday, Nov 16, 2026 by e-breuninger