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_chassis objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getVirtualChassisList({
filters: [{
name: "name",
value: "test-virtual_chassis",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_virtual_chassis_list(filters=[{
"name": "name",
"value": "test-virtual_chassis",
}])
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.GetVirtualChassisList(ctx, &netbox.GetVirtualChassisListArgs{
Filters: []netbox.GetVirtualChassisListFilter{
{
Name: "name",
Value: "test-virtual_chassis",
},
},
}, 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.GetVirtualChassisList.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetVirtualChassisListFilterInputArgs
{
Name = "name",
Value = "test-virtual_chassis",
},
},
});
});
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.GetVirtualChassisListArgs;
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.getVirtualChassisList(GetVirtualChassisListArgs.builder()
.filters(GetVirtualChassisListFilterArgs.builder()
.name("name")
.value("test-virtual_chassis")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getVirtualChassisList
arguments:
filters:
- name: name
value: test-virtual_chassis
Example coming soon!
Using getVirtualChassisList
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 getVirtualChassisList(args: GetVirtualChassisListArgs, opts?: InvokeOptions): Promise<GetVirtualChassisListResult>
function getVirtualChassisListOutput(args: GetVirtualChassisListOutputArgs, opts?: InvokeOutputOptions): Output<GetVirtualChassisListResult>def get_virtual_chassis_list(filters: Optional[Sequence[GetVirtualChassisListFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualChassisListResult
def get_virtual_chassis_list_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetVirtualChassisListFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVirtualChassisListResult]func GetVirtualChassisList(ctx *Context, args *GetVirtualChassisListArgs, opts ...InvokeOption) (*GetVirtualChassisListResult, error)
func GetVirtualChassisListOutput(ctx *Context, args *GetVirtualChassisListOutputArgs, opts ...InvokeOption) GetVirtualChassisListResultOutput> Note: This function is named GetVirtualChassisList in the Go SDK.
public static class GetVirtualChassisList
{
public static Task<GetVirtualChassisListResult> InvokeAsync(GetVirtualChassisListArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualChassisListResult> Invoke(GetVirtualChassisListInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualChassisListResult> Invoke(GetVirtualChassisListInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVirtualChassisListResult> getVirtualChassisList(GetVirtualChassisListArgs args, InvokeOptions options)
public static Output<GetVirtualChassisListResult> getVirtualChassisList(GetVirtualChassisListArgs args, InvokeOptions options)
public static Output<GetVirtualChassisListResult> getVirtualChassisList(GetVirtualChassisListArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getVirtualChassisList:getVirtualChassisList
arguments:
# arguments dictionarydata "netbox_get_virtual_chassis_list" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Virtual Chassis List Filter> - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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 Chassis List Filter - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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 Chassis List Filter> - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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 Chassis List Filter[] - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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 Chassis List Filter] - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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.
getVirtualChassisList Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Virtual
Chassis List<GetLists Virtual Chassis List Virtual Chassis List> - The matching virtualchassislist.
- Filters
List<Get
Virtual Chassis List Filter> - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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
Chassis []GetLists Virtual Chassis List Virtual Chassis List - The matching virtualchassislist.
- Filters
[]Get
Virtual Chassis List Filter - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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_
chassis_ list(object)lists - The matching virtualchassislist.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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
Chassis List<GetLists Virtual Chassis List Virtual Chassis List> - The matching virtualchassislist.
- filters
List<Get
Virtual Chassis List Filter> - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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
Chassis GetLists Virtual Chassis List Virtual Chassis List[] - The matching virtualchassislist.
- filters
Get
Virtual Chassis List Filter[] - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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_
chassis_ Sequence[Getlists Virtual Chassis List Virtual Chassis List] - The matching virtualchassislist.
- filters
Sequence[Get
Virtual Chassis List Filter] - Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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
Chassis List<Property Map>Lists - The matching virtualchassislist.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: domain, domainempty, domainic, domainie, domainiew, domainiregex, domainisw, domainn, domainnic, domainnie, domainniew, domainnisw, domainregex, id, idempty, idgt, idgte, idlt, idlte, idn, masterid, masteridn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tagn. 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
GetVirtualChassisListFilter
GetVirtualChassisListVirtualChassisList
- 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
- Domain string
- Id double
- NetBox id.
- Last
Updated string - Master
Id double - Id of the device acting as chassis master.
- Member
Count double - Number of members of the virtual chassis.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- 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
- 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
- Domain string
- Id float64
- NetBox id.
- Last
Updated string - Master
Id float64 - Id of the device acting as chassis master.
- Member
Count float64 - Number of members of the virtual chassis.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- []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
- 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
- domain string
- id number
- NetBox id.
- last_
updated string - master_
id number - Id of the device acting as chassis master.
- member_
count number - Number of members of the virtual chassis.
- name string
- owner_
id number - Id of the owner the object is assigned to.
- 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
- 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
- domain String
- id Double
- NetBox id.
- last
Updated String - master
Id Double - Id of the device acting as chassis master.
- member
Count Double - Number of members of the virtual chassis.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- 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
- 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
- domain string
- id number
- NetBox id.
- last
Updated string - master
Id number - Id of the device acting as chassis master.
- member
Count number - Number of members of the virtual chassis.
- name string
- owner
Id number - Id of the owner the object is assigned to.
- 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
- 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
- domain str
- id float
- NetBox id.
- last_
updated str - master_
id float - Id of the device acting as chassis master.
- member_
count float - Number of members of the virtual chassis.
- name str
- owner_
id float - Id of the owner the object is assigned to.
- 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
- 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
- domain String
- id Number
- NetBox id.
- last
Updated String - master
Id Number - Id of the device acting as chassis master.
- member
Count Number - Number of members of the virtual chassis.
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- 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
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