![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.monitoring.kotlin.inputs.MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.monitoring.kotlin.inputs
import com.pulumi.azure.monitoring.inputs.MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property componentId The ID of the Application Insights Resource.
* @property failedLocationCount The number of failed locations.
* @property webTestId The ID of the Application Insights Web Test.
*/
public data class MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs(
public val componentId: Output,
public val failedLocationCount: Output,
public val webTestId: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs =
com.pulumi.azure.monitoring.inputs.MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs.builder()
.componentId(componentId.applyValue({ args0 -> args0 }))
.failedLocationCount(failedLocationCount.applyValue({ args0 -> args0 }))
.webTestId(webTestId.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs].
*/
@PulumiTagMarker
public class MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgsBuilder internal constructor() {
private var componentId: Output? = null
private var failedLocationCount: Output? = null
private var webTestId: Output? = null
/**
* @param value The ID of the Application Insights Resource.
*/
@JvmName("wxaefdadbhudwhqx")
public suspend fun componentId(`value`: Output) {
this.componentId = value
}
/**
* @param value The number of failed locations.
*/
@JvmName("lrtgrkgbjncxygnx")
public suspend fun failedLocationCount(`value`: Output) {
this.failedLocationCount = value
}
/**
* @param value The ID of the Application Insights Web Test.
*/
@JvmName("tgqbgnrammaxvioj")
public suspend fun webTestId(`value`: Output) {
this.webTestId = value
}
/**
* @param value The ID of the Application Insights Resource.
*/
@JvmName("cvbeqykafgwaccya")
public suspend fun componentId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.componentId = mapped
}
/**
* @param value The number of failed locations.
*/
@JvmName("iqrtcrxgwfnwufms")
public suspend fun failedLocationCount(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.failedLocationCount = mapped
}
/**
* @param value The ID of the Application Insights Web Test.
*/
@JvmName("gdsvuhmwyjqksqxd")
public suspend fun webTestId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.webTestId = mapped
}
internal fun build(): MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs =
MetricAlertApplicationInsightsWebTestLocationAvailabilityCriteriaArgs(
componentId = componentId ?: throw PulumiNullFieldException("componentId"),
failedLocationCount = failedLocationCount ?: throw PulumiNullFieldException("failedLocationCount"),
webTestId = webTestId ?: throw PulumiNullFieldException("webTestId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy