The following request gets information about a specific drive by using the specified drive location.
Execution permission
Storage Administrator (View Only)
Request line
GET base-URL/simple/v1/objects/drives/object-ID
Request message
Response message
- Body
-
The following is an example of the output when getting information about a specific drive (location:0-0):
{ "location": "0-0", "status": "Normal", "driveType": "HDD", "driveInterface": "SAS", "driveRpm": "NUMBER_10000", "driveCapacity": 300, "displayDriveCapacity": "300 GB", "typeCode": "DKR5C-J300SS", "poolIds": [], "useOfTheDrive": "free" }
For details on attributes to obtain, see the description of the API function for getting drive information.
Status codes
See HTTP status codes.
Coding example
curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X GET https://192.0.2.100/ConfigurationManager/simple/v1/objects/drives/0-0