com.pulumi.gcp.spanner.kotlin.outputs.InstanceAutoscalingConfigAutoscalingTargets.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.spanner.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property highPriorityCpuUtilizationPercent Specifies the target high priority cpu utilization percentage that the autoscaler
* should be trying to achieve for the instance.
* This number is on a scale from 0 (no utilization) to 100 (full utilization)..
* @property storageUtilizationPercent Specifies the target storage utilization percentage that the autoscaler
* should be trying to achieve for the instance.
* This number is on a scale from 0 (no utilization) to 100 (full utilization).
*/
public data class InstanceAutoscalingConfigAutoscalingTargets(
public val highPriorityCpuUtilizationPercent: Int? = null,
public val storageUtilizationPercent: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.spanner.outputs.InstanceAutoscalingConfigAutoscalingTargets): InstanceAutoscalingConfigAutoscalingTargets = InstanceAutoscalingConfigAutoscalingTargets(
highPriorityCpuUtilizationPercent = javaType.highPriorityCpuUtilizationPercent().map({ args0 ->
args0
}).orElse(null),
storageUtilizationPercent = javaType.storageUtilizationPercent().map({ args0 ->
args0
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy