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

com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterWorkloadAutoscalerProfile.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: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

import kotlin.Boolean
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property kedaEnabled Specifies whether KEDA Autoscaler can be used for workloads.
 * @property verticalPodAutoscalerControlledValues
 * @property verticalPodAutoscalerEnabled Specifies whether Vertical Pod Autoscaler should be enabled.
 * > **Note:** This requires that the Preview Feature `Microsoft.ContainerService/AKS-VPAPreview` is enabled and the Resource Provider is re-registered, see the documentation for more information.
 * @property verticalPodAutoscalerUpdateMode
 */
public data class KubernetesClusterWorkloadAutoscalerProfile(
    public val kedaEnabled: Boolean? = null,
    @Deprecated(
        message = """
  The AKS API has removed support for this field on 2023-07-02-preview and is no longer possible to
      export this value. This property will be removed in v4.0 of the AzureRM provider.
  """,
    )
    public val verticalPodAutoscalerControlledValues: String? = null,
    public val verticalPodAutoscalerEnabled: Boolean? = null,
    @Deprecated(
        message = """
  The AKS API has removed support for this field on 2023-07-02-preview and is no longer possible to
      export this value. This property will be removed in v4.0 of the AzureRM provider.
  """,
    )
    public val verticalPodAutoscalerUpdateMode: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterWorkloadAutoscalerProfile): KubernetesClusterWorkloadAutoscalerProfile = KubernetesClusterWorkloadAutoscalerProfile(
            kedaEnabled = javaType.kedaEnabled().map({ args0 -> args0 }).orElse(null),
            verticalPodAutoscalerControlledValues = javaType.verticalPodAutoscalerControlledValues().map({ args0 ->
                args0
            }).orElse(null),
            verticalPodAutoscalerEnabled = javaType.verticalPodAutoscalerEnabled().map({ args0 ->
                args0
            }).orElse(null),
            verticalPodAutoscalerUpdateMode = javaType.verticalPodAutoscalerUpdateMode().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy