Get power supplies

Retrieves information about the power supplies in the library.

Request syntax

GET /v1/powerSupplies
Retrieves information about all power supplies in the tape library.

GET /v1/powerSupplies/<location>
Retrieves information about the power supplies in the specified location.

Path parameters

location (string)

The location of the power supply.

Example

> GET /v1/powerSupplies/powerSupply_F1PSa
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1903
[
     {
          "location": "powerSupply_F1PSa", 
          "state": "online"
  }, {
          . . .
     }
]

Attributes

location (string)

The location of the power supply.

state (string)
The health status of the power supply. The following values are included in order of priority:
State Description/user action
unknown LCC Node Card associated with this power supply might be unreachable or the state recorded by firmware for this resource is unknown. Reset the associated LCC node card. If issue persists, contact IBM Support.
failed The power supply is unreachable or failed. Verify that the power supply is plugged in and cabled correctly from the rear of the frame. If issue persists, contact IBM Support.
online The power supply is plugged in and supplying power to the library.