HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 84
Overall Available Space Query Errors, Querying Available Space for a CPG or LDLayout Object
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 84 highlights
Table 85 System JSON Objects (continued) Member JSON Type Value Range spareUsedMiB number uint64 spareUnusedMiB number uint64 Description (Since WSAPI 1.2) The system capacity allocated to spare resources in use. (Since WSAPI 1.2) The system capacity allocated to spare resources that are unused. (Since WSAPI 1.2) Overall Available Space Query Errors Upon an unsuccessful query for overall available space, the OTHER error might be returned. For details about this error code, see Table 5 (page 17). For generic API error codes, see Table 5 (page 17). Querying Available Space for a CPG or LDLayout Object To query available space for a given CPG or LDLayout object, use the HTTP POST method on the following URI: https://:8080/api/v1/spacereporter The members required to query the space information given a CPG are shown in Table 86 (page 84), and for a given LDLayout object in Table 89 (page 85). CPG Space Query Members JSON objects for a CPG space query are shown in Table 86 (page 84). Table 86 JSON Objects for cpg Space Query Member cpg JSON Type string API Type name31 Description The CPG name. (Since WSAPI 1.2) LDLayout Object Space Query Members The members required to query space information based on an LDLayout object are shown in Table 88 (page 85). Space Query Success Upon a successful query for available space, the HTTP code 200 OK is returned with a message body. In response to a query for space information for a given CPG or LDLayout object, the system will return a single JSON object. Members of the CPG query response for available space are shown in Table 87 (page 84). Table 87 JSON Objects for cpg Space Query Response Member LDLayoutCapacity JSON Type LDLayoutCapacity object Value Range See Table 89 (page 85). Description Capacity allocated to a layout associated with the CPG name. 84 Querying Available Space