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

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

package com.pulumi.azure.monitoring.kotlin.inputs

import com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesWindowsFirewallLogArgs.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.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property name The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
 * @property streams Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
 */
public data class DataCollectionRuleDataSourcesWindowsFirewallLogArgs(
    public val name: Output,
    public val streams: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesWindowsFirewallLogArgs =
        com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesWindowsFirewallLogArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .streams(streams.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [DataCollectionRuleDataSourcesWindowsFirewallLogArgs].
 */
@PulumiTagMarker
public class DataCollectionRuleDataSourcesWindowsFirewallLogArgsBuilder internal constructor() {
    private var name: Output? = null

    private var streams: Output>? = null

    /**
     * @param value The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
     */
    @JvmName("mlloukpbjjyrlatg")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
     */
    @JvmName("xlrdtgqqdtlhcjyo")
    public suspend fun streams(`value`: Output>) {
        this.streams = value
    }

    @JvmName("hluxlgtjrmlmrodw")
    public suspend fun streams(vararg values: Output) {
        this.streams = Output.all(values.asList())
    }

    /**
     * @param values Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
     */
    @JvmName("mkuubylwnnvmctmm")
    public suspend fun streams(values: List>) {
        this.streams = Output.all(values)
    }

    /**
     * @param value The name which should be used for this data source. This name should be unique across all data sources regardless of type within the Data Collection Rule.
     */
    @JvmName("ybwleckvepvmyrgq")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
     */
    @JvmName("ywnukvbqacmvumqv")
    public suspend fun streams(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.streams = mapped
    }

    /**
     * @param values Specifies a list of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to.
     */
    @JvmName("tvhammlvlntgtrtc")
    public suspend fun streams(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.streams = mapped
    }

    internal fun build(): DataCollectionRuleDataSourcesWindowsFirewallLogArgs =
        DataCollectionRuleDataSourcesWindowsFirewallLogArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            streams = streams ?: throw PulumiNullFieldException("streams"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy