HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 25 CPG Query members JSON Objects
DescriptionAPI TypeJSON TypeMember
CPG IDuint32numberid
The UUID that was automatically assigned to the CPG at
creation.
uuid stringstringuuid
CPG name.name31stringname
Domain to which the CPG belongs.name31stringDomain
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.
uint32numberwarningPct
Number of TPVVs allocated in the CPG.uint32numbernumTPVVs
Number of FPVVs allocated in the CPG.uint32numbernumFPVVs
User data space usage.UsrUsage objectobjectUsrUsage
Snapshot administration usage.SAUsage objectobjectSAUsage
Snapshot data space usage.SDUsage objectobjectSDUsage
Snapshot administration space auto-growth parameters.SAGrowth objectobjectSAGrowth
Snapshot data space auto-growth parameters.SDGrowth objectobjectSDGrowth
Overall state of the CPGstate EnumnumberState
Detailed state of CPG.array of
DetailedState
Enum
array of
numbers
failedStates
Detailed state of CPG.array of
DetailedState
Enum
array of
numbers
degradedStates
Detailed state of CPG.array of
DetailedState
Enum
array of
numbers
additionalStates
CPG Query Success
Upon success, the HTTP status code 200: OK is returned.
CPG Query Errors
Possible error codes are shown in Table 26 (page 50). For generic API error codes, see
Table 5 (page 22).
Table 26 CPG Query Error Codes
DescriptionHTTP CodeAPI Error
Internal server error.500 Internal Server ErrorINT_SERV_ERR
Querying a Single CPG
This section defines API operations to query a single CPG on the storage system.
To query a single CPG, use the HTTP GET method on the following URI, with no message body:
https://<storage_system>:8080/api/vi/cpgs/<cpg name>
where <cpg name> is the CPG to query.
50 Working with Common Provisioning Groups