![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.alloydb.kotlin.outputs.InstanceObservabilityConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.alloydb.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property enabled Observability feature status for an instance.
* @property maxQueryStringLength Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
* @property preserveComments Preserve comments in the query string.
* @property queryPlansPerMinute Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
* @property recordApplicationTags Record application tags for an instance. This flag is turned "on" by default.
* @property trackActiveQueries Track actively running queries. If not set, default value is "off".
* @property trackWaitEventTypes Record wait event types during query execution for an instance.
* @property trackWaitEvents Record wait events during query execution for an instance.
*/
public data class InstanceObservabilityConfig(
public val enabled: Boolean? = null,
public val maxQueryStringLength: Int? = null,
public val preserveComments: Boolean? = null,
public val queryPlansPerMinute: Int? = null,
public val recordApplicationTags: Boolean? = null,
public val trackActiveQueries: Boolean? = null,
public val trackWaitEventTypes: Boolean? = null,
public val trackWaitEvents: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.InstanceObservabilityConfig): InstanceObservabilityConfig = InstanceObservabilityConfig(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
maxQueryStringLength = javaType.maxQueryStringLength().map({ args0 -> args0 }).orElse(null),
preserveComments = javaType.preserveComments().map({ args0 -> args0 }).orElse(null),
queryPlansPerMinute = javaType.queryPlansPerMinute().map({ args0 -> args0 }).orElse(null),
recordApplicationTags = javaType.recordApplicationTags().map({ args0 -> args0 }).orElse(null),
trackActiveQueries = javaType.trackActiveQueries().map({ args0 -> args0 }).orElse(null),
trackWaitEventTypes = javaType.trackWaitEventTypes().map({ args0 -> args0 }).orElse(null),
trackWaitEvents = javaType.trackWaitEvents().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy