HP 3PAR StoreServ 7200 2-node HP 3PAR Web Service API 1.2 Developer's - Page 42

Creating Snapshot Volumes, Table 31 Message Body JSON Objects for Base-volume Creation

Page 42 highlights

Table 31 Message Body JSON Objects for Base-volume Creation (continued) Member JSON Type API Type ssSpcAllocLimitPct number igint32 tpvv Boolean Boolean Ignored Values Negative values None Description warning. A warning alert is generated when the reserved snapshot space of the virtual volume exceeds the indicated percentage of the virtual volume size. 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. true: Create TPVV false: (default) Create FPVV usrSpcAllocWarningPct number igint32 usrSpcAllocLimitPct number igint32 expirationHours number igint32 retentionHours number igint32 Negative values Negative values Negative values Negative values This field enables 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. This field sets the user space allocation limit. The user space of the TPVV is prevented from growing beyond the indicated percentage of the virtual volume size. After this size is reached, any new writes to the virtual volume will fail. Specifies the relative time from the current time that the value will expire. Value is a positive integer with a range of 1-43,800 hours (1825 days). Specifies the amount of time relative to the current time that the volume will be retained. Value is a positive integer with a range of 1-43,800 hours (1825 days). Creating Snapshot Volumes To create a snapshot volume, use the HTTP POST method in the URI: https://:8080/api/v1/volumes/ 42 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 31 Message Body JSON Objects for Base-volume Creation
(continued)
Description
Ignored Values
API Type
JSON Type
Member
warning. A warning alert
is generated when the
reserved snapshot space
of the virtual volume
exceeds the indicated
percentage of the virtual
volume size.
Sets a snapshot space
allocation limit. The
Negative values
igint32
number
ssSpcAllocLimitPct
snapshot space of the
virtual volume is
prevented from growing
beyond the indicated
percentage of the virtual
volume size.
true
: Create TPVV
None
Boolean
Boolean
tpvv
false
: (default) Create
FPVV
This field enables user
space allocation
Negative values
igint32
number
usrSpcAllocWarningPct
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.
This field sets the user
space allocation limit.
Negative values
igint32
number
usrSpcAllocLimitPct
The user space of the
TPVV is prevented from
growing beyond the
indicated percentage of
the virtual volume size.
After this size is reached,
any new writes to the
virtual volume will fail.
Specifies the relative time
from the current time that
Negative values
igint32
number
expirationHours
the value will expire.
Value is a positive
integer with a range of
1–43,800 hours (1825
days).
Specifies the amount of
time relative to the
Negative values
igint32
number
retentionHours
current time that the
volume will be retained.
Value is a positive
integer with a range of
1–43,800 hours (1825
days).
Creating Snapshot Volumes
To create a snapshot volume, use the HTTP POST method in the URI:
https://
<storage system>
:8080/api/v1/volumes/
<volume name>
42
Working with Storage Volumes