HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 21 CPG Creation and Modification Error Codes (continued)
DescriptionHTTP CodeAPI Error
The allocation warning level is higher
than the allocation limit.
400 Bad RequestINV_INPUT_WARN_GT_LIMIT
Invalid operation. RAID-0 must be
enabled.
403 ForbiddenINV_OPERATION_CPG_RAID0_DISABLED
(Since WSAPI 1.2)
Invalid operation. RAID-5 on NL drives
must be enabled.
403 ForbiddenINV_OPERATION_CPG_RAID5_NL_DISABLED
(Since WSAPI 1.2)
The set size is invalid for the selected
RAID type.
400 Bad RequestINV_SET_SIZE
Insufficient space for requested
operation.
400 Bad RequestNO_SPACE
The CPG does not exist.404 Not FoundNON_EXISTENT_CPG
This error applies only to CPG
modification, not creation.
Domain does not exist.404 Not FoundNON_EXISTENT_DOMAIN
Modifying a CPG
To modify a CPG, use the HTTP PUT method in the URI:
https://<storage_system>:8080/api/v1/cpgs/<cpg name>
with message body members as shown in Table 20 (page 46) and Table 22 (page 48).
NOTE: Any user with Super, Service, or Edit role, or any role granted the cpg_set right, can
perform this operation. Access to all domains is required for this operation.
Table 22 CPG Modification JSON Objects
DescriptionIgnored ValuesAPI TypeJSON TypeMember
If True, disable CPG
auto grow. The default
setting is false.
NoneBooleandisableAutoGrow
If True, no auto grow
limit is enforced. The
NoneBooleanrmGrowthLimit
default setting is
False.
If True, no warning
limit is enforced. The
NoneBooleanrmWarningAlert
default setting is
False.
Specifies the name of
the CPG to be
updated to null.
Nullname31stringnewName
CPG Modification Success
Upon success, the HTTP code 200 OK is returned without a message body. The Location portion
of the JSON response header indicates the URI of the updated CPG.
Upon successful modification of the CPG, the Location portion of the response header contains
the URI for the newly modified CPG in the following format:
48 Working with Common Provisioning Groups