com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppLogsHttpLogsFileSystemArgs.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.LinuxWebAppLogsHttpLogsFileSystemArgs.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 kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property retentionInDays The retention period in days. A value of `0` means no retention.
* @property retentionInMb The maximum size in megabytes that log files can use.
*/
public data class LinuxWebAppLogsHttpLogsFileSystemArgs(
public val retentionInDays: Output,
public val retentionInMb: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxWebAppLogsHttpLogsFileSystemArgs =
com.pulumi.azure.appservice.inputs.LinuxWebAppLogsHttpLogsFileSystemArgs.builder()
.retentionInDays(retentionInDays.applyValue({ args0 -> args0 }))
.retentionInMb(retentionInMb.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxWebAppLogsHttpLogsFileSystemArgs].
*/
@PulumiTagMarker
public class LinuxWebAppLogsHttpLogsFileSystemArgsBuilder internal constructor() {
private var retentionInDays: Output? = null
private var retentionInMb: Output? = null
/**
* @param value The retention period in days. A value of `0` means no retention.
*/
@JvmName("smbpohbwolchxmdd")
public suspend fun retentionInDays(`value`: Output) {
this.retentionInDays = value
}
/**
* @param value The maximum size in megabytes that log files can use.
*/
@JvmName("oiiurufgrmbmtaxh")
public suspend fun retentionInMb(`value`: Output) {
this.retentionInMb = value
}
/**
* @param value The retention period in days. A value of `0` means no retention.
*/
@JvmName("kycknkeeqysxeura")
public suspend fun retentionInDays(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.retentionInDays = mapped
}
/**
* @param value The maximum size in megabytes that log files can use.
*/
@JvmName("dkvkjjmykxmkjehj")
public suspend fun retentionInMb(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.retentionInMb = mapped
}
internal fun build(): LinuxWebAppLogsHttpLogsFileSystemArgs =
LinuxWebAppLogsHttpLogsFileSystemArgs(
retentionInDays = retentionInDays ?: throw PulumiNullFieldException("retentionInDays"),
retentionInMb = retentionInMb ?: throw PulumiNullFieldException("retentionInMb"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy