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

com.pulumi.azure.batch.kotlin.inputs.PoolMountAzureBlobFileSystemArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.batch.inputs.PoolMountAzureBlobFileSystemArgs.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 accountKey The Azure Storage Account key. This property is mutually exclusive with both `sas_key` and `identity_id`; exactly one must be specified.
 * @property accountName The Azure Storage Account name.
 * @property blobfuseOptions Additional command line options to pass to the mount command. These are 'net use' options in Windows and 'mount' options in Linux.
 * @property containerName The Azure Blob Storage Container name.
 * @property identityId The ARM resource id of the user assigned identity. This property is mutually exclusive with both `account_key` and `sas_key`; exactly one must be specified.
 * @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 sasKey The Azure Storage SAS token. This property is mutually exclusive with both `account_key` and `identity_id`; exactly one must be specified.
 */
public data class PoolMountAzureBlobFileSystemArgs(
    public val accountKey: Output? = null,
    public val accountName: Output,
    public val blobfuseOptions: Output? = null,
    public val containerName: Output,
    public val identityId: Output? = null,
    public val relativeMountPath: Output,
    public val sasKey: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.batch.inputs.PoolMountAzureBlobFileSystemArgs =
        com.pulumi.azure.batch.inputs.PoolMountAzureBlobFileSystemArgs.builder()
            .accountKey(accountKey?.applyValue({ args0 -> args0 }))
            .accountName(accountName.applyValue({ args0 -> args0 }))
            .blobfuseOptions(blobfuseOptions?.applyValue({ args0 -> args0 }))
            .containerName(containerName.applyValue({ args0 -> args0 }))
            .identityId(identityId?.applyValue({ args0 -> args0 }))
            .relativeMountPath(relativeMountPath.applyValue({ args0 -> args0 }))
            .sasKey(sasKey?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [PoolMountAzureBlobFileSystemArgs].
 */
@PulumiTagMarker
public class PoolMountAzureBlobFileSystemArgsBuilder internal constructor() {
    private var accountKey: Output? = null

    private var accountName: Output? = null

    private var blobfuseOptions: Output? = null

    private var containerName: Output? = null

    private var identityId: Output? = null

    private var relativeMountPath: Output? = null

    private var sasKey: Output? = null

    /**
     * @param value The Azure Storage Account key. This property is mutually exclusive with both `sas_key` and `identity_id`; exactly one must be specified.
     */
    @JvmName("vjohhyysrljrbgmx")
    public suspend fun accountKey(`value`: Output) {
        this.accountKey = value
    }

    /**
     * @param value The Azure Storage Account name.
     */
    @JvmName("cfwjtvsqkgqvsxhl")
    public suspend fun accountName(`value`: Output) {
        this.accountName = 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("qoefroefseakhcho")
    public suspend fun blobfuseOptions(`value`: Output) {
        this.blobfuseOptions = value
    }

    /**
     * @param value The Azure Blob Storage Container name.
     */
    @JvmName("fqvunpttdgeaupbo")
    public suspend fun containerName(`value`: Output) {
        this.containerName = value
    }

    /**
     * @param value The ARM resource id of the user assigned identity. This property is mutually exclusive with both `account_key` and `sas_key`; exactly one must be specified.
     */
    @JvmName("aoabenvcxhohthbu")
    public suspend fun identityId(`value`: Output) {
        this.identityId = 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("gdrrmffqemayaxtb")
    public suspend fun relativeMountPath(`value`: Output) {
        this.relativeMountPath = value
    }

    /**
     * @param value The Azure Storage SAS token. This property is mutually exclusive with both `account_key` and `identity_id`; exactly one must be specified.
     */
    @JvmName("dcjkbnbexcggghix")
    public suspend fun sasKey(`value`: Output) {
        this.sasKey = value
    }

    /**
     * @param value The Azure Storage Account key. This property is mutually exclusive with both `sas_key` and `identity_id`; exactly one must be specified.
     */
    @JvmName("shebqpktthvqqpaa")
    public suspend fun accountKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accountKey = mapped
    }

    /**
     * @param value The Azure Storage Account name.
     */
    @JvmName("mnxblauirfbfcqaq")
    public suspend fun accountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accountName = mapped
    }

    /**
     * @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("iyuelnvoodroudmh")
    public suspend fun blobfuseOptions(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.blobfuseOptions = mapped
    }

    /**
     * @param value The Azure Blob Storage Container name.
     */
    @JvmName("grytuhhliasgmsxd")
    public suspend fun containerName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.containerName = mapped
    }

    /**
     * @param value The ARM resource id of the user assigned identity. This property is mutually exclusive with both `account_key` and `sas_key`; exactly one must be specified.
     */
    @JvmName("nrojijwlrkutthmo")
    public suspend fun identityId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identityId = 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("upjshycjvcnfljep")
    public suspend fun relativeMountPath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.relativeMountPath = mapped
    }

    /**
     * @param value The Azure Storage SAS token. This property is mutually exclusive with both `account_key` and `identity_id`; exactly one must be specified.
     */
    @JvmName("ayvifobxduorlytk")
    public suspend fun sasKey(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sasKey = mapped
    }

    internal fun build(): PoolMountAzureBlobFileSystemArgs = PoolMountAzureBlobFileSystemArgs(
        accountKey = accountKey,
        accountName = accountName ?: throw PulumiNullFieldException("accountName"),
        blobfuseOptions = blobfuseOptions,
        containerName = containerName ?: throw PulumiNullFieldException("containerName"),
        identityId = identityId,
        relativeMountPath = relativeMountPath ?: throw PulumiNullFieldException("relativeMountPath"),
        sasKey = sasKey,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy