![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.kotlin.inputs.WindowsWebAppLogsApplicationLogsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.WindowsWebAppLogsApplicationLogsArgs.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 WindowsWebAppLogsApplicationLogsArgs(
public val azureBlobStorage: Output? = null,
public val fileSystemLevel: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.WindowsWebAppLogsApplicationLogsArgs =
com.pulumi.azure.appservice.inputs.WindowsWebAppLogsApplicationLogsArgs.builder()
.azureBlobStorage(azureBlobStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fileSystemLevel(fileSystemLevel.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WindowsWebAppLogsApplicationLogsArgs].
*/
@PulumiTagMarker
public class WindowsWebAppLogsApplicationLogsArgsBuilder internal constructor() {
private var azureBlobStorage: Output? = null
private var fileSystemLevel: Output? = null
/**
* @param value An `azure_blob_storage` block as defined below.
*/
@JvmName("jthwiglxmwxquoaq")
public suspend fun azureBlobStorage(`value`: Output) {
this.azureBlobStorage = value
}
/**
* @param value Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
*/
@JvmName("ubmoxvhsrqvcfrnk")
public suspend fun fileSystemLevel(`value`: Output) {
this.fileSystemLevel = value
}
/**
* @param value An `azure_blob_storage` block as defined below.
*/
@JvmName("gknnjbrqioaoqmta")
public suspend fun azureBlobStorage(`value`: WindowsWebAppLogsApplicationLogsAzureBlobStorageArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.azureBlobStorage = mapped
}
/**
* @param argument An `azure_blob_storage` block as defined below.
*/
@JvmName("sfldqqnsbrckymnb")
public suspend fun azureBlobStorage(argument: suspend WindowsWebAppLogsApplicationLogsAzureBlobStorageArgsBuilder.() -> Unit) {
val toBeMapped = WindowsWebAppLogsApplicationLogsAzureBlobStorageArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.azureBlobStorage = mapped
}
/**
* @param value Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
*/
@JvmName("qrloclyctjjmbked")
public suspend fun fileSystemLevel(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.fileSystemLevel = mapped
}
internal fun build(): WindowsWebAppLogsApplicationLogsArgs = WindowsWebAppLogsApplicationLogsArgs(
azureBlobStorage = azureBlobStorage,
fileSystemLevel = fileSystemLevel ?: throw PulumiNullFieldException("fileSystemLevel"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy