![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs.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.LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property level The level at which to log. Possible values include `Error`, `Warning`, `Information`, `Verbose` and `Off`. **NOTE:** this field is not available for `http_logs`
* @property retentionInDays The time in days after which to remove blobs. A value of `0` means no retention.
* @property sasUrl SAS url to an Azure blob container with read/write/list/delete permissions.
*/
public data class LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs(
public val level: Output,
public val retentionInDays: Output,
public val sasUrl: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.appservice.inputs.LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs =
com.pulumi.azure.appservice.inputs.LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs.builder()
.level(level.applyValue({ args0 -> args0 }))
.retentionInDays(retentionInDays.applyValue({ args0 -> args0 }))
.sasUrl(sasUrl.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs].
*/
@PulumiTagMarker
public class LinuxWebAppLogsApplicationLogsAzureBlobStorageArgsBuilder internal constructor() {
private var level: Output? = null
private var retentionInDays: Output? = null
private var sasUrl: Output? = null
/**
* @param value The level at which to log. Possible values include `Error`, `Warning`, `Information`, `Verbose` and `Off`. **NOTE:** this field is not available for `http_logs`
*/
@JvmName("lifdribeinqnpqlg")
public suspend fun level(`value`: Output) {
this.level = value
}
/**
* @param value The time in days after which to remove blobs. A value of `0` means no retention.
*/
@JvmName("agpqfrlllmhnarqy")
public suspend fun retentionInDays(`value`: Output) {
this.retentionInDays = value
}
/**
* @param value SAS url to an Azure blob container with read/write/list/delete permissions.
*/
@JvmName("hsmfqlynowvaqllt")
public suspend fun sasUrl(`value`: Output) {
this.sasUrl = value
}
/**
* @param value The level at which to log. Possible values include `Error`, `Warning`, `Information`, `Verbose` and `Off`. **NOTE:** this field is not available for `http_logs`
*/
@JvmName("wmmigbhqvikyympx")
public suspend fun level(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.level = mapped
}
/**
* @param value The time in days after which to remove blobs. A value of `0` means no retention.
*/
@JvmName("sxlreotvrbromxjd")
public suspend fun retentionInDays(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.retentionInDays = mapped
}
/**
* @param value SAS url to an Azure blob container with read/write/list/delete permissions.
*/
@JvmName("qfqofrvlbjyobpvs")
public suspend fun sasUrl(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sasUrl = mapped
}
internal fun build(): LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs =
LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs(
level = level ?: throw PulumiNullFieldException("level"),
retentionInDays = retentionInDays ?: throw PulumiNullFieldException("retentionInDays"),
sasUrl = sasUrl ?: throw PulumiNullFieldException("sasUrl"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy