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 service objects matching the given filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getServices({
filters: [{
name: "name",
value: "test-service",
}],
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_services(filters=[{
"name": "name",
"value": "test-service",
}])
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.GetServices(ctx, &netbox.GetServicesArgs{
Filters: []netbox.GetServicesFilter{
{
Name: "name",
Value: "test-service",
},
},
}, 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.GetServices.Invoke(new()
{
Filters = new[]
{
new Netbox.Inputs.GetServicesFilterInputArgs
{
Name = "name",
Value = "test-service",
},
},
});
});
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.GetServicesArgs;
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.getServices(GetServicesArgs.builder()
.filters(GetServicesFilterArgs.builder()
.name("name")
.value("test-service")
.build())
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getServices
arguments:
filters:
- name: name
value: test-service
Example coming soon!
Using getServices
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 getServices(args: GetServicesArgs, opts?: InvokeOptions): Promise<GetServicesResult>
function getServicesOutput(args: GetServicesOutputArgs, opts?: InvokeOutputOptions): Output<GetServicesResult>def get_services(filters: Optional[Sequence[GetServicesFilter]] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetServicesResult
def get_services_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetServicesFilterArgs]]]] = None,
limit: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetServicesResult]func GetServices(ctx *Context, args *GetServicesArgs, opts ...InvokeOption) (*GetServicesResult, error)
func GetServicesOutput(ctx *Context, args *GetServicesOutputArgs, opts ...InvokeOption) GetServicesResultOutput> Note: This function is named GetServices in the Go SDK.
public static class GetServices
{
public static Task<GetServicesResult> InvokeAsync(GetServicesArgs args, InvokeOptions? opts = null)
public static Output<GetServicesResult> Invoke(GetServicesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServicesResult> Invoke(GetServicesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
public static Output<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
public static Output<GetServicesResult> getServices(GetServicesArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getServices:getServices
arguments:
# arguments dictionarydata "netbox_get_services" "name" {
# arguments
}The following arguments are supported:
- Filters
List<Get
Services Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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
Services Filter - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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
Services Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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
Services Filter[] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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
Services Filter] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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.
getServices Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Services
List<Get
Services Service> - The matching services.
- Filters
List<Get
Services Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. Repeating a name sends that parameter once per value. Custom fields filter as cf\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- Id string
- The provider-assigned unique ID for this managed resource.
- Services
[]Get
Services Service - The matching services.
- Filters
[]Get
Services Filter - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. Repeating a name sends that parameter once per value. Custom fields filter as cf\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- Limit float64
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id string
- The provider-assigned unique ID for this managed resource.
- services list(object)
- The matching services.
- filters list(object)
- Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. Repeating a name sends that parameter once per value. Custom fields filter as cf\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id String
- The provider-assigned unique ID for this managed resource.
- services
List<Get
Services Service> - The matching services.
- filters
List<Get
Services Filter> - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. Repeating a name sends that parameter once per value. Custom fields filter as cf\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit Double
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id string
- The provider-assigned unique ID for this managed resource.
- services
Get
Services Service[] - The matching services.
- filters
Get
Services Filter[] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. Repeating a name sends that parameter once per value. Custom fields filter as cf\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit number
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id str
- The provider-assigned unique ID for this managed resource.
- services
Sequence[Get
Services Service] - The matching services.
- filters
Sequence[Get
Services Filter] - Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. Repeating a name sends that parameter once per value. Custom fields filter as cf\n\n, e.g. cf_tier, with the field's own filter logic: loose is a case-insensitive substring match, exact an exact match. NetBox ignores names it has no custom field for, and such an entry does not narrow the result.
- limit float
- The maximum number of objects to return from the API lookup. Defaults to 1000.
- id String
- The provider-assigned unique ID for this managed resource.
- services List<Property Map>
- The matching services.
- filters List<Property Map>
- Query filters, sent as API list parameters. Supported names: contact, contactn, contactgroup, contactgroupn, contactrole, contactrolen, created, createdempty, createdgt, createdgte, createdlt, createdlte, createdn, description, descriptionempty, descriptionic, descriptionie, descriptioniew, descriptioniregex, descriptionisw, descriptionn, descriptionnic, descriptionnie, descriptionniew, descriptionnisw, descriptionregex, device, deviceid, fhrpgroup, fhrpgroupid, id, idempty, idgt, idgte, idlt, idlte, idn, ipaddress, ipaddressn, ipaddressid, ipaddressidn, 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, parentobjectid, parentobjectidempty, parentobjectidgt, parentobjectidgte, parentobjectidlt, parentobjectidlte, parentobjectidn, parentobjecttype, parentobjecttypen, port, portempty, portgt, portgte, portlt, portlte, portn, protocol, protocolempty, protocolic, protocolie, protocoliew, protocoliregex, protocolisw, protocoln, protocolnic, protocolnie, protocolniew, protocolnisw, protocolregex, q, tag, tagany, tagn, tagid, tagidany, tag_idn, virtualmachine, virtualmachineid. 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
GetServicesFilter
GetServicesService
- 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
- Device
Id double - Id of the device the service runs on (parentobjecttype dcim.device). Conflicts with virtualmachineid and with setting the parent*object** pair directly.
- Id double
- NetBox id.
- Ip
Address List<double>Ids - Ids of the IP addresses the service is bound to; all of the parent object's addresses when unset.
- Last
Updated string - Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Parent
Object doubleId - Id of the object named by parentobjecttype.
- Parent
Object stringType - Content type of the object the service runs on. Derived from deviceid or virtualmachineid when one of those is set; set it together with parentobject_id to address the object directly. One of: dcim.device, virtualization.virtualmachine.
- Ports List<double>
- Port numbers the service listens on.
- Protocol string
- Transport protocol. One of: tcp, udp, sctp.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Url string
- Virtual
Machine doubleId - Id of the virtual machine the service runs on (parentobjecttype virtualization.virtualmachine). Conflicts with deviceid and with setting the parentobject_* pair directly.
- 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
- Device
Id float64 - Id of the device the service runs on (parentobjecttype dcim.device). Conflicts with virtualmachineid and with setting the parent*object** pair directly.
- Id float64
- NetBox id.
- Ip
Address []float64Ids - Ids of the IP addresses the service is bound to; all of the parent object's addresses when unset.
- Last
Updated string - Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Parent
Object float64Id - Id of the object named by parentobjecttype.
- Parent
Object stringType - Content type of the object the service runs on. Derived from deviceid or virtualmachineid when one of those is set; set it together with parentobject_id to address the object directly. One of: dcim.device, virtualization.virtualmachine.
- Ports []float64
- Port numbers the service listens on.
- Protocol string
- Transport protocol. One of: tcp, udp, sctp.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Url string
- Virtual
Machine float64Id - Id of the virtual machine the service runs on (parentobjecttype virtualization.virtualmachine). Conflicts with deviceid and with setting the parentobject_* pair directly.
- 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
- device_
id number - Id of the device the service runs on (parentobjecttype dcim.device). Conflicts with virtualmachineid and with setting the parent*object** pair directly.
- id number
- NetBox id.
- ip_
address_ list(number)ids - Ids of the IP addresses the service is bound to; all of the parent object's addresses when unset.
- last_
updated string - name string
- owner_
id number - Id of the owner the object is assigned to.
- parent_
object_ numberid - Id of the object named by parentobjecttype.
- parent_
object_ stringtype - Content type of the object the service runs on. Derived from deviceid or virtualmachineid when one of those is set; set it together with parentobject_id to address the object directly. One of: dcim.device, virtualization.virtualmachine.
- ports list(number)
- Port numbers the service listens on.
- protocol string
- Transport protocol. One of: tcp, udp, sctp.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- url string
- virtual_
machine_ numberid - Id of the virtual machine the service runs on (parentobjecttype virtualization.virtualmachine). Conflicts with deviceid and with setting the parentobject_* pair directly.
- 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
- device
Id Double - Id of the device the service runs on (parentobjecttype dcim.device). Conflicts with virtualmachineid and with setting the parent*object** pair directly.
- id Double
- NetBox id.
- ip
Address List<Double>Ids - Ids of the IP addresses the service is bound to; all of the parent object's addresses when unset.
- last
Updated String - name String
- owner
Id Double - Id of the owner the object is assigned to.
- parent
Object DoubleId - Id of the object named by parentobjecttype.
- parent
Object StringType - Content type of the object the service runs on. Derived from deviceid or virtualmachineid when one of those is set; set it together with parentobject_id to address the object directly. One of: dcim.device, virtualization.virtualmachine.
- ports List<Double>
- Port numbers the service listens on.
- protocol String
- Transport protocol. One of: tcp, udp, sctp.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
- virtual
Machine DoubleId - Id of the virtual machine the service runs on (parentobjecttype virtualization.virtualmachine). Conflicts with deviceid and with setting the parentobject_* pair directly.
- 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
- device
Id number - Id of the device the service runs on (parentobjecttype dcim.device). Conflicts with virtualmachineid and with setting the parent*object** pair directly.
- id number
- NetBox id.
- ip
Address number[]Ids - Ids of the IP addresses the service is bound to; all of the parent object's addresses when unset.
- last
Updated string - name string
- owner
Id number - Id of the owner the object is assigned to.
- parent
Object numberId - Id of the object named by parentobjecttype.
- parent
Object stringType - Content type of the object the service runs on. Derived from deviceid or virtualmachineid when one of those is set; set it together with parentobject_id to address the object directly. One of: dcim.device, virtualization.virtualmachine.
- ports number[]
- Port numbers the service listens on.
- protocol string
- Transport protocol. One of: tcp, udp, sctp.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- url string
- virtual
Machine numberId - Id of the virtual machine the service runs on (parentobjecttype virtualization.virtualmachine). Conflicts with deviceid and with setting the parentobject_* pair directly.
- 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
- device_
id float - Id of the device the service runs on (parentobjecttype dcim.device). Conflicts with virtualmachineid and with setting the parent*object** pair directly.
- id float
- NetBox id.
- ip_
address_ Sequence[float]ids - Ids of the IP addresses the service is bound to; all of the parent object's addresses when unset.
- last_
updated str - name str
- owner_
id float - Id of the owner the object is assigned to.
- parent_
object_ floatid - Id of the object named by parentobjecttype.
- parent_
object_ strtype - Content type of the object the service runs on. Derived from deviceid or virtualmachineid when one of those is set; set it together with parentobject_id to address the object directly. One of: dcim.device, virtualization.virtualmachine.
- ports Sequence[float]
- Port numbers the service listens on.
- protocol str
- Transport protocol. One of: tcp, udp, sctp.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- url str
- virtual_
machine_ floatid - Id of the virtual machine the service runs on (parentobjecttype virtualization.virtualmachine). Conflicts with deviceid and with setting the parentobject_* pair directly.
- 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
- device
Id Number - Id of the device the service runs on (parentobjecttype dcim.device). Conflicts with virtualmachineid and with setting the parent*object** pair directly.
- id Number
- NetBox id.
- ip
Address List<Number>Ids - Ids of the IP addresses the service is bound to; all of the parent object's addresses when unset.
- last
Updated String - name String
- owner
Id Number - Id of the owner the object is assigned to.
- parent
Object NumberId - Id of the object named by parentobjecttype.
- parent
Object StringType - Content type of the object the service runs on. Derived from deviceid or virtualmachineid when one of those is set; set it together with parentobject_id to address the object directly. One of: dcim.device, virtualization.virtualmachine.
- ports List<Number>
- Port numbers the service listens on.
- protocol String
- Transport protocol. One of: tcp, udp, sctp.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- url String
- virtual
Machine NumberId - Id of the virtual machine the service runs on (parentobjecttype virtualization.virtualmachine). Conflicts with deviceid and with setting the parentobject_* pair directly.
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