HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 46 Message Body JSON Objects for Volume Query (continued)
DescriptionAPI TypeJSON TypeMember
exceeds the indicated percentage of
the virtual volume size.
Sets a snapshot space allocation
limit. The snapshot space of the VV
igint32numberssSpcAllocLimitPct
is prevented from growing beyond
the indicated percentage of the VV
size.
This field enables a user space
allocation warning. It specifies that
igint32numberusrSpcAllocWarningPct
a warning alert is generated when
the reserved user space of the TPVV
exceeds the specified percentage of
the VV size.
This field sets the user space
allocation limit. The user space of the
igint32numberusrSpcAllocLimitPct
TPVV is prevented from growing
beyond the specified percentage of
the VV size. After the size is reached,
any new writes to the VV will fail.
Policies used for the VV.policies objectobjectpolicies
CPG name from which the user space
is allocated.
name31stringuserCPG
CPG name from which the snapshot
(snap and admin) space is allocated.
uint32stringsnapCPG
Comment associated with the volume.print511stringcomment
All-Volumes Query Errors
Upon an unsuccessful query of all volumes, the INT_SERV_ERR might be returned. For details
about this error code, see Table 5 (page 22). For generic API error codes, see Table 5 (page 22).
Chunking Errors
During a query for all volumes or all VLUNs, the WSAPI server might encounter either of the
following errors related to chunked encoding:
An error might occur when the WSAPI server tries to get the first chunk of data. In this case,
the WSAPI sends the HTTP error to the client, and stops sending the subsequent chunks of
data. For example:
HTTP/1.1 <http error code> <http error msg>
Date: Fri, 22 May 2013 18:05:43 GMT
Server: hp3par-wsapi
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json
Connection: close
{
: <API error code code>
desc:
}
An error may occur while the WSAPI tries to get the second or any subsequent chunk of data.
Once HTTP headers are sent to the client (a header is always sent with the first successful
chunk of data), the intended response must finish being sent. If an error occurs midway through
70 Working with Storage Volumes