
com.pulumi.azure.appplatform.kotlin.inputs.SpringCloudAppPersistentDiskArgs.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.appplatform.kotlin.inputs
import com.pulumi.azure.appplatform.inputs.SpringCloudAppPersistentDiskArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property mountPath Specifies the mount path of the persistent disk. Defaults to `/persistent`.
* @property sizeInGb Specifies the size of the persistent disk in GB. Possible values are between `0` and `50`.
*/
public data class SpringCloudAppPersistentDiskArgs(
public val mountPath: Output? = null,
public val sizeInGb: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appplatform.inputs.SpringCloudAppPersistentDiskArgs =
com.pulumi.azure.appplatform.inputs.SpringCloudAppPersistentDiskArgs.builder()
.mountPath(mountPath?.applyValue({ args0 -> args0 }))
.sizeInGb(sizeInGb.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SpringCloudAppPersistentDiskArgs].
*/
@PulumiTagMarker
public class SpringCloudAppPersistentDiskArgsBuilder internal constructor() {
private var mountPath: Output? = null
private var sizeInGb: Output? = null
/**
* @param value Specifies the mount path of the persistent disk. Defaults to `/persistent`.
*/
@JvmName("jcumipdvcrsblvlo")
public suspend fun mountPath(`value`: Output) {
this.mountPath = value
}
/**
* @param value Specifies the size of the persistent disk in GB. Possible values are between `0` and `50`.
*/
@JvmName("hgdjperppxerkxyt")
public suspend fun sizeInGb(`value`: Output) {
this.sizeInGb = value
}
/**
* @param value Specifies the mount path of the persistent disk. Defaults to `/persistent`.
*/
@JvmName("dxrwlfhknudyvfbb")
public suspend fun mountPath(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mountPath = mapped
}
/**
* @param value Specifies the size of the persistent disk in GB. Possible values are between `0` and `50`.
*/
@JvmName("nriufqssyodabggs")
public suspend fun sizeInGb(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sizeInGb = mapped
}
internal fun build(): SpringCloudAppPersistentDiskArgs = SpringCloudAppPersistentDiskArgs(
mountPath = mountPath,
sizeInGb = sizeInGb ?: throw PulumiNullFieldException("sizeInGb"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy