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

com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppSiteConfig.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.outputs

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

/**
 *
 * @property alwaysOn Is this Linux Web App is Always On enabled.
 * @property apiDefinitionUrl The ID of the APIM configuration for this Linux Web App.
 * @property apiManagementApiId The ID of the API Management API for this Linux Web App.
 * @property appCommandLine The command line used to launch this app.
 * @property applicationStacks A `application_stack` block as defined above.
 * @property autoHealEnabled Are Auto heal rules be enabled.
 * @property autoHealSettings A `auto_heal_setting` block as defined above.
 * @property containerRegistryManagedIdentityClientId The Client ID of the Managed Service Identity used for connections to the Azure Container Registry.
 * @property containerRegistryUseManagedIdentity Do connections for Azure Container Registry use Managed Identity.
 * @property cors A `cors` block as defined above.
 * @property defaultDocuments The list of Default Documents for the Linux Web App.
 * @property detailedErrorLoggingEnabled Is Detailed Error Logging enabled.
 * @property ftpsState The State of FTP / FTPS service.
 * @property healthCheckEvictionTimeInMin The amount of time in minutes that a node can be unhealthy before being removed from the load balancer.
 * @property healthCheckPath The path to the Health Check endpoint.
 * @property http2Enabled Is HTTP2.0 enabled.
 * @property ipRestrictionDefaultAction The Default action for traffic that does not match any `ip_restriction` rule.
 * @property ipRestrictions A `ip_restriction` block as defined above.
 * @property linuxFxVersion The `LinuxFXVersion` string.
 * @property loadBalancingMode The site Load Balancing Mode.
 * @property localMysqlEnabled Is the Local MySQL enabled.
 * @property managedPipelineMode The Managed Pipeline Mode.
 * @property minimumTlsVersion The Minimum version of TLS for requests.
 * @property remoteDebuggingEnabled Is Remote Debugging enabled.
 * @property remoteDebuggingVersion The Remote Debugging Version.
 * @property scmIpRestrictionDefaultAction The Default action for traffic that does not match any `scm_ip_restriction` rule.
 * @property scmIpRestrictions A `scm_ip_restriction` block as defined above.
 * @property scmMinimumTlsVersion The Minimum version of TLS for requests to SCM.
 * @property scmType The Source Control Management Type in use.
 * @property scmUseMainIpRestriction Is the Linux Web App `ip_restriction` configuration used for the SCM also.
 * @property use32BitWorker Does the Linux Web App use a 32-bit worker.
 * @property vnetRouteAllEnabled Are all outbound traffic to NAT Gateways, Network Security Groups and User Defined Routes applied?
 * @property websocketsEnabled Are Web Sockets enabled?
 * @property workerCount The number of Workers for this Linux App Service.
 */
public data class GetLinuxWebAppSiteConfig(
    public val alwaysOn: Boolean,
    public val apiDefinitionUrl: String,
    public val apiManagementApiId: String,
    public val appCommandLine: String,
    public val applicationStacks: List,
    public val autoHealEnabled: Boolean,
    public val autoHealSettings: List,
    public val containerRegistryManagedIdentityClientId: String,
    public val containerRegistryUseManagedIdentity: Boolean,
    public val cors: List,
    public val defaultDocuments: List,
    public val detailedErrorLoggingEnabled: Boolean,
    public val ftpsState: String,
    public val healthCheckEvictionTimeInMin: Int,
    public val healthCheckPath: String,
    public val http2Enabled: Boolean,
    public val ipRestrictionDefaultAction: String,
    public val ipRestrictions: List,
    public val linuxFxVersion: String,
    public val loadBalancingMode: String,
    public val localMysqlEnabled: Boolean,
    public val managedPipelineMode: String,
    public val minimumTlsVersion: String,
    public val remoteDebuggingEnabled: Boolean,
    public val remoteDebuggingVersion: String,
    public val scmIpRestrictionDefaultAction: String,
    public val scmIpRestrictions: List,
    public val scmMinimumTlsVersion: String,
    public val scmType: String,
    public val scmUseMainIpRestriction: Boolean,
    public val use32BitWorker: Boolean,
    public val vnetRouteAllEnabled: Boolean,
    public val websocketsEnabled: Boolean,
    public val workerCount: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.GetLinuxWebAppSiteConfig): GetLinuxWebAppSiteConfig = GetLinuxWebAppSiteConfig(
            alwaysOn = javaType.alwaysOn(),
            apiDefinitionUrl = javaType.apiDefinitionUrl(),
            apiManagementApiId = javaType.apiManagementApiId(),
            appCommandLine = javaType.appCommandLine(),
            applicationStacks = javaType.applicationStacks().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppSiteConfigApplicationStack.Companion.toKotlin(args0)
                })
            }),
            autoHealEnabled = javaType.autoHealEnabled(),
            autoHealSettings = javaType.autoHealSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppSiteConfigAutoHealSetting.Companion.toKotlin(args0)
                })
            }),
            containerRegistryManagedIdentityClientId = javaType.containerRegistryManagedIdentityClientId(),
            containerRegistryUseManagedIdentity = javaType.containerRegistryUseManagedIdentity(),
            cors = javaType.cors().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppSiteConfigCor.Companion.toKotlin(args0)
                })
            }),
            defaultDocuments = javaType.defaultDocuments().map({ args0 -> args0 }),
            detailedErrorLoggingEnabled = javaType.detailedErrorLoggingEnabled(),
            ftpsState = javaType.ftpsState(),
            healthCheckEvictionTimeInMin = javaType.healthCheckEvictionTimeInMin(),
            healthCheckPath = javaType.healthCheckPath(),
            http2Enabled = javaType.http2Enabled(),
            ipRestrictionDefaultAction = javaType.ipRestrictionDefaultAction(),
            ipRestrictions = javaType.ipRestrictions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppSiteConfigIpRestriction.Companion.toKotlin(args0)
                })
            }),
            linuxFxVersion = javaType.linuxFxVersion(),
            loadBalancingMode = javaType.loadBalancingMode(),
            localMysqlEnabled = javaType.localMysqlEnabled(),
            managedPipelineMode = javaType.managedPipelineMode(),
            minimumTlsVersion = javaType.minimumTlsVersion(),
            remoteDebuggingEnabled = javaType.remoteDebuggingEnabled(),
            remoteDebuggingVersion = javaType.remoteDebuggingVersion(),
            scmIpRestrictionDefaultAction = javaType.scmIpRestrictionDefaultAction(),
            scmIpRestrictions = javaType.scmIpRestrictions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.GetLinuxWebAppSiteConfigScmIpRestriction.Companion.toKotlin(args0)
                })
            }),
            scmMinimumTlsVersion = javaType.scmMinimumTlsVersion(),
            scmType = javaType.scmType(),
            scmUseMainIpRestriction = javaType.scmUseMainIpRestriction(),
            use32BitWorker = javaType.use32BitWorker(),
            vnetRouteAllEnabled = javaType.vnetRouteAllEnabled(),
            websocketsEnabled = javaType.websocketsEnabled(),
            workerCount = javaType.workerCount(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy