HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 50

All-volumes Query Errors, Querying a Single Volume

Page 50 highlights

Table 37 Message Body JSON Objects for Volume Query (continued) Member JSON Type API Type Description exceeds the indicated percentage of the virtual volume size. ssSpcAllocLimitPct number igint32 Sets a snapshot space allocation limit. The snapshot space of the virtual volume is prevented from growing beyond the indicated percentage of the virtual volume size. usrSpcAllocWarningPct number igint32 This field enables a user space allocation warning. It specifies that a warning alert is generated when the reserved user space of the TPVV exceeds the specified percentage of the virtual volume size. usrSpcAllocLimitPct number igint32 This field sets the user space allocation limit. The user space of the TPVV is prevented from growing beyond the specified percentage of the virtual volume size. After the size is reached, any new writes to the virtual volume will fail. policies object policies obj Policies used for the VV. userCPG string name31 CPG name from which the user space is allocated. snapCPG string uint32 CPG name from which the snapshot (Snap and Admin) space is allocated. comment string print511 Comment associated with the volume. All-volumes Query Errors Upon an unsuccessful query of all volumes, the INT_SERV_ERR might be returned. For details about this error code, see Table 5 (page 17). For generic API error codes, see Table 5 (page 17). Querying a Single Volume To query a single volume, use the HTTP GET method on the following URI: https://:8080/api/v1/volumes/ Single-volume Query Success Unless an error occurs, the response includes a message body as specified in Table 38 (page 50). Table 38 Members JSON Object for Single-volume Collection Message Member Members JSON Type object API Type Volume Property object Description Volume properties. (Since WSAPI 1.2) Single-volume Query Errors Possible errors following a single-volume query are shown in Table 39 (page 51). For generic API error codes, see Table 5 (page 17). 50 Working with Storage Volumes

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107

Table 37 Message Body JSON Objects for Volume Query
(continued)
Description
API Type
JSON Type
Member
exceeds the indicated percentage of
the virtual volume size.
Sets a snapshot space allocation
limit. The snapshot space of the
igint32
number
ssSpcAllocLimitPct
virtual volume is prevented from
growing beyond the indicated
percentage of the virtual volume size.
This field enables a user space
allocation warning. It specifies that
igint32
number
usrSpcAllocWarningPct
a warning alert is generated when
the reserved user space of the TPVV
exceeds the specified percentage of
the virtual volume size.
This field sets the user space
allocation limit. The user space of the
igint32
number
usrSpcAllocLimitPct
TPVV is prevented from growing
beyond the specified percentage of
the virtual volume size. After the size
is reached, any new writes to the
virtual volume will fail.
Policies used for the VV.
policies obj
object
policies
CPG name from which the user space
is allocated.
name31
string
userCPG
CPG name from which the snapshot
(Snap and Admin) space is allocated.
uint32
string
snapCPG
Comment associated with the volume.
print511
string
comment
All-volumes Query Errors
Upon an unsuccessful query of all volumes, the
INT_SERV_ERR
might be returned. For details
about this error code, see
Table 5 (page 17)
. For generic API error codes, see
Table 5 (page 17)
.
Querying a Single Volume
To query a single volume, use the HTTP GET method on the following URI:
https://
<storage system>
:8080/api/v1/volumes/
<volume name>
Single-volume Query Success
Unless an error occurs, the response includes a message body as specified in
Table 38 (page 50)
.
Table 38
Members
JSON Object for Single-volume Collection Message
Description
API Type
JSON Type
Member
Volume properties.
Volume Property object
object
Members
(Since WSAPI 1.2)
Single-volume Query Errors
Possible errors following a single-volume query are shown in
Table 39 (page 51)
. For generic API
error codes, see
Table 5 (page 17)
.
50
Working with Storage Volumes