
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetBackupPlanBackupRuleStandardSchedule.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property backupWindows 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.
* @property daysOfMonths Specifies days of months like 1, 5, or 14 on which jobs will run.
* @property daysOfWeeks 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. Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]
* @property hourlyFrequency 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.
* @property months Specifies values of months Possible values: ["MONTH_UNSPECIFIED", "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER"]
* @property recurrenceType RecurrenceType enumerates the applicable periodicity for the schedule. Possible values: ["HOURLY", "DAILY", "WEEKLY", "MONTHLY", "YEARLY"]
* @property timeZone The time zone to be used when interpreting the schedule.
* @property weekDayOfMonths Specifies a week day of the month like FIRST SUNDAY or LAST MONDAY, on which jobs will run.
*/
public data class GetBackupPlanBackupRuleStandardSchedule(
public val backupWindows: List,
public val daysOfMonths: List,
public val daysOfWeeks: List,
public val hourlyFrequency: Int,
public val months: List,
public val recurrenceType: String,
public val timeZone: String,
public val weekDayOfMonths: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.backupdisasterrecovery.outputs.GetBackupPlanBackupRuleStandardSchedule): GetBackupPlanBackupRuleStandardSchedule = GetBackupPlanBackupRuleStandardSchedule(
backupWindows = javaType.backupWindows().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetBackupPlanBackupRuleStandardScheduleBackupWindow.Companion.toKotlin(args0)
})
}),
daysOfMonths = javaType.daysOfMonths().map({ args0 -> args0 }),
daysOfWeeks = javaType.daysOfWeeks().map({ args0 -> args0 }),
hourlyFrequency = javaType.hourlyFrequency(),
months = javaType.months().map({ args0 -> args0 }),
recurrenceType = javaType.recurrenceType(),
timeZone = javaType.timeZone(),
weekDayOfMonths = javaType.weekDayOfMonths().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.backupdisasterrecovery.kotlin.outputs.GetBackupPlanBackupRuleStandardScheduleWeekDayOfMonth.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy