HP 3PAR StoreServ 7400 2-node HP 3PAR Web Service API 1.2 Developer's - Page 35
CPG Modification Success, Removing a CPG, CPG Removal Success, CPG Removal Errors
View all HP 3PAR StoreServ 7400 2-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 35 highlights
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 JSON Type disableAutoGrow Boolean rmGrowthLimit Boolean rmWarningAlert Boolean newName string API Type name31 Ignored Values None None None Null 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. 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/ NOTE: The new CPG name appears if the CPG name is successfully updated. If it is not updated, then is . CPG Modification Errors If an errror occurs, the system returns one of the error codes shown in Table 19 (page 34), or a general error code listed in "Generic WSAPI code Member Status and Error Codes" (page 17). Removing a CPG To remove a CPG, use the HTTP DELETE method in the URI: https://:8080/api/v1/cpgs/ 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 Table 21 (page 36). For generic API error codes, see Table 5 (page 17). Removing a CPG 35