All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecVolume.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudrun.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property csis A filesystem specified by the Container Storage Interface (CSI).
 * @property emptyDirs 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).
 * @property name The name of the Cloud Run Service.
 * @property nfs A filesystem backed by a Network File System share. This filesystem requires the
 * run.googleapis.com/execution-environment annotation to be set to "gen2" and
 * run.googleapis.com/launch-stage set to "BETA" or "ALPHA".
 * @property secrets 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.
 */
public data class GetServiceTemplateSpecVolume(
    public val csis: List,
    public val emptyDirs: List,
    public val name: String,
    public val nfs: List,
    public val secrets: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateSpecVolume): GetServiceTemplateSpecVolume = GetServiceTemplateSpecVolume(
            csis = javaType.csis().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecVolumeCsi.Companion.toKotlin(args0)
                })
            }),
            emptyDirs = javaType.emptyDirs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecVolumeEmptyDir.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            nfs = javaType.nfs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecVolumeNf.Companion.toKotlin(args0)
                })
            }),
            secrets = javaType.secrets().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecVolumeSecret.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy