HP 3PAR Web Service API 1.3.1 Developer's Guide

Table 40 Volume Growth Error Codes (continued)
DescriptionHTTP CodeAPI Error
invalid operation: Volume is
the parent of physical copy.
409 ConflictINV_OPERATION_VV_PARENT_OF_PCOPY
(Since WSAPI 1.3)
Insufficient space for requested
operation.
400 Bad RequestNO_SPACE
(Since WSAPI 1.3)
Tuning a Virtual Volume
To tune a volume, use the HTTP PUT method on the following URI:
https://<storage_system>:8080/api/v1/volumes/<volume_name>
where <volume_name> is the name of the volume to be tuned.
The message body is a JSON object with members as shown in Table 41 (page 64).
Table 41 JSON Object Members for a Volume Tune Operation
DescriptionIgnored ValuesAPI TypeJSON TypeMember
Specifies the action to
be performed on the
volume.
Required field.Action Enumnumberaction
(Since WSAPI 1.3)
Tune operation.Required.tuneOperationEnumnumbertuneOperation
(Since WSAPI 1.3.1
with HP 3PAR OS
3.1.3 MU1)
Specifies the new user
CPG that the volume
will be tuned to.
Required if the
tuneOperation
value is 1.
name31stringuserCPG
(Since WSAPI 1.3.1
with HP 3PAR OS
3.1.3 MU1)
Specifies the snap
CPG that the volume
will be tuned to.
Required if the
tuneOperation
value is 2.
name31stringsnapCPG
(Since WSAPI 1.3.1
with HP 3PAR OS
3.1.3 MU1)
If the value is 1,
converts the volume to
a TPVV.
Ignored if 0 or null.
If the value is 1 or 2,
usrCPG must be
specified.
conversionOperationEnumnumberconversionOperation
If the value is 2,
converts the volume to
an FPVV.
(Since WSAPI 1.3.1
with HP 3PAR OS
3.1.3 MU1)
The name of the new
volume where the
This requires
conversionOperation
to be 1 or 2.
name31stringkeepVV
original logical disks
will be saved.
64 Working with Storage Volumes