![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.AppSpecServiceAutoscalingMetrics.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.Suppress
/**
*
* @property cpu Settings for scaling the component based on CPU utilization.
*/
public data class AppSpecServiceAutoscalingMetrics(
public val cpu: AppSpecServiceAutoscalingMetricsCpu? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.AppSpecServiceAutoscalingMetrics): AppSpecServiceAutoscalingMetrics = AppSpecServiceAutoscalingMetrics(
cpu = javaType.cpu().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.AppSpecServiceAutoscalingMetricsCpu.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy