ApiSnapshotPolicy

Properties

Name Type Description Notes
name String Name of the snapshot policy. [optional]
description String Description of the snapshot policy. [optional]
hourlySnapshots Integer Number of hourly snapshots to be retained. Defaults to 0 [optional]
dailySnapshots Integer Number of daily snapshots to be retained. Defaults to 0 [optional]
weeklySnapshots Integer Number of weekly snapshots to be retained. Defaults to 0 [optional]
monthlySnapshots Integer Number of monthly snapshots to be retained. Defaults to 0 [optional]
yearlySnapshots Integer Number of yearly snapshots to be retained. Defaults to 0 [optional]
minuteOfHour Integer 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<Integer> 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 Integer 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 Integer 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 Integer 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 Integer 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 Arguments specific to HBase snapshot policies. [optional]
hdfsArguments ApiHdfsSnapshotPolicyArguments Arguments specific to Hdfs snapshot policies. [optional]
lastCommand ApiSnapshotCommand Latest command of this policy. The command might still be active. [optional]
lastSuccessfulCommand ApiSnapshotCommand Last successful command of this policy. Returns null if there has been no successful command. [optional]
paused Boolean Whether to pause a snapshot policy, available since V11. [optional]