HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 19 CPG DetailedState Enumeration
DescriptionValueSymbol
Administrative space is at limit.1SA_LIMIT_REACHED
Copy space is at limit.2SD_LIMIT_REACHED
Administrative space grow failed.3SA_GROW_FAILED
Copy space grow failed.4SD_GROW_FAILED
Administrative space is at warning level.5SA_WARN_REACHED
Copy space at warning level.6SD_WARN_REACHED
Invalid7INVALID
Creating a CPG
To create a CPG, use the HTTP POST method in the URI:
https://<storage_system>:8080/api/v1/cpgs
with message body members as shown in Table 20 (page 46).
NOTE: Any user with Super or Edit role, or any role granted the cpg_create right, can perform
this operation. Access to all domains is required for this operation.
Table 20 Message Body JSON Objects for CPG Creation and Modification
DescriptionIgnored ValuesAPI TypeJSON TypeMember
Specifies the name of the
CPG.
Required field.name31stringname
For CPG creation only.
Specifies the new name of the
CPG.
Nonename31stringnewName
For CPG modification only.
Specifies the growth
increment, in MiB, the amount
Zero and negative values
In WSAPI 1.2, 0 and
negative values are
ignored.
igint32numbergrowthIncrementMiB
of logical disk storage created
on each auto-grow operation.
Specifies that the auto-grow
operation is limited to the
Negative values
In WSAPI 1.2, zero and
negative values are
ignored.
igint32numbergrowthLimitMiB
specified storage amount, in
MiB, that sets the growth limit.
Specifies that the threshold of
used logical disk space, in
Negative values
In WSAPI 1.2, zero and
negative values are
ignored.
igint32numberusedLDWarningAlertMiB
MiB, when exceeded results
in a warning alert.
Specifies the name of the
domain in which the object
will reside.
Nullname31stringdomain
For CPG creation only.
Specifies Logical Disk types
to be used for this CPG.
NullLDLayout
object
objectLDLayout
46 Working with Common Provisioning Groups