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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property autoStorageContainerName The storage container name in the auto storage account.
 * @property blobPrefix The blob prefix used when downloading blobs from an Azure Storage container.
 * @property fileMode The file permission mode attribute represented as a string in octal format (e.g. `"0644"`).
 * @property filePath The location on the compute node to which to download the file, relative to the task's working directory. If the `http_url` property is specified, the `file_path` is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the `auto_storage_container_name` or `storage_container_url` property is specified.
 * @property httpUrl The URL of the file to download. If the URL is Azure Blob Storage, it must be readable using anonymous access.
 * @property storageContainerUrl The URL of the blob container within Azure Blob Storage.
 * @property userAssignedIdentityId The reference to the user assigned identity to use to access an Azure Container Registry instead of username and password.
 */
public data class GetPoolStartTaskResourceFile(
    public val autoStorageContainerName: String,
    public val blobPrefix: String,
    public val fileMode: String,
    public val filePath: String,
    public val httpUrl: String,
    public val storageContainerUrl: String,
    public val userAssignedIdentityId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.batch.outputs.GetPoolStartTaskResourceFile):
            GetPoolStartTaskResourceFile = GetPoolStartTaskResourceFile(
            autoStorageContainerName = javaType.autoStorageContainerName(),
            blobPrefix = javaType.blobPrefix(),
            fileMode = javaType.fileMode(),
            filePath = javaType.filePath(),
            httpUrl = javaType.httpUrl(),
            storageContainerUrl = javaType.storageContainerUrl(),
            userAssignedIdentityId = javaType.userAssignedIdentityId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy