labels

@JvmName(name = "vxgkyptybhxanpcy")
suspend fun labels(value: Output<Map<String, String>>)
@JvmName(name = "maduuanbvpcgeqse")
suspend fun labels(value: Map<String, String>?)

Parameters

value

Labels to add to or overwrite in the PromQL query result. Label names must be valid. Label values can be templatized by using variables. The only available variable names are the names of the labels in the PromQL result, including "name" and "value". "labels" may be empty. This field is intended to be used for organizing and identifying the AlertPolicy


@JvmName(name = "jnowjcougsixvbub")
fun labels(vararg values: Pair<String, String>)

Parameters

values

Labels to add to or overwrite in the PromQL query result. Label names must be valid. Label values can be templatized by using variables. The only available variable names are the names of the labels in the PromQL result, including "name" and "value". "labels" may be empty. This field is intended to be used for organizing and identifying the AlertPolicy