ServerlessKubernetesMaintenanceWindowArgs

data class ServerlessKubernetesMaintenanceWindowArgs(val duration: Output<String>? = null, val enable: Output<Boolean>? = null, val maintenanceTime: Output<String>? = null, val weeklyPeriod: Output<String>? = null) : ConvertibleToJava<ServerlessKubernetesMaintenanceWindowArgs>

Constructors

constructor(duration: Output<String>? = null, enable: Output<Boolean>? = null, maintenanceTime: Output<String>? = null, weeklyPeriod: Output<String>? = null)

Properties

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

The maintenance time, values range from 1 to 24,unit is hour. For example: "3h".

Link copied to clipboard
val enable: Output<Boolean>? = null

Whether to open the maintenance window. The following parameters take effect only enable = true.

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

Initial maintenance time, RFC3339 format. For example: "2024-10-15T12:31:00.000+08:00".

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

Maintenance cycle, you can set the values from Monday to Sunday, separated by commas when the values are multiple. The default is Thursday. for example:

Functions

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