
com.pulumi.gcp.vertex.kotlin.outputs.AiIndexEndpointDeployedIndexDedicatedResources.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.vertex.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property machineSpec The minimum number of replicas this DeployedModel will be always deployed on.
* Structure is documented below.
* @property maxReplicaCount The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If maxReplicaCount is not set, the default value is minReplicaCount
* @property minReplicaCount The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1.
*/
public data class AiIndexEndpointDeployedIndexDedicatedResources(
public val machineSpec: AiIndexEndpointDeployedIndexDedicatedResourcesMachineSpec,
public val maxReplicaCount: Int? = null,
public val minReplicaCount: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vertex.outputs.AiIndexEndpointDeployedIndexDedicatedResources): AiIndexEndpointDeployedIndexDedicatedResources =
AiIndexEndpointDeployedIndexDedicatedResources(
machineSpec = javaType.machineSpec().let({ args0 ->
com.pulumi.gcp.vertex.kotlin.outputs.AiIndexEndpointDeployedIndexDedicatedResourcesMachineSpec.Companion.toKotlin(args0)
}),
maxReplicaCount = javaType.maxReplicaCount().map({ args0 -> args0 }).orElse(null),
minReplicaCount = javaType.minReplicaCount(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy