com.pulumi.azure.appplatform.kotlin.outputs.SpringCloudAppPersistentDisk.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appplatform.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @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 SpringCloudAppPersistentDisk(
public val mountPath: String? = null,
public val sizeInGb: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appplatform.outputs.SpringCloudAppPersistentDisk): SpringCloudAppPersistentDisk = SpringCloudAppPersistentDisk(
mountPath = javaType.mountPath().map({ args0 -> args0 }).orElse(null),
sizeInGb = javaType.sizeInGb(),
)
}
}