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

com.pulumi.gcp.monitoring.kotlin.outputs.SloRequestBasedSliGoodTotalRatio.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.monitoring.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property badServiceFilter A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
 * quantifying bad service provided, either demanded service that
 * was not provided or demanded service that was of inadequate
 * quality. Exactly two of
 * good, bad, or total service filter must be defined (where
 * good + bad = total is assumed)
 * Must have ValueType = DOUBLE or ValueType = INT64 and
 * must have MetricKind = DELTA or MetricKind = CUMULATIVE.
 * @property goodServiceFilter A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
 * quantifying good service provided. Exactly two of
 * good, bad, or total service filter must be defined (where
 * good + bad = total is assumed)
 * Must have ValueType = DOUBLE or ValueType = INT64 and
 * must have MetricKind = DELTA or MetricKind = CUMULATIVE.
 * @property totalServiceFilter A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
 * quantifying total demanded service. Exactly two of
 * good, bad, or total service filter must be defined (where
 * good + bad = total is assumed)
 * Must have ValueType = DOUBLE or ValueType = INT64 and
 * must have MetricKind = DELTA or MetricKind = CUMULATIVE.
 */
public data class SloRequestBasedSliGoodTotalRatio(
    public val badServiceFilter: String? = null,
    public val goodServiceFilter: String? = null,
    public val totalServiceFilter: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.SloRequestBasedSliGoodTotalRatio): SloRequestBasedSliGoodTotalRatio = SloRequestBasedSliGoodTotalRatio(
            badServiceFilter = javaType.badServiceFilter().map({ args0 -> args0 }).orElse(null),
            goodServiceFilter = javaType.goodServiceFilter().map({ args0 -> args0 }).orElse(null),
            totalServiceFilter = javaType.totalServiceFilter().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy