com.pulumi.gcp.spanner.kotlin.outputs.GetInstanceAutoscalingConfig.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.Suppress
import kotlin.collections.List
/**
*
* @property autoscalingLimits Defines scale in controls to reduce the risk of response latency
* and outages due to abrupt scale-in events. Users can define the minimum and
* maximum compute capacity allocated to the instance, and the autoscaler will
* only scale within that range. Users can either use nodes or processing
* units to specify the limits, but should use the same unit to set both the
* min_limit and max_limit.
* @property autoscalingTargets Defines scale in controls to reduce the risk of response latency
* and outages due to abrupt scale-in events
*/
public data class GetInstanceAutoscalingConfig(
public val autoscalingLimits: List,
public val autoscalingTargets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.spanner.outputs.GetInstanceAutoscalingConfig): GetInstanceAutoscalingConfig = GetInstanceAutoscalingConfig(
autoscalingLimits = javaType.autoscalingLimits().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.spanner.kotlin.outputs.GetInstanceAutoscalingConfigAutoscalingLimit.Companion.toKotlin(args0)
})
}),
autoscalingTargets = javaType.autoscalingTargets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.spanner.kotlin.outputs.GetInstanceAutoscalingConfigAutoscalingTarget.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy