![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.web.kotlin.inputs.HttpLogsConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.web.kotlin.inputs
import com.pulumi.azurenative.web.inputs.HttpLogsConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Http logs configuration.
* @property azureBlobStorage Http logs to azure blob storage configuration.
* @property fileSystem Http logs to file system configuration.
*/
public data class HttpLogsConfigArgs(
public val azureBlobStorage: Output? = null,
public val fileSystem: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.web.inputs.HttpLogsConfigArgs =
com.pulumi.azurenative.web.inputs.HttpLogsConfigArgs.builder()
.azureBlobStorage(azureBlobStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fileSystem(fileSystem?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [HttpLogsConfigArgs].
*/
@PulumiTagMarker
public class HttpLogsConfigArgsBuilder internal constructor() {
private var azureBlobStorage: Output? = null
private var fileSystem: Output? = null
/**
* @param value Http logs to azure blob storage configuration.
*/
@JvmName("cipltftxrvrolwhl")
public suspend fun azureBlobStorage(`value`: Output) {
this.azureBlobStorage = value
}
/**
* @param value Http logs to file system configuration.
*/
@JvmName("fngijphduxiksism")
public suspend fun fileSystem(`value`: Output) {
this.fileSystem = value
}
/**
* @param value Http logs to azure blob storage configuration.
*/
@JvmName("anqtnimkvsgrcsyp")
public suspend fun azureBlobStorage(`value`: AzureBlobStorageHttpLogsConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.azureBlobStorage = mapped
}
/**
* @param argument Http logs to azure blob storage configuration.
*/
@JvmName("vqfoncicdhqobjfs")
public suspend fun azureBlobStorage(argument: suspend AzureBlobStorageHttpLogsConfigArgsBuilder.() -> Unit) {
val toBeMapped = AzureBlobStorageHttpLogsConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.azureBlobStorage = mapped
}
/**
* @param value Http logs to file system configuration.
*/
@JvmName("opmpecjdlgomrqda")
public suspend fun fileSystem(`value`: FileSystemHttpLogsConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fileSystem = mapped
}
/**
* @param argument Http logs to file system configuration.
*/
@JvmName("yundodmwctdkrrju")
public suspend fun fileSystem(argument: suspend FileSystemHttpLogsConfigArgsBuilder.() -> Unit) {
val toBeMapped = FileSystemHttpLogsConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.fileSystem = mapped
}
internal fun build(): HttpLogsConfigArgs = HttpLogsConfigArgs(
azureBlobStorage = azureBlobStorage,
fileSystem = fileSystem,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy