published on Monday, Nov 16, 2026 by e-breuninger
published on Monday, Nov 16, 2026 by e-breuninger
A power outlet template of a device type or module type (dcim.poweroutlettemplate).
From the official documentation:
A template for a power outlet that will be created on all instantiations of the parent device type. See the power outlet documentation for more detail.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = new netbox.Manufacturer("test", {name: "test-manufacturer"});
const testDeviceType = new netbox.DeviceType("test", {
manufacturerId: test.manufacturerId,
model: "test-device-type",
});
const testPowerPortTemplate = new netbox.PowerPortTemplate("test", {
deviceTypeId: testDeviceType.deviceTypeId,
name: "test-power-port-template",
type: "iec-60320-c14",
});
const testPowerOutletTemplate = new netbox.PowerOutletTemplate("test", {
deviceTypeId: testDeviceType.deviceTypeId,
name: "test-power-outlet-template",
type: "iec-60320-c13",
powerPortTemplateId: testPowerPortTemplate.powerPortTemplateId,
feedLeg: "A",
label: "test-label",
description: "test-description",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.Manufacturer("test", name="test-manufacturer")
test_device_type = netbox.DeviceType("test",
manufacturer_id=test.manufacturer_id,
model="test-device-type")
test_power_port_template = netbox.PowerPortTemplate("test",
device_type_id=test_device_type.device_type_id,
name="test-power-port-template",
type="iec-60320-c14")
test_power_outlet_template = netbox.PowerOutletTemplate("test",
device_type_id=test_device_type.device_type_id,
name="test-power-outlet-template",
type="iec-60320-c13",
power_port_template_id=test_power_port_template.power_port_template_id,
feed_leg="A",
label="test-label",
description="test-description")
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 {
test, err := netbox.NewManufacturer(ctx, "test", &netbox.ManufacturerArgs{
Name: pulumi.String("test-manufacturer"),
})
if err != nil {
return err
}
testDeviceType, err := netbox.NewDeviceType(ctx, "test", &netbox.DeviceTypeArgs{
ManufacturerId: test.ManufacturerId,
Model: pulumi.String("test-device-type"),
})
if err != nil {
return err
}
testPowerPortTemplate, err := netbox.NewPowerPortTemplate(ctx, "test", &netbox.PowerPortTemplateArgs{
DeviceTypeId: testDeviceType.DeviceTypeId,
Name: pulumi.String("test-power-port-template"),
Type: pulumi.String("iec-60320-c14"),
})
if err != nil {
return err
}
_, err = netbox.NewPowerOutletTemplate(ctx, "test", &netbox.PowerOutletTemplateArgs{
DeviceTypeId: testDeviceType.DeviceTypeId,
Name: pulumi.String("test-power-outlet-template"),
Type: pulumi.String("iec-60320-c13"),
PowerPortTemplateId: testPowerPortTemplate.PowerPortTemplateId,
FeedLeg: pulumi.String("A"),
Label: pulumi.String("test-label"),
Description: pulumi.String("test-description"),
})
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 = new Netbox.Manufacturer("test", new()
{
Name = "test-manufacturer",
});
var testDeviceType = new Netbox.DeviceType("test", new()
{
ManufacturerId = test.ManufacturerId,
Model = "test-device-type",
});
var testPowerPortTemplate = new Netbox.PowerPortTemplate("test", new()
{
DeviceTypeId = testDeviceType.DeviceTypeId,
Name = "test-power-port-template",
Type = "iec-60320-c14",
});
var testPowerOutletTemplate = new Netbox.PowerOutletTemplate("test", new()
{
DeviceTypeId = testDeviceType.DeviceTypeId,
Name = "test-power-outlet-template",
Type = "iec-60320-c13",
PowerPortTemplateId = testPowerPortTemplate.PowerPortTemplateId,
FeedLeg = "A",
Label = "test-label",
Description = "test-description",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.Manufacturer;
import com.pulumi.netbox.ManufacturerArgs;
import com.pulumi.netbox.DeviceType;
import com.pulumi.netbox.DeviceTypeArgs;
import com.pulumi.netbox.PowerPortTemplate;
import com.pulumi.netbox.PowerPortTemplateArgs;
import com.pulumi.netbox.PowerOutletTemplate;
import com.pulumi.netbox.PowerOutletTemplateArgs;
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) {
var test = new Manufacturer("test", ManufacturerArgs.builder()
.name("test-manufacturer")
.build());
var testDeviceType = new DeviceType("testDeviceType", DeviceTypeArgs.builder()
.manufacturerId(test.manufacturerId())
.model("test-device-type")
.build());
var testPowerPortTemplate = new PowerPortTemplate("testPowerPortTemplate", PowerPortTemplateArgs.builder()
.deviceTypeId(testDeviceType.deviceTypeId())
.name("test-power-port-template")
.type("iec-60320-c14")
.build());
var testPowerOutletTemplate = new PowerOutletTemplate("testPowerOutletTemplate", PowerOutletTemplateArgs.builder()
.deviceTypeId(testDeviceType.deviceTypeId())
.name("test-power-outlet-template")
.type("iec-60320-c13")
.powerPortTemplateId(testPowerPortTemplate.powerPortTemplateId())
.feedLeg("A")
.label("test-label")
.description("test-description")
.build());
}
}
resources:
test:
type: netbox:Manufacturer
properties:
name: test-manufacturer
testDeviceType:
type: netbox:DeviceType
name: test
properties:
manufacturerId: ${test.manufacturerId}
model: test-device-type
testPowerPortTemplate:
type: netbox:PowerPortTemplate
name: test
properties:
deviceTypeId: ${testDeviceType.deviceTypeId}
name: test-power-port-template
type: iec-60320-c14
testPowerOutletTemplate:
type: netbox:PowerOutletTemplate
name: test
properties:
deviceTypeId: ${testDeviceType.deviceTypeId}
name: test-power-outlet-template
type: iec-60320-c13
powerPortTemplateId: ${testPowerPortTemplate.powerPortTemplateId}
feedLeg: A
label: test-label
description: test-description
Example coming soon!
Create PowerOutletTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PowerOutletTemplate(name: string, args?: PowerOutletTemplateArgs, opts?: CustomResourceOptions);@overload
def PowerOutletTemplate(resource_name: str,
args: Optional[PowerOutletTemplateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PowerOutletTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
color_hex: Optional[str] = None,
description: Optional[str] = None,
device_type_id: Optional[float] = None,
feed_leg: Optional[str] = None,
label: Optional[str] = None,
module_type_id: Optional[float] = None,
name: Optional[str] = None,
power_port_id: Optional[float] = None,
power_port_template_id: Optional[float] = None,
type: Optional[str] = None)func NewPowerOutletTemplate(ctx *Context, name string, args *PowerOutletTemplateArgs, opts ...ResourceOption) (*PowerOutletTemplate, error)public PowerOutletTemplate(string name, PowerOutletTemplateArgs? args = null, CustomResourceOptions? opts = null)
public PowerOutletTemplate(String name, PowerOutletTemplateArgs args)
public PowerOutletTemplate(String name, PowerOutletTemplateArgs args, CustomResourceOptions options)
type: netbox:PowerOutletTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "netbox_power_outlet_template" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PowerOutletTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PowerOutletTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PowerOutletTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PowerOutletTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PowerOutletTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var powerOutletTemplateResource = new Netbox.PowerOutletTemplate("powerOutletTemplateResource", new()
{
ColorHex = "string",
Description = "string",
DeviceTypeId = 0.0,
FeedLeg = "string",
Label = "string",
ModuleTypeId = 0.0,
Name = "string",
PowerPortTemplateId = 0.0,
Type = "string",
});
example, err := netbox.NewPowerOutletTemplate(ctx, "powerOutletTemplateResource", &netbox.PowerOutletTemplateArgs{
ColorHex: pulumi.String("string"),
Description: pulumi.String("string"),
DeviceTypeId: pulumi.Float64(0),
FeedLeg: pulumi.String("string"),
Label: pulumi.String("string"),
ModuleTypeId: pulumi.Float64(0),
Name: pulumi.String("string"),
PowerPortTemplateId: pulumi.Float64(0),
Type: pulumi.String("string"),
})
resource "netbox_power_outlet_template" "powerOutletTemplateResource" {
lifecycle {
create_before_destroy = true
}
color_hex = "string"
description = "string"
device_type_id = 0
feed_leg = "string"
label = "string"
module_type_id = 0
name = "string"
power_port_template_id = 0
type = "string"
}
var powerOutletTemplateResource = new PowerOutletTemplate("powerOutletTemplateResource", PowerOutletTemplateArgs.builder()
.colorHex("string")
.description("string")
.deviceTypeId(0.0)
.feedLeg("string")
.label("string")
.moduleTypeId(0.0)
.name("string")
.powerPortTemplateId(0.0)
.type("string")
.build());
power_outlet_template_resource = netbox.PowerOutletTemplate("powerOutletTemplateResource",
color_hex="string",
description="string",
device_type_id=float(0),
feed_leg="string",
label="string",
module_type_id=float(0),
name="string",
power_port_template_id=float(0),
type="string")
const powerOutletTemplateResource = new netbox.PowerOutletTemplate("powerOutletTemplateResource", {
colorHex: "string",
description: "string",
deviceTypeId: 0,
feedLeg: "string",
label: "string",
moduleTypeId: 0,
name: "string",
powerPortTemplateId: 0,
type: "string",
});
type: netbox:PowerOutletTemplate
properties:
colorHex: string
description: string
deviceTypeId: 0
feedLeg: string
label: string
moduleTypeId: 0
name: string
powerPortTemplateId: 0
type: string
PowerOutletTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PowerOutletTemplate resource accepts the following input properties:
- Color
Hex string - RGB color in hex (e.g. ff0000).
- Description string
- Device
Type doubleId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Feed
Leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- Label string
- Physical label.
- Module
Type doubleId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Name string
- Power
Port doubleId - Deprecated alias of powerporttemplate_id.
- Power
Port doubleTemplate Id - Id of the power port template this outlet draws from.
- Type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- Color
Hex string - RGB color in hex (e.g. ff0000).
- Description string
- Device
Type float64Id - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Feed
Leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- Label string
- Physical label.
- Module
Type float64Id - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Name string
- Power
Port float64Id - Deprecated alias of powerporttemplate_id.
- Power
Port float64Template Id - Id of the power port template this outlet draws from.
- Type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- color_
hex string - RGB color in hex (e.g. ff0000).
- description string
- device_
type_ numberid - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed_
leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label string
- Physical label.
- module_
type_ numberid - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name string
- power_
port_ numberid - Deprecated alias of powerporttemplate_id.
- power_
port_ numbertemplate_ id - Id of the power port template this outlet draws from.
- type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- color
Hex String - RGB color in hex (e.g. ff0000).
- description String
- device
Type DoubleId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed
Leg String - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label String
- Physical label.
- module
Type DoubleId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name String
- power
Port DoubleId - Deprecated alias of powerporttemplate_id.
- power
Port DoubleTemplate Id - Id of the power port template this outlet draws from.
- type String
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- color
Hex string - RGB color in hex (e.g. ff0000).
- description string
- device
Type numberId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed
Leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label string
- Physical label.
- module
Type numberId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name string
- power
Port numberId - Deprecated alias of powerporttemplate_id.
- power
Port numberTemplate Id - Id of the power port template this outlet draws from.
- type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- color_
hex str - RGB color in hex (e.g. ff0000).
- description str
- device_
type_ floatid - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed_
leg str - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label str
- Physical label.
- module_
type_ floatid - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name str
- power_
port_ floatid - Deprecated alias of powerporttemplate_id.
- power_
port_ floattemplate_ id - Id of the power port template this outlet draws from.
- type str
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- color
Hex String - RGB color in hex (e.g. ff0000).
- description String
- device
Type NumberId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed
Leg String - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label String
- Physical label.
- module
Type NumberId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name String
- power
Port NumberId - Deprecated alias of powerporttemplate_id.
- power
Port NumberTemplate Id - Id of the power port template this outlet draws from.
- type String
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
Outputs
All input properties are implicitly available as output properties. Additionally, the PowerOutletTemplate resource produces the following output properties:
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string - Power
Outlet doubleTemplate Id - NetBox id.
- Url string
- Created string
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated string - Power
Outlet float64Template Id - NetBox id.
- Url string
- created string
- id string
- The provider-assigned unique ID for this managed resource.
- last_
updated string - power_
outlet_ numbertemplate_ id - NetBox id.
- url string
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated String - power
Outlet DoubleTemplate Id - NetBox id.
- url String
- created string
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated string - power
Outlet numberTemplate Id - NetBox id.
- url string
- created str
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated str - power_
outlet_ floattemplate_ id - NetBox id.
- url str
- created String
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated String - power
Outlet NumberTemplate Id - NetBox id.
- url String
Look up Existing PowerOutletTemplate Resource
Get an existing PowerOutletTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PowerOutletTemplateState, opts?: CustomResourceOptions): PowerOutletTemplate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
color_hex: Optional[str] = None,
created: Optional[str] = None,
description: Optional[str] = None,
device_type_id: Optional[float] = None,
feed_leg: Optional[str] = None,
label: Optional[str] = None,
last_updated: Optional[str] = None,
module_type_id: Optional[float] = None,
name: Optional[str] = None,
power_outlet_template_id: Optional[float] = None,
power_port_id: Optional[float] = None,
power_port_template_id: Optional[float] = None,
type: Optional[str] = None,
url: Optional[str] = None) -> PowerOutletTemplatefunc GetPowerOutletTemplate(ctx *Context, name string, id IDInput, state *PowerOutletTemplateState, opts ...ResourceOption) (*PowerOutletTemplate, error)public static PowerOutletTemplate Get(string name, Input<string> id, PowerOutletTemplateState? state, CustomResourceOptions? opts = null)public static PowerOutletTemplate get(String name, Output<String> id, PowerOutletTemplateState state, CustomResourceOptions options)resources: existingPowerOutletTemplate: type: netbox:PowerOutletTemplate get: id: ${id}import {
to = netbox_power_outlet_template.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state PowerOutletTemplateState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state PowerOutletTemplateState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state PowerOutletTemplateState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state PowerOutletTemplateState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Color
Hex string - RGB color in hex (e.g. ff0000).
- Created string
- Description string
- Device
Type doubleId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Feed
Leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- Label string
- Physical label.
- Last
Updated string - Module
Type doubleId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Name string
- Power
Outlet doubleTemplate Id - NetBox id.
- Power
Port doubleId - Deprecated alias of powerporttemplate_id.
- Power
Port doubleTemplate Id - Id of the power port template this outlet draws from.
- Type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- Url string
- Color
Hex string - RGB color in hex (e.g. ff0000).
- Created string
- Description string
- Device
Type float64Id - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Feed
Leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- Label string
- Physical label.
- Last
Updated string - Module
Type float64Id - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- Name string
- Power
Outlet float64Template Id - NetBox id.
- Power
Port float64Id - Deprecated alias of powerporttemplate_id.
- Power
Port float64Template Id - Id of the power port template this outlet draws from.
- Type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- Url string
- color_
hex string - RGB color in hex (e.g. ff0000).
- created string
- description string
- device_
type_ numberid - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed_
leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label string
- Physical label.
- last_
updated string - module_
type_ numberid - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name string
- power_
outlet_ numbertemplate_ id - NetBox id.
- power_
port_ numberid - Deprecated alias of powerporttemplate_id.
- power_
port_ numbertemplate_ id - Id of the power port template this outlet draws from.
- type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- url string
- color
Hex String - RGB color in hex (e.g. ff0000).
- created String
- description String
- device
Type DoubleId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed
Leg String - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label String
- Physical label.
- last
Updated String - module
Type DoubleId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name String
- power
Outlet DoubleTemplate Id - NetBox id.
- power
Port DoubleId - Deprecated alias of powerporttemplate_id.
- power
Port DoubleTemplate Id - Id of the power port template this outlet draws from.
- type String
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- url String
- color
Hex string - RGB color in hex (e.g. ff0000).
- created string
- description string
- device
Type numberId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed
Leg string - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label string
- Physical label.
- last
Updated string - module
Type numberId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name string
- power
Outlet numberTemplate Id - NetBox id.
- power
Port numberId - Deprecated alias of powerporttemplate_id.
- power
Port numberTemplate Id - Id of the power port template this outlet draws from.
- type string
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- url string
- color_
hex str - RGB color in hex (e.g. ff0000).
- created str
- description str
- device_
type_ floatid - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed_
leg str - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label str
- Physical label.
- last_
updated str - module_
type_ floatid - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name str
- power_
outlet_ floattemplate_ id - NetBox id.
- power_
port_ floatid - Deprecated alias of powerporttemplate_id.
- power_
port_ floattemplate_ id - Id of the power port template this outlet draws from.
- type str
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- url str
- color
Hex String - RGB color in hex (e.g. ff0000).
- created String
- description String
- device
Type NumberId - Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- feed
Leg String - Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
- label String
- Physical label.
- last
Updated String - module
Type NumberId - Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
- name String
- power
Outlet NumberTemplate Id - NetBox id.
- power
Port NumberId - Deprecated alias of powerporttemplate_id.
- power
Port NumberTemplate Id - Id of the power port template this outlet draws from.
- type String
- Outlet type as its NetBox slug, e.g. iec-60320-c13, nema-5-15r, CS8364C (any of NetBox's power outlet type choices).
- url String
Import
In Terraform v1.5.0 and later, the import block can be used with the id attribute, for example:
terraform
import {
to = netbox_power_outlet_template.test
id = “123”
}
The pulumi import command can be used, for example:
$ pulumi import netbox:index/powerOutletTemplate:PowerOutletTemplate test 123
To learn more about importing existing cloud resources, see Importing resources.
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