![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.kotlin.inputs.AppServiceLogsHttpLogsFileSystemArgs.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.AppServiceLogsHttpLogsFileSystemArgs.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 number of days to retain logs for.
* @property retentionInMb The maximum size in megabytes that HTTP log files can use before being removed.
*/
public data class AppServiceLogsHttpLogsFileSystemArgs(
public val retentionInDays: Output,
public val retentionInMb: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.AppServiceLogsHttpLogsFileSystemArgs =
com.pulumi.azure.appservice.inputs.AppServiceLogsHttpLogsFileSystemArgs.builder()
.retentionInDays(retentionInDays.applyValue({ args0 -> args0 }))
.retentionInMb(retentionInMb.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AppServiceLogsHttpLogsFileSystemArgs].
*/
@PulumiTagMarker
public class AppServiceLogsHttpLogsFileSystemArgsBuilder internal constructor() {
private var retentionInDays: Output? = null
private var retentionInMb: Output? = null
/**
* @param value The number of days to retain logs for.
*/
@JvmName("mqcydwuukdluwwiq")
public suspend fun retentionInDays(`value`: Output) {
this.retentionInDays = value
}
/**
* @param value The maximum size in megabytes that HTTP log files can use before being removed.
*/
@JvmName("hnmnppucjggscflp")
public suspend fun retentionInMb(`value`: Output) {
this.retentionInMb = value
}
/**
* @param value The number of days to retain logs for.
*/
@JvmName("snxpjmvwlkufsxya")
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 HTTP log files can use before being removed.
*/
@JvmName("axenlbsoxhjpxbku")
public suspend fun retentionInMb(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.retentionInMb = mapped
}
internal fun build(): AppServiceLogsHttpLogsFileSystemArgs = AppServiceLogsHttpLogsFileSystemArgs(
retentionInDays = retentionInDays ?: throw PulumiNullFieldException("retentionInDays"),
retentionInMb = retentionInMb ?: throw PulumiNullFieldException("retentionInMb"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy