1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. PowerOutletTemplate
Viewing docs for netbox 6.0.1
published on Monday, Nov 16, 2026 by e-breuninger

netbox.PowerOutletTemplate

netbox
Viewing docs for netbox 6.0.1
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:

    ColorHex string
    RGB color in hex (e.g. ff0000).
    Description string
    DeviceTypeId double
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    FeedLeg string
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    Label string
    Physical label.
    ModuleTypeId double
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Name string
    PowerPortId double
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    PowerPortTemplateId double
    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).
    ColorHex string
    RGB color in hex (e.g. ff0000).
    Description string
    DeviceTypeId float64
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    FeedLeg string
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    Label string
    Physical label.
    ModuleTypeId float64
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Name string
    PowerPortId float64
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    PowerPortTemplateId float64
    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_id number
    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_id number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name string
    power_port_id number
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    power_port_template_id number
    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).
    colorHex String
    RGB color in hex (e.g. ff0000).
    description String
    deviceTypeId Double
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    feedLeg String
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    label String
    Physical label.
    moduleTypeId Double
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name String
    powerPortId Double
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    powerPortTemplateId Double
    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).
    colorHex string
    RGB color in hex (e.g. ff0000).
    description string
    deviceTypeId number
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    feedLeg string
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    label string
    Physical label.
    moduleTypeId number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name string
    powerPortId number
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    powerPortTemplateId number
    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_id float
    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_id float
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name str
    power_port_id float
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    power_port_template_id float
    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).
    colorHex String
    RGB color in hex (e.g. ff0000).
    description String
    deviceTypeId Number
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    feedLeg String
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    label String
    Physical label.
    moduleTypeId Number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name String
    powerPortId Number
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    powerPortTemplateId Number
    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.
    LastUpdated string
    PowerOutletTemplateId double
    NetBox id.
    Url string
    Created string
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdated string
    PowerOutletTemplateId float64
    NetBox id.
    Url string
    created string
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated string
    power_outlet_template_id number
    NetBox id.
    url string
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    powerOutletTemplateId Double
    NetBox id.
    url String
    created string
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdated string
    powerOutletTemplateId number
    NetBox id.
    url string
    created str
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated str
    power_outlet_template_id float
    NetBox id.
    url str
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdated String
    powerOutletTemplateId Number
    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) -> PowerOutletTemplate
    func 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.
    The following state arguments are supported:
    ColorHex string
    RGB color in hex (e.g. ff0000).
    Created string
    Description string
    DeviceTypeId double
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    FeedLeg string
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    Label string
    Physical label.
    LastUpdated string
    ModuleTypeId double
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Name string
    PowerOutletTemplateId double
    NetBox id.
    PowerPortId double
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    PowerPortTemplateId double
    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
    ColorHex string
    RGB color in hex (e.g. ff0000).
    Created string
    Description string
    DeviceTypeId float64
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    FeedLeg string
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    Label string
    Physical label.
    LastUpdated string
    ModuleTypeId float64
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Name string
    PowerOutletTemplateId float64
    NetBox id.
    PowerPortId float64
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    PowerPortTemplateId float64
    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_id number
    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_id number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name string
    power_outlet_template_id number
    NetBox id.
    power_port_id number
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    power_port_template_id number
    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
    colorHex String
    RGB color in hex (e.g. ff0000).
    created String
    description String
    deviceTypeId Double
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    feedLeg String
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    label String
    Physical label.
    lastUpdated String
    moduleTypeId Double
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name String
    powerOutletTemplateId Double
    NetBox id.
    powerPortId Double
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    powerPortTemplateId Double
    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
    colorHex string
    RGB color in hex (e.g. ff0000).
    created string
    description string
    deviceTypeId number
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    feedLeg string
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    label string
    Physical label.
    lastUpdated string
    moduleTypeId number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name string
    powerOutletTemplateId number
    NetBox id.
    powerPortId number
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    powerPortTemplateId number
    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_id float
    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_id float
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name str
    power_outlet_template_id float
    NetBox id.
    power_port_id float
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    power_port_template_id float
    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
    colorHex String
    RGB color in hex (e.g. ff0000).
    created String
    description String
    deviceTypeId Number
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    feedLeg String
    Phase of the upstream feed this outlet is mapped to. One of: A, B, C.
    label String
    Physical label.
    lastUpdated String
    moduleTypeId Number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name String
    powerOutletTemplateId Number
    NetBox id.
    powerPortId Number
    Deprecated alias of powerporttemplate_id.

    Deprecated: Deprecated

    powerPortTemplateId Number
    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 netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.1
    published on Monday, Nov 16, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial