com.pulumi.kubernetes.autoscaling.v2beta2.kotlin.outputs.HPAScalingPolicy.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
/**
* HPAScalingPolicy is a single policy which must hold true for a specified past interval.
* @property periodSeconds PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
* @property type Type is used to specify the scaling policy.
* @property value Value contains the amount of change which is permitted by the policy. It must be greater than zero
*/
public data class HPAScalingPolicy(
public val periodSeconds: Int,
public val type: String,
public val `value`: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.autoscaling.v2beta2.outputs.HPAScalingPolicy): HPAScalingPolicy = HPAScalingPolicy(
periodSeconds = javaType.periodSeconds(),
type = javaType.type(),
`value` = javaType.`value`(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy