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

com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefault.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
import kotlin.collections.List

/**
 *
 * @property bootDiskKmsKey The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.
 * @property diskSize Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB.
 * @property diskType Type of the disk attached to each node.
 * @property imageType The default image type used by NAP once a new node pool is being created.
 * @property managements NodeManagement configuration for this NodePool.
 * @property minCpuPlatform Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell.
 * @property oauthScopes Scopes that are used by NAP when creating node pools.
 * @property serviceAccount The Google Cloud Platform Service Account to be used by the node VMs.
 * @property shieldedInstanceConfigs Shielded Instance options.
 * @property upgradeSettings Specifies the upgrade settings for NAP created node pools
 */
public data class GetClusterClusterAutoscalingAutoProvisioningDefault(
    public val bootDiskKmsKey: String,
    public val diskSize: Int,
    public val diskType: String,
    public val imageType: String,
    public val managements: List,
    public val minCpuPlatform: String,
    public val oauthScopes: List,
    public val serviceAccount: String,
    public val shieldedInstanceConfigs: List,
    public val upgradeSettings: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterClusterAutoscalingAutoProvisioningDefault): GetClusterClusterAutoscalingAutoProvisioningDefault =
            GetClusterClusterAutoscalingAutoProvisioningDefault(
                bootDiskKmsKey = javaType.bootDiskKmsKey(),
                diskSize = javaType.diskSize(),
                diskType = javaType.diskType(),
                imageType = javaType.imageType(),
                managements = javaType.managements().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultManagement.Companion.toKotlin(args0)
                    })
                }),
                minCpuPlatform = javaType.minCpuPlatform(),
                oauthScopes = javaType.oauthScopes().map({ args0 -> args0 }),
                serviceAccount = javaType.serviceAccount(),
                shieldedInstanceConfigs = javaType.shieldedInstanceConfigs().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultShieldedInstanceConfig.Companion.toKotlin(args0)
                    })
                }),
                upgradeSettings = javaType.upgradeSettings().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.container.kotlin.outputs.GetClusterClusterAutoscalingAutoProvisioningDefaultUpgradeSetting.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy