![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.edgecontainer.kotlin.outputs.ClusterMaintenancePolicy.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.edgecontainer.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property maintenanceExclusions Exclusions to automatic maintenance. Non-emergency maintenance should not occur
* in these windows. Each exclusion has a unique name and may be active or expired.
* The max number of maintenance exclusions allowed at a given time is 3.
* Structure is documented below.
* @property window Specifies the maintenance window in which maintenance may be performed.
* Structure is documented below.
*/
public data class ClusterMaintenancePolicy(
public val maintenanceExclusions: List? = null,
public val window: ClusterMaintenancePolicyWindow,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.edgecontainer.outputs.ClusterMaintenancePolicy): ClusterMaintenancePolicy = ClusterMaintenancePolicy(
maintenanceExclusions = javaType.maintenanceExclusions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.edgecontainer.kotlin.outputs.ClusterMaintenancePolicyMaintenanceExclusion.Companion.toKotlin(args0)
})
}),
window = javaType.window().let({ args0 ->
com.pulumi.gcp.edgecontainer.kotlin.outputs.ClusterMaintenancePolicyWindow.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy