![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.baremetalinfrastructure.kotlin.inputs.DiskArgs.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.baremetalinfrastructure.kotlin.inputs
import com.pulumi.azurenative.baremetalinfrastructure.inputs.DiskArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Specifies the disk information fo the Azure Bare Metal Instance
* @property diskSizeGB Specifies the size of an empty data disk in gigabytes.
* @property name The disk name.
*/
public data class DiskArgs(
public val diskSizeGB: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.baremetalinfrastructure.inputs.DiskArgs =
com.pulumi.azurenative.baremetalinfrastructure.inputs.DiskArgs.builder()
.diskSizeGB(diskSizeGB?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DiskArgs].
*/
@PulumiTagMarker
public class DiskArgsBuilder internal constructor() {
private var diskSizeGB: Output? = null
private var name: Output? = null
/**
* @param value Specifies the size of an empty data disk in gigabytes.
*/
@JvmName("mqvfiujscugevjyv")
public suspend fun diskSizeGB(`value`: Output) {
this.diskSizeGB = value
}
/**
* @param value The disk name.
*/
@JvmName("yojcrpqlsjjukcdy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Specifies the size of an empty data disk in gigabytes.
*/
@JvmName("ptppcgkhsowkibxg")
public suspend fun diskSizeGB(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.diskSizeGB = mapped
}
/**
* @param value The disk name.
*/
@JvmName("udxesdfyuwmooqeh")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): DiskArgs = DiskArgs(
diskSizeGB = diskSizeGB,
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy