Cpg Modification Success; Cpg Modification Errors; Removing A Cpg; Cpg Removal Success - HP 3PAR StoreServ 7200 2-node Manual

Hp 3par web service api 1.2 developer's guide (qr482-96192, june 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

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 20 CPG Modification JSON Objects
Member
disableAutoGrow
rmGrowthLimit
rmWarningAlert
newName

CPG Modification Success

Upon success, the HTTP code 200 OK is returned without a message body. The location header
of the JSON response 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:
/api/v1/cpgs/<new name>
NOTE:
The new CPG name appears if the CPG name is successfully updated. If it is not updated,
then <new name> is <cpg name>.

CPG Modification Errors

If an errror occurs, the system returns one of the error codes shown in
general error code listed in

Removing a CPG

To remove a CPG, use the HTTP DELETE method in the URI:
https://<storage system>:8080/api/v1/cpgs/<cpg name>
NOTE:
Any user with Super or Edit role, or any role granted the cpg_remove right, can perform
this operation. Access to all domains is required for this operation.

CPG Removal Success

Upon success, the HTTP status code 200 OK is returned with no message body.

CPG Removal Errors

Possible errors following an attempt to remove a CPG are shown in
generic API error codes, see
JSON Type
API Type
Boolean
Boolean
Boolean
string
name31
"Generic WSAPI code Member Status and Error Codes" (page
Table 5 (page
Ignored Values
None
None
None
Null
17).
Description
If true, disable CPG
auto grow. Default is
false.
If true, no auto grow
limit is enforced.
Default is false.
If true, no warning
limit is enforced.
Default is false.
Specifies the name of
the CPG to be
updated to null.
Table 19 (page
34), or a
Table 21 (page
36). For
Removing a CPG
17).
35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents