com.pulumi.azure.redhatopenshift.kotlin.outputs.ClusterWorkerProfile.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.redhatopenshift.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property diskEncryptionSetId The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
* @property diskSizeGb The internal OS disk size of the worker Virtual Machines in GB. Changing this forces a new resource to be created.
* @property encryptionAtHostEnabled Whether worker virtual machines are encrypted at host. Defaults to `false`. Changing this forces a new resource to be created.
* > **NOTE:** `encryption_at_host_enabled` is only available for certain VM sizes and the `EncryptionAtHost` feature must be enabled for your subscription. Please see the [Azure documentation](https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-powershell) for more information.
* @property nodeCount The initial number of worker nodes which should exist in the cluster. Changing this forces a new resource to be created.
* @property subnetId The ID of the subnet where worker nodes will be hosted. Changing this forces a new resource to be created.
* @property vmSize The size of the Virtual Machines for the worker nodes. Changing this forces a new resource to be created.
*/
public data class ClusterWorkerProfile(
public val diskEncryptionSetId: String? = null,
public val diskSizeGb: Int,
public val encryptionAtHostEnabled: Boolean? = null,
public val nodeCount: Int,
public val subnetId: String,
public val vmSize: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.redhatopenshift.outputs.ClusterWorkerProfile):
ClusterWorkerProfile = ClusterWorkerProfile(
diskEncryptionSetId = javaType.diskEncryptionSetId().map({ args0 -> args0 }).orElse(null),
diskSizeGb = javaType.diskSizeGb(),
encryptionAtHostEnabled = javaType.encryptionAtHostEnabled().map({ args0 -> args0 }).orElse(null),
nodeCount = javaType.nodeCount(),
subnetId = javaType.subnetId(),
vmSize = javaType.vmSize(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy