com.pulumi.gcp.monitoring.kotlin.outputs.SloRequestBasedSliDistributionCut.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 distributionFilter A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
* aggregating values to quantify the good service provided.
* Must have ValueType = DISTRIBUTION and
* MetricKind = DELTA or MetricKind = CUMULATIVE.
* @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.
* Structure is documented below.
*/
public data class SloRequestBasedSliDistributionCut(
public val distributionFilter: String,
public val range: SloRequestBasedSliDistributionCutRange,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.SloRequestBasedSliDistributionCut): SloRequestBasedSliDistributionCut = SloRequestBasedSliDistributionCut(
distributionFilter = javaType.distributionFilter(),
range = javaType.range().let({ args0 ->
com.pulumi.gcp.monitoring.kotlin.outputs.SloRequestBasedSliDistributionCutRange.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy