com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGroupManagerStatusStateful.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.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property hasStatefulConfig A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful config even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
* @property perInstanceConfigs Status of per-instance configs on the instances.
*/
public data class GetInstanceGroupManagerStatusStateful(
public val hasStatefulConfig: Boolean,
public val perInstanceConfigs: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetInstanceGroupManagerStatusStateful): GetInstanceGroupManagerStatusStateful = GetInstanceGroupManagerStatusStateful(
hasStatefulConfig = javaType.hasStatefulConfig(),
perInstanceConfigs = javaType.perInstanceConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGroupManagerStatusStatefulPerInstanceConfig.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy