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 config_context objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getConfigContexts({
filters: [{
name: "name",
value: "test-config_context",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_config_contexts(filters=[{
"name": "name",
"value": "test-config_context",
}])
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.GetConfigContexts(ctx, &netbox.GetConfigContextsArgs{
Filters: []netbox.GetConfigContextsFilter{
{
Name: "name",
Value: "test-config_context",
},
},
}, 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.GetConfigContexts.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetConfigContextsFilterInputArgs
{
Name = "name",
Value = "test-config_context",
},
},
});
});
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.GetConfigContextsArgs;
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.getConfigContexts(GetConfigContextsArgs.builder()
.filters(GetConfigContextsFilterArgs.builder()
.name("name")
.value("test-config_context")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getConfigContexts
arguments:
filters:
- name: name
value: test-config_context
Example coming soon!
Using getConfigContexts
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 getConfigContexts(args: GetConfigContextsArgs, opts?: InvokeOptions): Promise<GetConfigContextsResult>
function getConfigContextsOutput(args: GetConfigContextsOutputArgs, opts?: InvokeOutputOptions): Output<GetConfigContextsResult>def get_config_contexts(filters: Optional[Sequence[GetConfigContextsFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetConfigContextsResult
def get_config_contexts_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetConfigContextsFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetConfigContextsResult]func GetConfigContexts(ctx *Context, args *GetConfigContextsArgs, opts ...InvokeOption) (*GetConfigContextsResult, error)
func GetConfigContextsOutput(ctx *Context, args *GetConfigContextsOutputArgs, opts ...InvokeOption) GetConfigContextsResultOutput> Note: This function is named GetConfigContexts in the Go SDK.
public static class GetConfigContexts
{
public static Task<GetConfigContextsResult> InvokeAsync(GetConfigContextsArgs args, InvokeOptions? opts = null)
public static Output<GetConfigContextsResult> Invoke(GetConfigContextsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetConfigContextsResult> Invoke(GetConfigContextsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetConfigContextsResult> getConfigContexts(GetConfigContextsArgs args, InvokeOptions options)
public static Output<GetConfigContextsResult> getConfigContexts(GetConfigContextsArgs args, InvokeOptions options)
public static Output<GetConfigContextsResult> getConfigContexts(GetConfigContextsArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getConfigContexts:getConfigContexts
arguments:
# arguments dictionarydata "netbox_get_config_contexts" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Config Contexts Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- Limit double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- Filters
[]Get
Config Contexts Filter - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- 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, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
List<Get
Config Contexts Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit Double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
Get
Config Contexts Filter[] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- filters
Sequence[Get
Config Contexts Filter] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- 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, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit Number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
getConfigContexts Result
The following output properties are available:
- Config
Contexts List<GetConfig Contexts Config Context> - The matching config*contexts.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Config Contexts Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- Limit double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- Config
Contexts []GetConfig Contexts Config Context - The matching config*contexts.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Config Contexts Filter - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- Limit float64
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- config_
contexts list(object) - The matching config*contexts.
- id string
- The provider-assigned unique ID for this managed resource.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- config
Contexts List<GetConfig Contexts Config Context> - The matching config*contexts.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Config Contexts Filter> - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit Double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- config
Contexts GetConfig Contexts Config Context[] - The matching config*contexts.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Config Contexts Filter[] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- config_
contexts Sequence[GetConfig Contexts Config Context] - The matching config*contexts.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Config Contexts Filter] - Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit float
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- config
Contexts List<Property Map> - The matching config*contexts.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, is_active, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, ownerid__n. Repeating a name sends that parameter once per value.
- limit Number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
Supporting Types
GetConfigContextsConfigContext
- Cluster
Group List<double>Ids - Ids of the cluster groups the context applies to; empty means all.
- Cluster
Groups List<double> - Deprecated alias of clustergroupids.
- Cluster
Ids List<double> - Ids of the clusters the context applies to; empty means all.
- Cluster
Type List<double>Ids - Ids of the cluster types the context applies to; empty means all.
- Cluster
Types List<double> - Deprecated alias of clustertypeids.
- Clusters List<double>
- Deprecated alias of cluster_ids.
- Created string
- Data string
- The context data as JSON text (use jsonencode()).
- Description string
- Device
Role List<double>Ids - Ids of the device roles the context applies to; empty means all.
- Device
Type List<double>Ids - Ids of the device types the context applies to; empty means all.
- Device
Types List<double> - Deprecated alias of devicetypeids.
- Id double
- NetBox id.
- Is
Active bool - Whether the context is applied.
- Last
Updated string - Location
Ids List<double> - Ids of the locations the context applies to; empty means all.
- Locations List<double>
- Deprecated alias of location_ids.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Platform
Ids List<double> - Ids of the platforms the context applies to; empty means all.
- Platforms List<double>
- Deprecated alias of platform_ids.
- Profile
Id double - Id of the config context profile whose schema the data must satisfy.
- Region
Ids List<double> - Ids of the regions the context applies to; empty means all.
- Regions List<double>
- Deprecated alias of region_ids.
- Roles List<double>
- Deprecated alias of deviceroleids.
- Site
Group List<double>Ids - Ids of the site groups the context applies to; empty means all.
- Site
Groups List<double> - Deprecated alias of sitegroupids.
- Site
Ids List<double> - Ids of the sites the context applies to; empty means all.
- Sites List<double>
- Deprecated alias of site_ids.
- List<string>
- Slugs of the tags an object must carry for the context to apply; empty means any. This is a scope, not the context's own tags.
- Tenant
Group List<double>Ids - Ids of the tenant groups the context applies to; empty means all.
- Tenant
Groups List<double> - Deprecated alias of tenantgroupids.
- Tenant
Ids List<double> - Ids of the tenants the context applies to; empty means all.
- Tenants List<double>
- Deprecated alias of tenant_ids.
- Url string
- Weight double
- Merge order; higher weights are applied later and win. Must be a whole number.
- Cluster
Group []float64Ids - Ids of the cluster groups the context applies to; empty means all.
- Cluster
Groups []float64 - Deprecated alias of clustergroupids.
- Cluster
Ids []float64 - Ids of the clusters the context applies to; empty means all.
- Cluster
Type []float64Ids - Ids of the cluster types the context applies to; empty means all.
- Cluster
Types []float64 - Deprecated alias of clustertypeids.
- Clusters []float64
- Deprecated alias of cluster_ids.
- Created string
- Data string
- The context data as JSON text (use jsonencode()).
- Description string
- Device
Role []float64Ids - Ids of the device roles the context applies to; empty means all.
- Device
Type []float64Ids - Ids of the device types the context applies to; empty means all.
- Device
Types []float64 - Deprecated alias of devicetypeids.
- Id float64
- NetBox id.
- Is
Active bool - Whether the context is applied.
- Last
Updated string - Location
Ids []float64 - Ids of the locations the context applies to; empty means all.
- Locations []float64
- Deprecated alias of location_ids.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Platform
Ids []float64 - Ids of the platforms the context applies to; empty means all.
- Platforms []float64
- Deprecated alias of platform_ids.
- Profile
Id float64 - Id of the config context profile whose schema the data must satisfy.
- Region
Ids []float64 - Ids of the regions the context applies to; empty means all.
- Regions []float64
- Deprecated alias of region_ids.
- Roles []float64
- Deprecated alias of deviceroleids.
- Site
Group []float64Ids - Ids of the site groups the context applies to; empty means all.
- Site
Groups []float64 - Deprecated alias of sitegroupids.
- Site
Ids []float64 - Ids of the sites the context applies to; empty means all.
- Sites []float64
- Deprecated alias of site_ids.
- []string
- Slugs of the tags an object must carry for the context to apply; empty means any. This is a scope, not the context's own tags.
- Tenant
Group []float64Ids - Ids of the tenant groups the context applies to; empty means all.
- Tenant
Groups []float64 - Deprecated alias of tenantgroupids.
- Tenant
Ids []float64 - Ids of the tenants the context applies to; empty means all.
- Tenants []float64
- Deprecated alias of tenant_ids.
- Url string
- Weight float64
- Merge order; higher weights are applied later and win. Must be a whole number.
- cluster_
group_ list(number)ids - Ids of the cluster groups the context applies to; empty means all.
- cluster_
groups list(number) - Deprecated alias of clustergroupids.
- cluster_
ids list(number) - Ids of the clusters the context applies to; empty means all.
- cluster_
type_ list(number)ids - Ids of the cluster types the context applies to; empty means all.
- cluster_
types list(number) - Deprecated alias of clustertypeids.
- clusters list(number)
- Deprecated alias of cluster_ids.
- created string
- data string
- The context data as JSON text (use jsonencode()).
- description string
- device_
role_ list(number)ids - Ids of the device roles the context applies to; empty means all.
- device_
type_ list(number)ids - Ids of the device types the context applies to; empty means all.
- device_
types list(number) - Deprecated alias of devicetypeids.
- id number
- NetBox id.
- is_
active bool - Whether the context is applied.
- last_
updated string - location_
ids list(number) - Ids of the locations the context applies to; empty means all.
- locations list(number)
- Deprecated alias of location_ids.
- name string
- owner_
id number - Id of the owner the object is assigned to.
- platform_
ids list(number) - Ids of the platforms the context applies to; empty means all.
- platforms list(number)
- Deprecated alias of platform_ids.
- profile_
id number - Id of the config context profile whose schema the data must satisfy.
- region_
ids list(number) - Ids of the regions the context applies to; empty means all.
- regions list(number)
- Deprecated alias of region_ids.
- roles list(number)
- Deprecated alias of deviceroleids.
- site_
group_ list(number)ids - Ids of the site groups the context applies to; empty means all.
- site_
groups list(number) - Deprecated alias of sitegroupids.
- site_
ids list(number) - Ids of the sites the context applies to; empty means all.
- sites list(number)
- Deprecated alias of site_ids.
- tag_
slugs list(string) - Slugs of the tags an object must carry for the context to apply; empty means any. This is a scope, not the context's own tags.
- tenant_
group_ list(number)ids - Ids of the tenant groups the context applies to; empty means all.
- tenant_
groups list(number) - Deprecated alias of tenantgroupids.
- tenant_
ids list(number) - Ids of the tenants the context applies to; empty means all.
- tenants list(number)
- Deprecated alias of tenant_ids.
- url string
- weight number
- Merge order; higher weights are applied later and win. Must be a whole number.
- cluster
Group List<Double>Ids - Ids of the cluster groups the context applies to; empty means all.
- cluster
Groups List<Double> - Deprecated alias of clustergroupids.
- cluster
Ids List<Double> - Ids of the clusters the context applies to; empty means all.
- cluster
Type List<Double>Ids - Ids of the cluster types the context applies to; empty means all.
- cluster
Types List<Double> - Deprecated alias of clustertypeids.
- clusters List<Double>
- Deprecated alias of cluster_ids.
- created String
- data String
- The context data as JSON text (use jsonencode()).
- description String
- device
Role List<Double>Ids - Ids of the device roles the context applies to; empty means all.
- device
Type List<Double>Ids - Ids of the device types the context applies to; empty means all.
- device
Types List<Double> - Deprecated alias of devicetypeids.
- id Double
- NetBox id.
- is
Active Boolean - Whether the context is applied.
- last
Updated String - location
Ids List<Double> - Ids of the locations the context applies to; empty means all.
- locations List<Double>
- Deprecated alias of location_ids.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- platform
Ids List<Double> - Ids of the platforms the context applies to; empty means all.
- platforms List<Double>
- Deprecated alias of platform_ids.
- profile
Id Double - Id of the config context profile whose schema the data must satisfy.
- region
Ids List<Double> - Ids of the regions the context applies to; empty means all.
- regions List<Double>
- Deprecated alias of region_ids.
- roles List<Double>
- Deprecated alias of deviceroleids.
- site
Group List<Double>Ids - Ids of the site groups the context applies to; empty means all.
- site
Groups List<Double> - Deprecated alias of sitegroupids.
- site
Ids List<Double> - Ids of the sites the context applies to; empty means all.
- sites List<Double>
- Deprecated alias of site_ids.
- List<String>
- Slugs of the tags an object must carry for the context to apply; empty means any. This is a scope, not the context's own tags.
- tenant
Group List<Double>Ids - Ids of the tenant groups the context applies to; empty means all.
- tenant
Groups List<Double> - Deprecated alias of tenantgroupids.
- tenant
Ids List<Double> - Ids of the tenants the context applies to; empty means all.
- tenants List<Double>
- Deprecated alias of tenant_ids.
- url String
- weight Double
- Merge order; higher weights are applied later and win. Must be a whole number.
- cluster
Group number[]Ids - Ids of the cluster groups the context applies to; empty means all.
- cluster
Groups number[] - Deprecated alias of clustergroupids.
- cluster
Ids number[] - Ids of the clusters the context applies to; empty means all.
- cluster
Type number[]Ids - Ids of the cluster types the context applies to; empty means all.
- cluster
Types number[] - Deprecated alias of clustertypeids.
- clusters number[]
- Deprecated alias of cluster_ids.
- created string
- data string
- The context data as JSON text (use jsonencode()).
- description string
- device
Role number[]Ids - Ids of the device roles the context applies to; empty means all.
- device
Type number[]Ids - Ids of the device types the context applies to; empty means all.
- device
Types number[] - Deprecated alias of devicetypeids.
- id number
- NetBox id.
- is
Active boolean - Whether the context is applied.
- last
Updated string - location
Ids number[] - Ids of the locations the context applies to; empty means all.
- locations number[]
- Deprecated alias of location_ids.
- name string
- owner
Id number - Id of the owner the object is assigned to.
- platform
Ids number[] - Ids of the platforms the context applies to; empty means all.
- platforms number[]
- Deprecated alias of platform_ids.
- profile
Id number - Id of the config context profile whose schema the data must satisfy.
- region
Ids number[] - Ids of the regions the context applies to; empty means all.
- regions number[]
- Deprecated alias of region_ids.
- roles number[]
- Deprecated alias of deviceroleids.
- site
Group number[]Ids - Ids of the site groups the context applies to; empty means all.
- site
Groups number[] - Deprecated alias of sitegroupids.
- site
Ids number[] - Ids of the sites the context applies to; empty means all.
- sites number[]
- Deprecated alias of site_ids.
- string[]
- Slugs of the tags an object must carry for the context to apply; empty means any. This is a scope, not the context's own tags.
- tenant
Group number[]Ids - Ids of the tenant groups the context applies to; empty means all.
- tenant
Groups number[] - Deprecated alias of tenantgroupids.
- tenant
Ids number[] - Ids of the tenants the context applies to; empty means all.
- tenants number[]
- Deprecated alias of tenant_ids.
- url string
- weight number
- Merge order; higher weights are applied later and win. Must be a whole number.
- cluster_
group_ Sequence[float]ids - Ids of the cluster groups the context applies to; empty means all.
- cluster_
groups Sequence[float] - Deprecated alias of clustergroupids.
- cluster_
ids Sequence[float] - Ids of the clusters the context applies to; empty means all.
- cluster_
type_ Sequence[float]ids - Ids of the cluster types the context applies to; empty means all.
- cluster_
types Sequence[float] - Deprecated alias of clustertypeids.
- clusters Sequence[float]
- Deprecated alias of cluster_ids.
- created str
- data str
- The context data as JSON text (use jsonencode()).
- description str
- device_
role_ Sequence[float]ids - Ids of the device roles the context applies to; empty means all.
- device_
type_ Sequence[float]ids - Ids of the device types the context applies to; empty means all.
- device_
types Sequence[float] - Deprecated alias of devicetypeids.
- id float
- NetBox id.
- is_
active bool - Whether the context is applied.
- last_
updated str - location_
ids Sequence[float] - Ids of the locations the context applies to; empty means all.
- locations Sequence[float]
- Deprecated alias of location_ids.
- name str
- owner_
id float - Id of the owner the object is assigned to.
- platform_
ids Sequence[float] - Ids of the platforms the context applies to; empty means all.
- platforms Sequence[float]
- Deprecated alias of platform_ids.
- profile_
id float - Id of the config context profile whose schema the data must satisfy.
- region_
ids Sequence[float] - Ids of the regions the context applies to; empty means all.
- regions Sequence[float]
- Deprecated alias of region_ids.
- roles Sequence[float]
- Deprecated alias of deviceroleids.
- site_
group_ Sequence[float]ids - Ids of the site groups the context applies to; empty means all.
- site_
groups Sequence[float] - Deprecated alias of sitegroupids.
- site_
ids Sequence[float] - Ids of the sites the context applies to; empty means all.
- sites Sequence[float]
- Deprecated alias of site_ids.
- tag_
slugs Sequence[str] - Slugs of the tags an object must carry for the context to apply; empty means any. This is a scope, not the context's own tags.
- tenant_
group_ Sequence[float]ids - Ids of the tenant groups the context applies to; empty means all.
- tenant_
groups Sequence[float] - Deprecated alias of tenantgroupids.
- tenant_
ids Sequence[float] - Ids of the tenants the context applies to; empty means all.
- tenants Sequence[float]
- Deprecated alias of tenant_ids.
- url str
- weight float
- Merge order; higher weights are applied later and win. Must be a whole number.
- cluster
Group List<Number>Ids - Ids of the cluster groups the context applies to; empty means all.
- cluster
Groups List<Number> - Deprecated alias of clustergroupids.
- cluster
Ids List<Number> - Ids of the clusters the context applies to; empty means all.
- cluster
Type List<Number>Ids - Ids of the cluster types the context applies to; empty means all.
- cluster
Types List<Number> - Deprecated alias of clustertypeids.
- clusters List<Number>
- Deprecated alias of cluster_ids.
- created String
- data String
- The context data as JSON text (use jsonencode()).
- description String
- device
Role List<Number>Ids - Ids of the device roles the context applies to; empty means all.
- device
Type List<Number>Ids - Ids of the device types the context applies to; empty means all.
- device
Types List<Number> - Deprecated alias of devicetypeids.
- id Number
- NetBox id.
- is
Active Boolean - Whether the context is applied.
- last
Updated String - location
Ids List<Number> - Ids of the locations the context applies to; empty means all.
- locations List<Number>
- Deprecated alias of location_ids.
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- platform
Ids List<Number> - Ids of the platforms the context applies to; empty means all.
- platforms List<Number>
- Deprecated alias of platform_ids.
- profile
Id Number - Id of the config context profile whose schema the data must satisfy.
- region
Ids List<Number> - Ids of the regions the context applies to; empty means all.
- regions List<Number>
- Deprecated alias of region_ids.
- roles List<Number>
- Deprecated alias of deviceroleids.
- site
Group List<Number>Ids - Ids of the site groups the context applies to; empty means all.
- site
Groups List<Number> - Deprecated alias of sitegroupids.
- site
Ids List<Number> - Ids of the sites the context applies to; empty means all.
- sites List<Number>
- Deprecated alias of site_ids.
- List<String>
- Slugs of the tags an object must carry for the context to apply; empty means any. This is a scope, not the context's own tags.
- tenant
Group List<Number>Ids - Ids of the tenant groups the context applies to; empty means all.
- tenant
Groups List<Number> - Deprecated alias of tenantgroupids.
- tenant
Ids List<Number> - Ids of the tenants the context applies to; empty means all.
- tenants List<Number>
- Deprecated alias of tenant_ids.
- url String
- weight Number
- Merge order; higher weights are applied later and win. Must be a whole number.
GetConfigContextsFilter
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