com.pulumi.gcp.container.kotlin.outputs.ClusterClusterAutoscalingResourceLimit.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.container.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property maximum Maximum amount of the resource in the cluster.
* @property minimum Minimum amount of the resource in the cluster.
* @property resourceType The type of the resource. For example, `cpu` and
* `memory`. See the [guide to using Node Auto-Provisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning)
* for a list of types.
*/
public data class ClusterClusterAutoscalingResourceLimit(
public val maximum: Int? = null,
public val minimum: Int? = null,
public val resourceType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterClusterAutoscalingResourceLimit): ClusterClusterAutoscalingResourceLimit = ClusterClusterAutoscalingResourceLimit(
maximum = javaType.maximum().map({ args0 -> args0 }).orElse(null),
minimum = javaType.minimum().map({ args0 -> args0 }).orElse(null),
resourceType = javaType.resourceType(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy