BackupPlanBackupRuleStandardSchedule

data class BackupPlanBackupRuleStandardSchedule(val backupWindow: BackupPlanBackupRuleStandardScheduleBackupWindow? = null, val daysOfMonths: List<Int>? = null, val daysOfWeeks: List<String>? = null, val hourlyFrequency: Int? = null, val months: List<String>? = null, val recurrenceType: String, val timeZone: String, val weekDayOfMonth: BackupPlanBackupRuleStandardScheduleWeekDayOfMonth? = null)

Constructors

Link copied to clipboard
constructor(backupWindow: BackupPlanBackupRuleStandardScheduleBackupWindow? = null, daysOfMonths: List<Int>? = null, daysOfWeeks: List<String>? = null, hourlyFrequency: Int? = null, months: List<String>? = null, recurrenceType: String, timeZone: String, weekDayOfMonth: BackupPlanBackupRuleStandardScheduleWeekDayOfMonth? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A BackupWindow defines the window of the day during which backup jobs will run. Jobs are queued at the beginning of the window and will be marked as NOT_RUN if they do not start by the end of the window. Structure is documented below.

Link copied to clipboard
val daysOfMonths: List<Int>? = null

Specifies days of months like 1, 5, or 14 on which jobs will run.

Link copied to clipboard
val daysOfWeeks: List<String>? = null

Specifies days of week like MONDAY or TUESDAY, on which jobs will run. This is required for recurrence_type, WEEKLY and is not applicable otherwise. Each value may be one of: DAY_OF_WEEK_UNSPECIFIED, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY.

Link copied to clipboard
val hourlyFrequency: Int? = null

Specifies frequency for hourly backups. An hourly frequency of 2 means jobs will run every 2 hours from start time till end time defined. This is required for recurrence_type, HOURLY and is not applicable otherwise.

Link copied to clipboard
val months: List<String>? = null

Specifies values of months Each value may be one of: MONTH_UNSPECIFIED, JANUARY, FEBRUARY, MARCH, APRIL, MAY, JUNE, JULY, AUGUST, SEPTEMBER, OCTOBER, NOVEMBER, DECEMBER.

Link copied to clipboard

RecurrenceType enumerates the applicable periodicity for the schedule. Possible values are: HOURLY, DAILY, WEEKLY, MONTHLY, YEARLY.

Link copied to clipboard

The time zone to be used when interpreting the schedule.

Link copied to clipboard

Specifies a week day of the month like FIRST SUNDAY or LAST MONDAY, on which jobs will run. Structure is documented below.