com.pulumi.azure.batch.kotlin.outputs.PoolMountNfsMount.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property mountOptions Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
* @property relativeMountPath The relative path on compute node where the file system will be mounted All file systems are mounted relative to the Batch mounts directory, accessible via the `AZ_BATCH_NODE_MOUNTS_DIR` environment variable.
* @property source The URI of the file system to mount.
*/
public data class PoolMountNfsMount(
public val mountOptions: String? = null,
public val relativeMountPath: String,
public val source: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolMountNfsMount): PoolMountNfsMount = PoolMountNfsMount(
mountOptions = javaType.mountOptions().map({ args0 -> args0 }).orElse(null),
relativeMountPath = javaType.relativeMountPath(),
source = javaType.source(),
)
}
}