MaintenancePolicyArgs

data class MaintenancePolicyArgs(val resourceVersion: Output<String>? = null, val window: Output<MaintenanceWindowArgs>? = null) : ConvertibleToJava<MaintenancePolicyArgs>

MaintenancePolicy defines the maintenance policy to be used for the cluster.

Constructors

Link copied to clipboard
fun MaintenancePolicyArgs(resourceVersion: Output<String>? = null, window: Output<MaintenanceWindowArgs>? = null)

Functions

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

Properties

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

A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a get() request to the cluster to get the current resource version and include it with requests to set the policy.

Link copied to clipboard
val window: Output<MaintenanceWindowArgs>? = null

Specifies the maintenance window in which maintenance may be performed.