com.pulumi.gcp.gkeonprem.kotlin.inputs.BareMetalClusterStorageLvpShareConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.gkeonprem.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property lvpConfig Defines the machine path and storage class for the LVP Share.
* Structure is documented below.
* @property sharedPathPvCount The number of subdirectories to create under path.
*/
public data class BareMetalClusterStorageLvpShareConfigArgs(
public val lvpConfig: Output,
public val sharedPathPvCount: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigArgs =
com.pulumi.gcp.gkeonprem.inputs.BareMetalClusterStorageLvpShareConfigArgs.builder()
.lvpConfig(lvpConfig.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sharedPathPvCount(sharedPathPvCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [BareMetalClusterStorageLvpShareConfigArgs].
*/
@PulumiTagMarker
public class BareMetalClusterStorageLvpShareConfigArgsBuilder internal constructor() {
private var lvpConfig: Output? = null
private var sharedPathPvCount: Output? = null
/**
* @param value Defines the machine path and storage class for the LVP Share.
* Structure is documented below.
*/
@JvmName("gtdcevicskebfniw")
public suspend fun lvpConfig(`value`: Output) {
this.lvpConfig = value
}
/**
* @param value The number of subdirectories to create under path.
*/
@JvmName("hvlabcbyepffennf")
public suspend fun sharedPathPvCount(`value`: Output) {
this.sharedPathPvCount = value
}
/**
* @param value Defines the machine path and storage class for the LVP Share.
* Structure is documented below.
*/
@JvmName("esotftqealtygbhu")
public suspend fun lvpConfig(`value`: BareMetalClusterStorageLvpShareConfigLvpConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.lvpConfig = mapped
}
/**
* @param argument Defines the machine path and storage class for the LVP Share.
* Structure is documented below.
*/
@JvmName("gwhomihcikqehkoh")
public suspend fun lvpConfig(argument: suspend BareMetalClusterStorageLvpShareConfigLvpConfigArgsBuilder.() -> Unit) {
val toBeMapped = BareMetalClusterStorageLvpShareConfigLvpConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.lvpConfig = mapped
}
/**
* @param value The number of subdirectories to create under path.
*/
@JvmName("mpflulfkhvrjowmi")
public suspend fun sharedPathPvCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sharedPathPvCount = mapped
}
internal fun build(): BareMetalClusterStorageLvpShareConfigArgs =
BareMetalClusterStorageLvpShareConfigArgs(
lvpConfig = lvpConfig ?: throw PulumiNullFieldException("lvpConfig"),
sharedPathPvCount = sharedPathPvCount,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy