![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.ManagementGroupLogSettingsArgs.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.ManagementGroupLogSettingsArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Part of Management Group diagnostic setting. Specifies the settings for a particular log.
* @property category Name of a Management Group Diagnostic Log category for a resource type this setting is applied to.
* @property categoryGroup Name of a Management Group Diagnostic Log category group for a resource type this setting is applied to.
* @property enabled a value indicating whether this log is enabled.
*/
public data class ManagementGroupLogSettingsArgs(
public val category: Output? = null,
public val categoryGroup: Output? = null,
public val enabled: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.ManagementGroupLogSettingsArgs =
com.pulumi.azurenative.insights.inputs.ManagementGroupLogSettingsArgs.builder()
.category(category?.applyValue({ args0 -> args0 }))
.categoryGroup(categoryGroup?.applyValue({ args0 -> args0 }))
.enabled(enabled.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ManagementGroupLogSettingsArgs].
*/
@PulumiTagMarker
public class ManagementGroupLogSettingsArgsBuilder internal constructor() {
private var category: Output? = null
private var categoryGroup: Output? = null
private var enabled: Output? = null
/**
* @param value Name of a Management Group Diagnostic Log category for a resource type this setting is applied to.
*/
@JvmName("fefgskynnnbfjfrk")
public suspend fun category(`value`: Output) {
this.category = value
}
/**
* @param value Name of a Management Group Diagnostic Log category group for a resource type this setting is applied to.
*/
@JvmName("ebxkkthqxwnicopd")
public suspend fun categoryGroup(`value`: Output) {
this.categoryGroup = value
}
/**
* @param value a value indicating whether this log is enabled.
*/
@JvmName("fcvluqhqslxpdsau")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Name of a Management Group Diagnostic Log category for a resource type this setting is applied to.
*/
@JvmName("oyabmmfrappvmbvn")
public suspend fun category(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.category = mapped
}
/**
* @param value Name of a Management Group Diagnostic Log category group for a resource type this setting is applied to.
*/
@JvmName("jnebhaaapdcoatrx")
public suspend fun categoryGroup(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.categoryGroup = mapped
}
/**
* @param value a value indicating whether this log is enabled.
*/
@JvmName("ikxbedhceyiachjj")
public suspend fun enabled(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.enabled = mapped
}
internal fun build(): ManagementGroupLogSettingsArgs = ManagementGroupLogSettingsArgs(
category = category,
categoryGroup = categoryGroup,
enabled = enabled ?: throw PulumiNullFieldException("enabled"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy