published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
A service running on a device or virtual machine (ipam.service).
From the official documentation:
An application service represents a layer seven application available on a device or virtual machine. For example, a service might be created in NetBox to represent an HTTP server running on TCP/8000. Each service may optionally be further bound to one or more specific interfaces assigned to the selected device or virtual machine.
To aid in the efficient creation of application services, users may opt to first create an application service template from which service definitions can be quickly replicated.
Changed in NetBox v4.4: Previously, application services were referred to simply as “services”. The name has been changed in the UI to better reflect their intended use. There is no change to the name of the model or in any programmatic NetBox APIs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getService({
name: "test-service",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_service(name="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.LookupService(ctx, &netbox.LookupServiceArgs{
Name: pulumi.StringRef("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.GetService.Invoke(new()
{
Name = "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.GetServiceArgs;
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.getService(GetServiceArgs.builder()
.name("test-service")
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getService
arguments:
name: test-service
Example coming soon!
Using getService
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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOutputOptions): Output<GetServiceResult>def get_service(contact: Optional[float] = None,
contact_group_slug: Optional[str] = None,
contact_role: Optional[float] = None,
created: Optional[str] = None,
custom_field_filters: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
device_id: Optional[float] = None,
device_name: Optional[str] = None,
fhrpgroup: Optional[str] = None,
fhrpgroup_id: Optional[float] = None,
id: Optional[float] = None,
ip_address: Optional[str] = None,
ip_address_id: Optional[float] = None,
last_updated: Optional[str] = None,
name: Optional[str] = None,
owner_group_id: Optional[float] = None,
owner_group_name: Optional[str] = None,
owner_id: Optional[float] = None,
owner_name: Optional[str] = None,
parent_object_id: Optional[float] = None,
parent_object_type: Optional[str] = None,
port: Optional[float] = None,
protocol: Optional[str] = None,
q: Optional[str] = None,
tag_id: Optional[float] = None,
tag_slug: Optional[str] = None,
virtual_machine_id: Optional[float] = None,
virtual_machine_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(contact: pulumi.Input[Optional[float]] = None,
contact_group_slug: pulumi.Input[Optional[str]] = None,
contact_role: pulumi.Input[Optional[float]] = None,
created: pulumi.Input[Optional[str]] = None,
custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
description: pulumi.Input[Optional[str]] = None,
device_id: pulumi.Input[Optional[float]] = None,
device_name: pulumi.Input[Optional[str]] = None,
fhrpgroup: pulumi.Input[Optional[str]] = None,
fhrpgroup_id: pulumi.Input[Optional[float]] = None,
id: pulumi.Input[Optional[float]] = None,
ip_address: pulumi.Input[Optional[str]] = None,
ip_address_id: pulumi.Input[Optional[float]] = None,
last_updated: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
owner_group_id: pulumi.Input[Optional[float]] = None,
owner_group_name: pulumi.Input[Optional[str]] = None,
owner_id: pulumi.Input[Optional[float]] = None,
owner_name: pulumi.Input[Optional[str]] = None,
parent_object_id: pulumi.Input[Optional[float]] = None,
parent_object_type: pulumi.Input[Optional[str]] = None,
port: pulumi.Input[Optional[float]] = None,
protocol: pulumi.Input[Optional[str]] = None,
q: pulumi.Input[Optional[str]] = None,
tag_id: pulumi.Input[Optional[float]] = None,
tag_slug: pulumi.Input[Optional[str]] = None,
virtual_machine_id: pulumi.Input[Optional[float]] = None,
virtual_machine_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetServiceResult]func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput> Note: This function is named LookupService in the Go SDK.
public static class GetService
{
public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getService:getService
arguments:
# arguments dictionarydata "netbox_get_service" "name" {
# arguments
}The following arguments are supported:
- Contact double
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role double - Id of the contact role.
- Created string
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- 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.
- Device
Name string - Name of the device.
- Fhrpgroup string
- Fhrpgroup to match.
- Fhrpgroup
Id double - Id of the fhrpgroup.
- Id double
- NetBox id.
- Ip
Address string - IP address.
- Ip
Address doubleId - Id of the IP address.
- Last
Updated string - Name string
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id double - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- 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.
- Port double
- Port to match.
- Protocol string
- Transport protocol. One of: tcp, udp, sctp.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- 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.
- Virtual
Machine stringName - Name of the virtual machine.
- Contact float64
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role float64 - Id of the contact role.
- Created string
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- 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.
- Device
Name string - Name of the device.
- Fhrpgroup string
- Fhrpgroup to match.
- Fhrpgroup
Id float64 - Id of the fhrpgroup.
- Id float64
- NetBox id.
- Ip
Address string - IP address.
- Ip
Address float64Id - Id of the IP address.
- Last
Updated string - Name string
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Id float64 - Id of the owner the object is assigned to.
- Owner
Name string - Name of the owner.
- 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.
- Port float64
- Port to match.
- Protocol string
- Transport protocol. One of: tcp, udp, sctp.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- 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.
- Virtual
Machine stringName - Name of the virtual machine.
- contact number
- Id of the contact.
- contact_
group_ stringslug - Slug of the contact group.
- contact_
role number - Id of the contact role.
- created string
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- 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.
- device_
name string - Name of the device.
- fhrpgroup string
- Fhrpgroup to match.
- fhrpgroup_
id number - Id of the fhrpgroup.
- id number
- NetBox id.
- ip_
address string - IP address.
- ip_
address_ numberid - Id of the IP address.
- last_
updated string - name string
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
id number - Id of the owner the object is assigned to.
- owner_
name string - Name of the owner.
- 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.
- port number
- Port to match.
- protocol string
- Transport protocol. One of: tcp, udp, sctp.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id number - Id of a tag the object carries.
- tag_
slug string - Slug of a tag the object carries.
- 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.
- virtual_
machine_ stringname - Name of the virtual machine.
- contact Double
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Double - Id of the contact role.
- created String
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- 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.
- device
Name String - Name of the device.
- fhrpgroup String
- Fhrpgroup to match.
- fhrpgroup
Id Double - Id of the fhrpgroup.
- id Double
- NetBox id.
- ip
Address String - IP address.
- ip
Address DoubleId - Id of the IP address.
- last
Updated String - name String
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Double - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- 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.
- port Double
- Port to match.
- protocol String
- Transport protocol. One of: tcp, udp, sctp.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- 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.
- virtual
Machine StringName - Name of the virtual machine.
- contact number
- Id of the contact.
- contact
Group stringSlug - Slug of the contact group.
- contact
Role number - Id of the contact role.
- created string
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- 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.
- device
Name string - Name of the device.
- fhrpgroup string
- Fhrpgroup to match.
- fhrpgroup
Id number - Id of the fhrpgroup.
- id number
- NetBox id.
- ip
Address string - IP address.
- ip
Address numberId - Id of the IP address.
- last
Updated string - name string
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Id number - Id of the owner the object is assigned to.
- owner
Name string - Name of the owner.
- 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.
- port number
- Port to match.
- protocol string
- Transport protocol. One of: tcp, udp, sctp.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- 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.
- virtual
Machine stringName - Name of the virtual machine.
- contact float
- Id of the contact.
- contact_
group_ strslug - Slug of the contact group.
- contact_
role float - Id of the contact role.
- created str
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- 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.
- device_
name str - Name of the device.
- fhrpgroup str
- Fhrpgroup to match.
- fhrpgroup_
id float - Id of the fhrpgroup.
- id float
- NetBox id.
- ip_
address str - IP address.
- ip_
address_ floatid - Id of the IP address.
- last_
updated str - name str
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
id float - Id of the owner the object is assigned to.
- owner_
name str - Name of the owner.
- 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.
- port float
- Port to match.
- protocol str
- Transport protocol. One of: tcp, udp, sctp.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id float - Id of a tag the object carries.
- tag_
slug str - Slug of a tag the object carries.
- 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.
- virtual_
machine_ strname - Name of the virtual machine.
- contact Number
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Number - Id of the contact role.
- created String
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- 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.
- device
Name String - Name of the device.
- fhrpgroup String
- Fhrpgroup to match.
- fhrpgroup
Id Number - Id of the fhrpgroup.
- id Number
- NetBox id.
- ip
Address String - IP address.
- ip
Address NumberId - Id of the IP address.
- last
Updated String - name String
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Id Number - Id of the owner the object is assigned to.
- owner
Name String - Name of the owner.
- 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.
- port Number
- Port to match.
- protocol String
- Transport protocol. One of: tcp, udp, sctp.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- 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.
- virtual
Machine StringName - Name of the virtual machine.
getService Result
The following output properties are available:
- 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.
- Contact double
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role double - Id of the contact role.
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Device
Name string - Name of the device.
- Fhrpgroup string
- Fhrpgroup to match.
- Fhrpgroup
Id double - Id of the fhrpgroup.
- Ip
Address string - IP address.
- Ip
Address doubleId - Id of the IP address.
- Owner
Group doubleId - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Port double
- Port to match.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id double - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Machine stringName - Name of the virtual machine.
- 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.
- Contact float64
- Id of the contact.
- Contact
Group stringSlug - Slug of the contact group.
- Contact
Role float64 - Id of the contact role.
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Device
Name string - Name of the device.
- Fhrpgroup string
- Fhrpgroup to match.
- Fhrpgroup
Id float64 - Id of the fhrpgroup.
- Ip
Address string - IP address.
- Ip
Address float64Id - Id of the IP address.
- Owner
Group float64Id - Id of the owner group.
- Owner
Group stringName - Name of the owner group.
- Owner
Name string - Name of the owner.
- Port float64
- Port to match.
- Q string
- Search term, matched against the fields NetBox searches for this object type.
- Tag
Id float64 - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- Virtual
Machine stringName - Name of the virtual machine.
- 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.
- contact number
- Id of the contact.
- contact_
group_ stringslug - Slug of the contact group.
- contact_
role number - Id of the contact role.
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device_
name string - Name of the device.
- fhrpgroup string
- Fhrpgroup to match.
- fhrpgroup_
id number - Id of the fhrpgroup.
- ip_
address string - IP address.
- ip_
address_ numberid - Id of the IP address.
- owner_
group_ numberid - Id of the owner group.
- owner_
group_ stringname - Name of the owner group.
- owner_
name string - Name of the owner.
- port number
- Port to match.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id number - Id of a tag the object carries.
- tag_
slug string - Slug of a tag the object carries.
- virtual_
machine_ stringname - Name of the virtual machine.
- 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.
- contact Double
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Double - Id of the contact role.
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device
Name String - Name of the device.
- fhrpgroup String
- Fhrpgroup to match.
- fhrpgroup
Id Double - Id of the fhrpgroup.
- ip
Address String - IP address.
- ip
Address DoubleId - Id of the IP address.
- owner
Group DoubleId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- port Double
- Port to match.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Double - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Machine StringName - Name of the virtual machine.
- 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.
- contact number
- Id of the contact.
- contact
Group stringSlug - Slug of the contact group.
- contact
Role number - Id of the contact role.
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device
Name string - Name of the device.
- fhrpgroup string
- Fhrpgroup to match.
- fhrpgroup
Id number - Id of the fhrpgroup.
- ip
Address string - IP address.
- ip
Address numberId - Id of the IP address.
- owner
Group numberId - Id of the owner group.
- owner
Group stringName - Name of the owner group.
- owner
Name string - Name of the owner.
- port number
- Port to match.
- q string
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id number - Id of a tag the object carries.
- string
- Slug of a tag the object carries.
- virtual
Machine stringName - Name of the virtual machine.
- 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.
- contact float
- Id of the contact.
- contact_
group_ strslug - Slug of the contact group.
- contact_
role float - Id of the contact role.
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device_
name str - Name of the device.
- fhrpgroup str
- Fhrpgroup to match.
- fhrpgroup_
id float - Id of the fhrpgroup.
- ip_
address str - IP address.
- ip_
address_ floatid - Id of the IP address.
- owner_
group_ floatid - Id of the owner group.
- owner_
group_ strname - Name of the owner group.
- owner_
name str - Name of the owner.
- port float
- Port to match.
- q str
- Search term, matched against the fields NetBox searches for this object type.
- tag_
id float - Id of a tag the object carries.
- tag_
slug str - Slug of a tag the object carries.
- virtual_
machine_ strname - Name of the virtual machine.
- 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.
- contact Number
- Id of the contact.
- contact
Group StringSlug - Slug of the contact group.
- contact
Role Number - Id of the contact role.
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- device
Name String - Name of the device.
- fhrpgroup String
- Fhrpgroup to match.
- fhrpgroup
Id Number - Id of the fhrpgroup.
- ip
Address String - IP address.
- ip
Address NumberId - Id of the IP address.
- owner
Group NumberId - Id of the owner group.
- owner
Group StringName - Name of the owner group.
- owner
Name String - Name of the owner.
- port Number
- Port to match.
- q String
- Search term, matched against the fields NetBox searches for this object type.
- tag
Id Number - Id of a tag the object carries.
- String
- Slug of a tag the object carries.
- virtual
Machine StringName - Name of the virtual machine.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Monday, Nov 16, 2026 by e-breuninger