Compute Management/Host Related Interfaces/Host Hardware Device APIs
GETHost Hardware Device APIsSince 0.6SynchronousAuth Required
Query Raid Physical Drive
Query Raid Physical Drive
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
This API requires no request parameters.
Responses
Endpoint
GET/zstack/v1/storage-devices/local-raid/physical-drives
/zstack/v1/storage-devices/local-raid/physical-drives
Request Example
curl -X GET 'http://{host}/zstack/v1/storage-devices/local-raid/physical-drives' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "uuid": "ba2fe0dcd360397a92748ea6efe9ffd6", "name": "raidPhysical", "raidLevel": "raid1", "raidControllerUuid": "1022305d664e34329a63f350a2fd1e02", "enclosureDeviceId": 252, "slotNumber": 1, "diskGroup": 0, "wwn": "50014ee059f2f491", "serialNumber": "V6GLEX2S", "deviceModel": "HGST HUS726T4TALA6L4", "size": 1000204886016, "driveState": "Online, Spun Up", "locateStatus": "Disabled", "driveType": "SATA", "mediaType": "HDD", "rotationRate": 7200, "createDate": "Nov 14, 2017 2:20:57 PM", "lastOpDate": "Nov 14, 2017 2:20:57 PM" }, {} ] }Change History
This API has no change history records yet.
