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

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

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

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

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property azureBlobFileSystems 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 GetPoolMount(
    public val azureBlobFileSystems: List? = null,
    public val azureFileShares: List? = null,
    public val cifsMounts: List,
    public val nfsMounts: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.GetPoolMount): GetPoolMount =
            GetPoolMount(
                azureBlobFileSystems = javaType.azureBlobFileSystems().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.batch.kotlin.outputs.GetPoolMountAzureBlobFileSystem.Companion.toKotlin(args0)
                    })
                }),
                azureFileShares = javaType.azureFileShares().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.batch.kotlin.outputs.GetPoolMountAzureFileShare.Companion.toKotlin(args0)
                    })
                }),
                cifsMounts = javaType.cifsMounts().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.batch.kotlin.outputs.GetPoolMountCifsMount.Companion.toKotlin(args0)
                    })
                }),
                nfsMounts = javaType.nfsMounts().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.batch.kotlin.outputs.GetPoolMountNfsMount.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy