Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
This command returns the properties from a single hardware component. An HTTP Status 200 (OK) is returned for a successful command. The response object contains the component properties contained in the following table.
|
Example Request:
GET /api/hardware/v1/chassis/chassis-001/disk/disk-011 HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
Example Response:
HTTP/1.1 200 OK Content-Type: application/json { "disk": { "device": "c0t5000CCA01A764FB0d0", "faulted": false, "href": "/api/hardware/v1/chassis/chassis-001/disk/disk-011", "interface": "SAS", "label": "HDD 11", "locate": false, "manufacturer": "HITACHI", "model": "H7230AS60SUN3.0T", "pathcount": 4, "present": true, "revision": "A310", "rpm": 7200, "serial": "001210R322ED YHJ322ED", "size": 3000592982016, "type": "data", "use": "peer" } }