![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.redhatopenshift.kotlin.inputs.ClusterMainProfileArgs.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.inputs
import com.pulumi.azure.redhatopenshift.inputs.ClusterMainProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property diskEncryptionSetId The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
* @property encryptionAtHostEnabled Whether main 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 subnetId The ID of the subnet where main nodes will be hosted. Changing this forces a new resource to be created.
* @property vmSize The size of the Virtual Machines for the main nodes. Changing this forces a new resource to be created.
*/
public data class ClusterMainProfileArgs(
public val diskEncryptionSetId: Output? = null,
public val encryptionAtHostEnabled: Output? = null,
public val subnetId: Output,
public val vmSize: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.redhatopenshift.inputs.ClusterMainProfileArgs =
com.pulumi.azure.redhatopenshift.inputs.ClusterMainProfileArgs.builder()
.diskEncryptionSetId(diskEncryptionSetId?.applyValue({ args0 -> args0 }))
.encryptionAtHostEnabled(encryptionAtHostEnabled?.applyValue({ args0 -> args0 }))
.subnetId(subnetId.applyValue({ args0 -> args0 }))
.vmSize(vmSize.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterMainProfileArgs].
*/
@PulumiTagMarker
public class ClusterMainProfileArgsBuilder internal constructor() {
private var diskEncryptionSetId: Output? = null
private var encryptionAtHostEnabled: Output? = null
private var subnetId: Output? = null
private var vmSize: Output? = null
/**
* @param value The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
*/
@JvmName("wbyruvwicomddbpi")
public suspend fun diskEncryptionSetId(`value`: Output) {
this.diskEncryptionSetId = value
}
/**
* @param value Whether main 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.
*/
@JvmName("qgxenfmrjcdwauqi")
public suspend fun encryptionAtHostEnabled(`value`: Output) {
this.encryptionAtHostEnabled = value
}
/**
* @param value The ID of the subnet where main nodes will be hosted. Changing this forces a new resource to be created.
*/
@JvmName("qdevvuqfjihjelcd")
public suspend fun subnetId(`value`: Output) {
this.subnetId = value
}
/**
* @param value The size of the Virtual Machines for the main nodes. Changing this forces a new resource to be created.
*/
@JvmName("lcsjrrosfhmubtgc")
public suspend fun vmSize(`value`: Output) {
this.vmSize = value
}
/**
* @param value The resource ID of an associated disk encryption set. Changing this forces a new resource to be created.
*/
@JvmName("yjdbnwxlotxmcsfb")
public suspend fun diskEncryptionSetId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.diskEncryptionSetId = mapped
}
/**
* @param value Whether main 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.
*/
@JvmName("drjkkqrrtoxmudyp")
public suspend fun encryptionAtHostEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryptionAtHostEnabled = mapped
}
/**
* @param value The ID of the subnet where main nodes will be hosted. Changing this forces a new resource to be created.
*/
@JvmName("oddidoolxoibuels")
public suspend fun subnetId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.subnetId = mapped
}
/**
* @param value The size of the Virtual Machines for the main nodes. Changing this forces a new resource to be created.
*/
@JvmName("puwetpqloetpmytg")
public suspend fun vmSize(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.vmSize = mapped
}
internal fun build(): ClusterMainProfileArgs = ClusterMainProfileArgs(
diskEncryptionSetId = diskEncryptionSetId,
encryptionAtHostEnabled = encryptionAtHostEnabled,
subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
vmSize = vmSize ?: throw PulumiNullFieldException("vmSize"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy