Snapservice RetentionPolicy
Snapservice RetentionPolicy
The Snapservice RetentionPolicy schema contains properties that describe the policy for retention of the snapshots created for protection group members on the target replication site.
This schema was added in vSphere API 9.0.0.0.
JSON Example
{
"short_term": {
"keep_last": 0
},
"long_term": {
"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
}
}
}
}
short_term
Required
Short term snapshot retention settings for replication policy.
This property was added in vSphere API 9.0.0.0.
long_term
Optional
Holds long term snapshot retention settings for the replication policy.
This property was added in vSphere API 9.1.0.0.
if missing or null long term retention policies are not applicable.