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

com.pulumi.azure.batch.kotlin.inputs.PoolMountNfsMountArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.batch.kotlin.inputs

import com.pulumi.azure.batch.inputs.PoolMountNfsMountArgs.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 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 PoolMountNfsMountArgs(
    public val mountOptions: Output? = null,
    public val relativeMountPath: Output,
    public val source: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.batch.inputs.PoolMountNfsMountArgs =
        com.pulumi.azure.batch.inputs.PoolMountNfsMountArgs.builder()
            .mountOptions(mountOptions?.applyValue({ args0 -> args0 }))
            .relativeMountPath(relativeMountPath.applyValue({ args0 -> args0 }))
            .source(source.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PoolMountNfsMountArgs].
 */
@PulumiTagMarker
public class PoolMountNfsMountArgsBuilder internal constructor() {
    private var mountOptions: Output? = null

    private var relativeMountPath: Output? = null

    private var source: 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("ibakxgqauodslcmx")
    public suspend fun mountOptions(`value`: Output) {
        this.mountOptions = 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("mrbojapcpubskcff")
    public suspend fun relativeMountPath(`value`: Output) {
        this.relativeMountPath = value
    }

    /**
     * @param value The URI of the file system to mount.
     */
    @JvmName("flaipwmjqrfgbhlk")
    public suspend fun source(`value`: Output) {
        this.source = 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("nbeayhthtiugxati")
    public suspend fun mountOptions(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mountOptions = 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("mcvuovcivpccpqev")
    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("kittavegopbiquig")
    public suspend fun source(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.source = mapped
    }

    internal fun build(): PoolMountNfsMountArgs = PoolMountNfsMountArgs(
        mountOptions = mountOptions,
        relativeMountPath = relativeMountPath ?: throw PulumiNullFieldException("relativeMountPath"),
        source = source ?: throw PulumiNullFieldException("source"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy