com.pulumi.gcp.spanner.kotlin.outputs.GetInstanceAutoscalingConfigAutoscalingLimit.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 GetInstanceAutoscalingConfigAutoscalingLimit(
public val maxNodes: Int,
public val maxProcessingUnits: Int,
public val minNodes: Int,
public val minProcessingUnits: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.spanner.outputs.GetInstanceAutoscalingConfigAutoscalingLimit): GetInstanceAutoscalingConfigAutoscalingLimit = GetInstanceAutoscalingConfigAutoscalingLimit(
maxNodes = javaType.maxNodes(),
maxProcessingUnits = javaType.maxProcessingUnits(),
minNodes = javaType.minNodes(),
minProcessingUnits = javaType.minProcessingUnits(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy