published on Wednesday, Jul 15, 2026 by e-breuninger
published on Wednesday, Jul 15, 2026 by e-breuninger
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: "APC"});
const testDeviceType = new netbox.DeviceType("test", {
model: "APDU11150ME",
slug: "apdu11150me",
partNumber: "APDU11150ME",
manufacturerId: test.manufacturerId,
});
const testPowerPortTemplate = new netbox.PowerPortTemplate("test", {
name: "inlet",
deviceTypeId: testDeviceType.deviceTypeId,
type: "iec-60309-p-n-e-6h",
});
const testPowerOutletTemplate = new netbox.PowerOutletTemplate("test", {
name: "outlet-01",
label: "C13/C19 combo outlet 01",
deviceTypeId: testDeviceType.deviceTypeId,
type: "iec-60320-c13",
powerPortId: testPowerPortTemplate.powerPortTemplateId,
feedLeg: "A",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.Manufacturer("test", name="APC")
test_device_type = netbox.DeviceType("test",
model="APDU11150ME",
slug="apdu11150me",
part_number="APDU11150ME",
manufacturer_id=test.manufacturer_id)
test_power_port_template = netbox.PowerPortTemplate("test",
name="inlet",
device_type_id=test_device_type.device_type_id,
type="iec-60309-p-n-e-6h")
test_power_outlet_template = netbox.PowerOutletTemplate("test",
name="outlet-01",
label="C13/C19 combo outlet 01",
device_type_id=test_device_type.device_type_id,
type="iec-60320-c13",
power_port_id=test_power_port_template.power_port_template_id,
feed_leg="A")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v5/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("APC"),
})
if err != nil {
return err
}
testDeviceType, err := netbox.NewDeviceType(ctx, "test", &netbox.DeviceTypeArgs{
Model: pulumi.String("APDU11150ME"),
Slug: pulumi.String("apdu11150me"),
PartNumber: pulumi.String("APDU11150ME"),
ManufacturerId: test.ManufacturerId,
})
if err != nil {
return err
}
testPowerPortTemplate, err := netbox.NewPowerPortTemplate(ctx, "test", &netbox.PowerPortTemplateArgs{
Name: pulumi.String("inlet"),
DeviceTypeId: testDeviceType.DeviceTypeId,
Type: pulumi.String("iec-60309-p-n-e-6h"),
})
if err != nil {
return err
}
_, err = netbox.NewPowerOutletTemplate(ctx, "test", &netbox.PowerOutletTemplateArgs{
Name: pulumi.String("outlet-01"),
Label: pulumi.String("C13/C19 combo outlet 01"),
DeviceTypeId: testDeviceType.DeviceTypeId,
Type: pulumi.String("iec-60320-c13"),
PowerPortId: testPowerPortTemplate.PowerPortTemplateId,
FeedLeg: pulumi.String("A"),
})
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 = "APC",
});
var testDeviceType = new Netbox.DeviceType("test", new()
{
Model = "APDU11150ME",
Slug = "apdu11150me",
PartNumber = "APDU11150ME",
ManufacturerId = test.ManufacturerId,
});
var testPowerPortTemplate = new Netbox.PowerPortTemplate("test", new()
{
Name = "inlet",
DeviceTypeId = testDeviceType.DeviceTypeId,
Type = "iec-60309-p-n-e-6h",
});
var testPowerOutletTemplate = new Netbox.PowerOutletTemplate("test", new()
{
Name = "outlet-01",
Label = "C13/C19 combo outlet 01",
DeviceTypeId = testDeviceType.DeviceTypeId,
Type = "iec-60320-c13",
PowerPortId = testPowerPortTemplate.PowerPortTemplateId,
FeedLeg = "A",
});
});
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("APC")
.build());
var testDeviceType = new DeviceType("testDeviceType", DeviceTypeArgs.builder()
.model("APDU11150ME")
.slug("apdu11150me")
.partNumber("APDU11150ME")
.manufacturerId(test.manufacturerId())
.build());
var testPowerPortTemplate = new PowerPortTemplate("testPowerPortTemplate", PowerPortTemplateArgs.builder()
.name("inlet")
.deviceTypeId(testDeviceType.deviceTypeId())
.type("iec-60309-p-n-e-6h")
.build());
var testPowerOutletTemplate = new PowerOutletTemplate("testPowerOutletTemplate", PowerOutletTemplateArgs.builder()
.name("outlet-01")
.label("C13/C19 combo outlet 01")
.deviceTypeId(testDeviceType.deviceTypeId())
.type("iec-60320-c13")
.powerPortId(testPowerPortTemplate.powerPortTemplateId())
.feedLeg("A")
.build());
}
}
resources:
test:
type: netbox:Manufacturer
properties:
name: APC
testDeviceType:
type: netbox:DeviceType
name: test
properties:
model: APDU11150ME
slug: apdu11150me
partNumber: APDU11150ME
manufacturerId: ${test.manufacturerId}
testPowerPortTemplate:
type: netbox:PowerPortTemplate
name: test
properties:
name: inlet
deviceTypeId: ${testDeviceType.deviceTypeId}
type: iec-60309-p-n-e-6h
testPowerOutletTemplate:
type: netbox:PowerOutletTemplate
name: test
properties:
name: outlet-01
label: C13/C19 combo outlet 01
deviceTypeId: ${testDeviceType.deviceTypeId}
type: iec-60320-c13
powerPortId: ${testPowerPortTemplate.powerPortTemplateId}
feedLeg: A
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,
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_outlet_template_id: Optional[str] = None,
power_port_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()
{
Description = "string",
DeviceTypeId = 0,
FeedLeg = "string",
Label = "string",
ModuleTypeId = 0,
Name = "string",
PowerOutletTemplateId = "string",
PowerPortId = 0,
Type = "string",
});
example, err := netbox.NewPowerOutletTemplate(ctx, "powerOutletTemplateResource", &netbox.PowerOutletTemplateArgs{
Description: pulumi.String("string"),
DeviceTypeId: pulumi.Float64(0),
FeedLeg: pulumi.String("string"),
Label: pulumi.String("string"),
ModuleTypeId: pulumi.Float64(0),
Name: pulumi.String("string"),
PowerOutletTemplateId: pulumi.String("string"),
PowerPortId: pulumi.Float64(0),
Type: pulumi.String("string"),
})
resource "netbox_power_outlet_template" "powerOutletTemplateResource" {
lifecycle {
create_before_destroy = true
}
description = "string"
device_type_id = 0
feed_leg = "string"
label = "string"
module_type_id = 0
name = "string"
power_outlet_template_id = "string"
power_port_id = 0
type = "string"
}
var powerOutletTemplateResource = new PowerOutletTemplate("powerOutletTemplateResource", PowerOutletTemplateArgs.builder()
.description("string")
.deviceTypeId(0.0)
.feedLeg("string")
.label("string")
.moduleTypeId(0.0)
.name("string")
.powerOutletTemplateId("string")
.powerPortId(0.0)
.type("string")
.build());
power_outlet_template_resource = netbox.PowerOutletTemplate("powerOutletTemplateResource",
description="string",
device_type_id=float(0),
feed_leg="string",
label="string",
module_type_id=float(0),
name="string",
power_outlet_template_id="string",
power_port_id=float(0),
type="string")
const powerOutletTemplateResource = new netbox.PowerOutletTemplate("powerOutletTemplateResource", {
description: "string",
deviceTypeId: 0,
feedLeg: "string",
label: "string",
moduleTypeId: 0,
name: "string",
powerOutletTemplateId: "string",
powerPortId: 0,
type: "string",
});
type: netbox:PowerOutletTemplate
properties:
description: string
deviceTypeId: 0
feedLeg: string
label: string
moduleTypeId: 0
name: string
powerOutletTemplateId: string
powerPortId: 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:
- Description string
- Device
Type doubleId - Exactly one of
device_type_idormodule_type_idmust be given. - Feed
Leg string - One of [A, B, C].
- Label string
- Module
Type doubleId - Exactly one of
device_type_idormodule_type_idmust be given. - Name string
- Power
Outlet stringTemplate Id - The ID of this resource.
- Power
Port doubleId - ID of a power port template on the same parent device type or module type.
- Type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- Description string
- Device
Type float64Id - Exactly one of
device_type_idormodule_type_idmust be given. - Feed
Leg string - One of [A, B, C].
- Label string
- Module
Type float64Id - Exactly one of
device_type_idormodule_type_idmust be given. - Name string
- Power
Outlet stringTemplate Id - The ID of this resource.
- Power
Port float64Id - ID of a power port template on the same parent device type or module type.
- Type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description string
- device_
type_ numberid - Exactly one of
device_type_idormodule_type_idmust be given. - feed_
leg string - One of [A, B, C].
- label string
- module_
type_ numberid - Exactly one of
device_type_idormodule_type_idmust be given. - name string
- power_
outlet_ stringtemplate_ id - The ID of this resource.
- power_
port_ numberid - ID of a power port template on the same parent device type or module type.
- type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description String
- device
Type DoubleId - Exactly one of
device_type_idormodule_type_idmust be given. - feed
Leg String - One of [A, B, C].
- label String
- module
Type DoubleId - Exactly one of
device_type_idormodule_type_idmust be given. - name String
- power
Outlet StringTemplate Id - The ID of this resource.
- power
Port DoubleId - ID of a power port template on the same parent device type or module type.
- type String
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description string
- device
Type numberId - Exactly one of
device_type_idormodule_type_idmust be given. - feed
Leg string - One of [A, B, C].
- label string
- module
Type numberId - Exactly one of
device_type_idormodule_type_idmust be given. - name string
- power
Outlet stringTemplate Id - The ID of this resource.
- power
Port numberId - ID of a power port template on the same parent device type or module type.
- type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description str
- device_
type_ floatid - Exactly one of
device_type_idormodule_type_idmust be given. - feed_
leg str - One of [A, B, C].
- label str
- module_
type_ floatid - Exactly one of
device_type_idormodule_type_idmust be given. - name str
- power_
outlet_ strtemplate_ id - The ID of this resource.
- power_
port_ floatid - ID of a power port template on the same parent device type or module type.
- type str
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description String
- device
Type NumberId - Exactly one of
device_type_idormodule_type_idmust be given. - feed
Leg String - One of [A, B, C].
- label String
- module
Type NumberId - Exactly one of
device_type_idormodule_type_idmust be given. - name String
- power
Outlet StringTemplate Id - The ID of this resource.
- power
Port NumberId - ID of a power port template on the same parent device type or module type.
- type String
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Outputs
All input properties are implicitly available as output properties. Additionally, the PowerOutletTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
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,
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_outlet_template_id: Optional[str] = None,
power_port_id: Optional[float] = None,
type: 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: _: type: netbox:PowerOutletTemplate get: id: ${id}import {
to = netbox_power_outlet_template.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Description string
- Device
Type doubleId - Exactly one of
device_type_idormodule_type_idmust be given. - Feed
Leg string - One of [A, B, C].
- Label string
- Module
Type doubleId - Exactly one of
device_type_idormodule_type_idmust be given. - Name string
- Power
Outlet stringTemplate Id - The ID of this resource.
- Power
Port doubleId - ID of a power port template on the same parent device type or module type.
- Type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- Description string
- Device
Type float64Id - Exactly one of
device_type_idormodule_type_idmust be given. - Feed
Leg string - One of [A, B, C].
- Label string
- Module
Type float64Id - Exactly one of
device_type_idormodule_type_idmust be given. - Name string
- Power
Outlet stringTemplate Id - The ID of this resource.
- Power
Port float64Id - ID of a power port template on the same parent device type or module type.
- Type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description string
- device_
type_ numberid - Exactly one of
device_type_idormodule_type_idmust be given. - feed_
leg string - One of [A, B, C].
- label string
- module_
type_ numberid - Exactly one of
device_type_idormodule_type_idmust be given. - name string
- power_
outlet_ stringtemplate_ id - The ID of this resource.
- power_
port_ numberid - ID of a power port template on the same parent device type or module type.
- type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description String
- device
Type DoubleId - Exactly one of
device_type_idormodule_type_idmust be given. - feed
Leg String - One of [A, B, C].
- label String
- module
Type DoubleId - Exactly one of
device_type_idormodule_type_idmust be given. - name String
- power
Outlet StringTemplate Id - The ID of this resource.
- power
Port DoubleId - ID of a power port template on the same parent device type or module type.
- type String
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description string
- device
Type numberId - Exactly one of
device_type_idormodule_type_idmust be given. - feed
Leg string - One of [A, B, C].
- label string
- module
Type numberId - Exactly one of
device_type_idormodule_type_idmust be given. - name string
- power
Outlet stringTemplate Id - The ID of this resource.
- power
Port numberId - ID of a power port template on the same parent device type or module type.
- type string
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description str
- device_
type_ floatid - Exactly one of
device_type_idormodule_type_idmust be given. - feed_
leg str - One of [A, B, C].
- label str
- module_
type_ floatid - Exactly one of
device_type_idormodule_type_idmust be given. - name str
- power_
outlet_ strtemplate_ id - The ID of this resource.
- power_
port_ floatid - ID of a power port template on the same parent device type or module type.
- type str
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
- description String
- device
Type NumberId - Exactly one of
device_type_idormodule_type_idmust be given. - feed
Leg String - One of [A, B, C].
- label String
- module
Type NumberId - Exactly one of
device_type_idormodule_type_idmust be given. - name String
- power
Outlet StringTemplate Id - The ID of this resource.
- power
Port NumberId - ID of a power port template on the same parent device type or module type.
- type String
- One of [iec-60320-c5, iec-60320-c7, iec-60320-c13, iec-60320-c15, iec-60320-c19, iec-60320-c21, iec-60309-p-n-e-4h, iec-60309-p-n-e-6h, iec-60309-p-n-e-9h, iec-60309-2p-e-4h, iec-60309-2p-e-6h, iec-60309-2p-e-9h, iec-60309-3p-e-4h, iec-60309-3p-e-6h, iec-60309-3p-e-9h, iec-60309-3p-n-e-4h, iec-60309-3p-n-e-6h, iec-60309-3p-n-e-9h, nema-1-15r, nema-5-15r, nema-5-20r, nema-5-30r, nema-5-50r, nema-6-15r, nema-6-20r, nema-6-30r, nema-6-50r, nema-10-30r, nema-10-50r, nema-14-20r, nema-14-30r, nema-14-50r, nema-14-60r, nema-15-15r, nema-15-20r, nema-15-30r, nema-15-50r, nema-15-60r, nema-l1-15r, nema-l5-15r, nema-l5-20r, nema-l5-30r, nema-l5-50r, nema-l6-15r, nema-l6-20r, nema-l6-30r, nema-l6-50r, nema-l10-30r, nema-l14-20r, nema-l14-30r, nema-l14-50r, nema-l14-60r, nema-l15-20r, nema-l15-30r, nema-l15-50r, nema-l15-60r, nema-l21-20r, nema-l21-30r, nema-l22-30r, CS6360C, CS6364C, CS8164C, CS8264C, CS8364C, CS8464C, ita-e, ita-f, ita-g, ita-h, ita-i, ita-j, ita-k, ita-l, ita-m, ita-n, ita-o, ita-multistandard, usb-a, usb-micro-b, usb-c, dc-terminal, hdot-cx, saf-d-grid, neutrik-powercon-20a, neutrik-powercon-32a, neutrik-powercon-true1, neutrik-powercon-true1-top, ubiquiti-smartpower, hardwired, other].
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Wednesday, Jul 15, 2026 by e-breuninger