com.pulumi.azure.webpubsub.kotlin.outputs.ServiceLiveTrace.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.webpubsub.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
*
* @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 ServiceLiveTrace(
public val connectivityLogsEnabled: Boolean? = null,
public val enabled: Boolean? = null,
public val httpRequestLogsEnabled: Boolean? = null,
public val messagingLogsEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.webpubsub.outputs.ServiceLiveTrace): ServiceLiveTrace = ServiceLiveTrace(
connectivityLogsEnabled = javaType.connectivityLogsEnabled().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
httpRequestLogsEnabled = javaType.httpRequestLogsEnabled().map({ args0 -> args0 }).orElse(null),
messagingLogsEnabled = javaType.messagingLogsEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}