Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
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
published on Wednesday, Nov 4, 2026 by e-breuninger
Lists virtual_circuit_type objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getVirtualCircuitTypes({
filters: [{
name: "name",
value: "test-virtual_circuit_type",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_virtual_circuit_types(filters=[{
"name": "name",
"value": "test-virtual_circuit_type",
}])
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.GetVirtualCircuitTypes(ctx, &netbox.GetVirtualCircuitTypesArgs{
Filters: []netbox.GetVirtualCircuitTypesFilter{
{
Name: "name",
Value: "test-virtual_circuit_type",
},
},
}, 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.GetVirtualCircuitTypes.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetVirtualCircuitTypesFilterInputArgs
{
Name = "name",
Value = "test-virtual_circuit_type",
},
},
});
});
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.GetVirtualCircuitTypesArgs;
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.getVirtualCircuitTypes(GetVirtualCircuitTypesArgs.builder()
.filters(GetVirtualCircuitTypesFilterArgs.builder()
.name("name")
.value("test-virtual_circuit_type")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getVirtualCircuitTypes
arguments:
filters:
- name: name
value: test-virtual_circuit_type
Example coming soon!
Using getVirtualCircuitTypes
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 getVirtualCircuitTypes(args: GetVirtualCircuitTypesArgs, opts?: InvokeOptions): Promise<GetVirtualCircuitTypesResult>
function getVirtualCircuitTypesOutput(args: GetVirtualCircuitTypesOutputArgs, opts?: InvokeOutputOptions): Output<GetVirtualCircuitTypesResult>def get_virtual_circuit_types(filters: Optional[Sequence[GetVirtualCircuitTypesFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualCircuitTypesResult
def get_virtual_circuit_types_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetVirtualCircuitTypesFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVirtualCircuitTypesResult]func GetVirtualCircuitTypes(ctx *Context, args *GetVirtualCircuitTypesArgs, opts ...InvokeOption) (*GetVirtualCircuitTypesResult, error)
func GetVirtualCircuitTypesOutput(ctx *Context, args *GetVirtualCircuitTypesOutputArgs, opts ...InvokeOption) GetVirtualCircuitTypesResultOutput> Note: This function is named GetVirtualCircuitTypes in the Go SDK.
public static class GetVirtualCircuitTypes
{
public static Task<GetVirtualCircuitTypesResult> InvokeAsync(GetVirtualCircuitTypesArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualCircuitTypesResult> Invoke(GetVirtualCircuitTypesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualCircuitTypesResult> Invoke(GetVirtualCircuitTypesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVirtualCircuitTypesResult> getVirtualCircuitTypes(GetVirtualCircuitTypesArgs args, InvokeOptions options)
public static Output<GetVirtualCircuitTypesResult> getVirtualCircuitTypes(GetVirtualCircuitTypesArgs args, InvokeOptions options)
public static Output<GetVirtualCircuitTypesResult> getVirtualCircuitTypes(GetVirtualCircuitTypesArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getVirtualCircuitTypes:getVirtualCircuitTypes
arguments:
# arguments dictionarydata "netbox_get_virtual_circuit_types" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Virtual Circuit Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- Filters
[]Get
Virtual Circuit Types Filter - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit float64
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
List<Get
Virtual Circuit Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
Get
Virtual Circuit Types Filter[] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
Sequence[Get
Virtual Circuit Types Filter] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit float
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
getVirtualCircuitTypes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Circuit List<GetTypes Virtual Circuit Types Virtual Circuit Type> - The matching virtualcircuittypes.
- Filters
List<Get
Virtual Circuit Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Circuit []GetTypes Virtual Circuit Types Virtual Circuit Type - The matching virtualcircuittypes.
- Filters
[]Get
Virtual Circuit Types Filter - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit float64
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id string
- The provider-assigned unique ID for this managed resource.
- virtual_
circuit_ list(object)types - The matching virtualcircuittypes.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id String
- The provider-assigned unique ID for this managed resource.
- virtual
Circuit List<GetTypes Virtual Circuit Types Virtual Circuit Type> - The matching virtualcircuittypes.
- filters
List<Get
Virtual Circuit Types Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id string
- The provider-assigned unique ID for this managed resource.
- virtual
Circuit GetTypes Virtual Circuit Types Virtual Circuit Type[] - The matching virtualcircuittypes.
- filters
Get
Virtual Circuit Types Filter[] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id str
- The provider-assigned unique ID for this managed resource.
- virtual_
circuit_ Sequence[Gettypes Virtual Circuit Types Virtual Circuit Type] - The matching virtualcircuittypes.
- filters
Sequence[Get
Virtual Circuit Types Filter] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit float
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id String
- The provider-assigned unique ID for this managed resource.
- virtual
Circuit List<Property Map>Types - The matching virtualcircuittypes.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, slug, slugempty, slugic, slugie, slugiew, slugiregex, slugisw, slugn, slugnic, slugnie, slugniew, slugnisw, slugregex, tag, tagany, tag_*n. Repeating a name sends that parameter once per value. Custom fields filter as cf*\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
Supporting Types
GetVirtualCircuitTypesFilter
GetVirtualCircuitTypesVirtualCircuitType
- Color
Hex string - RGB color in hex (e.g. ff0000).
- Comments string
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Id double
- NetBox id.
- Last
Updated string - Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Slug string
- URL-friendly unique shorthand; derived from name when not set.
- 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
- Virtual
Circuit doubleCount - Number of virtual circuits of the type.
- Color
Hex string - RGB color in hex (e.g. ff0000).
- Comments string
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Id float64
- NetBox id.
- Last
Updated string - Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Slug string
- URL-friendly unique shorthand; derived from name when not set.
- []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
- Virtual
Circuit float64Count - Number of virtual circuits of the type.
- color_
hex string - RGB color in hex (e.g. ff0000).
- comments string
- 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
- id number
- NetBox id.
- last_
updated string - name string
- owner_
id number - Id of the owner the object is assigned to.
- slug string
- URL-friendly unique shorthand; derived from name when not set.
- 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
- virtual_
circuit_ numbercount - Number of virtual circuits of the type.
- color
Hex String - RGB color in hex (e.g. ff0000).
- comments String
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- id Double
- NetBox id.
- last
Updated String - name String
- owner
Id Double - Id of the owner the object is assigned to.
- slug String
- URL-friendly unique shorthand; derived from name when not set.
- 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
- virtual
Circuit DoubleCount - Number of virtual circuits of the type.
- color
Hex string - RGB color in hex (e.g. ff0000).
- comments string
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- id number
- NetBox id.
- last
Updated string - name string
- owner
Id number - Id of the owner the object is assigned to.
- slug string
- URL-friendly unique shorthand; derived from name when not set.
- 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
- virtual
Circuit numberCount - Number of virtual circuits of the type.
- color_
hex str - RGB color in hex (e.g. ff0000).
- comments str
- 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
- id float
- NetBox id.
- last_
updated str - name str
- owner_
id float - Id of the owner the object is assigned to.
- slug str
- URL-friendly unique shorthand; derived from name when not set.
- 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
- virtual_
circuit_ floatcount - Number of virtual circuits of the type.
- color
Hex String - RGB color in hex (e.g. ff0000).
- comments String
- 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
- id Number
- NetBox id.
- last
Updated String - name String
- owner
Id Number - Id of the owner the object is assigned to.
- slug String
- URL-friendly unique shorthand; derived from name when not set.
- 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
- virtual
Circuit NumberCount - Number of virtual circuits of the type.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger