All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.sql.kotlin.outputs.GetDatabaseInstanceSettingInsightsConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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 GetDatabaseInstanceSettingInsightsConfig(
    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.GetDatabaseInstanceSettingInsightsConfig): GetDatabaseInstanceSettingInsightsConfig = GetDatabaseInstanceSettingInsightsConfig(
            queryInsightsEnabled = javaType.queryInsightsEnabled(),
            queryPlansPerMinute = javaType.queryPlansPerMinute(),
            queryStringLength = javaType.queryStringLength(),
            recordApplicationTags = javaType.recordApplicationTags(),
            recordClientAddress = javaType.recordClientAddress(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy