com.pulumi.azure.batch.kotlin.inputs.PoolMountCifsMountArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.batch.kotlin.inputs
import com.pulumi.azure.batch.inputs.PoolMountCifsMountArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 PoolMountCifsMountArgs(
public val mountOptions: Output? = null,
public val password: Output,
public val relativeMountPath: Output,
public val source: Output,
public val userName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.batch.inputs.PoolMountCifsMountArgs =
com.pulumi.azure.batch.inputs.PoolMountCifsMountArgs.builder()
.mountOptions(mountOptions?.applyValue({ args0 -> args0 }))
.password(password.applyValue({ args0 -> args0 }))
.relativeMountPath(relativeMountPath.applyValue({ args0 -> args0 }))
.source(source.applyValue({ args0 -> args0 }))
.userName(userName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PoolMountCifsMountArgs].
*/
@PulumiTagMarker
public class PoolMountCifsMountArgsBuilder internal constructor() {
private var mountOptions: Output? = null
private var password: Output? = null
private var relativeMountPath: Output? = null
private var source: Output? = null
private var userName: Output? = null
/**
* @param value Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
*/
@JvmName("qjfriocwhyvlmhmu")
public suspend fun mountOptions(`value`: Output) {
this.mountOptions = value
}
/**
* @param value The password to use for authentication against the CIFS file system.
*/
@JvmName("bcidnegvrjydmecg")
public suspend fun password(`value`: Output) {
this.password = value
}
/**
* @param value 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.
*/
@JvmName("gropbyowmjcmcspk")
public suspend fun relativeMountPath(`value`: Output) {
this.relativeMountPath = value
}
/**
* @param value The URI of the file system to mount.
*/
@JvmName("auforrqtlldrqlkt")
public suspend fun source(`value`: Output) {
this.source = value
}
/**
* @param value The user to use for authentication against the CIFS file system.
*/
@JvmName("lnjhnpqgfanbubrf")
public suspend fun userName(`value`: Output) {
this.userName = value
}
/**
* @param value Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
*/
@JvmName("qiepyuussevyxanp")
public suspend fun mountOptions(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mountOptions = mapped
}
/**
* @param value The password to use for authentication against the CIFS file system.
*/
@JvmName("noyabdyisowaxpfk")
public suspend fun password(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.password = mapped
}
/**
* @param value 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.
*/
@JvmName("dicqqmjpouvxmndm")
public suspend fun relativeMountPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.relativeMountPath = mapped
}
/**
* @param value The URI of the file system to mount.
*/
@JvmName("dbkmategdsgcigtn")
public suspend fun source(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.source = mapped
}
/**
* @param value The user to use for authentication against the CIFS file system.
*/
@JvmName("lruqjkpbvppdpyna")
public suspend fun userName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.userName = mapped
}
internal fun build(): PoolMountCifsMountArgs = PoolMountCifsMountArgs(
mountOptions = mountOptions,
password = password ?: throw PulumiNullFieldException("password"),
relativeMountPath = relativeMountPath ?: throw PulumiNullFieldException("relativeMountPath"),
source = source ?: throw PulumiNullFieldException("source"),
userName = userName ?: throw PulumiNullFieldException("userName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy