
com.pulumi.azure.apimanagement.kotlin.inputs.LoggerApplicationInsightsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.LoggerApplicationInsightsArgs.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.jvm.JvmName
/**
*
* @property instrumentationKey The instrumentation key used to push data to Application Insights.
*/
public data class LoggerApplicationInsightsArgs(
public val instrumentationKey: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.LoggerApplicationInsightsArgs =
com.pulumi.azure.apimanagement.inputs.LoggerApplicationInsightsArgs.builder()
.instrumentationKey(instrumentationKey.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LoggerApplicationInsightsArgs].
*/
@PulumiTagMarker
public class LoggerApplicationInsightsArgsBuilder internal constructor() {
private var instrumentationKey: Output? = null
/**
* @param value The instrumentation key used to push data to Application Insights.
*/
@JvmName("sonbhykqofuwuyjg")
public suspend fun instrumentationKey(`value`: Output) {
this.instrumentationKey = value
}
/**
* @param value The instrumentation key used to push data to Application Insights.
*/
@JvmName("elhdwwqjsxycjjij")
public suspend fun instrumentationKey(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.instrumentationKey = mapped
}
internal fun build(): LoggerApplicationInsightsArgs = LoggerApplicationInsightsArgs(
instrumentationKey = instrumentationKey ?: throw PulumiNullFieldException("instrumentationKey"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy