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

com.pulumi.azure.batch.kotlin.outputs.PoolMount.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.batch.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 PoolMount(
    public val azureBlobFileSystem: PoolMountAzureBlobFileSystem? = null,
    public val azureFileShares: List? = null,
    public val cifsMounts: List? = null,
    public val nfsMounts: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolMount): PoolMount = PoolMount(
            azureBlobFileSystem = javaType.azureBlobFileSystem().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.PoolMountAzureBlobFileSystem.Companion.toKotlin(args0)
                })
            }).orElse(null),
            azureFileShares = javaType.azureFileShares().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.PoolMountAzureFileShare.Companion.toKotlin(args0)
                })
            }),
            cifsMounts = javaType.cifsMounts().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.PoolMountCifsMount.Companion.toKotlin(args0)
                })
            }),
            nfsMounts = javaType.nfsMounts().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.batch.kotlin.outputs.PoolMountNfsMount.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy