com.pulumi.kubernetes.autoscaling.v2beta2.kotlin.outputs.MetricValueStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.autoscaling.v2beta2.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* MetricValueStatus holds the current value for a metric
* @property averageUtilization currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
* @property averageValue averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
* @property value value is the current value of the metric (as a quantity).
*/
public data class MetricValueStatus(
public val averageUtilization: Int? = null,
public val averageValue: String? = null,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.autoscaling.v2beta2.outputs.MetricValueStatus): MetricValueStatus = MetricValueStatus(
averageUtilization = javaType.averageUtilization().map({ args0 -> args0 }).orElse(null),
averageValue = javaType.averageValue().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy