![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.PlatformTelemetryDataSourceArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.PlatformTelemetryDataSourceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of platform telemetry data source configuration
* @property name A friendly name for the data source.
* This name should be unique across all data sources (regardless of type) within the data collection rule.
* @property streams List of platform telemetry streams to collect
*/
public data class PlatformTelemetryDataSourceArgs(
public val name: Output? = null,
public val streams: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.PlatformTelemetryDataSourceArgs =
com.pulumi.azurenative.insights.inputs.PlatformTelemetryDataSourceArgs.builder()
.name(name?.applyValue({ args0 -> args0 }))
.streams(streams.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PlatformTelemetryDataSourceArgs].
*/
@PulumiTagMarker
public class PlatformTelemetryDataSourceArgsBuilder internal constructor() {
private var name: Output? = null
private var streams: Output>? = null
/**
* @param value A friendly name for the data source.
* This name should be unique across all data sources (regardless of type) within the data collection rule.
*/
@JvmName("jkxmxvejnhoyqcdp")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value List of platform telemetry streams to collect
*/
@JvmName("opmxducimdhstvls")
public suspend fun streams(`value`: Output>) {
this.streams = value
}
@JvmName("bymxipydvrjxnsbe")
public suspend fun streams(vararg values: Output) {
this.streams = Output.all(values.asList())
}
/**
* @param values List of platform telemetry streams to collect
*/
@JvmName("xhvvhtporfpgeeke")
public suspend fun streams(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy