Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger
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
published on Monday, Nov 16, 2026 by e-breuninger
Lists data_source objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getDataSources({
filters: [{
name: "name",
value: "test-data_source",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_data_sources(filters=[{
"name": "name",
"value": "test-data_source",
}])
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.GetDataSources(ctx, &netbox.GetDataSourcesArgs{
Filters: []netbox.GetDataSourcesFilter{
{
Name: "name",
Value: "test-data_source",
},
},
}, 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.GetDataSources.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetDataSourcesFilterInputArgs
{
Name = "name",
Value = "test-data_source",
},
},
});
});
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.GetDataSourcesArgs;
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.getDataSources(GetDataSourcesArgs.builder()
.filters(GetDataSourcesFilterArgs.builder()
.name("name")
.value("test-data_source")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getDataSources
arguments:
filters:
- name: name
value: test-data_source
Example coming soon!
Using getDataSources
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 getDataSources(args: GetDataSourcesArgs, opts?: InvokeOptions): Promise<GetDataSourcesResult>
function getDataSourcesOutput(args: GetDataSourcesOutputArgs, opts?: InvokeOutputOptions): Output<GetDataSourcesResult>def get_data_sources(filters: Optional[Sequence[GetDataSourcesFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetDataSourcesResult
def get_data_sources_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDataSourcesFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDataSourcesResult]func GetDataSources(ctx *Context, args *GetDataSourcesArgs, opts ...InvokeOption) (*GetDataSourcesResult, error)
func GetDataSourcesOutput(ctx *Context, args *GetDataSourcesOutputArgs, opts ...InvokeOption) GetDataSourcesResultOutput> Note: This function is named GetDataSources in the Go SDK.
public static class GetDataSources
{
public static Task<GetDataSourcesResult> InvokeAsync(GetDataSourcesArgs args, InvokeOptions? opts = null)
public static Output<GetDataSourcesResult> Invoke(GetDataSourcesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDataSourcesResult> Invoke(GetDataSourcesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDataSourcesResult> getDataSources(GetDataSourcesArgs args, InvokeOptions options)
public static Output<GetDataSourcesResult> getDataSources(GetDataSourcesArgs args, InvokeOptions options)
public static Output<GetDataSourcesResult> getDataSources(GetDataSourcesArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getDataSources:getDataSources
arguments:
# arguments dictionarydata "netbox_get_data_sources" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Data Sources Filter> - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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
Data Sources Filter - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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
Data Sources Filter> - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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
Data Sources Filter[] - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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
Data Sources Filter] - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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.
getDataSources Result
The following output properties are available:
- Data
Sources List<GetData Sources Data Source> - The matching data*sources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Data Sources Filter> - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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.
- Data
Sources []GetData Sources Data Source - The matching data*sources.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Data Sources Filter - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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.
- data_
sources list(object) - The matching data*sources.
- id string
- The provider-assigned unique ID for this managed resource.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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.
- data
Sources List<GetData Sources Data Source> - The matching data*sources.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Data Sources Filter> - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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.
- data
Sources GetData Sources Data Source[] - The matching data*sources.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Data Sources Filter[] - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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.
- data_
sources Sequence[GetData Sources Data Source] - The matching data*sources.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Data Sources Filter] - Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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.
- data
Sources List<Property Map> - The matching data*sources.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, enabled, id, idempty, idgt, idgte, idlt, idlte, idn, lastsynced, lastsyncedempty, last_syncedgt, last_syncedgte, last_syncedlt, last_syncedlte, last_syncedn, lastupdated, lastupdatedempty, last_updatedgt, last_updatedgte, last_updatedlt, last_updatedlte, last_updatedn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, owner, ownern, ownergroup, ownergroupn, ownergroupid, ownergroupidn, ownerid, owneridn, q, sourceurl, sourceurlempty, source_urlic, source_urlie, source_urliew, source_urliregex, source_urlisw, source_urln, source_urlnic, source_urlnie, source_urlniew, source_urlnisw, source_urlregex, status, statusempty, statusic, statusie, statusiew, statusiregex, statusisw, statusn, statusnic, statusnie, statusniew, statusnisw, statusregex, syncinterval, syncintervalic, sync_intervalie, sync_intervaliew, sync_intervaliregex, sync_intervalisw, sync_intervaln, sync_intervalnic, sync_intervalnie, sync_intervalniew, sync_intervalnisw, sync_intervalregex, tag, tagany, tagn, tagid, tagidany, tag_idn, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type_*regex. 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
GetDataSourcesDataSource
- 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
- Enabled bool
- Whether NetBox synchronises from this source.
- File
Count double - Number of files synced from the data source.
- Id double
- NetBox id.
- Ignore
Rules string - Newline-separated glob patterns of files to ignore when synchronising.
- Last
Synced string - When NetBox last synchronised the source.
- Last
Updated string - Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Parameters string
- Backend-specific parameters as JSON text (use jsonencode()).
- Source
Url string - URL or path of the source.
- Status string
- Synchronisation status reported by NetBox.
- Sync
Interval double - Automatic synchronisation interval in minutes. One of: 1, 60, 720, 1440, 10080, 43200.
- Type string
- Kind of backing store. One of: local, git, amazon-s3.
- 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
- Enabled bool
- Whether NetBox synchronises from this source.
- File
Count float64 - Number of files synced from the data source.
- Id float64
- NetBox id.
- Ignore
Rules string - Newline-separated glob patterns of files to ignore when synchronising.
- Last
Synced string - When NetBox last synchronised the source.
- Last
Updated string - Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Parameters string
- Backend-specific parameters as JSON text (use jsonencode()).
- Source
Url string - URL or path of the source.
- Status string
- Synchronisation status reported by NetBox.
- Sync
Interval float64 - Automatic synchronisation interval in minutes. One of: 1, 60, 720, 1440, 10080, 43200.
- Type string
- Kind of backing store. One of: local, git, amazon-s3.
- 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
- enabled bool
- Whether NetBox synchronises from this source.
- file_
count number - Number of files synced from the data source.
- id number
- NetBox id.
- ignore_
rules string - Newline-separated glob patterns of files to ignore when synchronising.
- last_
synced string - When NetBox last synchronised the source.
- last_
updated string - name string
- owner_
id number - Id of the owner the object is assigned to.
- parameters string
- Backend-specific parameters as JSON text (use jsonencode()).
- source_
url string - URL or path of the source.
- status string
- Synchronisation status reported by NetBox.
- sync_
interval number - Automatic synchronisation interval in minutes. One of: 1, 60, 720, 1440, 10080, 43200.
- type string
- Kind of backing store. One of: local, git, amazon-s3.
- 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
- enabled Boolean
- Whether NetBox synchronises from this source.
- file
Count Double - Number of files synced from the data source.
- id Double
- NetBox id.
- ignore
Rules String - Newline-separated glob patterns of files to ignore when synchronising.
- last
Synced String - When NetBox last synchronised the source.
- last
Updated String - name String
- owner
Id Double - Id of the owner the object is assigned to.
- parameters String
- Backend-specific parameters as JSON text (use jsonencode()).
- source
Url String - URL or path of the source.
- status String
- Synchronisation status reported by NetBox.
- sync
Interval Double - Automatic synchronisation interval in minutes. One of: 1, 60, 720, 1440, 10080, 43200.
- type String
- Kind of backing store. One of: local, git, amazon-s3.
- 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
- enabled boolean
- Whether NetBox synchronises from this source.
- file
Count number - Number of files synced from the data source.
- id number
- NetBox id.
- ignore
Rules string - Newline-separated glob patterns of files to ignore when synchronising.
- last
Synced string - When NetBox last synchronised the source.
- last
Updated string - name string
- owner
Id number - Id of the owner the object is assigned to.
- parameters string
- Backend-specific parameters as JSON text (use jsonencode()).
- source
Url string - URL or path of the source.
- status string
- Synchronisation status reported by NetBox.
- sync
Interval number - Automatic synchronisation interval in minutes. One of: 1, 60, 720, 1440, 10080, 43200.
- type string
- Kind of backing store. One of: local, git, amazon-s3.
- 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
- enabled bool
- Whether NetBox synchronises from this source.
- file_
count float - Number of files synced from the data source.
- id float
- NetBox id.
- ignore_
rules str - Newline-separated glob patterns of files to ignore when synchronising.
- last_
synced str - When NetBox last synchronised the source.
- last_
updated str - name str
- owner_
id float - Id of the owner the object is assigned to.
- parameters str
- Backend-specific parameters as JSON text (use jsonencode()).
- source_
url str - URL or path of the source.
- status str
- Synchronisation status reported by NetBox.
- sync_
interval float - Automatic synchronisation interval in minutes. One of: 1, 60, 720, 1440, 10080, 43200.
- type str
- Kind of backing store. One of: local, git, amazon-s3.
- 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
- enabled Boolean
- Whether NetBox synchronises from this source.
- file
Count Number - Number of files synced from the data source.
- id Number
- NetBox id.
- ignore
Rules String - Newline-separated glob patterns of files to ignore when synchronising.
- last
Synced String - When NetBox last synchronised the source.
- last
Updated String - name String
- owner
Id Number - Id of the owner the object is assigned to.
- parameters String
- Backend-specific parameters as JSON text (use jsonencode()).
- source
Url String - URL or path of the source.
- status String
- Synchronisation status reported by NetBox.
- sync
Interval Number - Automatic synchronisation interval in minutes. One of: 1, 60, 720, 1440, 10080, 43200.
- type String
- Kind of backing store. One of: local, git, amazon-s3.
- url String
GetDataSourcesFilter
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.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger