com.pulumi.gcp.monitoring.kotlin.outputs.SloWindowsBasedSliMetricMeanInRange.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.monitoring.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property range Range of numerical values. The computed good_service
* will be the count of values x in the Distribution such
* that range.min <= x <= range.max. inclusive of min and
* max. Open ranges can be defined by setting
* just one of min or max. Mean value `X` of `time_series`
* values should satisfy `range.min <= X <= range.max` for a
* good service.
* Structure is documented below.
* @property timeSeries A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* specifying the TimeSeries to use for evaluating window
* The provided TimeSeries must have ValueType = INT64 or
* ValueType = DOUBLE and MetricKind = GAUGE. Mean value `X`
* should satisfy `range.min <= X <= range.max`
* under good service.
*/
public data class SloWindowsBasedSliMetricMeanInRange(
public val range: SloWindowsBasedSliMetricMeanInRangeRange,
public val timeSeries: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.SloWindowsBasedSliMetricMeanInRange): SloWindowsBasedSliMetricMeanInRange = SloWindowsBasedSliMetricMeanInRange(
range = javaType.range().let({ args0 ->
com.pulumi.gcp.monitoring.kotlin.outputs.SloWindowsBasedSliMetricMeanInRangeRange.Companion.toKotlin(args0)
}),
timeSeries = javaType.timeSeries(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy