published on Wednesday, Nov 4, 2026 by e-breuninger
published on Wednesday, Nov 4, 2026 by e-breuninger
A power feed from a panel to a rack (dcim.powerfeed).
From the official documentation:
A power feed represents the distribution of power from a power panel to a particular device, typically a power distribution unit (PDU). The power port (inlet) on a device can be connected via a cable to a power feed. A power feed may optionally be assigned to a rack to allow more easily tracking the distribution of power among racks.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as netbox from "@pulumi/netbox";
const test = netbox.getPowerFeed({
name: "test-power_feed",
});
import pulumi
import pulumi_netbox as netbox
test = netbox.get_power_feed(name="test-power_feed")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := netbox.LookupPowerFeed(ctx, &netbox.LookupPowerFeedArgs{
Name: pulumi.StringRef("test-power_feed"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Netbox = Pulumi.Netbox;
return await Deployment.RunAsync(() =>
{
var test = Netbox.GetPowerFeed.Invoke(new()
{
Name = "test-power_feed",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.netbox.NetboxFunctions;
import com.pulumi.netbox.inputs.GetPowerFeedArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = NetboxFunctions.getPowerFeed(GetPowerFeedArgs.builder()
.name("test-power_feed")
.build());
}
}
variables:
test:
fn::invoke:
function: netbox:getPowerFeed
arguments:
name: test-power_feed
Example coming soon!
Using getPowerFeed
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPowerFeed(args: GetPowerFeedArgs, opts?: InvokeOptions): Promise<GetPowerFeedResult>
function getPowerFeedOutput(args: GetPowerFeedOutputArgs, opts?: InvokeOutputOptions): Output<GetPowerFeedResult>def get_power_feed(custom_field_filters: Optional[Mapping[str, str]] = None,
id: Optional[float] = None,
name: Optional[str] = None,
owner_id: Optional[float] = None,
power_panel_id: Optional[float] = None,
rack_id: Optional[float] = None,
status: Optional[str] = None,
tag_slug: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPowerFeedResult
def get_power_feed_output(custom_field_filters: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
id: pulumi.Input[Optional[float]] = None,
name: pulumi.Input[Optional[str]] = None,
owner_id: pulumi.Input[Optional[float]] = None,
power_panel_id: pulumi.Input[Optional[float]] = None,
rack_id: pulumi.Input[Optional[float]] = None,
status: pulumi.Input[Optional[str]] = None,
tag_slug: pulumi.Input[Optional[str]] = None,
type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPowerFeedResult]func LookupPowerFeed(ctx *Context, args *LookupPowerFeedArgs, opts ...InvokeOption) (*LookupPowerFeedResult, error)
func LookupPowerFeedOutput(ctx *Context, args *LookupPowerFeedOutputArgs, opts ...InvokeOption) LookupPowerFeedResultOutput> Note: This function is named LookupPowerFeed in the Go SDK.
public static class GetPowerFeed
{
public static Task<GetPowerFeedResult> InvokeAsync(GetPowerFeedArgs args, InvokeOptions? opts = null)
public static Output<GetPowerFeedResult> Invoke(GetPowerFeedInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPowerFeedResult> Invoke(GetPowerFeedInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPowerFeedResult> getPowerFeed(GetPowerFeedArgs args, InvokeOptions options)
public static Output<GetPowerFeedResult> getPowerFeed(GetPowerFeedArgs args, InvokeOptions options)
public static Output<GetPowerFeedResult> getPowerFeed(GetPowerFeedArgs args, InvokeOutputOptions options)
fn::invoke:
function: netbox:index/getPowerFeed:getPowerFeed
arguments:
# arguments dictionarydata "netbox_get_power_feed" "name" {
# arguments
}The following arguments are supported:
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Id double
- NetBox id.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Power
Panel doubleId - Id of the power panel the feed starts at.
- Rack
Id double - Id of the rack the feed serves.
- Status string
- Operational status. One of: offline, active, planned, failed.
- string
- Slug of a tag the object carries.
- Type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- Id float64
- NetBox id.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Power
Panel float64Id - Id of the power panel the feed starts at.
- Rack
Id float64 - Id of the rack the feed serves.
- Status string
- Operational status. One of: offline, active, planned, failed.
- string
- Slug of a tag the object carries.
- Type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- id number
- NetBox id.
- name string
- owner_
id number - Id of the owner the object is assigned to.
- power_
panel_ numberid - Id of the power panel the feed starts at.
- rack_
id number - Id of the rack the feed serves.
- status string
- Operational status. One of: offline, active, planned, failed.
- tag_
slug string - Slug of a tag the object carries.
- type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- id Double
- NetBox id.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- power
Panel DoubleId - Id of the power panel the feed starts at.
- rack
Id Double - Id of the rack the feed serves.
- status String
- Operational status. One of: offline, active, planned, failed.
- String
- Slug of a tag the object carries.
- type String
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- id number
- NetBox id.
- name string
- owner
Id number - Id of the owner the object is assigned to.
- power
Panel numberId - Id of the power panel the feed starts at.
- rack
Id number - Id of the rack the feed serves.
- status string
- Operational status. One of: offline, active, planned, failed.
- string
- Slug of a tag the object carries.
- type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- id float
- NetBox id.
- name str
- owner_
id float - Id of the owner the object is assigned to.
- power_
panel_ floatid - Id of the power panel the feed starts at.
- rack_
id float - Id of the rack the feed serves.
- status str
- Operational status. One of: offline, active, planned, failed.
- tag_
slug str - Slug of a tag the object carries.
- type str
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- id Number
- NetBox id.
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- power
Panel NumberId - Id of the power panel the feed starts at.
- rack
Id Number - Id of the rack the feed serves.
- status String
- Operational status. One of: offline, active, planned, failed.
- String
- Slug of a tag the object carries.
- type String
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
getPowerFeed Result
The following output properties are available:
- Amperage double
- Amperage of the feed. Must be a whole number.
- Comments string
- Created string
- Custom
Fields Dictionary<string, string> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Id double
- NetBox id.
- Last
Updated string - Mark
Connected bool - Treat the feed as connected even without a cable.
- Max
Percent doubleUtilization - Deprecated alias of maxutilizationpercent.
- Max
Utilization doublePercent - Maximum permitted draw as a percentage. Must be a whole number.
- Name string
- Owner
Id double - Id of the owner the object is assigned to.
- Phase string
- Phase type. One of: single-phase, three-phase.
- Power
Panel doubleId - Id of the power panel the feed starts at.
- Rack
Id double - Id of the rack the feed serves.
- Status string
- Operational status. One of: offline, active, planned, failed.
- Supply string
- Supply type. One of: ac, dc.
- List<string>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<string>
- Slugs of all tags on the object, including the provider's default_tags.
- Tenant
Id double - Id of the tenant.
- Type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- Url string
- Voltage double
- Voltage of the feed. Must be a whole number.
- Custom
Field Dictionary<string, string>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- string
- Slug of a tag the object carries.
- Amperage float64
- Amperage of the feed. Must be a whole number.
- Comments string
- Created string
- Custom
Fields map[string]string - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- Description string
- Id float64
- NetBox id.
- Last
Updated string - Mark
Connected bool - Treat the feed as connected even without a cable.
- Max
Percent float64Utilization - Deprecated alias of maxutilizationpercent.
- Max
Utilization float64Percent - Maximum permitted draw as a percentage. Must be a whole number.
- Name string
- Owner
Id float64 - Id of the owner the object is assigned to.
- Phase string
- Phase type. One of: single-phase, three-phase.
- Power
Panel float64Id - Id of the power panel the feed starts at.
- Rack
Id float64 - Id of the rack the feed serves.
- Status string
- Operational status. One of: offline, active, planned, failed.
- Supply string
- Supply type. One of: ac, dc.
- []string
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- []string
- Slugs of all tags on the object, including the provider's default_tags.
- Tenant
Id float64 - Id of the tenant.
- Type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- Url string
- Voltage float64
- Voltage of the feed. Must be a whole number.
- Custom
Field map[string]stringFilters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- string
- Slug of a tag the object carries.
- amperage number
- Amperage of the feed. Must be a whole number.
- comments string
- created string
- custom_
fields map(string) - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- id number
- NetBox id.
- last_
updated string - mark_
connected bool - Treat the feed as connected even without a cable.
- max_
percent_ numberutilization - Deprecated alias of maxutilizationpercent.
- max_
utilization_ numberpercent - Maximum permitted draw as a percentage. Must be a whole number.
- name string
- owner_
id number - Id of the owner the object is assigned to.
- phase string
- Phase type. One of: single-phase, three-phase.
- power_
panel_ numberid - Id of the power panel the feed starts at.
- rack_
id number - Id of the rack the feed serves.
- status string
- Operational status. One of: offline, active, planned, failed.
- supply string
- Supply type. One of: ac, dc.
- list(string)
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- list(string)
- Slugs of all tags on the object, including the provider's default_tags.
- tenant_
id number - Id of the tenant.
- type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- url string
- voltage number
- Voltage of the feed. Must be a whole number.
- custom_
field_ map(string)filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- tag_
slug string - Slug of a tag the object carries.
- amperage Double
- Amperage of the feed. Must be a whole number.
- comments String
- created String
- custom
Fields Map<String,String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- id Double
- NetBox id.
- last
Updated String - mark
Connected Boolean - Treat the feed as connected even without a cable.
- max
Percent DoubleUtilization - Deprecated alias of maxutilizationpercent.
- max
Utilization DoublePercent - Maximum permitted draw as a percentage. Must be a whole number.
- name String
- owner
Id Double - Id of the owner the object is assigned to.
- phase String
- Phase type. One of: single-phase, three-phase.
- power
Panel DoubleId - Id of the power panel the feed starts at.
- rack
Id Double - Id of the rack the feed serves.
- status String
- Operational status. One of: offline, active, planned, failed.
- supply String
- Supply type. One of: ac, dc.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id Double - Id of the tenant.
- type String
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- url String
- voltage Double
- Voltage of the feed. Must be a whole number.
- custom
Field Map<String,String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- String
- Slug of a tag the object carries.
- amperage number
- Amperage of the feed. Must be a whole number.
- comments string
- created string
- custom
Fields {[key: string]: string} - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description string
- id number
- NetBox id.
- last
Updated string - mark
Connected boolean - Treat the feed as connected even without a cable.
- max
Percent numberUtilization - Deprecated alias of maxutilizationpercent.
- max
Utilization numberPercent - Maximum permitted draw as a percentage. Must be a whole number.
- name string
- owner
Id number - Id of the owner the object is assigned to.
- phase string
- Phase type. One of: single-phase, three-phase.
- power
Panel numberId - Id of the power panel the feed starts at.
- rack
Id number - Id of the rack the feed serves.
- status string
- Operational status. One of: offline, active, planned, failed.
- supply string
- Supply type. One of: ac, dc.
- string[]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- string[]
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id number - Id of the tenant.
- type string
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- url string
- voltage number
- Voltage of the feed. Must be a whole number.
- custom
Field {[key: string]: string}Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- string
- Slug of a tag the object carries.
- amperage float
- Amperage of the feed. Must be a whole number.
- comments str
- created str
- custom_
fields Mapping[str, str] - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description str
- id float
- NetBox id.
- last_
updated str - mark_
connected bool - Treat the feed as connected even without a cable.
- max_
percent_ floatutilization - Deprecated alias of maxutilizationpercent.
- max_
utilization_ floatpercent - Maximum permitted draw as a percentage. Must be a whole number.
- name str
- owner_
id float - Id of the owner the object is assigned to.
- phase str
- Phase type. One of: single-phase, three-phase.
- power_
panel_ floatid - Id of the power panel the feed starts at.
- rack_
id float - Id of the rack the feed serves.
- status str
- Operational status. One of: offline, active, planned, failed.
- supply str
- Supply type. One of: ac, dc.
- Sequence[str]
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- Sequence[str]
- Slugs of all tags on the object, including the provider's default_tags.
- tenant_
id float - Id of the tenant.
- type str
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- url str
- voltage float
- Voltage of the feed. Must be a whole number.
- custom_
field_ Mapping[str, str]filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- tag_
slug str - Slug of a tag the object carries.
- amperage Number
- Amperage of the feed. Must be a whole number.
- comments String
- created String
- custom
Fields Map<String> - Custom field values by field name. Every value is a string; NetBox coerces numbers and booleans. An object field holds the related object's id, e.g. "12", a multiobject field a JSON list of ids in any order, e.g. jsonencode([12, 13]). A key removed from the map is cleared in NetBox (set {} to clear all).
- description String
- id Number
- NetBox id.
- last
Updated String - mark
Connected Boolean - Treat the feed as connected even without a cable.
- max
Percent NumberUtilization - Deprecated alias of maxutilizationpercent.
- max
Utilization NumberPercent - Maximum permitted draw as a percentage. Must be a whole number.
- name String
- owner
Id Number - Id of the owner the object is assigned to.
- phase String
- Phase type. One of: single-phase, three-phase.
- power
Panel NumberId - Id of the power panel the feed starts at.
- rack
Id Number - Id of the rack the feed serves.
- status String
- Operational status. One of: offline, active, planned, failed.
- supply String
- Supply type. One of: ac, dc.
- List<String>
- Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
- List<String>
- Slugs of all tags on the object, including the provider's default_tags.
- tenant
Id Number - Id of the tenant.
- type String
- Whether the feed is the primary or the redundant one. One of: primary, redundant.
- url String
- voltage Number
- Voltage of the feed. Must be a whole number.
- custom
Field Map<String>Filters - Custom field values to match, by field name, e.g. { tier = "gold" }: each entry filters as cf_\n\n with the field's own filter logic, loose (case-insensitive substring) or exact.
- String
- Slug of a tag the object carries.
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netboxTerraform Provider.
published on Wednesday, Nov 4, 2026 by e-breuninger