com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppStorageAccount.kt Maven / Gradle / Ivy
@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 at which to mount the storage share.
* @property name The name which should be used for this Storage Account.
* @property shareName The Name of the File Share or Container Name for Blob storage.
* @property type The Azure Storage Type. Possible values include `AzureFiles`.
*/
public data class WindowsFunctionAppStorageAccount(
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.WindowsFunctionAppStorageAccount): WindowsFunctionAppStorageAccount = WindowsFunctionAppStorageAccount(
accessKey = javaType.accessKey(),
accountName = javaType.accountName(),
mountPath = javaType.mountPath().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
shareName = javaType.shareName(),
type = javaType.type(),
)
}
}