HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 44
Modifying a Virtual Volume, Table 33 Base-volume and Snapshot-volume Creation Error Codes
View all HP 3PAR StoreServ 7450 4-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 44 highlights
Table 33 Base-volume and Snapshot-volume Creation Error Codes (continued) API Error HTTP Code Description INV_INPUT_WARN_GT_LIMIT 400 Bad Request Allocation warning level is higher than the limit. INV_INPUT_USR_ALRT_NON_TPVV 400 Bad Request User space allocation alerts are valid only with TPVVs. INV_INPUT_RETAIN_GT_EXPIRE 400 Bad Request Retention time is greater than expiration time. INV_INPUT_VV_POLICY 400 Bad Request Invalid policy specification (for example, caching or system set to true). INV_INPUT_EXCEEDS_LENGTH 400 Bad Request Invalid input: string length exceeds limit. INV_INPUT_TIME 400 Bad Request Invalid time specified. EXISTENT_ID 409 Conflict ID exists. Modifying a Virtual Volume To modify or update a volume, use the HTTP PUT method in the URI: https://:8080/api/v1/volumes/ where is the name of the volume being modified. The message body is a JSON object with members. Members that can be included in a VV modification request are shown in Table 34 (page 44). Table 34 Message Body JSON Objects for Volume Modification Request Member newName JSON Type string API Type name31 Ignored Values None Description New name of the volume. (Since WSAPI 1.2) comment string print511 None Comment about the volume. (Since WSAPI 1.2) expirationHours number igint32 Zero and negative values Time in hours that the volume would expire. (Since WSAPI 1.2) retentionHours number igint32 Zero and negative values Time in hours that the volume would be retained. (Since WSAPI 1.2) policies object policies object None except caching Specify virtual volume and system, which are policies. ignored if false. (Since WSAPI 1.2) snapCPG string name31 None The snap CPG name. (Since WSAPI 1.2) ssSpcAllocWarningPct number igint32 Zero and negative values Snap space allocation warning percent. (Since WSAPI 1.2) ssSpcAllocLimitPct number igint32 Zero and negative values Snap space allocation limit percent. 44 Working with Storage Volumes