![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.insights.kotlin.inputs.PerformanceCounterConfigurationArgs.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.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.PerformanceCounterConfigurationArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property instance
* @property name
* @property samplingPeriod
*/
public data class PerformanceCounterConfigurationArgs(
public val instance: Output? = null,
public val name: Output,
public val samplingPeriod: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.PerformanceCounterConfigurationArgs = com.pulumi.azurenative.insights.inputs.PerformanceCounterConfigurationArgs.builder()
.instance(instance?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 }))
.samplingPeriod(samplingPeriod.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PerformanceCounterConfigurationArgs].
*/
@PulumiTagMarker
public class PerformanceCounterConfigurationArgsBuilder internal constructor() {
private var instance: Output? = null
private var name: Output? = null
private var samplingPeriod: Output? = null
/**
* @param value
*/
@JvmName("yikeooqrjqxegjxo")
public suspend fun instance(`value`: Output) {
this.instance = value
}
/**
* @param value
*/
@JvmName("qxaumbvunnjkjnhq")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("kjwsmygkhjsqhrin")
public suspend fun samplingPeriod(`value`: Output) {
this.samplingPeriod = value
}
/**
* @param value
*/
@JvmName("xapvtsnjalrdwskk")
public suspend fun instance(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instance = mapped
}
/**
* @param value
*/
@JvmName("iqesiwgkwbqpwmjl")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value
*/
@JvmName("jaxgvqodapvcdkwk")
public suspend fun samplingPeriod(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.samplingPeriod = mapped
}
internal fun build(): PerformanceCounterConfigurationArgs = PerformanceCounterConfigurationArgs(
instance = instance,
name = name ?: throw PulumiNullFieldException("name"),
samplingPeriod = samplingPeriod ?: throw PulumiNullFieldException("samplingPeriod"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy