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

com.pulumi.azure.storage.kotlin.outputs.GetBlobResult.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 * A collection of values returned by getBlob.
 * @property accessTier The access tier of the storage blob.
 * @property contentMd5 The MD5 sum of the blob contents.
 * @property contentType The content type of the storage blob.
 * @property encryptionScope The encryption scope for this blob.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property metadata A map of custom blob metadata.
 * @property name
 * @property storageAccountName
 * @property storageContainerName
 * @property type The type of the storage blob
 * @property url The URL of the storage blob.
 */
public data class GetBlobResult(
    public val accessTier: String,
    public val contentMd5: String,
    public val contentType: String,
    public val encryptionScope: String,
    public val id: String,
    public val metadata: Map,
    public val name: String,
    public val storageAccountName: String,
    public val storageContainerName: String,
    public val type: String,
    public val url: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetBlobResult): GetBlobResult =
            GetBlobResult(
                accessTier = javaType.accessTier(),
                contentMd5 = javaType.contentMd5(),
                contentType = javaType.contentType(),
                encryptionScope = javaType.encryptionScope(),
                id = javaType.id(),
                metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
                name = javaType.name(),
                storageAccountName = javaType.storageAccountName(),
                storageContainerName = javaType.storageContainerName(),
                type = javaType.type(),
                url = javaType.url(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy