MaintenanceWindowArgs

data class MaintenanceWindowArgs(val durationHours: Output<Int>, val notAllowedDates: Output<List<DateSpanArgs>>? = null, val schedule: Output<ScheduleArgs>, val startDate: Output<String>? = null, val startTime: Output<String>, val utcOffset: Output<String>? = null) : ConvertibleToJava<MaintenanceWindowArgs>

Maintenance window used to configure scheduled auto-upgrade for a Managed Cluster.

Constructors

Link copied to clipboard
constructor(durationHours: Output<Int>, notAllowedDates: Output<List<DateSpanArgs>>? = null, schedule: Output<ScheduleArgs>, startDate: Output<String>? = null, startTime: Output<String>, utcOffset: Output<String>? = null)

Properties

Link copied to clipboard
val durationHours: Output<Int>

Length of maintenance window range from 4 to 24 hours.

Link copied to clipboard
val notAllowedDates: Output<List<DateSpanArgs>>? = null

Date ranges on which upgrade is not allowed. 'utcOffset' applies to this field. For example, with 'utcOffset: +02:00' and 'dateSpan' being '2022-12-23' to '2023-01-03', maintenance will be blocked from '2022-12-22 22:00' to '2023-01-03 22:00' in UTC time.

Link copied to clipboard
val schedule: Output<ScheduleArgs>

Recurrence schedule for the maintenance window.

Link copied to clipboard
val startDate: Output<String>? = null

The date the maintenance window activates. If the current date is before this date, the maintenance window is inactive and will not be used for upgrades. If not specified, the maintenance window will be active right away.

Link copied to clipboard
val startTime: Output<String>

The start time of the maintenance window. Accepted values are from '00:00' to '23:59'. 'utcOffset' applies to this field. For example: '02:00' with 'utcOffset: +02:00' means UTC time '00:00'.

Link copied to clipboard
val utcOffset: Output<String>? = null

The UTC offset in format +/-HH:mm. For example, '+05:30' for IST and '-07:00' for PST. If not specified, the default is '+00:00'.

Functions

Link copied to clipboard
open override fun toJava(): MaintenanceWindowArgs