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

com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceLogFile.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.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 Specifies the name of 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.
 */
public data class GetDataCollectionRuleDataSourceLogFile(
    public val filePatterns: List,
    public val format: String,
    public val name: String,
    public val settings: List,
    public val streams: List,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetDataCollectionRuleDataSourceLogFile):
            GetDataCollectionRuleDataSourceLogFile = GetDataCollectionRuleDataSourceLogFile(
            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.GetDataCollectionRuleDataSourceLogFileSetting.Companion.toKotlin(args0)
                })
            }),
            streams = javaType.streams().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy