1. Packages
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getDevicePowerOutlets
Viewing docs for netbox 5.7.0
published on Wednesday, Jul 15, 2026 by e-breuninger
Viewing docs for netbox 5.7.0
published on Wednesday, Jul 15, 2026 by e-breuninger

    Using getDevicePowerOutlets

    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 getDevicePowerOutlets(args: GetDevicePowerOutletsArgs, opts?: InvokeOptions): Promise<GetDevicePowerOutletsResult>
    function getDevicePowerOutletsOutput(args: GetDevicePowerOutletsOutputArgs, opts?: InvokeOptions): Output<GetDevicePowerOutletsResult>
    def get_device_power_outlets(filters: Optional[Sequence[GetDevicePowerOutletsFilter]] = None,
                                 id: Optional[str] = None,
                                 limit: Optional[float] = None,
                                 name_regex: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetDevicePowerOutletsResult
    def get_device_power_outlets_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDevicePowerOutletsFilterArgs]]]] = None,
                                 id: pulumi.Input[Optional[str]] = None,
                                 limit: pulumi.Input[Optional[float]] = None,
                                 name_regex: pulumi.Input[Optional[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetDevicePowerOutletsResult]
    func GetDevicePowerOutlets(ctx *Context, args *GetDevicePowerOutletsArgs, opts ...InvokeOption) (*GetDevicePowerOutletsResult, error)
    func GetDevicePowerOutletsOutput(ctx *Context, args *GetDevicePowerOutletsOutputArgs, opts ...InvokeOption) GetDevicePowerOutletsResultOutput

    > Note: This function is named GetDevicePowerOutlets in the Go SDK.

    public static class GetDevicePowerOutlets 
    {
        public static Task<GetDevicePowerOutletsResult> InvokeAsync(GetDevicePowerOutletsArgs args, InvokeOptions? opts = null)
        public static Output<GetDevicePowerOutletsResult> Invoke(GetDevicePowerOutletsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDevicePowerOutletsResult> getDevicePowerOutlets(GetDevicePowerOutletsArgs args, InvokeOptions options)
    public static Output<GetDevicePowerOutletsResult> getDevicePowerOutlets(GetDevicePowerOutletsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netbox:index/getDevicePowerOutlets:getDevicePowerOutlets
      arguments:
        # arguments dictionary
    data "netbox_get_device_power_outlets" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetDevicePowerOutletsFilter>
    Id string
    The ID of this resource.
    Limit double
    Defaults to 0.
    NameRegex string
    Filters []GetDevicePowerOutletsFilter
    Id string
    The ID of this resource.
    Limit float64
    Defaults to 0.
    NameRegex string
    filters list(object)
    id string
    The ID of this resource.
    limit number
    Defaults to 0.
    name_regex string
    filters List<GetDevicePowerOutletsFilter>
    id String
    The ID of this resource.
    limit Double
    Defaults to 0.
    nameRegex String
    filters GetDevicePowerOutletsFilter[]
    id string
    The ID of this resource.
    limit number
    Defaults to 0.
    nameRegex string
    filters Sequence[GetDevicePowerOutletsFilter]
    id str
    The ID of this resource.
    limit float
    Defaults to 0.
    name_regex str
    filters List<Property Map>
    id String
    The ID of this resource.
    limit Number
    Defaults to 0.
    nameRegex String

    getDevicePowerOutlets Result

    The following output properties are available:

    id string
    The ID of this resource.
    power_outlets list(object)
    filters list(object)
    limit number
    Defaults to 0.
    name_regex string
    id String
    The ID of this resource.
    powerOutlets List<Property Map>
    filters List<Property Map>
    limit Number
    Defaults to 0.
    nameRegex String

    Supporting Types

    GetDevicePowerOutletsFilter

    Name string
    Value string
    Name string
    Value string
    name string
    value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    GetDevicePowerOutletsPowerOutlet

    Description string
    DeviceId double
    FeedLeg string
    Id double
    ModuleId double
    Name string
    PowerPortId double
    TagIds List<double>
    Type string
    Description string
    DeviceId float64
    FeedLeg string
    Id float64
    ModuleId float64
    Name string
    PowerPortId float64
    TagIds []float64
    Type string
    description string
    device_id number
    feed_leg string
    id number
    module_id number
    name string
    power_port_id number
    tag_ids list(number)
    type string
    description String
    deviceId Double
    feedLeg String
    id Double
    moduleId Double
    name String
    powerPortId Double
    tagIds List<Double>
    type String
    description string
    deviceId number
    feedLeg string
    id number
    moduleId number
    name string
    powerPortId number
    tagIds number[]
    type string
    description str
    device_id float
    feed_leg str
    id float
    module_id float
    name str
    power_port_id float
    tag_ids Sequence[float]
    type str
    description String
    deviceId Number
    feedLeg String
    id Number
    moduleId Number
    name String
    powerPortId Number
    tagIds List<Number>
    type String

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    Viewing docs for netbox 5.7.0
    published on Wednesday, Jul 15, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial