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

com.pulumi.gcp.spanner.kotlin.outputs.GetInstanceAutoscalingConfigAutoscalingTarget.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 GetInstanceAutoscalingConfigAutoscalingTarget(
    public val highPriorityCpuUtilizationPercent: Int,
    public val storageUtilizationPercent: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.spanner.outputs.GetInstanceAutoscalingConfigAutoscalingTarget): GetInstanceAutoscalingConfigAutoscalingTarget =
            GetInstanceAutoscalingConfigAutoscalingTarget(
                highPriorityCpuUtilizationPercent = javaType.highPriorityCpuUtilizationPercent(),
                storageUtilizationPercent = javaType.storageUtilizationPercent(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy