Volume Creation Success; Volume Creation Errors; Message Body Parameters Json Object Members For Snapshot-Volume Creation; Base-Volume And Snapshot-Volume Creation Error Codes - 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

<volume name> is the name of the volume being copied.
Message Body Members
When creating a snapshot volume, the message body is a JSON object with two members, action
and parameters.
The action member is a string with the value createSnapshot and the parameters member
is a JSON object with members as described in
When creating a snapshot volume, isCopy is set to true and name and copyofName are required.
Table 32 Message Body parameters JSON Object Members for Snapshot-volume Creation
Member
name
id
comment
readOnly
expirationHours
retentionHours

Volume Creation Success

A successful operation returns the HTTP status code 200 OK. There is no message body.
Upon successful creation of the volume, the location portion of the response header contains the
URI for the newly created volume in the following format:
/api/v1/volumes/<volume name>

Volume Creation Errors

An error condition returns one of the errors in
see
Table 5 (page
Table 33 Base-volume and Snapshot-volume Creation Error Codes
API Error
INV_INPUT
EXISTENT_VOL
TOO_LARGE
NO_SPACE
NO_SNAP_CPG
JSON Type
API Type
string
name31
number
igint32
string
print51 1
Boolean
Boolean
number
igint32
number
igint32
17).
HTTP Code
400 Bad Request
409 Conflict
400 Bad Request
400 Bad Request
409 Conflict
Table 32 (page
43).
Ignored values
Description
None (Required)
Specifies a snapshot VV name up to 31
characters in length.
Negative values
Specifies the ID of the volume. If not
specified, the next available ID is chosen.
None
Specifies any additional information up
to 51 1 characters for the volume.
None
true: Specifies that the copied volume is
read-only.
false: (default) The volume is read-write.
Negative values
Specifies the relative time from the current
time that the volume will expire. Value is
a positive integer and in the range of
1–43,800 hours, or 1825 days.
Negative values
Specifies the relative time from the current
time that the volume will expire. Value is
a positive integer and in the range of
1–43,800 hours, or 1825 days.
Table 33 (page
43). For generic API error codes,
Description
Invalid parameter or JSON object.
The volume already exists.
Volume size is above the architectural
limit.
Not enough space is currently available.
No snapshot space is available.
Creating a Storage Volume
43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents