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

com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionRuleDataSourceExtension.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property extensionJson A JSON String which specifies the extension setting.
 * @property extensionName The name of the VM extension.
 * @property inputDataSources Specifies a list of data sources this extension needs data from. An item should be a name of a supported data source which produces only one stream. Supported data sources type: `performance_counter`, `windows_event_log`,and `syslog`.
 * @property name Specifies the name of 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 GetDataCollectionRuleDataSourceExtension(
    public val extensionJson: String,
    public val extensionName: String,
    public val inputDataSources: List,
    public val name: String,
    public val streams: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetDataCollectionRuleDataSourceExtension): GetDataCollectionRuleDataSourceExtension = GetDataCollectionRuleDataSourceExtension(
            extensionJson = javaType.extensionJson(),
            extensionName = javaType.extensionName(),
            inputDataSources = javaType.inputDataSources().map({ args0 -> args0 }),
            name = javaType.name(),
            streams = javaType.streams().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy