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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property accountKey The Azure Storage Account key.
 * @property accountName The Azure Storage Account name.
 * @property azureFileUrl The Azure Files URL. This is of the form 'https://{account}.file.core.windows.net/'.
 * @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.
 */
public data class PoolMountAzureFileShare(
    public val accountKey: String,
    public val accountName: String,
    public val azureFileUrl: String,
    public val mountOptions: String? = null,
    public val relativeMountPath: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolMountAzureFileShare): PoolMountAzureFileShare = PoolMountAzureFileShare(
            accountKey = javaType.accountKey(),
            accountName = javaType.accountName(),
            azureFileUrl = javaType.azureFileUrl(),
            mountOptions = javaType.mountOptions().map({ args0 -> args0 }).orElse(null),
            relativeMountPath = javaType.relativeMountPath(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy