![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.GetAppSpecServiceAutoscaling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property maxInstanceCount The maximum amount of instances for this component. Must be more than min_instance_count.
* @property metrics The metrics that the component is scaled on.
* @property minInstanceCount The minimum amount of instances for this component. Must be less than max_instance_count.
*/
public data class GetAppSpecServiceAutoscaling(
public val maxInstanceCount: Int,
public val metrics: GetAppSpecServiceAutoscalingMetrics,
public val minInstanceCount: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAppSpecServiceAutoscaling): GetAppSpecServiceAutoscaling = GetAppSpecServiceAutoscaling(
maxInstanceCount = javaType.maxInstanceCount(),
metrics = javaType.metrics().let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetAppSpecServiceAutoscalingMetrics.Companion.toKotlin(args0)
}),
minInstanceCount = javaType.minInstanceCount(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy