![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.containerstorage.kotlin.inputs.EphemeralDiskArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.containerstorage.kotlin.inputs
import com.pulumi.azurenative.containerstorage.inputs.EphemeralDiskArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Ephemeral Disk Pool Properties
* @property disks Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).
* @property replicas The number of data copies. Default 3.
*/
public data class EphemeralDiskArgs(
public val disks: Output>? = null,
public val replicas: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.containerstorage.inputs.EphemeralDiskArgs =
com.pulumi.azurenative.containerstorage.inputs.EphemeralDiskArgs.builder()
.disks(disks?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.replicas(replicas?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EphemeralDiskArgs].
*/
@PulumiTagMarker
public class EphemeralDiskArgsBuilder internal constructor() {
private var disks: Output>? = null
private var replicas: Output? = null
/**
* @param value Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).
*/
@JvmName("utpsciyqyaqcwamg")
public suspend fun disks(`value`: Output>) {
this.disks = value
}
@JvmName("vocewdomxlhdrvju")
public suspend fun disks(vararg values: Output) {
this.disks = Output.all(values.asList())
}
/**
* @param values Only required if individual disk selection is desired. Path to disk, e.g. :/dev/sda or WWN. Supports specifying multiple disks (same syntax as tags).
*/
@JvmName("hnqxspyagbvljexi")
public suspend fun disks(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy