com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGroupManagerStatus.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.compute.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property allInstancesConfigs Status of all-instances configuration on the group.
* @property isStable A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
* @property statefuls Stateful status of the given Instance Group Manager.
* @property versionTargets A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
*/
public data class GetInstanceGroupManagerStatus(
public val allInstancesConfigs: List,
public val isStable: Boolean,
public val statefuls: List,
public val versionTargets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetInstanceGroupManagerStatus): GetInstanceGroupManagerStatus = GetInstanceGroupManagerStatus(
allInstancesConfigs = javaType.allInstancesConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGroupManagerStatusAllInstancesConfig.Companion.toKotlin(args0)
})
}),
isStable = javaType.isStable(),
statefuls = javaType.statefuls().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGroupManagerStatusStateful.Companion.toKotlin(args0)
})
}),
versionTargets = javaType.versionTargets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetInstanceGroupManagerStatusVersionTarget.Companion.toKotlin(args0)
})
}),
)
}
}