netbox 4.0.0 published on Thursday, Jun 12, 2025 by e-breuninger
netbox.getDevicePowerPorts
Explore with Pulumi AI
netbox 4.0.0 published on Thursday, Jun 12, 2025 by e-breuninger
Using getDevicePowerPorts
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 getDevicePowerPorts(args: GetDevicePowerPortsArgs, opts?: InvokeOptions): Promise<GetDevicePowerPortsResult>
function getDevicePowerPortsOutput(args: GetDevicePowerPortsOutputArgs, opts?: InvokeOptions): Output<GetDevicePowerPortsResult>
def get_device_power_ports(filters: Optional[Sequence[GetDevicePowerPortsFilter]] = None,
id: Optional[str] = None,
limit: Optional[float] = None,
name_regex: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDevicePowerPortsResult
def get_device_power_ports_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDevicePowerPortsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDevicePowerPortsResult]
func GetDevicePowerPorts(ctx *Context, args *GetDevicePowerPortsArgs, opts ...InvokeOption) (*GetDevicePowerPortsResult, error)
func GetDevicePowerPortsOutput(ctx *Context, args *GetDevicePowerPortsOutputArgs, opts ...InvokeOption) GetDevicePowerPortsResultOutput
> Note: This function is named GetDevicePowerPorts
in the Go SDK.
public static class GetDevicePowerPorts
{
public static Task<GetDevicePowerPortsResult> InvokeAsync(GetDevicePowerPortsArgs args, InvokeOptions? opts = null)
public static Output<GetDevicePowerPortsResult> Invoke(GetDevicePowerPortsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDevicePowerPortsResult> getDevicePowerPorts(GetDevicePowerPortsArgs args, InvokeOptions options)
public static Output<GetDevicePowerPortsResult> getDevicePowerPorts(GetDevicePowerPortsArgs args, InvokeOptions options)
fn::invoke:
function: netbox:index/getDevicePowerPorts:getDevicePowerPorts
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Device Power Ports Filter> - Id string
- The ID of this resource.
- Limit double
- Name
Regex string
- Filters
[]Get
Device Power Ports Filter - Id string
- The ID of this resource.
- Limit float64
- Name
Regex string
- filters
List<Get
Device Power Ports Filter> - id String
- The ID of this resource.
- limit Double
- name
Regex String
- filters
Get
Device Power Ports Filter[] - id string
- The ID of this resource.
- limit number
- name
Regex string
- filters
Sequence[Get
Device Power Ports Filter] - id str
- The ID of this resource.
- limit float
- name_
regex str
- filters List<Property Map>
- id String
- The ID of this resource.
- limit Number
- name
Regex String
getDevicePowerPorts Result
The following output properties are available:
- Id string
- The ID of this resource.
- Power
Ports List<GetDevice Power Ports Power Port> - Filters
List<Get
Device Power Ports Filter> - Limit double
- Name
Regex string
- Id string
- The ID of this resource.
- Power
Ports []GetDevice Power Ports Power Port - Filters
[]Get
Device Power Ports Filter - Limit float64
- Name
Regex string
- id String
- The ID of this resource.
- power
Ports List<GetDevice Power Ports Power Port> - filters
List<Get
Device Power Ports Filter> - limit Double
- name
Regex String
- id string
- The ID of this resource.
- power
Ports GetDevice Power Ports Power Port[] - filters
Get
Device Power Ports Filter[] - limit number
- name
Regex string
- id str
- The ID of this resource.
- power_
ports Sequence[GetDevice Power Ports Power Port] - filters
Sequence[Get
Device Power Ports Filter] - limit float
- name_
regex str
- id String
- The ID of this resource.
- power
Ports List<Property Map> - filters List<Property Map>
- limit Number
- name
Regex String
Supporting Types
GetDevicePowerPortsFilter
GetDevicePowerPortsPowerPort
- Allocated
Draw double - Description string
- Device
Id double - Id double
- Maximum
Draw double - Module
Id double - Name string
- Tag
Ids List<double> - Type string
- Allocated
Draw float64 - Description string
- Device
Id float64 - Id float64
- Maximum
Draw float64 - Module
Id float64 - Name string
- Tag
Ids []float64 - Type string
- allocated
Draw Double - description String
- device
Id Double - id Double
- maximum
Draw Double - module
Id Double - name String
- tag
Ids List<Double> - type String
- allocated
Draw number - description string
- device
Id number - id number
- maximum
Draw number - module
Id number - name string
- tag
Ids number[] - type string
- allocated_
draw float - description str
- device_
id float - id float
- maximum_
draw float - module_
id float - name str
- tag_
ids Sequence[float] - type str
- allocated
Draw Number - description String
- device
Id Number - id Number
- maximum
Draw Number - module
Id Number - name String
- tag
Ids 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.
netbox 4.0.0 published on Thursday, Jun 12, 2025 by e-breuninger