com.pulumi.gcp.gkehub.kotlin.outputs.FeatureSpecClusterupgrade.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.gkehub.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property gkeUpgradeOverrides Configuration overrides for individual upgrades.
* Structure is documented below.
* @property postConditions Post conditions to override for the specified upgrade.
* Structure is documented below.
* @property upstreamFleets Specified if other fleet should be considered as a source of upgrades. Currently, at most one upstream fleet is allowed. The fleet name should be either fleet project number or id.
*/
public data class FeatureSpecClusterupgrade(
public val gkeUpgradeOverrides: List? = null,
public val postConditions: FeatureSpecClusterupgradePostConditions? = null,
public val upstreamFleets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.gkehub.outputs.FeatureSpecClusterupgrade): FeatureSpecClusterupgrade = FeatureSpecClusterupgrade(
gkeUpgradeOverrides = javaType.gkeUpgradeOverrides().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureSpecClusterupgradeGkeUpgradeOverride.Companion.toKotlin(args0)
})
}),
postConditions = javaType.postConditions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.gkehub.kotlin.outputs.FeatureSpecClusterupgradePostConditions.Companion.toKotlin(args0)
})
}).orElse(null),
upstreamFleets = javaType.upstreamFleets().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy