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

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

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

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 *
 * @property count The number of Agents (VMs) in the Pool.
 * @property enableAutoScaling If the auto-scaler is enabled.
 * @property enableNodePublicIp If the Public IPs for the nodes in this Agent Pool are enabled.
 * @property maxCount Maximum number of nodes for auto-scaling
 * @property maxPods The maximum number of pods that can run on each agent.
 * @property minCount Minimum number of nodes for auto-scaling
 * @property name The name of the managed Kubernetes Cluster.
 * @property nodeLabels
 * @property nodePublicIpPrefixId Resource ID for the Public IP Addresses Prefix for the nodes in this Agent Pool.
 * @property nodeTaints
 * @property orchestratorVersion Kubernetes version used for the Agents.
 * @property osDiskSizeGb The size of the Agent VM's Operating System Disk in GB.
 * @property osType The Operating System used for the Agents.
 * @property tags A mapping of tags to assign to the resource.
 * @property type The type of Managed Service Identity that is configured on this Kubernetes Cluster.
 * @property upgradeSettings A `upgrade_settings` block as documented below.
 * @property vmSize The size of each VM in the Agent Pool (e.g. `Standard_F1`).
 * @property vnetSubnetId The ID of the Subnet where the Agents in the Pool are provisioned.
 * @property zones A list of Availability Zones in which this Kubernetes Cluster is located.
 */
public data class GetKubernetesClusterAgentPoolProfile(
    public val count: Int,
    public val enableAutoScaling: Boolean,
    public val enableNodePublicIp: Boolean,
    public val maxCount: Int,
    public val maxPods: Int,
    public val minCount: Int,
    public val name: String,
    public val nodeLabels: Map,
    public val nodePublicIpPrefixId: String,
    public val nodeTaints: List,
    public val orchestratorVersion: String,
    public val osDiskSizeGb: Int,
    public val osType: String,
    public val tags: Map,
    public val type: String,
    public val upgradeSettings: List,
    public val vmSize: String,
    public val vnetSubnetId: String,
    public val zones: List,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.GetKubernetesClusterAgentPoolProfile):
            GetKubernetesClusterAgentPoolProfile = GetKubernetesClusterAgentPoolProfile(
            count = javaType.count(),
            enableAutoScaling = javaType.enableAutoScaling(),
            enableNodePublicIp = javaType.enableNodePublicIp(),
            maxCount = javaType.maxCount(),
            maxPods = javaType.maxPods(),
            minCount = javaType.minCount(),
            name = javaType.name(),
            nodeLabels = javaType.nodeLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            nodePublicIpPrefixId = javaType.nodePublicIpPrefixId(),
            nodeTaints = javaType.nodeTaints().map({ args0 -> args0 }),
            orchestratorVersion = javaType.orchestratorVersion(),
            osDiskSizeGb = javaType.osDiskSizeGb(),
            osType = javaType.osType(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            type = javaType.type(),
            upgradeSettings = javaType.upgradeSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.containerservice.kotlin.outputs.GetKubernetesClusterAgentPoolProfileUpgradeSetting.Companion.toKotlin(args0)
                })
            }),
            vmSize = javaType.vmSize(),
            vnetSubnetId = javaType.vnetSubnetId(),
            zones = javaType.zones().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy