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

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

package com.pulumi.azure.logicapps.kotlin.outputs

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

/**
 *
 * @property alwaysOn
 * @property appScaleLimit
 * @property autoSwapSlotName
 * @property cors
 * @property dotnetFrameworkVersion
 * @property elasticInstanceMinimum
 * @property ftpsState
 * @property healthCheckPath
 * @property http2Enabled
 * @property ipRestrictions
 * @property linuxFxVersion
 * @property minTlsVersion
 * @property preWarmedInstanceCount
 * @property publicNetworkAccessEnabled
 * @property runtimeScaleMonitoringEnabled
 * @property scmIpRestrictions
 * @property scmMinTlsVersion
 * @property scmType
 * @property scmUseMainIpRestriction
 * @property use32BitWorkerProcess
 * @property vnetRouteAllEnabled
 * @property websocketsEnabled
 */
public data class GetStandardSiteConfig(
    public val alwaysOn: Boolean? = null,
    public val appScaleLimit: Int,
    public val autoSwapSlotName: String,
    public val cors: GetStandardSiteConfigCors,
    public val dotnetFrameworkVersion: String? = null,
    public val elasticInstanceMinimum: Int,
    public val ftpsState: String,
    public val healthCheckPath: String? = null,
    public val http2Enabled: Boolean? = null,
    public val ipRestrictions: List,
    public val linuxFxVersion: String,
    public val minTlsVersion: String,
    public val preWarmedInstanceCount: Int,
    public val publicNetworkAccessEnabled: Boolean? = null,
    public val runtimeScaleMonitoringEnabled: Boolean? = null,
    public val scmIpRestrictions: List,
    public val scmMinTlsVersion: String,
    public val scmType: String,
    public val scmUseMainIpRestriction: Boolean? = null,
    public val use32BitWorkerProcess: Boolean? = null,
    public val vnetRouteAllEnabled: Boolean,
    public val websocketsEnabled: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.logicapps.outputs.GetStandardSiteConfig):
            GetStandardSiteConfig = GetStandardSiteConfig(
            alwaysOn = javaType.alwaysOn().map({ args0 -> args0 }).orElse(null),
            appScaleLimit = javaType.appScaleLimit(),
            autoSwapSlotName = javaType.autoSwapSlotName(),
            cors = javaType.cors().let({ args0 ->
                com.pulumi.azure.logicapps.kotlin.outputs.GetStandardSiteConfigCors.Companion.toKotlin(args0)
            }),
            dotnetFrameworkVersion = javaType.dotnetFrameworkVersion().map({ args0 -> args0 }).orElse(null),
            elasticInstanceMinimum = javaType.elasticInstanceMinimum(),
            ftpsState = javaType.ftpsState(),
            healthCheckPath = javaType.healthCheckPath().map({ args0 -> args0 }).orElse(null),
            http2Enabled = javaType.http2Enabled().map({ args0 -> args0 }).orElse(null),
            ipRestrictions = javaType.ipRestrictions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.logicapps.kotlin.outputs.GetStandardSiteConfigIpRestriction.Companion.toKotlin(args0)
                })
            }),
            linuxFxVersion = javaType.linuxFxVersion(),
            minTlsVersion = javaType.minTlsVersion(),
            preWarmedInstanceCount = javaType.preWarmedInstanceCount(),
            publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled().map({ args0 ->
                args0
            }).orElse(null),
            runtimeScaleMonitoringEnabled = javaType.runtimeScaleMonitoringEnabled().map({ args0 ->
                args0
            }).orElse(null),
            scmIpRestrictions = javaType.scmIpRestrictions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.logicapps.kotlin.outputs.GetStandardSiteConfigScmIpRestriction.Companion.toKotlin(args0)
                })
            }),
            scmMinTlsVersion = javaType.scmMinTlsVersion(),
            scmType = javaType.scmType(),
            scmUseMainIpRestriction = javaType.scmUseMainIpRestriction().map({ args0 -> args0 }).orElse(null),
            use32BitWorkerProcess = javaType.use32BitWorkerProcess().map({ args0 -> args0 }).orElse(null),
            vnetRouteAllEnabled = javaType.vnetRouteAllEnabled(),
            websocketsEnabled = javaType.websocketsEnabled().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy