com.pulumi.azure.signalr.kotlin.inputs.ServiceLiveTraceArgs.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.signalr.kotlin.inputs
import com.pulumi.azure.signalr.inputs.ServiceLiveTraceArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property connectivityLogsEnabled Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
* @property enabled Whether the live trace is enabled? Defaults to `true`.
* @property httpRequestLogsEnabled Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
* @property messagingLogsEnabled Whether the log category `MessagingLogs` is enabled? Defaults to `true`
*/
public data class ServiceLiveTraceArgs(
public val connectivityLogsEnabled: Output? = null,
public val enabled: Output? = null,
public val httpRequestLogsEnabled: Output? = null,
public val messagingLogsEnabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.signalr.inputs.ServiceLiveTraceArgs =
com.pulumi.azure.signalr.inputs.ServiceLiveTraceArgs.builder()
.connectivityLogsEnabled(connectivityLogsEnabled?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.httpRequestLogsEnabled(httpRequestLogsEnabled?.applyValue({ args0 -> args0 }))
.messagingLogsEnabled(messagingLogsEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServiceLiveTraceArgs].
*/
@PulumiTagMarker
public class ServiceLiveTraceArgsBuilder internal constructor() {
private var connectivityLogsEnabled: Output? = null
private var enabled: Output? = null
private var httpRequestLogsEnabled: Output? = null
private var messagingLogsEnabled: Output? = null
/**
* @param value Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
*/
@JvmName("kjpindaujmasxbtk")
public suspend fun connectivityLogsEnabled(`value`: Output) {
this.connectivityLogsEnabled = value
}
/**
* @param value Whether the live trace is enabled? Defaults to `true`.
*/
@JvmName("fqghqutunuvjccoc")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
*/
@JvmName("hmjfvejchtbmsyyk")
public suspend fun httpRequestLogsEnabled(`value`: Output) {
this.httpRequestLogsEnabled = value
}
/**
* @param value Whether the log category `MessagingLogs` is enabled? Defaults to `true`
*/
@JvmName("yotmjfqvqbjarwky")
public suspend fun messagingLogsEnabled(`value`: Output) {
this.messagingLogsEnabled = value
}
/**
* @param value Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
*/
@JvmName("dtodsscsdxbnacdx")
public suspend fun connectivityLogsEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.connectivityLogsEnabled = mapped
}
/**
* @param value Whether the live trace is enabled? Defaults to `true`.
*/
@JvmName("cdmyhiwrudbxxnwv")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
*/
@JvmName("dlxfnolmbtwfkoed")
public suspend fun httpRequestLogsEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpRequestLogsEnabled = mapped
}
/**
* @param value Whether the log category `MessagingLogs` is enabled? Defaults to `true`
*/
@JvmName("pmqltqjrxnagckja")
public suspend fun messagingLogsEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.messagingLogsEnabled = mapped
}
internal fun build(): ServiceLiveTraceArgs = ServiceLiveTraceArgs(
connectivityLogsEnabled = connectivityLogsEnabled,
enabled = enabled,
httpRequestLogsEnabled = httpRequestLogsEnabled,
messagingLogsEnabled = messagingLogsEnabled,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy