1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getConfigContextProfiles
Viewing docs for netbox 6.0.0
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

    Lists config_context_profile objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getConfigContextProfiles({
        filters: [{
            name: "name",
            value: "test-config_context_profile",
        }],
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_config_context_profiles(filters=[{
        "name": "name",
        "value": "test-config_context_profile",
    }])
    
    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.GetConfigContextProfiles(ctx, &netbox.GetConfigContextProfilesArgs{
    			Filters: []netbox.GetConfigContextProfilesFilter{
    				{
    					Name:  "name",
    					Value: "test-config_context_profile",
    				},
    			},
    		}, 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.GetConfigContextProfiles.Invoke(new()
        {
            Filters = new[]
            {
                new Netbox.Inputs.GetConfigContextProfilesFilterInputArgs
                {
                    Name = "name",
                    Value = "test-config_context_profile",
                },
            },
        });
    
    });
    
    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.GetConfigContextProfilesArgs;
    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.getConfigContextProfiles(GetConfigContextProfilesArgs.builder()
                .filters(GetConfigContextProfilesFilterArgs.builder()
                    .name("name")
                    .value("test-config_context_profile")
                    .build())
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getConfigContextProfiles
          arguments:
            filters:
              - name: name
                value: test-config_context_profile
    
    Example coming soon!
    

    Using getConfigContextProfiles

    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 getConfigContextProfiles(args: GetConfigContextProfilesArgs, opts?: InvokeOptions): Promise<GetConfigContextProfilesResult>
    function getConfigContextProfilesOutput(args: GetConfigContextProfilesOutputArgs, opts?: InvokeOutputOptions): Output<GetConfigContextProfilesResult>
    def get_config_context_profiles(filters: Optional[Sequence[GetConfigContextProfilesFilter]] = None,
                                    limit: Optional[float] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetConfigContextProfilesResult
    def get_config_context_profiles_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetConfigContextProfilesFilterArgs]]]] = None,
                                    limit: pulumi.Input[Optional[float]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetConfigContextProfilesResult]
    func GetConfigContextProfiles(ctx *Context, args *GetConfigContextProfilesArgs, opts ...InvokeOption) (*GetConfigContextProfilesResult, error)
    func GetConfigContextProfilesOutput(ctx *Context, args *GetConfigContextProfilesOutputArgs, opts ...InvokeOption) GetConfigContextProfilesResultOutput

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

    public static class GetConfigContextProfiles 
    {
        public static Task<GetConfigContextProfilesResult> InvokeAsync(GetConfigContextProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetConfigContextProfilesResult> Invoke(GetConfigContextProfilesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetConfigContextProfilesResult> Invoke(GetConfigContextProfilesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetConfigContextProfilesResult> getConfigContextProfiles(GetConfigContextProfilesArgs args, InvokeOptions options)
    public static Output<GetConfigContextProfilesResult> getConfigContextProfiles(GetConfigContextProfilesArgs args, InvokeOptions options)
    public static Output<GetConfigContextProfilesResult> getConfigContextProfiles(GetConfigContextProfilesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getConfigContextProfiles:getConfigContextProfiles
      arguments:
        # arguments dictionary
    data "netbox_get_config_context_profiles" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetConfigContextProfilesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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 []GetConfigContextProfilesFilter
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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<GetConfigContextProfilesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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 GetConfigContextProfilesFilter[]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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[GetConfigContextProfilesFilter]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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.

    getConfigContextProfiles Result

    The following output properties are available:

    ConfigContextProfiles List<GetConfigContextProfilesConfigContextProfile>
    The matching configcontextprofiles.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetConfigContextProfilesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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.
    ConfigContextProfiles []GetConfigContextProfilesConfigContextProfile
    The matching configcontextprofiles.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetConfigContextProfilesFilter
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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_context_profiles list(object)
    The matching configcontextprofiles.
    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, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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.
    configContextProfiles List<GetConfigContextProfilesConfigContextProfile>
    The matching configcontextprofiles.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetConfigContextProfilesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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.
    configContextProfiles GetConfigContextProfilesConfigContextProfile[]
    The matching configcontextprofiles.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetConfigContextProfilesFilter[]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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_context_profiles Sequence[GetConfigContextProfilesConfigContextProfile]
    The matching configcontextprofiles.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetConfigContextProfilesFilter]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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.
    configContextProfiles List<Property Map>
    The matching configcontextprofiles.
    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, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, ownerid, owneridn, tag, tagany, tag__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

    GetConfigContextProfilesConfigContextProfile

    Comments string
    Created string
    Description string
    Id double
    NetBox id.
    LastUpdated string
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Schema string
    JSON schema the config contexts with this profile must satisfy (use jsonencode()).
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    Comments string
    Created string
    Description string
    Id float64
    NetBox id.
    LastUpdated string
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Schema string
    JSON schema the config contexts with this profile must satisfy (use jsonencode()).
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    Url string
    comments string
    created string
    description string
    id number
    NetBox id.
    last_updated string
    name string
    owner_id number
    Id of the owner the object is assigned to.
    schema string
    JSON schema the config contexts with this profile must satisfy (use jsonencode()).
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls list(string)
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    comments String
    created String
    description String
    id Double
    NetBox id.
    lastUpdated String
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    schema String
    JSON schema the config contexts with this profile must satisfy (use jsonencode()).
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String
    comments string
    created string
    description string
    id number
    NetBox id.
    lastUpdated string
    name string
    ownerId number
    Id of the owner the object is assigned to.
    schema string
    JSON schema the config contexts with this profile must satisfy (use jsonencode()).
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    url string
    comments str
    created str
    description str
    id float
    NetBox id.
    last_updated str
    name str
    owner_id float
    Id of the owner the object is assigned to.
    schema str
    JSON schema the config contexts with this profile must satisfy (use jsonencode()).
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls Sequence[str]
    Slugs of all tags on the object, including the provider's default_tags.
    url str
    comments String
    created String
    description String
    id Number
    NetBox id.
    lastUpdated String
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    schema String
    JSON schema the config contexts with this profile must satisfy (use jsonencode()).
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    url String

    GetConfigContextProfilesFilter

    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name str
    Name of the query filter (the API list parameter).
    value str
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial