Snapservice LongTermRetention

Snapservice LongTermRetention
Snapservice LongTermRetention

The Snapservice LongTermRetention schema contains different types of long term snapshot retention settings for a given protection group with Snapservice ReplicationPolicy enabled. At least one of the values must be specified.

This schema was added in vSphere API 9.1.0.0.

JSON Example
{
    "hourly": {
        "retention": {
            "unit": "string",
            "duration": 0
        }
    },
    "daily": {
        "hour": 0,
        "retention": {
            "unit": "string",
            "duration": 0
        }
    },
    "weekly": {
        "hour": 0,
        "day_of_week": "string",
        "retention": {
            "unit": "string",
            "duration": 0
        }
    },
    "monthly": {
        "hour": 0,
        "day_of_month": 0,
        "retention": {
            "unit": "string",
            "duration": 0
        }
    }
}
hourly
Optional

One snapshot for every hour is retained for the duration specified.

This property was added in vSphere API 9.1.0.0.

if missing or null hourly long term retention is not specified.

daily
Optional

One snapshot for every day is retained for the duration specified.

This property was added in vSphere API 9.1.0.0.

if missing or null daily long term retention is not specified.

weekly
Optional

One snapshot for every week is retained for the duration specified.

This property was added in vSphere API 9.1.0.0.

if missing or null weekly long term retention is not specified.

monthly
Optional

One snapshot for every month is retained for the duration specified.

This property was added in vSphere API 9.1.0.0.

if missing or null monthly long term retention is not specified.