![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.chaos.kotlin.inputs.QuerySelectorArgs.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.chaos.kotlin.inputs
import com.pulumi.azurenative.chaos.inputs.QuerySelectorArgs.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
/**
* Model that represents a query selector.
* @property filter Model that represents available filter types that can be applied to a targets list.
* @property id String of the selector ID.
* @property queryString Azure Resource Graph (ARG) Query Language query for target resources.
* @property subscriptionIds Subscription id list to scope resource query.
* @property type Enum of the selector type.
* Expected value is 'Query'.
*/
public data class QuerySelectorArgs(
public val filter: Output? = null,
public val id: Output,
public val queryString: Output,
public val subscriptionIds: Output>,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.chaos.inputs.QuerySelectorArgs =
com.pulumi.azurenative.chaos.inputs.QuerySelectorArgs.builder()
.filter(filter?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.id(id.applyValue({ args0 -> args0 }))
.queryString(queryString.applyValue({ args0 -> args0 }))
.subscriptionIds(subscriptionIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [QuerySelectorArgs].
*/
@PulumiTagMarker
public class QuerySelectorArgsBuilder internal constructor() {
private var filter: Output? = null
private var id: Output? = null
private var queryString: Output? = null
private var subscriptionIds: Output>? = null
private var type: Output? = null
/**
* @param value Model that represents available filter types that can be applied to a targets list.
*/
@JvmName("uamxgqadvoycjfpp")
public suspend fun filter(`value`: Output) {
this.filter = value
}
/**
* @param value String of the selector ID.
*/
@JvmName("skkgxgduyhgavdrk")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value Azure Resource Graph (ARG) Query Language query for target resources.
*/
@JvmName("hghjiurovieslvex")
public suspend fun queryString(`value`: Output) {
this.queryString = value
}
/**
* @param value Subscription id list to scope resource query.
*/
@JvmName("adtmbhhfctwnrmdt")
public suspend fun subscriptionIds(`value`: Output>) {
this.subscriptionIds = value
}
@JvmName("rkipwavbpnovkvjv")
public suspend fun subscriptionIds(vararg values: Output) {
this.subscriptionIds = Output.all(values.asList())
}
/**
* @param values Subscription id list to scope resource query.
*/
@JvmName("iqcokwnipkfgjvcf")
public suspend fun subscriptionIds(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy