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

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

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

import com.pulumi.azure.appservice.inputs.WindowsFunctionAppSiteConfigAppServiceLogsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property diskQuotaMb The amount of disk space to use for logs. Valid values are between `25` and `100`. Defaults to `35`.
 * @property retentionPeriodDays The retention period for logs in days. Valid values are between `0` and `99999`.(never delete).
 * > **NOTE:** This block is not supported on Consumption plans.
 */
public data class WindowsFunctionAppSiteConfigAppServiceLogsArgs(
    public val diskQuotaMb: Output? = null,
    public val retentionPeriodDays: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppSiteConfigAppServiceLogsArgs =
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppSiteConfigAppServiceLogsArgs.builder()
            .diskQuotaMb(diskQuotaMb?.applyValue({ args0 -> args0 }))
            .retentionPeriodDays(retentionPeriodDays?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsFunctionAppSiteConfigAppServiceLogsArgs].
 */
@PulumiTagMarker
public class WindowsFunctionAppSiteConfigAppServiceLogsArgsBuilder internal constructor() {
    private var diskQuotaMb: Output? = null

    private var retentionPeriodDays: Output? = null

    /**
     * @param value The amount of disk space to use for logs. Valid values are between `25` and `100`. Defaults to `35`.
     */
    @JvmName("xcsavoxsyrwwuptd")
    public suspend fun diskQuotaMb(`value`: Output) {
        this.diskQuotaMb = value
    }

    /**
     * @param value The retention period for logs in days. Valid values are between `0` and `99999`.(never delete).
     * > **NOTE:** This block is not supported on Consumption plans.
     */
    @JvmName("vlbcaxigrqvecoip")
    public suspend fun retentionPeriodDays(`value`: Output) {
        this.retentionPeriodDays = value
    }

    /**
     * @param value The amount of disk space to use for logs. Valid values are between `25` and `100`. Defaults to `35`.
     */
    @JvmName("otelwguvykofuguc")
    public suspend fun diskQuotaMb(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.diskQuotaMb = mapped
    }

    /**
     * @param value The retention period for logs in days. Valid values are between `0` and `99999`.(never delete).
     * > **NOTE:** This block is not supported on Consumption plans.
     */
    @JvmName("hhwxnmejrvyitovh")
    public suspend fun retentionPeriodDays(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.retentionPeriodDays = mapped
    }

    internal fun build(): WindowsFunctionAppSiteConfigAppServiceLogsArgs =
        WindowsFunctionAppSiteConfigAppServiceLogsArgs(
            diskQuotaMb = diskQuotaMb,
            retentionPeriodDays = retentionPeriodDays,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy