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

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

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

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

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property applicationLogs A `application_logs` block as defined above.
 * @property detailedErrorMessages Should detailed error messages be enabled?
 * @property failedRequestTracing Should the failed request tracing be enabled?
 * @property httpLogs An `http_logs` block as defined above.
 */
public data class LinuxWebAppLogs(
    public val applicationLogs: LinuxWebAppLogsApplicationLogs? = null,
    public val detailedErrorMessages: Boolean? = null,
    public val failedRequestTracing: Boolean? = null,
    public val httpLogs: LinuxWebAppLogsHttpLogs? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxWebAppLogs): LinuxWebAppLogs = LinuxWebAppLogs(
            applicationLogs = javaType.applicationLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.LinuxWebAppLogsApplicationLogs.Companion.toKotlin(args0)
                })
            }).orElse(null),
            detailedErrorMessages = javaType.detailedErrorMessages().map({ args0 -> args0 }).orElse(null),
            failedRequestTracing = javaType.failedRequestTracing().map({ args0 -> args0 }).orElse(null),
            httpLogs = javaType.httpLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.LinuxWebAppLogsHttpLogs.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy