ApiSnapshotPolicy

Properties

Name Type Description Notes
name String Name of the snapshot policy. [optional]
description String Description of the snapshot policy. [optional]
hourlySnapshots java.math.BigDecimal Number of hourly snapshots to be retained. Defaults to 0 [optional]
dailySnapshots java.math.BigDecimal Number of daily snapshots to be retained. Defaults to 0 [optional]
weeklySnapshots java.math.BigDecimal Number of weekly snapshots to be retained. Defaults to 0 [optional]
monthlySnapshots java.math.BigDecimal Number of monthly snapshots to be retained. Defaults to 0 [optional]
yearlySnapshots java.math.BigDecimal Number of yearly snapshots to be retained. Defaults to 0 [optional]
minuteOfHour java.math.BigDecimal Minute in the hour that hourly, daily, weekly, monthly and yearly snapshots should be created. Valid values are 0 to 59. Default value is 0. [optional]
hoursForHourlySnapshots List<java.math.BigDecimal> Hours of the day that hourly snapshots should be created. Valid values are 0 to 23. If this list is null or empty, then hourly snapshots are created for every hour. [optional]
hourOfDay java.math.BigDecimal Hour in the day that daily, weekly, monthly and yearly snapshots should be created. Valid values are 0 to 23. Default value is 0. [optional]
dayOfWeek java.math.BigDecimal Day of the week that weekly snapshots should be created. Valid values are 1 to 7, 1 representing Sunday. Default value is 1. [optional]
dayOfMonth java.math.BigDecimal Day of the month that monthly and yearly snapshots should be created. Values from 1 to 31 are allowed. Additionally 0 to -30 can be used to specify offsets from the last day of the month. Default value is 1. <p/> If this value is invalid for any month for which snapshots are required, the backend will throw an exception. [optional]
monthOfYear java.math.BigDecimal Month of the year that yearly snapshots should be created. Valid values are 1 to 12, 1 representing January. Default value is 1. [optional]
alertOnStart Boolean Whether to alert on start of snapshot creation/deletion activity. Defaults to false [optional]
alertOnSuccess Boolean Whether to alert on successful completion of snapshot creation/deletion activity. Defaults to false. [optional]
alertOnFail Boolean Whether to alert on failure of snapshot creation/deletion activity. Defaults to false. [optional]
alertOnAbort Boolean Whether to alert on abort of snapshot creation/deletion activity. Defaults to false. [optional]
hbaseArguments ApiHBaseSnapshotPolicyArguments [optional]
hdfsArguments ApiHdfsSnapshotPolicyArguments [optional]
ozoneArguments ApiOzoneSnapshotPolicyArguments [optional]
lastCommand ApiSnapshotCommand [optional]
lastSuccessfulCommand ApiSnapshotCommand [optional]
paused Boolean Whether to pause a snapshot policy, available since V11. [optional]