HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 81
Querying Available Space, Querying Overall System Capacity, Overall System Capacity Success
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 81 highlights
9 Querying Available Space This chapter describes querying for information about overall available space on the system, and about querying available space based on CPG and LD layout. Querying Overall System Capacity Space information can be queried for the overall capacity, for a given CPG name, or for an LDLayout object. To query overall system capacity, use the HTTP GET method in the URI, with no message body: https://:8080/api/v1/capacity Overall System Capacity Success Unless an internal server error occurs, the response includes a message body as specified in Table 81 (page 81). Table 81 JSON Objects for Overall Capacity Response Member allCapacity JSON Type DeviceCapacity object Description Value Range Overall system capacity, See Table 82 (page 81). which includes a combination of FC, NL, and SSD device types. (Since WSAPI 1.2) FCCapacity DeviceCapacity object System capacity from FC devices only. (Since WSAPI 1.2) NLCapacity DeviceCapacity object System capacity from NL devices only. (Since WSAPI 1.2) SSDCapacity DeviceCapacity object System capacity from SSD devices only. (Since WSAPI 1.2) JSON object members for DeviceCapacity are shown in Table 82 (page 81). Table 82 DeviceCapacity JSON Objects Member totalMiB JSON Type number API Type uint64 Description Total system capacity in MiB. (Since WSAPI 1.2) allocated AllocatedCapacity AllocatedCapacity object. See Table 83 (page 82). See Table 83 (page 82). (Since WSAPI 1.2) freeMiB Number uint64 Free capacity. (Since WSAPI 1.2) freeInitializedMiB Number uint64 Free initialized capacity. (Since WSAPI 1.2) freeUninitializedMiB Number uint64 Free uninitialized capacity. Querying Overall System Capacity 81