com.pulumi.gcp.alloydb.kotlin.outputs.InstanceQueryInsightsConfig.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 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 20 is considered valid.
* @property queryStringLength Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
* @property recordApplicationTags Record application tags for an instance. This flag is turned "on" by default.
* @property recordClientAddress Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
*/
public data class InstanceQueryInsightsConfig(
public val queryPlansPerMinute: Int? = null,
public val queryStringLength: Int? = null,
public val recordApplicationTags: Boolean? = null,
public val recordClientAddress: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.InstanceQueryInsightsConfig): InstanceQueryInsightsConfig = InstanceQueryInsightsConfig(
queryPlansPerMinute = javaType.queryPlansPerMinute().map({ args0 -> args0 }).orElse(null),
queryStringLength = javaType.queryStringLength().map({ args0 -> args0 }).orElse(null),
recordApplicationTags = javaType.recordApplicationTags().map({ args0 -> args0 }).orElse(null),
recordClientAddress = javaType.recordClientAddress().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy