Snapservice.RetentionPeriod

Snapservice.RetentionPeriod
Snapservice.RetentionPeriod

The Snapservice.RetentionPeriod schema contains properties that define the duration for which each snapshot must be retained.

This schema was added in vSphere API 8.0.3.0.

JSON Example
{
    "unit": "string",
    "duration": 0
}
string
unit
Required

Units for the retention period

Possible values:

  • MINUTE: Minutes.
  • HOUR: Hours.
  • DAY: Day.
  • WEEK: Weeks.
  • MONTH: Months.

For more information see: Snapservice.TimeUnit.

This property was added in vSphere API 8.0.3.0.

integer As int64 As int64
duration
Required

Duration for the snapshot to be retained

This property was added in vSphere API 8.0.3.0.