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 owner_group objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getOwnerGroups({
filters: [{
name: "name",
value: "test-owner_group",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_owner_groups(filters=[{
"name": "name",
"value": "test-owner_group",
}])
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.GetOwnerGroups(ctx, &netbox.GetOwnerGroupsArgs{
Filters: []netbox.GetOwnerGroupsFilter{
{
Name: "name",
Value: "test-owner_group",
},
},
}, 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.GetOwnerGroups.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetOwnerGroupsFilterInputArgs
{
Name = "name",
Value = "test-owner_group",
},
},
});
});
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.GetOwnerGroupsArgs;
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.getOwnerGroups(GetOwnerGroupsArgs.builder()
.filters(GetOwnerGroupsFilterArgs.builder()
.name("name")
.value("test-owner_group")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getOwnerGroups
arguments:
filters:
- name: name
value: test-owner_group
Example coming soon!
Using getOwnerGroups
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 getOwnerGroups(args: GetOwnerGroupsArgs, opts?: InvokeOptions): Promise<GetOwnerGroupsResult>
function getOwnerGroupsOutput(args: GetOwnerGroupsOutputArgs, opts?: InvokeOutputOptions): Output<GetOwnerGroupsResult>def get_owner_groups(filters: Optional[Sequence[GetOwnerGroupsFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetOwnerGroupsResult
def get_owner_groups_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetOwnerGroupsFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOwnerGroupsResult]func GetOwnerGroups(ctx *Context, args *GetOwnerGroupsArgs, opts ...InvokeOption) (*GetOwnerGroupsResult, error)
func GetOwnerGroupsOutput(ctx *Context, args *GetOwnerGroupsOutputArgs, opts ...InvokeOption) GetOwnerGroupsResultOutput> Note: This function is named GetOwnerGroups in the Go SDK.
public static class GetOwnerGroups
{
public static Task<GetOwnerGroupsResult> InvokeAsync(GetOwnerGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetOwnerGroupsResult> Invoke(GetOwnerGroupsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOwnerGroupsResult> Invoke(GetOwnerGroupsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOwnerGroupsResult> getOwnerGroups(GetOwnerGroupsArgs args, InvokeOptions options)
public static Output<GetOwnerGroupsResult> getOwnerGroups(GetOwnerGroupsArgs args, InvokeOptions options)
public static Output<GetOwnerGroupsResult> getOwnerGroups(GetOwnerGroupsArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getOwnerGroups:getOwnerGroups
arguments:
# arguments dictionarydata "netbox_get_owner_groups" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Owner Groups Filter> - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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
Owner Groups Filter - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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
Owner Groups Filter> - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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
Owner Groups Filter[] - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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
Owner Groups Filter] - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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.
getOwnerGroups Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Groups List<GetOwner Groups Owner Group> - The matching owner*groups.
- Filters
List<Get
Owner Groups Filter> - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Groups []GetOwner Groups Owner Group - The matching owner*groups.
- Filters
[]Get
Owner Groups Filter - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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.
- id string
- The provider-assigned unique ID for this managed resource.
- owner_
groups list(object) - The matching owner*groups.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Groups List<GetOwner Groups Owner Group> - The matching owner*groups.
- filters
List<Get
Owner Groups Filter> - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Groups GetOwner Groups Owner Group[] - The matching owner*groups.
- filters
Get
Owner Groups Filter[] - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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.
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
groups Sequence[GetOwner Groups Owner Group] - The matching owner*groups.
- filters
Sequence[Get
Owner Groups Filter] - Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Groups List<Property Map> - The matching owner*groups.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, id, idempty, idgt, idgte, idlt, idlte, idn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, q. 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
GetOwnerGroupsFilter
GetOwnerGroupsOwnerGroup
- Description string
- Id double
- NetBox id.
- Member
Count double - Number of members of the group.
- Name string
- Url string
- Description string
- Id float64
- NetBox id.
- Member
Count float64 - Number of members of the group.
- Name string
- Url string
- description string
- id number
- NetBox id.
- member_
count number - Number of members of the group.
- name string
- url string
- description String
- id Double
- NetBox id.
- member
Count Double - Number of members of the group.
- name String
- url String
- description string
- id number
- NetBox id.
- member
Count number - Number of members of the group.
- name string
- url string
- description str
- id float
- NetBox id.
- member_
count float - Number of members of the group.
- name str
- url str
- description String
- id Number
- NetBox id.
- member
Count Number - Number of members of the group.
- name String
- 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.1
published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger