![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.inputs.DataCollectionRuleDataSourcesLogFileArgs.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.monitoring.kotlin.inputs
import com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesLogFileArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property filePatterns Specifies a list of file patterns where the log files are located. For example, `C:\\JavaLogs\\*.log`.
* @property format The data format of the log files. possible value is `text`.
* @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 settings A `settings` block as defined below.
* @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. Possible value should be custom stream names.
*/
public data class DataCollectionRuleDataSourcesLogFileArgs(
public val filePatterns: Output>,
public val format: Output,
public val name: Output,
public val settings: Output? = null,
public val streams: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesLogFileArgs = com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesLogFileArgs.builder()
.filePatterns(filePatterns.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.format(format.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.settings(settings?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.streams(streams.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DataCollectionRuleDataSourcesLogFileArgs].
*/
@PulumiTagMarker
public class DataCollectionRuleDataSourcesLogFileArgsBuilder internal constructor() {
private var filePatterns: Output>? = null
private var format: Output? = null
private var name: Output? = null
private var settings: Output? = null
private var streams: Output>? = null
/**
* @param value Specifies a list of file patterns where the log files are located. For example, `C:\\JavaLogs\\*.log`.
*/
@JvmName("hlaqbuedujxwvrjq")
public suspend fun filePatterns(`value`: Output>) {
this.filePatterns = value
}
@JvmName("xutcvieupnnpfsvt")
public suspend fun filePatterns(vararg values: Output) {
this.filePatterns = Output.all(values.asList())
}
/**
* @param values Specifies a list of file patterns where the log files are located. For example, `C:\\JavaLogs\\*.log`.
*/
@JvmName("vuquejyacgijtgna")
public suspend fun filePatterns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy