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

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

package com.pulumi.azure.monitoring.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 DataCollectionRuleDataSourcesLogFile(
    public val filePatterns: List,
    public val format: String,
    public val name: String,
    public val settings: DataCollectionRuleDataSourcesLogFileSettings? = null,
    public val streams: List,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.DataCollectionRuleDataSourcesLogFile):
            DataCollectionRuleDataSourcesLogFile = DataCollectionRuleDataSourcesLogFile(
            filePatterns = javaType.filePatterns().map({ args0 -> args0 }),
            format = javaType.format(),
            name = javaType.name(),
            settings = javaType.settings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.DataCollectionRuleDataSourcesLogFileSettings.Companion.toKotlin(args0)
                })
            }).orElse(null),
            streams = javaType.streams().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy