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

com.pulumi.gcp.cloudrun.kotlin.outputs.GetServiceTemplateSpecVolumeCsi.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property driver Unique name representing the type of file system to be created. Cloud Run supports the following values:
 *   * gcsfuse.run.googleapis.com: Mount a Google Cloud Storage bucket using GCSFuse. This driver 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 readOnly If true, all mounts created from this volume will be read-only.
 * @property volumeAttributes Driver-specific attributes. The following options are supported for available drivers:
 *   * gcsfuse.run.googleapis.com
 *     * bucketName: The name of the Cloud Storage Bucket that backs this volume. The Cloud Run Service identity must have access to this bucket.
 */
public data class GetServiceTemplateSpecVolumeCsi(
    public val driver: String,
    public val readOnly: Boolean,
    public val volumeAttributes: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.GetServiceTemplateSpecVolumeCsi): GetServiceTemplateSpecVolumeCsi = GetServiceTemplateSpecVolumeCsi(
            driver = javaType.driver(),
            readOnly = javaType.readOnly(),
            volumeAttributes = javaType.volumeAttributes().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy