com.pulumi.azure.monitoring.kotlin.inputs.ScheduledQueryRulesLogCriteriaArgs.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.ScheduledQueryRulesLogCriteriaArgs.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
/**
*
* @property dimensions A `dimension` block as defined below.
* @property metricName Name of the metric. Supported metrics are listed in the Azure Monitor [Microsoft.OperationalInsights/workspaces](https://docs.microsoft.com/azure/azure-monitor/platform/metrics-supported#microsoftoperationalinsightsworkspaces) metrics namespace.
*/
public data class ScheduledQueryRulesLogCriteriaArgs(
public val dimensions: Output>,
public val metricName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.monitoring.inputs.ScheduledQueryRulesLogCriteriaArgs =
com.pulumi.azure.monitoring.inputs.ScheduledQueryRulesLogCriteriaArgs.builder()
.dimensions(
dimensions.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.metricName(metricName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ScheduledQueryRulesLogCriteriaArgs].
*/
@PulumiTagMarker
public class ScheduledQueryRulesLogCriteriaArgsBuilder internal constructor() {
private var dimensions: Output>? = null
private var metricName: Output? = null
/**
* @param value A `dimension` block as defined below.
*/
@JvmName("pkhcccqjlbsttmst")
public suspend
fun dimensions(`value`: Output>) {
this.dimensions = value
}
@JvmName("fugywqhkhlaomqcd")
public suspend fun dimensions(
vararg
values: Output,
) {
this.dimensions = Output.all(values.asList())
}
/**
* @param values A `dimension` block as defined below.
*/
@JvmName("hwxgisbgnqpqvxvm")
public suspend fun dimensions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy