1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getPowerFeed
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
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 dictionary
    data "netbox_get_power_feed" "name" {
        # arguments
    }

    The following arguments are supported:

    CustomFieldFilters Dictionary<string, string>
    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
    OwnerId double
    Id of the owner the object is assigned to.
    PowerPanelId double
    Id of the power panel the feed starts at.
    RackId double
    Id of the rack the feed serves.
    Status string
    Operational status. One of: offline, active, planned, failed.
    TagSlug string
    Slug of a tag the object carries.
    Type string
    Whether the feed is the primary or the redundant one. One of: primary, redundant.
    CustomFieldFilters map[string]string
    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
    OwnerId float64
    Id of the owner the object is assigned to.
    PowerPanelId float64
    Id of the power panel the feed starts at.
    RackId float64
    Id of the rack the feed serves.
    Status string
    Operational status. One of: offline, active, planned, failed.
    TagSlug 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_filters map(string)
    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_id number
    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.
    customFieldFilters Map<String,String>
    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
    ownerId Double
    Id of the owner the object is assigned to.
    powerPanelId Double
    Id of the power panel the feed starts at.
    rackId Double
    Id of the rack the feed serves.
    status String
    Operational status. One of: offline, active, planned, failed.
    tagSlug String
    Slug of a tag the object carries.
    type String
    Whether the feed is the primary or the redundant one. One of: primary, redundant.
    customFieldFilters {[key: string]: string}
    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
    ownerId number
    Id of the owner the object is assigned to.
    powerPanelId number
    Id of the power panel the feed starts at.
    rackId number
    Id of the rack the feed serves.
    status string
    Operational status. One of: offline, active, planned, failed.
    tagSlug 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_filters Mapping[str, str]
    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_id float
    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.
    customFieldFilters Map<String>
    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
    ownerId Number
    Id of the owner the object is assigned to.
    powerPanelId Number
    Id of the power panel the feed starts at.
    rackId Number
    Id of the rack the feed serves.
    status String
    Operational status. One of: offline, active, planned, failed.
    tagSlug 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
    CustomFields 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.
    LastUpdated string
    MarkConnected bool
    Treat the feed as connected even without a cable.
    MaxPercentUtilization double
    Deprecated alias of maxutilizationpercent.

    Deprecated: Deprecated

    MaxUtilizationPercent double
    Maximum permitted draw as a percentage. Must be a whole number.
    Name string
    OwnerId double
    Id of the owner the object is assigned to.
    Phase string
    Phase type. One of: single-phase, three-phase.
    PowerPanelId double
    Id of the power panel the feed starts at.
    RackId 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.
    Tags List<string>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls List<string>
    Slugs of all tags on the object, including the provider's default_tags.
    TenantId 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.
    CustomFieldFilters Dictionary<string, string>
    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.
    TagSlug string
    Slug of a tag the object carries.
    Amperage float64
    Amperage of the feed. Must be a whole number.
    Comments string
    Created string
    CustomFields 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.
    LastUpdated string
    MarkConnected bool
    Treat the feed as connected even without a cable.
    MaxPercentUtilization float64
    Deprecated alias of maxutilizationpercent.

    Deprecated: Deprecated

    MaxUtilizationPercent float64
    Maximum permitted draw as a percentage. Must be a whole number.
    Name string
    OwnerId float64
    Id of the owner the object is assigned to.
    Phase string
    Phase type. One of: single-phase, three-phase.
    PowerPanelId float64
    Id of the power panel the feed starts at.
    RackId 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.
    Tags []string
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    TagsAlls []string
    Slugs of all tags on the object, including the provider's default_tags.
    TenantId 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.
    CustomFieldFilters map[string]string
    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.
    TagSlug 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_utilization number
    Deprecated alias of maxutilizationpercent.

    Deprecated: Deprecated

    max_utilization_percent number
    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_id number
    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.
    tags list(string)
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls 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_filters map(string)
    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
    customFields 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.
    lastUpdated String
    markConnected Boolean
    Treat the feed as connected even without a cable.
    maxPercentUtilization Double
    Deprecated alias of maxutilizationpercent.

    Deprecated: Deprecated

    maxUtilizationPercent Double
    Maximum permitted draw as a percentage. Must be a whole number.
    name String
    ownerId Double
    Id of the owner the object is assigned to.
    phase String
    Phase type. One of: single-phase, three-phase.
    powerPanelId Double
    Id of the power panel the feed starts at.
    rackId 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.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId 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.
    customFieldFilters Map<String,String>
    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.
    tagSlug String
    Slug of a tag the object carries.
    amperage number
    Amperage of the feed. Must be a whole number.
    comments string
    created string
    customFields {[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.
    lastUpdated string
    markConnected boolean
    Treat the feed as connected even without a cable.
    maxPercentUtilization number
    Deprecated alias of maxutilizationpercent.

    Deprecated: Deprecated

    maxUtilizationPercent number
    Maximum permitted draw as a percentage. Must be a whole number.
    name string
    ownerId number
    Id of the owner the object is assigned to.
    phase string
    Phase type. One of: single-phase, three-phase.
    powerPanelId number
    Id of the power panel the feed starts at.
    rackId 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.
    tags string[]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls string[]
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId 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.
    customFieldFilters {[key: string]: string}
    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.
    tagSlug 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_utilization float
    Deprecated alias of maxutilizationpercent.

    Deprecated: Deprecated

    max_utilization_percent float
    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_id float
    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.
    tags Sequence[str]
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tags_alls 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_filters Mapping[str, str]
    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
    customFields 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.
    lastUpdated String
    markConnected Boolean
    Treat the feed as connected even without a cable.
    maxPercentUtilization Number
    Deprecated alias of maxutilizationpercent.

    Deprecated: Deprecated

    maxUtilizationPercent Number
    Maximum permitted draw as a percentage. Must be a whole number.
    name String
    ownerId Number
    Id of the owner the object is assigned to.
    phase String
    Phase type. One of: single-phase, three-phase.
    powerPanelId Number
    Id of the power panel the feed starts at.
    rackId 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.
    tags List<String>
    Slugs of the tags assigned to the object (the provider's defaulttags are added on top, see tagsall).
    tagsAlls List<String>
    Slugs of all tags on the object, including the provider's default_tags.
    tenantId 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.
    customFieldFilters Map<String>
    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.
    tagSlug 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 netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial