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

com.pulumi.gcp.vertex.kotlin.outputs.AiFeatureOnlineStoreBigtableAutoScaling.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.vertex.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property cpuUtilizationTarget A percentage of the cluster's CPU capacity. Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set will default to 50%.
 * @property maxNodeCount The maximum number of nodes to scale up to. Must be greater than or equal to minNodeCount, and less than or equal to 10 times of 'minNodeCount'.
 * @property minNodeCount The minimum number of nodes to scale down to. Must be greater than or equal to 1.
 */
public data class AiFeatureOnlineStoreBigtableAutoScaling(
    public val cpuUtilizationTarget: Int? = null,
    public val maxNodeCount: Int,
    public val minNodeCount: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.AiFeatureOnlineStoreBigtableAutoScaling): AiFeatureOnlineStoreBigtableAutoScaling = AiFeatureOnlineStoreBigtableAutoScaling(
            cpuUtilizationTarget = javaType.cpuUtilizationTarget().map({ args0 -> args0 }).orElse(null),
            maxNodeCount = javaType.maxNodeCount(),
            minNodeCount = javaType.minNodeCount(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy