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

com.pulumi.gcp.monitoring.kotlin.outputs.SloWindowsBasedSliGoodTotalRatioThreshold.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.monitoring.kotlin.outputs

import kotlin.Double
import kotlin.Suppress

/**
 *
 * @property basicSliPerformance Basic SLI to evaluate to judge window quality.
 * Structure is documented below.
 * @property performance Request-based SLI to evaluate to judge window quality.
 * Structure is documented below.
 * @property threshold If window performance >= threshold, the window is counted
 * as good.
 */
public data class SloWindowsBasedSliGoodTotalRatioThreshold(
    public val basicSliPerformance: SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance? =
        null,
    public val performance: SloWindowsBasedSliGoodTotalRatioThresholdPerformance? = null,
    public val threshold: Double? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.SloWindowsBasedSliGoodTotalRatioThreshold): SloWindowsBasedSliGoodTotalRatioThreshold = SloWindowsBasedSliGoodTotalRatioThreshold(
            basicSliPerformance = javaType.basicSliPerformance().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.monitoring.kotlin.outputs.SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance.Companion.toKotlin(args0)
                })
            }).orElse(null),
            performance = javaType.performance().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.monitoring.kotlin.outputs.SloWindowsBasedSliGoodTotalRatioThresholdPerformance.Companion.toKotlin(args0)
                })
            }).orElse(null),
            threshold = javaType.threshold().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy