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

com.pulumi.azurenative.web.kotlin.inputs.ApplicationLogsConfigArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.web.kotlin.inputs

import com.pulumi.azurenative.web.inputs.ApplicationLogsConfigArgs.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

/**
 * Application logs configuration.
 * @property azureBlobStorage Application logs to blob storage configuration.
 * @property azureTableStorage Application logs to azure table storage configuration.
 * @property fileSystem Application logs to file system configuration.
 */
public data class ApplicationLogsConfigArgs(
    public val azureBlobStorage: Output? = null,
    public val azureTableStorage: Output? = null,
    public val fileSystem: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.web.inputs.ApplicationLogsConfigArgs =
        com.pulumi.azurenative.web.inputs.ApplicationLogsConfigArgs.builder()
            .azureBlobStorage(azureBlobStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .azureTableStorage(azureTableStorage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .fileSystem(fileSystem?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ApplicationLogsConfigArgs].
 */
@PulumiTagMarker
public class ApplicationLogsConfigArgsBuilder internal constructor() {
    private var azureBlobStorage: Output? = null

    private var azureTableStorage: Output? = null

    private var fileSystem: Output? = null

    /**
     * @param value Application logs to blob storage configuration.
     */
    @JvmName("ysfdkvvdyjlrunsf")
    public suspend fun azureBlobStorage(`value`: Output) {
        this.azureBlobStorage = value
    }

    /**
     * @param value Application logs to azure table storage configuration.
     */
    @JvmName("jdgwqybchdfbxfea")
    public suspend fun azureTableStorage(`value`: Output) {
        this.azureTableStorage = value
    }

    /**
     * @param value Application logs to file system configuration.
     */
    @JvmName("rbhiwlpeorlpyjor")
    public suspend fun fileSystem(`value`: Output) {
        this.fileSystem = value
    }

    /**
     * @param value Application logs to blob storage configuration.
     */
    @JvmName("ypvosurrtwwbtdby")
    public suspend fun azureBlobStorage(`value`: AzureBlobStorageApplicationLogsConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureBlobStorage = mapped
    }

    /**
     * @param argument Application logs to blob storage configuration.
     */
    @JvmName("uuoovngxhvwbpjtl")
    public suspend fun azureBlobStorage(argument: suspend AzureBlobStorageApplicationLogsConfigArgsBuilder.() -> Unit) {
        val toBeMapped = AzureBlobStorageApplicationLogsConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.azureBlobStorage = mapped
    }

    /**
     * @param value Application logs to azure table storage configuration.
     */
    @JvmName("dfppnrabbqprjtfn")
    public suspend fun azureTableStorage(`value`: AzureTableStorageApplicationLogsConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.azureTableStorage = mapped
    }

    /**
     * @param argument Application logs to azure table storage configuration.
     */
    @JvmName("fphmbsadqlpgciep")
    public suspend fun azureTableStorage(argument: suspend AzureTableStorageApplicationLogsConfigArgsBuilder.() -> Unit) {
        val toBeMapped = AzureTableStorageApplicationLogsConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.azureTableStorage = mapped
    }

    /**
     * @param value Application logs to file system configuration.
     */
    @JvmName("tsbuehxgbrovlgbt")
    public suspend fun fileSystem(`value`: FileSystemApplicationLogsConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.fileSystem = mapped
    }

    /**
     * @param argument Application logs to file system configuration.
     */
    @JvmName("qvywmfolqcklqirh")
    public suspend fun fileSystem(argument: suspend FileSystemApplicationLogsConfigArgsBuilder.() -> Unit) {
        val toBeMapped = FileSystemApplicationLogsConfigArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.fileSystem = mapped
    }

    internal fun build(): ApplicationLogsConfigArgs = ApplicationLogsConfigArgs(
        azureBlobStorage = azureBlobStorage,
        azureTableStorage = azureTableStorage,
        fileSystem = fileSystem,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy