All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.digitalocean.kotlin.outputs.AppSpecServiceAutoscalingMetrics.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 4.38.0.0
Show newest version
@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