com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecVolume.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.cloudrun.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property csi A filesystem specified by the Container Storage Interface (CSI).
* Structure is documented below.
* @property emptyDir Ephemeral storage which can be backed by real disks (HD, SSD), network storage or memory (i.e. tmpfs). For now only in memory (tmpfs) is supported. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
* Structure is documented below.
* @property name Volume's name.
* @property secret The secret's value will be presented as the content of a file whose
* name is defined in the item path. If no items are defined, the name of
* the file is the secret_name.
* Structure is documented below.
*/
public data class ServiceTemplateSpecVolume(
public val csi: ServiceTemplateSpecVolumeCsi? = null,
public val emptyDir: ServiceTemplateSpecVolumeEmptyDir? = null,
public val name: String,
public val secret: ServiceTemplateSpecVolumeSecret? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.ServiceTemplateSpecVolume): ServiceTemplateSpecVolume = ServiceTemplateSpecVolume(
csi = javaType.csi().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecVolumeCsi.Companion.toKotlin(args0)
})
}).orElse(null),
emptyDir = javaType.emptyDir().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecVolumeEmptyDir.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name(),
secret = javaType.secret().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecVolumeSecret.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy