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

com.pulumi.gcp.container.kotlin.outputs.ClusterClusterAutoscalingResourceLimit.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.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