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

com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppSlotLogsApplicationLogsArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotLogsApplicationLogsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property azureBlobStorage An `azure_blob_storage` block as defined below.
 * @property fileSystemLevel Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
 */
public data class WindowsWebAppSlotLogsApplicationLogsArgs(
    public val azureBlobStorage: Output? =
        null,
    public val fileSystemLevel: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsWebAppSlotLogsApplicationLogsArgs = com.pulumi.azure.appservice.inputs.WindowsWebAppSlotLogsApplicationLogsArgs.builder()
        .azureBlobStorage(azureBlobStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .fileSystemLevel(fileSystemLevel.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsWebAppSlotLogsApplicationLogsArgs].
 */
@PulumiTagMarker
public class WindowsWebAppSlotLogsApplicationLogsArgsBuilder internal constructor() {
    private var azureBlobStorage: Output? =
        null

    private var fileSystemLevel: Output? = null

    /**
     * @param value An `azure_blob_storage` block as defined below.
     */
    @JvmName("tqipmlqlqssogimk")
    public suspend fun azureBlobStorage(`value`: Output) {
        this.azureBlobStorage = value
    }

    /**
     * @param value Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
     */
    @JvmName("gxayvhwkxmuhnpda")
    public suspend fun fileSystemLevel(`value`: Output) {
        this.fileSystemLevel = value
    }

    /**
     * @param value An `azure_blob_storage` block as defined below.
     */
    @JvmName("pvimxhvlslndspdm")
    public suspend fun azureBlobStorage(`value`: WindowsWebAppSlotLogsApplicationLogsAzureBlobStorageArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureBlobStorage = mapped
    }

    /**
     * @param argument An `azure_blob_storage` block as defined below.
     */
    @JvmName("qsfyjfasujcgdcyu")
    public suspend fun azureBlobStorage(argument: suspend WindowsWebAppSlotLogsApplicationLogsAzureBlobStorageArgsBuilder.() -> Unit) {
        val toBeMapped = WindowsWebAppSlotLogsApplicationLogsAzureBlobStorageArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.azureBlobStorage = mapped
    }

    /**
     * @param value Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
     */
    @JvmName("grtruuhcesdyhglo")
    public suspend fun fileSystemLevel(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fileSystemLevel = mapped
    }

    internal fun build(): WindowsWebAppSlotLogsApplicationLogsArgs =
        WindowsWebAppSlotLogsApplicationLogsArgs(
            azureBlobStorage = azureBlobStorage,
            fileSystemLevel = fileSystemLevel ?: throw PulumiNullFieldException("fileSystemLevel"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy