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

com.pulumi.azure.storage.kotlin.outputs.GetShareResult.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.storage.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getShare.
 * @property acls One or more acl blocks as defined below.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property metadata A map of custom file share metadata.
 * @property name
 * @property quota The quota of the File Share in GB.
 * @property resourceManagerId
 * @property storageAccountName
 */
public data class GetShareResult(
    public val acls: List? = null,
    public val id: String,
    public val metadata: Map,
    public val name: String,
    public val quota: Int,
    public val resourceManagerId: String,
    public val storageAccountName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetShareResult): GetShareResult =
            GetShareResult(
                acls = javaType.acls().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.azure.storage.kotlin.outputs.GetShareAcl.Companion.toKotlin(args0)
                    })
                }),
                id = javaType.id(),
                metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
                name = javaType.name(),
                quota = javaType.quota(),
                resourceManagerId = javaType.resourceManagerId(),
                storageAccountName = javaType.storageAccountName(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy