com.pulumi.azure.containerservice.kotlin.inputs.GroupDiagnosticsArgs.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.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.GroupDiagnosticsArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property logAnalytics A `log_analytics` block as defined below. Changing this forces a new resource to be created.
*/
public data class GroupDiagnosticsArgs(
public val logAnalytics: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.GroupDiagnosticsArgs =
com.pulumi.azure.containerservice.inputs.GroupDiagnosticsArgs.builder()
.logAnalytics(logAnalytics.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GroupDiagnosticsArgs].
*/
@PulumiTagMarker
public class GroupDiagnosticsArgsBuilder internal constructor() {
private var logAnalytics: Output? = null
/**
* @param value A `log_analytics` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("dyrtixxoonigkgeh")
public suspend fun logAnalytics(`value`: Output) {
this.logAnalytics = value
}
/**
* @param value A `log_analytics` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("swgdtsqlicrurtmx")
public suspend fun logAnalytics(`value`: GroupDiagnosticsLogAnalyticsArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.logAnalytics = mapped
}
/**
* @param argument A `log_analytics` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("ifqutypagbtppxpc")
public suspend
fun logAnalytics(argument: suspend GroupDiagnosticsLogAnalyticsArgsBuilder.() -> Unit) {
val toBeMapped = GroupDiagnosticsLogAnalyticsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.logAnalytics = mapped
}
internal fun build(): GroupDiagnosticsArgs = GroupDiagnosticsArgs(
logAnalytics = logAnalytics ?: throw PulumiNullFieldException("logAnalytics"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy