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

com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSource.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.Suppress
import kotlin.collections.List

/**
 *
 * @property dataImports A `data_import` block as defined above.
 * @property extensions One or more `extension` blocks as defined below.
 * @property iisLogs One or more `iis_log` blocks as defined below.
 * @property logFiles One or more `log_file` blocks as defined below.
 * @property performanceCounters One or more `performance_counter` blocks as defined below.
 * @property platformTelemetries One or more `platform_telemetry` blocks as defined below.
 * @property prometheusForwarders One or more `prometheus_forwarder` blocks as defined below.
 * @property syslogs One or more `syslog` blocks as defined below.
 * @property windowsEventLogs One or more `windows_event_log` blocks as defined below.
 * @property windowsFirewallLogs One or more `windows_firewall_log` blocks as defined below.
 */
public data class GetDataCollectionRuleDataSource(
    public val dataImports: List,
    public val extensions: List,
    public val iisLogs: List,
    public val logFiles: List? = null,
    public val performanceCounters: List,
    public val platformTelemetries: List? = null,
    public val prometheusForwarders: List,
    public val syslogs: List,
    public val windowsEventLogs: List,
    public val windowsFirewallLogs: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetDataCollectionRuleDataSource): GetDataCollectionRuleDataSource = GetDataCollectionRuleDataSource(
            dataImports = javaType.dataImports().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceDataImport.Companion.toKotlin(args0)
                })
            }),
            extensions = javaType.extensions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceExtension.Companion.toKotlin(args0)
                })
            }),
            iisLogs = javaType.iisLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceIisLog.Companion.toKotlin(args0)
                })
            }),
            logFiles = javaType.logFiles().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceLogFile.Companion.toKotlin(args0)
                })
            }),
            performanceCounters = javaType.performanceCounters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourcePerformanceCounter.Companion.toKotlin(args0)
                })
            }),
            platformTelemetries = javaType.platformTelemetries().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourcePlatformTelemetry.Companion.toKotlin(args0)
                })
            }),
            prometheusForwarders = javaType.prometheusForwarders().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourcePrometheusForwarder.Companion.toKotlin(args0)
                })
            }),
            syslogs = javaType.syslogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceSyslog.Companion.toKotlin(args0)
                })
            }),
            windowsEventLogs = javaType.windowsEventLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceWindowsEventLog.Companion.toKotlin(args0)
                })
            }),
            windowsFirewallLogs = javaType.windowsFirewallLogs().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceWindowsFirewallLog.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy