com.pulumi.gcp.vertex.kotlin.outputs.AiFeatureStoreOnlineServingConfig.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.vertex.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property fixedNodeCount The number of nodes for each cluster. The number of nodes will not scale automatically but can be scaled manually by providing different values when updating.
* @property scaling Online serving scaling configuration. Only one of fixedNodeCount and scaling can be set. Setting one will reset the other.
* Structure is documented below.
*/
public data class AiFeatureStoreOnlineServingConfig(
public val fixedNodeCount: Int? = null,
public val scaling: AiFeatureStoreOnlineServingConfigScaling? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.AiFeatureStoreOnlineServingConfig): AiFeatureStoreOnlineServingConfig = AiFeatureStoreOnlineServingConfig(
fixedNodeCount = javaType.fixedNodeCount().map({ args0 -> args0 }).orElse(null),
scaling = javaType.scaling().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vertex.kotlin.outputs.AiFeatureStoreOnlineServingConfigScaling.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy