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

com.pulumi.azure.appservice.kotlin.outputs.AppServiceStorageAccount.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.appservice.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property accessKey The access key for the storage account.
 * @property accountName The name of the storage account.
 * @property mountPath The path to mount the storage within the site's runtime environment.
 * @property name The name of the storage account identifier.
 * @property shareName The name of the file share (container name, for Blob storage).
 * @property type The type of storage. Possible values are `AzureBlob` and `AzureFiles`.
 */
public data class AppServiceStorageAccount(
    public val accessKey: String,
    public val accountName: String,
    public val mountPath: String? = null,
    public val name: String,
    public val shareName: String,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.AppServiceStorageAccount):
            AppServiceStorageAccount = AppServiceStorageAccount(
            accessKey = javaType.accessKey(),
            accountName = javaType.accountName(),
            mountPath = javaType.mountPath().map({ args0 -> args0 }).orElse(null),
            name = javaType.name(),
            shareName = javaType.shareName(),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy