HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 36
Querying CPG Information, Querying All CPGs
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 36 highlights
Table 21 CPG Removal Error Codes API Error HTTP Code NON_EXISTENT_CPG 404 Not Found IN_USE 409 Conflict Description CPG not found. The CPG cannot be removed because it is in use by a volume. Querying CPG Information You can query for information about all the CPGs on the storage system or for information about a single CPG. Querying All CPGs To query for CPG information, use the HTTP GET method in the URI, with no message body: https://:8080/api/v1/cpgs The body of the response is an object with total and members as described below. As is the case with all collection queries, the total object is the number of objects in the collection. The members object is a JSON array of zero or more JSON objects as listed in Table 22 (page 36). Table 22 CPG Query members JSON Objects Member id uuid name domain warningPct JSON Type number string string string number numTPVVs number numFPVVs number UsrUsage SAUsage SDUsage SAGrowth SDGrowth state failedStates object object object object object number array of numbers API Type Description uint32 CPG ID uuid string UUID that was automatically assigned to the CPG at creation. name31 CPG name. name31 Domain to which the CPG belongs. uint32 Percentage usage at which to issue an alert. This is set with the CLI createcpg -aw parameter, which is deprecated and not exposed by this API. uint32 Number of thinly-provisioned virtual volumes allocated in the CPG. uint32 Number of fully-provisioned virtual volumes allocated in the CPG. UsrUsage object User data space usage. SAUsage object Snapshot administration usage. SDUsage object Snapshot data space usage. SAGrowth object Snapshot administration space auto-growth parameters. SDGrowth object Snapshot data space auto-growth parameters. state enum Overall state of the CPG array of DetailedState enum Detailed state of CPG. 36 Working with Common Provisioning Groups