
com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstancesInstanceSettingInsightsConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.sql.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property queryInsightsEnabled True if Query Insights feature is enabled.
* @property queryPlansPerMinute Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
* @property queryStringLength Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
* @property recordApplicationTags True if Query Insights will record application tags from query when enabled.
* @property recordClientAddress True if Query Insights will record client address when enabled.
*/
public data class GetDatabaseInstancesInstanceSettingInsightsConfig(
public val queryInsightsEnabled: Boolean,
public val queryPlansPerMinute: Int,
public val queryStringLength: Int,
public val recordApplicationTags: Boolean,
public val recordClientAddress: Boolean,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.GetDatabaseInstancesInstanceSettingInsightsConfig): GetDatabaseInstancesInstanceSettingInsightsConfig =
GetDatabaseInstancesInstanceSettingInsightsConfig(
queryInsightsEnabled = javaType.queryInsightsEnabled(),
queryPlansPerMinute = javaType.queryPlansPerMinute(),
queryStringLength = javaType.queryStringLength(),
recordApplicationTags = javaType.recordApplicationTags(),
recordClientAddress = javaType.recordClientAddress(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy