![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.databoxedge.kotlin.outputs.MetricCounterResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.databoxedge.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* The metric counter
* @property additionalDimensions The additional dimensions to be added to metric.
* @property dimensionFilter The dimension filter.
* @property instance The instance from which counter should be collected.
* @property name The counter name.
*/
public data class MetricCounterResponse(
public val additionalDimensions: List? = null,
public val dimensionFilter: List? = null,
public val instance: String? = null,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.databoxedge.outputs.MetricCounterResponse): MetricCounterResponse = MetricCounterResponse(
additionalDimensions = javaType.additionalDimensions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.databoxedge.kotlin.outputs.MetricDimensionResponse.Companion.toKotlin(args0)
})
}),
dimensionFilter = javaType.dimensionFilter().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.databoxedge.kotlin.outputs.MetricDimensionResponse.Companion.toKotlin(args0)
})
}),
instance = javaType.instance().map({ args0 -> args0 }).orElse(null),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy