HCP System Management Help
You can set retention by specifying an offset from:
•The time at which the object was added to the namespace
•The current retention setting for the object
•The current time
Because you can only extend a retention period, the offset must be a positive value.
Offset syntax
To use an offset as a retention setting, specify a standard expression that conforms to this syntax:
^([RAN])?([+-]\d+y)?([+-]\d+M)?([+-]\d+w)?([+-]\d+d)?([+-]\d+h)?([+-]\d+m)?([+-]\d+s)?
The table below explains this syntax.
Character | Description |
---|---|
^ |
Start of the expression |
( ) |
Sequence of terms treated as a single term |
? |
Indicator that the preceding term is optional |
[ ] |
Group of alternatives, exactly one of which must be used |
+ |
Plus |
- |
Minus |
R* |
The current retention setting for the object |
A* |
The time at which the object was added to the namespace |
N* |
The current time |
\d+ |
An integer in the range 0 (zero) through 9,999 |
y |
Years |
M |
Months |
w |
Weeks |
d |
Days |
h |
Hours |
m |
Minutes |
s |
Seconds |
*R, A, and N are mutually exclusive. If you don’t include any of them, the default is R. |
Trademarks and Legal Disclaimer
© 2017 Hitachi Vantara Corporation. All rights reserved.