com.pulumi.digitalocean.kotlin.outputs.GetAppSpecServiceAutoscalingMetricsCpu.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property percent The average target CPU utilization for the component.
*/
public data class GetAppSpecServiceAutoscalingMetricsCpu(
public val percent: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAppSpecServiceAutoscalingMetricsCpu): GetAppSpecServiceAutoscalingMetricsCpu = GetAppSpecServiceAutoscalingMetricsCpu(
percent = javaType.percent(),
)
}
}