Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
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.kubernetes.apps.v1beta2.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.apps.v1beta2.inputs.StatefulSetStatusArgs.builder
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* StatefulSetStatus represents the current state of a StatefulSet.
* @property collisionCount collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
* @property conditions Represents the latest available observations of a statefulset's current state.
* @property currentReplicas currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
* @property currentRevision currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
* @property observedGeneration observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
* @property readyReplicas readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.
* @property replicas replicas is the number of Pods created by the StatefulSet controller.
* @property updateRevision updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
* @property updatedReplicas updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
*/
public data class StatefulSetStatusArgs(
public val collisionCount: Output? = null,
public val conditions: Output>? = null,
public val currentReplicas: Output? = null,
public val currentRevision: Output? = null,
public val observedGeneration: Output? = null,
public val readyReplicas: Output? = null,
public val replicas: Output,
public val updateRevision: Output? = null,
public val updatedReplicas: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.apps.v1beta2.inputs.StatefulSetStatusArgs =
com.pulumi.kubernetes.apps.v1beta2.inputs.StatefulSetStatusArgs.builder()
.collisionCount(collisionCount?.applyValue({ args0 -> args0 }))
.conditions(
conditions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.currentReplicas(currentReplicas?.applyValue({ args0 -> args0 }))
.currentRevision(currentRevision?.applyValue({ args0 -> args0 }))
.observedGeneration(observedGeneration?.applyValue({ args0 -> args0 }))
.readyReplicas(readyReplicas?.applyValue({ args0 -> args0 }))
.replicas(replicas.applyValue({ args0 -> args0 }))
.updateRevision(updateRevision?.applyValue({ args0 -> args0 }))
.updatedReplicas(updatedReplicas?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StatefulSetStatusArgs].
*/
@PulumiTagMarker
public class StatefulSetStatusArgsBuilder internal constructor() {
private var collisionCount: Output? = null
private var conditions: Output>? = null
private var currentReplicas: Output? = null
private var currentRevision: Output? = null
private var observedGeneration: Output? = null
private var readyReplicas: Output? = null
private var replicas: Output? = null
private var updateRevision: Output? = null
private var updatedReplicas: Output? = null
/**
* @param value collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
*/
@JvmName("viunyfylohiibxqp")
public suspend fun collisionCount(`value`: Output) {
this.collisionCount = value
}
/**
* @param value Represents the latest available observations of a statefulset's current state.
*/
@JvmName("ghtrdwkhxicvuvmw")
public suspend fun conditions(`value`: Output>) {
this.conditions = value
}
@JvmName("hchxscarpcssdguo")
public suspend fun conditions(vararg values: Output) {
this.conditions = Output.all(values.asList())
}
/**
* @param values Represents the latest available observations of a statefulset's current state.
*/
@JvmName("mrummmjqawjodmqv")
public suspend fun conditions(values: List