
com.pulumi.gcp.compute.kotlin.outputs.RegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.compute.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property fixed Specifies a fixed number of VM instances. This must be a positive
* integer.
* @property percent Specifies a percentage of instances between 0 to 100%, inclusive.
* For example, specify 80 for 80%.
*/
public data class RegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas(
public val fixed: Int? = null,
public val percent: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas): RegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas =
RegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas(
fixed = javaType.fixed().map({ args0 -> args0 }).orElse(null),
percent = javaType.percent().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy