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

com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscaling.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property autoProvisioningDefaults Contains defaults for a node pool created by NAP.
 * @property autoscalingProfile Configuration options for the Autoscaling profile feature, which lets you choose whether the cluster autoscaler should optimize for resource utilization or resource availability when deciding to remove nodes from a cluster. Can be BALANCED or OPTIMIZE_UTILIZATION. Defaults to BALANCED.
 * @property enabled Whether node auto-provisioning is enabled. Resource limits for cpu and memory must be defined to enable node auto-provisioning.
 * @property resourceLimits Global constraints for machine resources in the cluster. Configuring the cpu and memory types is required if node auto-provisioning is enabled. These limits will apply to node pool autoscaling in addition to node auto-provisioning.
 */
public data class GetClusterClusterAutoscaling(
    public val autoProvisioningDefaults: List,
    public val autoscalingProfile: String,
    public val enabled: Boolean,
    public val resourceLimits: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterClusterAutoscaling): GetClusterClusterAutoscaling = GetClusterClusterAutoscaling(
            autoProvisioningDefaults = javaType.autoProvisioningDefaults().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefault.Companion.toKotlin(args0)
                })
            }),
            autoscalingProfile = javaType.autoscalingProfile(),
            enabled = javaType.enabled(),
            resourceLimits = javaType.resourceLimits().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingResourceLimit.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy