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

com.pulumi.azure.batch.kotlin.outputs.PoolMountAzureBlobFileSystem.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.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 PoolMountAzureBlobFileSystem(
    public val accountKey: String? = null,
    public val accountName: String,
    public val blobfuseOptions: String? = null,
    public val containerName: String,
    public val identityId: String? = null,
    public val relativeMountPath: String,
    public val sasKey: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.PoolMountAzureBlobFileSystem):
            PoolMountAzureBlobFileSystem = PoolMountAzureBlobFileSystem(
            accountKey = javaType.accountKey().map({ args0 -> args0 }).orElse(null),
            accountName = javaType.accountName(),
            blobfuseOptions = javaType.blobfuseOptions().map({ args0 -> args0 }).orElse(null),
            containerName = javaType.containerName(),
            identityId = javaType.identityId().map({ args0 -> args0 }).orElse(null),
            relativeMountPath = javaType.relativeMountPath(),
            sasKey = javaType.sasKey().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy