
com.pulumi.gcp.container.kotlin.outputs.ClusterMaintenancePolicyMaintenanceExclusionExclusionOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property scope The scope of automatic upgrades to restrict in the exclusion window. One of: **NO_UPGRADES | NO_MINOR_UPGRADES | NO_MINOR_OR_NODE_UPGRADES**
* Specify `start_time` and `end_time` in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) "Zulu" date format. The start time's date is
* the initial date that the window starts, and the end time is used for calculating duration.Specify `recurrence` in
* [RFC5545](https://tools.ietf.org/html/rfc5545#section-3.8.5.3) RRULE format, to specify when this recurs.
* Note that GKE may accept other formats, but will return values in UTC, causing a permanent diff.
* Examples:
* ```
* maintenance_policy {
* recurring_window {
* start_time = "2019-01-01T00:00:00Z"
* end_time = "2019-01-02T00:00:00Z"
* recurrence = "FREQ=DAILY"
* }
* maintenance_exclusion{
* exclusion_name = "batch job"
* start_time = "2019-01-01T00:00:00Z"
* end_time = "2019-01-02T00:00:00Z"
* exclusion_options {
* scope = "NO_UPGRADES"
* }
* }
* maintenance_exclusion{
* exclusion_name = "holiday data load"
* start_time = "2019-05-01T00:00:00Z"
* end_time = "2019-05-02T00:00:00Z"
* exclusion_options {
* scope = "NO_MINOR_UPGRADES"
* }
* }
* }
* ```
*/
public data class ClusterMaintenancePolicyMaintenanceExclusionExclusionOptions(
public val scope: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterMaintenancePolicyMaintenanceExclusionExclusionOptions): ClusterMaintenancePolicyMaintenanceExclusionExclusionOptions =
ClusterMaintenancePolicyMaintenanceExclusionExclusionOptions(
scope = javaType.scope(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy