
com.pulumi.azurenative.insights.kotlin.inputs.DataCollectionRuleDataSourcesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.DataCollectionRuleDataSourcesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The specification of data sources.
* This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint.
* @property dataImports Specifications of pull based data sources
* @property extensions The list of Azure VM extension data source configurations.
* @property iisLogs The list of IIS logs source configurations.
* @property logFiles The list of Log files source configurations.
* @property performanceCounters The list of performance counter data source configurations.
* @property platformTelemetry The list of platform telemetry configurations
* @property prometheusForwarder The list of Prometheus forwarder data source configurations.
* @property syslog The list of Syslog data source configurations.
* @property windowsEventLogs The list of Windows Event Log data source configurations.
* @property windowsFirewallLogs The list of Windows Firewall logs source configurations.
*/
public data class DataCollectionRuleDataSourcesArgs(
public val dataImports: Output? = null,
public val extensions: Output>? = null,
public val iisLogs: Output>? = null,
public val logFiles: Output>? = null,
public val performanceCounters: Output>? = null,
public val platformTelemetry: Output>? = null,
public val prometheusForwarder: Output>? = null,
public val syslog: Output>? = null,
public val windowsEventLogs: Output>? = null,
public val windowsFirewallLogs: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.DataCollectionRuleDataSourcesArgs =
com.pulumi.azurenative.insights.inputs.DataCollectionRuleDataSourcesArgs.builder()
.dataImports(dataImports?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.extensions(
extensions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.iisLogs(
iisLogs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.logFiles(
logFiles?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.performanceCounters(
performanceCounters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.platformTelemetry(
platformTelemetry?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.prometheusForwarder(
prometheusForwarder?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.syslog(syslog?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.windowsEventLogs(
windowsEventLogs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.windowsFirewallLogs(
windowsFirewallLogs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [DataCollectionRuleDataSourcesArgs].
*/
@PulumiTagMarker
public class DataCollectionRuleDataSourcesArgsBuilder internal constructor() {
private var dataImports: Output? = null
private var extensions: Output>? = null
private var iisLogs: Output>? = null
private var logFiles: Output>? = null
private var performanceCounters: Output>? = null
private var platformTelemetry: Output>? = null
private var prometheusForwarder: Output>? = null
private var syslog: Output>? = null
private var windowsEventLogs: Output>? = null
private var windowsFirewallLogs: Output>? = null
/**
* @param value Specifications of pull based data sources
*/
@JvmName("rexnovslkvfaddim")
public suspend fun dataImports(`value`: Output) {
this.dataImports = value
}
/**
* @param value The list of Azure VM extension data source configurations.
*/
@JvmName("dwucjlxcjcbylcwv")
public suspend fun extensions(`value`: Output>) {
this.extensions = value
}
@JvmName("ahgidrdnwlxnmkdt")
public suspend fun extensions(vararg values: Output) {
this.extensions = Output.all(values.asList())
}
/**
* @param values The list of Azure VM extension data source configurations.
*/
@JvmName("vpneycuqaplbwpyq")
public suspend fun extensions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy