
com.pulumi.gcp.cloudrun.kotlin.outputs.ServiceTemplateSpecVolumeNfs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudrun.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property path Path exported by the NFS server
* @property readOnly If true, mount the NFS volume as read only in all mounts. Defaults to false.
* - - -
* @property server IP address or hostname of the NFS server
*/
public data class ServiceTemplateSpecVolumeNfs(
public val path: String,
public val readOnly: Boolean? = null,
public val server: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudrun.outputs.ServiceTemplateSpecVolumeNfs): ServiceTemplateSpecVolumeNfs = ServiceTemplateSpecVolumeNfs(
path = javaType.path(),
readOnly = javaType.readOnly().map({ args0 -> args0 }).orElse(null),
server = javaType.server(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy