com.pulumi.azure.batch.kotlin.inputs.PoolMountArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.batch.kotlin.inputs
import com.pulumi.azure.batch.inputs.PoolMountArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property azureBlobFileSystem A `azure_blob_file_system` block defined as below.
* @property azureFileShares A `azure_file_share` block defined as below.
* @property cifsMounts A `cifs_mount` block defined as below.
* @property nfsMounts A `nfs_mount` block defined as below.
*/
public data class PoolMountArgs(
public val azureBlobFileSystem: Output? = null,
public val azureFileShares: Output>? = null,
public val cifsMounts: Output>? = null,
public val nfsMounts: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.batch.inputs.PoolMountArgs =
com.pulumi.azure.batch.inputs.PoolMountArgs.builder()
.azureBlobFileSystem(
azureBlobFileSystem?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.azureFileShares(
azureFileShares?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.cifsMounts(
cifsMounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.nfsMounts(
nfsMounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PoolMountArgs].
*/
@PulumiTagMarker
public class PoolMountArgsBuilder internal constructor() {
private var azureBlobFileSystem: Output? = null
private var azureFileShares: Output>? = null
private var cifsMounts: Output>? = null
private var nfsMounts: Output>? = null
/**
* @param value A `azure_blob_file_system` block defined as below.
*/
@JvmName("xyxcbhkmxihlxilw")
public suspend fun azureBlobFileSystem(`value`: Output) {
this.azureBlobFileSystem = value
}
/**
* @param value A `azure_file_share` block defined as below.
*/
@JvmName("cfcbtxsftijqcdxw")
public suspend fun azureFileShares(`value`: Output>) {
this.azureFileShares = value
}
@JvmName("ycomfnwjkouybjms")
public suspend fun azureFileShares(vararg values: Output) {
this.azureFileShares = Output.all(values.asList())
}
/**
* @param values A `azure_file_share` block defined as below.
*/
@JvmName("yqfvfdnmlotphnfs")
public suspend fun azureFileShares(values: List