1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getCircuit
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

    A circuit leased from a provider (circuits.circuit).

    From the official documentation:

    A communications circuit represents a single physical link connecting exactly two endpoints, commonly referred to as its A and Z terminations. A circuit in NetBox may have zero, one, or two terminations defined. It is common to have only one termination defined when you don’t necessarily care about the details of the provider side of the circuit, e.g. for Internet access circuits. Both terminations would likely be modeled for circuits which connect one customer site to another.

    Each circuit is associated with a provider and a user-defined type. For example, you might have Internet access circuits delivered to each site by one provider, and private MPLS circuits delivered by another. Each circuit must be assigned a circuit ID, each of which must be unique per provider.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getCircuit({
        id: 123,
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_circuit(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.LookupCircuit(ctx, &netbox.LookupCircuitArgs{
    			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.GetCircuit.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.GetCircuitArgs;
    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.getCircuit(GetCircuitArgs.builder()
                .id(123)
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getCircuit
          arguments:
            id: 123
    
    Example coming soon!
    

    Using getCircuit

    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 getCircuit(args: GetCircuitArgs, opts?: InvokeOptions): Promise<GetCircuitResult>
    function getCircuitOutput(args: GetCircuitOutputArgs, opts?: InvokeOutputOptions): Output<GetCircuitResult>
    def get_circuit(cid: Optional[str] = None,
                    circuit_provider_id: Optional[float] = None,
                    circuit_type_id: Optional[float] = None,
                    commit_rate: Optional[float] = None,
                    contact: Optional[float] = None,
                    contact_group_slug: Optional[str] = None,
                    contact_role: Optional[float] = None,
                    created: Optional[str] = None,
                    custom_field_filters: Optional[Mapping[str, str]] = None,
                    description: Optional[str] = None,
                    distance: Optional[float] = None,
                    distance_unit: Optional[str] = None,
                    id: Optional[float] = None,
                    install_date: Optional[str] = None,
                    last_updated: Optional[str] = None,
                    location_id: Optional[float] = None,
                    owner_group_id: Optional[float] = None,
                    owner_group_name: Optional[str] = None,
                    owner_id: Optional[float] = None,
                    owner_name: Optional[str] = None,
                    provider_account: Optional[str] = None,
                    provider_account_id: Optional[float] = None,
                    provider_network_id: Optional[float] = None,
                    provider_slug: Optional[str] = None,
                    q: Optional[str] = None,
                    region_id: Optional[str] = None,
                    region_slug: Optional[str] = None,
                    site_group_id: Optional[str] = None,
                    site_group_slug: Optional[str] = None,
                    site_id: Optional[float] = None,
                    site_slug: Optional[str] = None,
                    status: Optional[str] = None,
                    tag_id: Optional[float] = None,
                    tag_slug: Optional[str] = None,
                    tenant_group_id: Optional[str] = None,
                    tenant_group_slug: Optional[str] = None,
                    tenant_id: Optional[float] = None,
                    tenant_slug: Optional[str] = None,
                    termination_a_id: Optional[float] = None,
                    termination_date: Optional[str] = None,
                    termination_z_id: Optional[float] = None,
                    type_slug: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetCircuitResult
    def get_circuit_output(cid: pulumi.Input[Optional[str]] = None,
                    circuit_provider_id: pulumi.Input[Optional[float]] = None,
                    circuit_type_id: pulumi.Input[Optional[float]] = None,
                    commit_rate: pulumi.Input[Optional[float]] = None,
                    contact: pulumi.Input[Optional[float]] = None,
                    contact_group_slug: pulumi.Input[Optional[str]] = None,
                    contact_role: pulumi.Input[Optional[float]] = None,
                    created: pulumi.Input[Optional[str]] = None,
                    custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                    description: pulumi.Input[Optional[str]] = None,
                    distance: pulumi.Input[Optional[float]] = None,
                    distance_unit: pulumi.Input[Optional[str]] = None,
                    id: pulumi.Input[Optional[float]] = None,
                    install_date: pulumi.Input[Optional[str]] = None,
                    last_updated: pulumi.Input[Optional[str]] = None,
                    location_id: pulumi.Input[Optional[float]] = None,
                    owner_group_id: pulumi.Input[Optional[float]] = None,
                    owner_group_name: pulumi.Input[Optional[str]] = None,
                    owner_id: pulumi.Input[Optional[float]] = None,
                    owner_name: pulumi.Input[Optional[str]] = None,
                    provider_account: pulumi.Input[Optional[str]] = None,
                    provider_account_id: pulumi.Input[Optional[float]] = None,
                    provider_network_id: pulumi.Input[Optional[float]] = None,
                    provider_slug: pulumi.Input[Optional[str]] = None,
                    q: pulumi.Input[Optional[str]] = None,
                    region_id: pulumi.Input[Optional[str]] = None,
                    region_slug: pulumi.Input[Optional[str]] = None,
                    site_group_id: pulumi.Input[Optional[str]] = None,
                    site_group_slug: pulumi.Input[Optional[str]] = None,
                    site_id: pulumi.Input[Optional[float]] = None,
                    site_slug: pulumi.Input[Optional[str]] = None,
                    status: pulumi.Input[Optional[str]] = None,
                    tag_id: pulumi.Input[Optional[float]] = None,
                    tag_slug: pulumi.Input[Optional[str]] = None,
                    tenant_group_id: pulumi.Input[Optional[str]] = None,
                    tenant_group_slug: pulumi.Input[Optional[str]] = None,
                    tenant_id: pulumi.Input[Optional[float]] = None,
                    tenant_slug: pulumi.Input[Optional[str]] = None,
                    termination_a_id: pulumi.Input[Optional[float]] = None,
                    termination_date: pulumi.Input[Optional[str]] = None,
                    termination_z_id: pulumi.Input[Optional[float]] = None,
                    type_slug: pulumi.Input[Optional[str]] = None,
                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetCircuitResult]
    func LookupCircuit(ctx *Context, args *LookupCircuitArgs, opts ...InvokeOption) (*LookupCircuitResult, error)
    func LookupCircuitOutput(ctx *Context, args *LookupCircuitOutputArgs, opts ...InvokeOption) LookupCircuitResultOutput

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

    public static class GetCircuit 
    {
        public static Task<GetCircuitResult> InvokeAsync(GetCircuitArgs args, InvokeOptions? opts = null)
        public static Output<GetCircuitResult> Invoke(GetCircuitInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCircuitResult> Invoke(GetCircuitInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCircuitResult> getCircuit(GetCircuitArgs args, InvokeOptions options)
    public static Output<GetCircuitResult> getCircuit(GetCircuitArgs args, InvokeOptions options)
    public static Output<GetCircuitResult> getCircuit(GetCircuitArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getCircuit:getCircuit
      arguments:
        # arguments dictionary
    data "netbox_get_circuit" "name" {
        # arguments
    }

    The following arguments are supported:

    Cid string
    Circuit id assigned by the provider; unique per provider.
    CircuitProviderId double
    Id of the provider the circuit is leased from.
    CircuitTypeId double
    Id of the circuit type.
    CommitRate double
    Commit rate to match.
    Contact double
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole double
    Id of the contact role.
    Created string
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Description string
    Distance double
    Length of the circuit (requires distance_unit).
    DistanceUnit string
    Unit of distance. One of: km, m, mi, ft.
    Id double
    NetBox id.
    InstallDate string
    Installation date as YYYY-MM-DD.
    LastUpdated string
    LocationId double
    Id of the location.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId double
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    ProviderAccount string
    Provider account (account).
    ProviderAccountId double
    Id of the provider account.
    ProviderNetworkId double
    Id of the provider network.
    ProviderSlug string
    Slug of the provider.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId double
    Id of the site.
    SiteSlug string
    Slug of the site.
    Status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantId double
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    TerminationAId double
    Id of the termination a.
    TerminationDate string
    Termination date as YYYY-MM-DD.
    TerminationZId double
    Id of the termination a.
    TypeSlug string
    Slug of the circuit type.
    Cid string
    Circuit id assigned by the provider; unique per provider.
    CircuitProviderId float64
    Id of the provider the circuit is leased from.
    CircuitTypeId float64
    Id of the circuit type.
    CommitRate float64
    Commit rate to match.
    Contact float64
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole float64
    Id of the contact role.
    Created string
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    Description string
    Distance float64
    Length of the circuit (requires distance_unit).
    DistanceUnit string
    Unit of distance. One of: km, m, mi, ft.
    Id float64
    NetBox id.
    InstallDate string
    Installation date as YYYY-MM-DD.
    LastUpdated string
    LocationId float64
    Id of the location.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerId float64
    Id of the owner the object is assigned to.
    OwnerName string
    Name of the owner.
    ProviderAccount string
    Provider account (account).
    ProviderAccountId float64
    Id of the provider account.
    ProviderNetworkId float64
    Id of the provider network.
    ProviderSlug string
    Slug of the provider.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId float64
    Id of the site.
    SiteSlug string
    Slug of the site.
    Status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantId float64
    Id of the tenant.
    TenantSlug string
    Slug of the tenant.
    TerminationAId float64
    Id of the termination a.
    TerminationDate string
    Termination date as YYYY-MM-DD.
    TerminationZId float64
    Id of the termination a.
    TypeSlug string
    Slug of the circuit type.
    cid string
    Circuit id assigned by the provider; unique per provider.
    circuit_provider_id number
    Id of the provider the circuit is leased from.
    circuit_type_id number
    Id of the circuit type.
    commit_rate number
    Commit rate to match.
    contact number
    Id of the contact.
    contact_group_slug string
    Slug of the contact group.
    contact_role number
    Id of the contact role.
    created string
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description string
    distance number
    Length of the circuit (requires distance_unit).
    distance_unit string
    Unit of distance. One of: km, m, mi, ft.
    id number
    NetBox id.
    install_date string
    Installation date as YYYY-MM-DD.
    last_updated string
    location_id number
    Id of the location.
    owner_group_id number
    Id of the owner group.
    owner_group_name string
    Name of the owner group.
    owner_id number
    Id of the owner the object is assigned to.
    owner_name string
    Name of the owner.
    provider_account string
    Provider account (account).
    provider_account_id number
    Id of the provider account.
    provider_network_id number
    Id of the provider network.
    provider_slug string
    Slug of the provider.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    region_id string
    Id of the region.
    region_slug string
    Slug of the region.
    site_group_id string
    Id of the site group.
    site_group_slug string
    Slug of the site group.
    site_id number
    Id of the site.
    site_slug string
    Slug of the site.
    status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    tenant_group_id string
    Id of the tenant group.
    tenant_group_slug string
    Slug of the tenant group.
    tenant_id number
    Id of the tenant.
    tenant_slug string
    Slug of the tenant.
    termination_a_id number
    Id of the termination a.
    termination_date string
    Termination date as YYYY-MM-DD.
    termination_z_id number
    Id of the termination a.
    type_slug string
    Slug of the circuit type.
    cid String
    Circuit id assigned by the provider; unique per provider.
    circuitProviderId Double
    Id of the provider the circuit is leased from.
    circuitTypeId Double
    Id of the circuit type.
    commitRate Double
    Commit rate to match.
    contact Double
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Double
    Id of the contact role.
    created String
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description String
    distance Double
    Length of the circuit (requires distance_unit).
    distanceUnit String
    Unit of distance. One of: km, m, mi, ft.
    id Double
    NetBox id.
    installDate String
    Installation date as YYYY-MM-DD.
    lastUpdated String
    locationId Double
    Id of the location.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Double
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    providerAccount String
    Provider account (account).
    providerAccountId Double
    Id of the provider account.
    providerNetworkId Double
    Id of the provider network.
    providerSlug String
    Slug of the provider.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Double
    Id of the site.
    siteSlug String
    Slug of the site.
    status String
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantId Double
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    terminationAId Double
    Id of the termination a.
    terminationDate String
    Termination date as YYYY-MM-DD.
    terminationZId Double
    Id of the termination a.
    typeSlug String
    Slug of the circuit type.
    cid string
    Circuit id assigned by the provider; unique per provider.
    circuitProviderId number
    Id of the provider the circuit is leased from.
    circuitTypeId number
    Id of the circuit type.
    commitRate number
    Commit rate to match.
    contact number
    Id of the contact.
    contactGroupSlug string
    Slug of the contact group.
    contactRole number
    Id of the contact role.
    created string
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description string
    distance number
    Length of the circuit (requires distance_unit).
    distanceUnit string
    Unit of distance. One of: km, m, mi, ft.
    id number
    NetBox id.
    installDate string
    Installation date as YYYY-MM-DD.
    lastUpdated string
    locationId number
    Id of the location.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerId number
    Id of the owner the object is assigned to.
    ownerName string
    Name of the owner.
    providerAccount string
    Provider account (account).
    providerAccountId number
    Id of the provider account.
    providerNetworkId number
    Id of the provider network.
    providerSlug string
    Slug of the provider.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    regionId string
    Id of the region.
    regionSlug string
    Slug of the region.
    siteGroupId string
    Id of the site group.
    siteGroupSlug string
    Slug of the site group.
    siteId number
    Id of the site.
    siteSlug string
    Slug of the site.
    status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    tenantGroupId string
    Id of the tenant group.
    tenantGroupSlug string
    Slug of the tenant group.
    tenantId number
    Id of the tenant.
    tenantSlug string
    Slug of the tenant.
    terminationAId number
    Id of the termination a.
    terminationDate string
    Termination date as YYYY-MM-DD.
    terminationZId number
    Id of the termination a.
    typeSlug string
    Slug of the circuit type.
    cid str
    Circuit id assigned by the provider; unique per provider.
    circuit_provider_id float
    Id of the provider the circuit is leased from.
    circuit_type_id float
    Id of the circuit type.
    commit_rate float
    Commit rate to match.
    contact float
    Id of the contact.
    contact_group_slug str
    Slug of the contact group.
    contact_role float
    Id of the contact role.
    created str
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description str
    distance float
    Length of the circuit (requires distance_unit).
    distance_unit str
    Unit of distance. One of: km, m, mi, ft.
    id float
    NetBox id.
    install_date str
    Installation date as YYYY-MM-DD.
    last_updated str
    location_id float
    Id of the location.
    owner_group_id float
    Id of the owner group.
    owner_group_name str
    Name of the owner group.
    owner_id float
    Id of the owner the object is assigned to.
    owner_name str
    Name of the owner.
    provider_account str
    Provider account (account).
    provider_account_id float
    Id of the provider account.
    provider_network_id float
    Id of the provider network.
    provider_slug str
    Slug of the provider.
    q str
    Search term, matched against the fields NetBox searches for this object type.
    region_id str
    Id of the region.
    region_slug str
    Slug of the region.
    site_group_id str
    Id of the site group.
    site_group_slug str
    Slug of the site group.
    site_id float
    Id of the site.
    site_slug str
    Slug of the site.
    status str
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    tenant_group_id str
    Id of the tenant group.
    tenant_group_slug str
    Slug of the tenant group.
    tenant_id float
    Id of the tenant.
    tenant_slug str
    Slug of the tenant.
    termination_a_id float
    Id of the termination a.
    termination_date str
    Termination date as YYYY-MM-DD.
    termination_z_id float
    Id of the termination a.
    type_slug str
    Slug of the circuit type.
    cid String
    Circuit id assigned by the provider; unique per provider.
    circuitProviderId Number
    Id of the provider the circuit is leased from.
    circuitTypeId Number
    Id of the circuit type.
    commitRate Number
    Commit rate to match.
    contact Number
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Number
    Id of the contact role.
    created String
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    description String
    distance Number
    Length of the circuit (requires distance_unit).
    distanceUnit String
    Unit of distance. One of: km, m, mi, ft.
    id Number
    NetBox id.
    installDate String
    Installation date as YYYY-MM-DD.
    lastUpdated String
    locationId Number
    Id of the location.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerId Number
    Id of the owner the object is assigned to.
    ownerName String
    Name of the owner.
    providerAccount String
    Provider account (account).
    providerAccountId Number
    Id of the provider account.
    providerNetworkId Number
    Id of the provider network.
    providerSlug String
    Slug of the provider.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Number
    Id of the site.
    siteSlug String
    Slug of the site.
    status String
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantId Number
    Id of the tenant.
    tenantSlug String
    Slug of the tenant.
    terminationAId Number
    Id of the termination a.
    terminationDate String
    Termination date as YYYY-MM-DD.
    terminationZId Number
    Id of the termination a.
    typeSlug String
    Slug of the circuit type.

    getCircuit Result

    The following output properties are available:

    Cid string
    Circuit id assigned by the provider; unique per provider.
    CircuitProviderAccountId double
    Id of the provider account the circuit is billed to.
    CircuitProviderId double
    Id of the provider the circuit is leased from.
    CircuitTypeId double
    Id of the circuit type.
    Comments string
    CommitRateKbps double
    Committed rate in kbps. Must be a whole number.
    Created string
    CustomFields Dictionary<string, string>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    Description string
    Distance double
    Length of the circuit (requires distance_unit).
    DistanceUnit string
    Unit of distance. One of: km, m, mi, ft.
    Id double
    NetBox id.
    InstallDate string
    Installation date as YYYY-MM-DD.
    LastUpdated string
    OwnerId double
    Id of the owner the object is assigned to.
    Status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    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.
    TenantId double
    Id of the tenant.
    TerminationDate string
    Termination date as YYYY-MM-DD.
    Url string
    CommitRate double
    Commit rate to match.
    Contact double
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole double
    Id of the contact role.
    CustomFieldFilters Dictionary<string, string>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    LocationId double
    Id of the location.
    OwnerGroupId double
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    ProviderAccount string
    Provider account (account).
    ProviderAccountId double
    Id of the provider account.
    ProviderNetworkId double
    Id of the provider network.
    ProviderSlug string
    Slug of the provider.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId double
    Id of the site.
    SiteSlug string
    Slug of the site.
    TagId double
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantSlug string
    Slug of the tenant.
    TerminationAId double
    Id of the termination a.
    TerminationZId double
    Id of the termination a.
    TypeSlug string
    Slug of the circuit type.
    Cid string
    Circuit id assigned by the provider; unique per provider.
    CircuitProviderAccountId float64
    Id of the provider account the circuit is billed to.
    CircuitProviderId float64
    Id of the provider the circuit is leased from.
    CircuitTypeId float64
    Id of the circuit type.
    Comments string
    CommitRateKbps float64
    Committed rate in kbps. Must be a whole number.
    Created string
    CustomFields map[string]string
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    Description string
    Distance float64
    Length of the circuit (requires distance_unit).
    DistanceUnit string
    Unit of distance. One of: km, m, mi, ft.
    Id float64
    NetBox id.
    InstallDate string
    Installation date as YYYY-MM-DD.
    LastUpdated string
    OwnerId float64
    Id of the owner the object is assigned to.
    Status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    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.
    TenantId float64
    Id of the tenant.
    TerminationDate string
    Termination date as YYYY-MM-DD.
    Url string
    CommitRate float64
    Commit rate to match.
    Contact float64
    Id of the contact.
    ContactGroupSlug string
    Slug of the contact group.
    ContactRole float64
    Id of the contact role.
    CustomFieldFilters map[string]string
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    LocationId float64
    Id of the location.
    OwnerGroupId float64
    Id of the owner group.
    OwnerGroupName string
    Name of the owner group.
    OwnerName string
    Name of the owner.
    ProviderAccount string
    Provider account (account).
    ProviderAccountId float64
    Id of the provider account.
    ProviderNetworkId float64
    Id of the provider network.
    ProviderSlug string
    Slug of the provider.
    Q string
    Search term, matched against the fields NetBox searches for this object type.
    RegionId string
    Id of the region.
    RegionSlug string
    Slug of the region.
    SiteGroupId string
    Id of the site group.
    SiteGroupSlug string
    Slug of the site group.
    SiteId float64
    Id of the site.
    SiteSlug string
    Slug of the site.
    TagId float64
    Id of a tag the object carries.
    TagSlug string
    Slug of a tag the object carries.
    TenantGroupId string
    Id of the tenant group.
    TenantGroupSlug string
    Slug of the tenant group.
    TenantSlug string
    Slug of the tenant.
    TerminationAId float64
    Id of the termination a.
    TerminationZId float64
    Id of the termination a.
    TypeSlug string
    Slug of the circuit type.
    cid string
    Circuit id assigned by the provider; unique per provider.
    circuit_provider_account_id number
    Id of the provider account the circuit is billed to.
    circuit_provider_id number
    Id of the provider the circuit is leased from.
    circuit_type_id number
    Id of the circuit type.
    comments string
    commit_rate_kbps number
    Committed rate in kbps. Must be a whole number.
    created string
    custom_fields map(string)
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description string
    distance number
    Length of the circuit (requires distance_unit).
    distance_unit string
    Unit of distance. One of: km, m, mi, ft.
    id number
    NetBox id.
    install_date string
    Installation date as YYYY-MM-DD.
    last_updated string
    owner_id number
    Id of the owner the object is assigned to.
    status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    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.
    tenant_id number
    Id of the tenant.
    termination_date string
    Termination date as YYYY-MM-DD.
    url string
    commit_rate number
    Commit rate to match.
    contact number
    Id of the contact.
    contact_group_slug string
    Slug of the contact group.
    contact_role number
    Id of the contact role.
    custom_field_filters map(string)
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    location_id number
    Id of the location.
    owner_group_id number
    Id of the owner group.
    owner_group_name string
    Name of the owner group.
    owner_name string
    Name of the owner.
    provider_account string
    Provider account (account).
    provider_account_id number
    Id of the provider account.
    provider_network_id number
    Id of the provider network.
    provider_slug string
    Slug of the provider.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    region_id string
    Id of the region.
    region_slug string
    Slug of the region.
    site_group_id string
    Id of the site group.
    site_group_slug string
    Slug of the site group.
    site_id number
    Id of the site.
    site_slug string
    Slug of the site.
    tag_id number
    Id of a tag the object carries.
    tag_slug string
    Slug of a tag the object carries.
    tenant_group_id string
    Id of the tenant group.
    tenant_group_slug string
    Slug of the tenant group.
    tenant_slug string
    Slug of the tenant.
    termination_a_id number
    Id of the termination a.
    termination_z_id number
    Id of the termination a.
    type_slug string
    Slug of the circuit type.
    cid String
    Circuit id assigned by the provider; unique per provider.
    circuitProviderAccountId Double
    Id of the provider account the circuit is billed to.
    circuitProviderId Double
    Id of the provider the circuit is leased from.
    circuitTypeId Double
    Id of the circuit type.
    comments String
    commitRateKbps Double
    Committed rate in kbps. Must be a whole number.
    created String
    customFields Map<String,String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description String
    distance Double
    Length of the circuit (requires distance_unit).
    distanceUnit String
    Unit of distance. One of: km, m, mi, ft.
    id Double
    NetBox id.
    installDate String
    Installation date as YYYY-MM-DD.
    lastUpdated String
    ownerId Double
    Id of the owner the object is assigned to.
    status String
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    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.
    tenantId Double
    Id of the tenant.
    terminationDate String
    Termination date as YYYY-MM-DD.
    url String
    commitRate Double
    Commit rate to match.
    contact Double
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Double
    Id of the contact role.
    customFieldFilters Map<String,String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    locationId Double
    Id of the location.
    ownerGroupId Double
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    providerAccount String
    Provider account (account).
    providerAccountId Double
    Id of the provider account.
    providerNetworkId Double
    Id of the provider network.
    providerSlug String
    Slug of the provider.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Double
    Id of the site.
    siteSlug String
    Slug of the site.
    tagId Double
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantSlug String
    Slug of the tenant.
    terminationAId Double
    Id of the termination a.
    terminationZId Double
    Id of the termination a.
    typeSlug String
    Slug of the circuit type.
    cid string
    Circuit id assigned by the provider; unique per provider.
    circuitProviderAccountId number
    Id of the provider account the circuit is billed to.
    circuitProviderId number
    Id of the provider the circuit is leased from.
    circuitTypeId number
    Id of the circuit type.
    comments string
    commitRateKbps number
    Committed rate in kbps. Must be a whole number.
    created string
    customFields {[key: string]: string}
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description string
    distance number
    Length of the circuit (requires distance_unit).
    distanceUnit string
    Unit of distance. One of: km, m, mi, ft.
    id number
    NetBox id.
    installDate string
    Installation date as YYYY-MM-DD.
    lastUpdated string
    ownerId number
    Id of the owner the object is assigned to.
    status string
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    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.
    tenantId number
    Id of the tenant.
    terminationDate string
    Termination date as YYYY-MM-DD.
    url string
    commitRate number
    Commit rate to match.
    contact number
    Id of the contact.
    contactGroupSlug string
    Slug of the contact group.
    contactRole number
    Id of the contact role.
    customFieldFilters {[key: string]: string}
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    locationId number
    Id of the location.
    ownerGroupId number
    Id of the owner group.
    ownerGroupName string
    Name of the owner group.
    ownerName string
    Name of the owner.
    providerAccount string
    Provider account (account).
    providerAccountId number
    Id of the provider account.
    providerNetworkId number
    Id of the provider network.
    providerSlug string
    Slug of the provider.
    q string
    Search term, matched against the fields NetBox searches for this object type.
    regionId string
    Id of the region.
    regionSlug string
    Slug of the region.
    siteGroupId string
    Id of the site group.
    siteGroupSlug string
    Slug of the site group.
    siteId number
    Id of the site.
    siteSlug string
    Slug of the site.
    tagId number
    Id of a tag the object carries.
    tagSlug string
    Slug of a tag the object carries.
    tenantGroupId string
    Id of the tenant group.
    tenantGroupSlug string
    Slug of the tenant group.
    tenantSlug string
    Slug of the tenant.
    terminationAId number
    Id of the termination a.
    terminationZId number
    Id of the termination a.
    typeSlug string
    Slug of the circuit type.
    cid str
    Circuit id assigned by the provider; unique per provider.
    circuit_provider_account_id float
    Id of the provider account the circuit is billed to.
    circuit_provider_id float
    Id of the provider the circuit is leased from.
    circuit_type_id float
    Id of the circuit type.
    comments str
    commit_rate_kbps float
    Committed rate in kbps. Must be a whole number.
    created str
    custom_fields Mapping[str, str]
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description str
    distance float
    Length of the circuit (requires distance_unit).
    distance_unit str
    Unit of distance. One of: km, m, mi, ft.
    id float
    NetBox id.
    install_date str
    Installation date as YYYY-MM-DD.
    last_updated str
    owner_id float
    Id of the owner the object is assigned to.
    status str
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    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.
    tenant_id float
    Id of the tenant.
    termination_date str
    Termination date as YYYY-MM-DD.
    url str
    commit_rate float
    Commit rate to match.
    contact float
    Id of the contact.
    contact_group_slug str
    Slug of the contact group.
    contact_role float
    Id of the contact role.
    custom_field_filters Mapping[str, str]
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    location_id float
    Id of the location.
    owner_group_id float
    Id of the owner group.
    owner_group_name str
    Name of the owner group.
    owner_name str
    Name of the owner.
    provider_account str
    Provider account (account).
    provider_account_id float
    Id of the provider account.
    provider_network_id float
    Id of the provider network.
    provider_slug str
    Slug of the provider.
    q str
    Search term, matched against the fields NetBox searches for this object type.
    region_id str
    Id of the region.
    region_slug str
    Slug of the region.
    site_group_id str
    Id of the site group.
    site_group_slug str
    Slug of the site group.
    site_id float
    Id of the site.
    site_slug str
    Slug of the site.
    tag_id float
    Id of a tag the object carries.
    tag_slug str
    Slug of a tag the object carries.
    tenant_group_id str
    Id of the tenant group.
    tenant_group_slug str
    Slug of the tenant group.
    tenant_slug str
    Slug of the tenant.
    termination_a_id float
    Id of the termination a.
    termination_z_id float
    Id of the termination a.
    type_slug str
    Slug of the circuit type.
    cid String
    Circuit id assigned by the provider; unique per provider.
    circuitProviderAccountId Number
    Id of the provider account the circuit is billed to.
    circuitProviderId Number
    Id of the provider the circuit is leased from.
    circuitTypeId Number
    Id of the circuit type.
    comments String
    commitRateKbps Number
    Committed rate in kbps. Must be a whole number.
    created String
    customFields Map<String>
    Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
    description String
    distance Number
    Length of the circuit (requires distance_unit).
    distanceUnit String
    Unit of distance. One of: km, m, mi, ft.
    id Number
    NetBox id.
    installDate String
    Installation date as YYYY-MM-DD.
    lastUpdated String
    ownerId Number
    Id of the owner the object is assigned to.
    status String
    Operational status. One of: planned, provisioning, active, offline, deprovisioning, decommissioned.
    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.
    tenantId Number
    Id of the tenant.
    terminationDate String
    Termination date as YYYY-MM-DD.
    url String
    commitRate Number
    Commit rate to match.
    contact Number
    Id of the contact.
    contactGroupSlug String
    Slug of the contact group.
    contactRole Number
    Id of the contact role.
    customFieldFilters Map<String>
    Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
    locationId Number
    Id of the location.
    ownerGroupId Number
    Id of the owner group.
    ownerGroupName String
    Name of the owner group.
    ownerName String
    Name of the owner.
    providerAccount String
    Provider account (account).
    providerAccountId Number
    Id of the provider account.
    providerNetworkId Number
    Id of the provider network.
    providerSlug String
    Slug of the provider.
    q String
    Search term, matched against the fields NetBox searches for this object type.
    regionId String
    Id of the region.
    regionSlug String
    Slug of the region.
    siteGroupId String
    Id of the site group.
    siteGroupSlug String
    Slug of the site group.
    siteId Number
    Id of the site.
    siteSlug String
    Slug of the site.
    tagId Number
    Id of a tag the object carries.
    tagSlug String
    Slug of a tag the object carries.
    tenantGroupId String
    Id of the tenant group.
    tenantGroupSlug String
    Slug of the tenant group.
    tenantSlug String
    Slug of the tenant.
    terminationAId Number
    Id of the termination a.
    terminationZId Number
    Id of the termination a.
    typeSlug String
    Slug of the circuit type.

    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