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

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

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

/**
 * A collection of values returned by getStaticWebApp.
 * @property apiKey
 * @property appSettings
 * @property basicAuths
 * @property configurationFileChangesEnabled
 * @property defaultHostName
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities
 * @property location
 * @property name
 * @property previewEnvironmentsEnabled
 * @property resourceGroupName
 * @property skuSize
 * @property skuTier
 * @property tags
 */
public data class GetStaticWebAppResult(
    public val apiKey: String,
    public val appSettings: Map,
    public val basicAuths: List,
    public val configurationFileChangesEnabled: Boolean,
    public val defaultHostName: String,
    public val id: String,
    public val identities: List,
    public val location: String,
    public val name: String,
    public val previewEnvironmentsEnabled: Boolean,
    public val resourceGroupName: String,
    public val skuSize: String,
    public val skuTier: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetStaticWebAppResult):
            GetStaticWebAppResult = GetStaticWebAppResult(
            apiKey = javaType.apiKey(),
            appSettings = javaType.appSettings().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            basicAuths = javaType.basicAuths().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetStaticWebAppBasicAuth.Companion.toKotlin(args0)
                })
            }),
            configurationFileChangesEnabled = javaType.configurationFileChangesEnabled(),
            defaultHostName = javaType.defaultHostName(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetStaticWebAppIdentity.Companion.toKotlin(args0)
                })
            }),
            location = javaType.location(),
            name = javaType.name(),
            previewEnvironmentsEnabled = javaType.previewEnvironmentsEnabled(),
            resourceGroupName = javaType.resourceGroupName(),
            skuSize = javaType.skuSize(),
            skuTier = javaType.skuTier(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy