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

com.pulumi.azure.batch.kotlin.outputs.PoolMountCifsMount.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 password The password to use for authentication against the CIFS file system.
 * @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.
 * @property userName The user to use for authentication against the CIFS file system.
 */
public data class PoolMountCifsMount(
    public val mountOptions: String? = null,
    public val password: String,
    public val relativeMountPath: String,
    public val source: String,
    public val userName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolMountCifsMount): PoolMountCifsMount = PoolMountCifsMount(
            mountOptions = javaType.mountOptions().map({ args0 -> args0 }).orElse(null),
            password = javaType.password(),
            relativeMountPath = javaType.relativeMountPath(),
            source = javaType.source(),
            userName = javaType.userName(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy