HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 109 VV-Set Snapshot Creation Error Codes (continued)
DescriptionHTTP CodeAPI Error
Internal volume cleanup is in
progress.
403 ForbiddenINV_OPERATION_VV_CLEANUP_IN_PROGRESS
(Since WSAPI 1.3)
Operation not allowed on peer
volume.
403 ForbiddenINV_OPERATION_VV_PEER_VOLUME
(Since WSAPI 1.2)
Invalid operation. Online copy
is in progress.
409 ConflictINV_OPERATION_VV_ONLINE_COPY_IN_PROGRESS
(Since WSAPI 1.2)
Operation not allowed on
internal volume.
403 ForbiddenINV_OPERATION_VV_INTERNAL_VOLUME
(Since WSAPI 1.2)
An ID exists.409 ConflictEXISTENT_ID
The volume state is not normal.403 ForbiddenINV_OPERATION_VV_NOT_IN_NORMAL_STATE
(Since WSAPI 1.3)
The VV has an internal
inconsistency error.
403 ForbiddenVV_IN_INCONSISTENT_STATE
(Since WSAPI 1.3)
The VV retention time is greater
than the expiration time.
400 Bad RequestINV_INPUT_RETAIN_GT_EXPIRE
Invalid time specified.400 Bad RequestINV_INPUT_TIME
Creating a Physical Copy of a VV Set
To create a physical copy of a VV set, use the HTTP POST method on the following URI:
https://<storage_system>:8080/api/v1/volumesets/<volume_set_name>
where <volume_set_name> is the name of the VV set being copied (not the name of the
destination VV set).
The message body is a JSON object with two members, action and parameters.
The action member must have the value createPhysicalCopy. The parameters member
is a JSON object with members as shown in Table 110 (page 121).
Table 110 parameters JSON Object Members for Creating a Physical Copy of a VV set
DescriptionIgnored ValuesAPI TypeJSON TypeMember
Specifies the
destination volume set.
None.
This is a required
field.
name31stringdestVolume
Since WSAPI 1.3
If True, the snapshot
of the source volume
BooleansaveSnapshot
is saved after the copy
of the VV set is
completed.
Since WSAPI 1.3
Task priority. See
Table 104 (page 113)
Zero and negative
values.
taskPriority Enumnumberpriority
Creating a Physical Copy of a VV Set 121