Removing A Storage Volume; Storage Volume Removal Success; Storage Volume Removal Errors; Querying Volume Information - 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

Removing a Storage Volume

To remove a volume, use the HTTP DELETE method in the URI, with no message body:
https://<storage system>:8080/api/v1/volumes/<volume name>

Storage Volume Removal Success

A successful storage-volume removal returns the HTTP status code 200 OK.

Storage Volume Removal Errors

An error condition returns an error code as shown in
codes, see
Table 5 (page
Table 36 Storage Volume Removal Error Codes
API Error
NON_EXISTENT_VOL
RETAINED
HAS_RO_CHILD
PERM_DENIED
HAS_CHILD
IN_USE

Querying Volume Information

Querying All Volumes

To query for storage volume information, use the HTTP GET method in the URI, with no message
body:
https://<storage system>:8080/api/v1/volumes

All-Volumes Query Success

Unless an error occurs, the response includes a message body with JSON objects total and
members. The total object is the number of objects in the members array. The members object
contains an array of zero or more JSON objects, one for each volume on the system. JSON object
members are shown in
Table 37 Message Body JSON Objects for Volume Query
Member
id
uuid
name
domain
provisioningType
copyType
48
Working with Storage Volumes
17).
HTTP Code
404 Not Found
409 Conflict
409 Conflict
403 Forbidden
409 Conflict
409 Conflict
Table 37 (page 48)
JSON Type
API Type
number
int32
string
uuid string
string
name31
string
name31
number
provisioningType enum
number
copyType enum
Table 36 (page
48). For generic API error
Description
The volume does not exist.
Volume retention time has not expired.
Volume has read-only child.
Insufficient privileges.
Volume has child VV.
(Since WSAPI 1.2)
Volume in use by VV set, VLUN, etc.
(Since WSAPI 1.2)
Description
VV identifier.
UUID that was automatically
assigned to the volume at creation.
VV name
VV domain
The provisioning for the VV.
Indicates the copy type of the VV.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents