![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.databoxedge.kotlin.inputs.MetricConfigurationArgs.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.inputs
import com.pulumi.azurenative.databoxedge.inputs.MetricConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Metric configuration.
* @property counterSets Host name for the IoT hub associated to the device.
* @property mdmAccount The MDM account to which the counters should be pushed.
* @property metricNameSpace The MDM namespace to which the counters should be pushed. This is required if MDMAccount is specified
* @property resourceId The Resource ID on which the metrics should be pushed.
*/
public data class MetricConfigurationArgs(
public val counterSets: Output>,
public val mdmAccount: Output? = null,
public val metricNameSpace: Output? = null,
public val resourceId: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.databoxedge.inputs.MetricConfigurationArgs =
com.pulumi.azurenative.databoxedge.inputs.MetricConfigurationArgs.builder()
.counterSets(
counterSets.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.mdmAccount(mdmAccount?.applyValue({ args0 -> args0 }))
.metricNameSpace(metricNameSpace?.applyValue({ args0 -> args0 }))
.resourceId(resourceId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MetricConfigurationArgs].
*/
@PulumiTagMarker
public class MetricConfigurationArgsBuilder internal constructor() {
private var counterSets: Output>? = null
private var mdmAccount: Output? = null
private var metricNameSpace: Output? = null
private var resourceId: Output? = null
/**
* @param value Host name for the IoT hub associated to the device.
*/
@JvmName("rrcnnlkpsibkgoft")
public suspend fun counterSets(`value`: Output>) {
this.counterSets = value
}
@JvmName("vaeoxfffwjntghkk")
public suspend fun counterSets(vararg values: Output) {
this.counterSets = Output.all(values.asList())
}
/**
* @param values Host name for the IoT hub associated to the device.
*/
@JvmName("ojjlyhvpelkorddf")
public suspend fun counterSets(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy