Getting information about a specific drive

Storage Advisor Embedded Guide

Version
88-06-0x
Audience
anonymous
Part Number
MK-97HM85022-12

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

Object ID

Specify a value for the location that was obtained by getting information about drives.

Attribute

Type

Description

location

string

(Required) Mounted location of the drive. Also commonly referred to as "name" or "ID".

Query parameters
None.
Body
None.

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