com.pulumi.gcp.spanner.kotlin.outputs.InstanceAutoscalingConfigAutoscalingLimits.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.spanner.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property maxNodes Specifies maximum number of nodes allocated to the instance. If set, this number
* should be greater than or equal to min_nodes.
* @property maxProcessingUnits Specifies maximum number of processing units allocated to the instance.
* If set, this number should be multiples of 1000 and be greater than or equal to
* min_processing_units.
* @property minNodes Specifies number of nodes allocated to the instance. If set, this number
* should be greater than or equal to 1.
* @property minProcessingUnits Specifies minimum number of processing units allocated to the instance.
* If set, this number should be multiples of 1000.
*/
public data class InstanceAutoscalingConfigAutoscalingLimits(
public val maxNodes: Int? = null,
public val maxProcessingUnits: Int? = null,
public val minNodes: Int? = null,
public val minProcessingUnits: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.spanner.outputs.InstanceAutoscalingConfigAutoscalingLimits): InstanceAutoscalingConfigAutoscalingLimits = InstanceAutoscalingConfigAutoscalingLimits(
maxNodes = javaType.maxNodes().map({ args0 -> args0 }).orElse(null),
maxProcessingUnits = javaType.maxProcessingUnits().map({ args0 -> args0 }).orElse(null),
minNodes = javaType.minNodes().map({ args0 -> args0 }).orElse(null),
minProcessingUnits = javaType.minProcessingUnits().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy