com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecVolumeCsi.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.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 ServiceTemplateSpecVolumeCsi(
public val driver: String,
public val readOnly: Boolean? = null,
public val volumeAttributes: Map? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.ServiceTemplateSpecVolumeCsi): ServiceTemplateSpecVolumeCsi = ServiceTemplateSpecVolumeCsi(
driver = javaType.driver(),
readOnly = javaType.readOnly().map({ args0 -> args0 }).orElse(null),
volumeAttributes = javaType.volumeAttributes().map({ args0 -> args0.key.to(args0.value) }).toMap(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy