
com.pulumi.azure.appservice.kotlin.inputs.LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appservice.kotlin.inputs
import com.pulumi.azure.appservice.inputs.LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs.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 LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs(
public val level: Output,
public val retentionInDays: Output,
public val sasUrl: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.appservice.inputs.LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs =
com.pulumi.azure.appservice.inputs.LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs.builder()
.level(level.applyValue({ args0 -> args0 }))
.retentionInDays(retentionInDays.applyValue({ args0 -> args0 }))
.sasUrl(sasUrl.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs].
*/
@PulumiTagMarker
public class LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgsBuilder 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("bbjgrrnlhvromunc")
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("sjimqhantrgxhbqc")
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("syobekmrqfdqshnd")
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("vwaddsjqavrlpkhr")
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("almrfcbiwemrluxd")
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("rvanrhgkdntrngjb")
public suspend fun sasUrl(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sasUrl = mapped
}
internal fun build(): LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs =
LinuxWebAppSlotLogsApplicationLogsAzureBlobStorageArgs(
level = level ?: throw PulumiNullFieldException("level"),
retentionInDays = retentionInDays ?: throw PulumiNullFieldException("retentionInDays"),
sasUrl = sasUrl ?: throw PulumiNullFieldException("sasUrl"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy