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

com.pulumi.gcp.spanner.kotlin.outputs.InstanceAutoscalingConfigAutoscalingTargets.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: 8.10.0.0
Show newest version
@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