![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.testbase.kotlin.inputs.TestArgs.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.testbase.kotlin.inputs
import com.pulumi.azurenative.testbase.inputs.TestArgs.builder
import com.pulumi.azurenative.testbase.kotlin.enums.TestType
import com.pulumi.core.Either
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The definition of a Test.
* @property commands The commands used in the test.
* @property isActive Indicates if this test is active.It doesn't schedule test for not active Test.
* @property testType The type of the test.
*/
public data class TestArgs(
public val commands: Output>,
public val isActive: Output? = null,
public val testType: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.testbase.inputs.TestArgs =
com.pulumi.azurenative.testbase.inputs.TestArgs.builder()
.commands(
commands.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.isActive(isActive?.applyValue({ args0 -> args0 }))
.testType(
testType.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [TestArgs].
*/
@PulumiTagMarker
public class TestArgsBuilder internal constructor() {
private var commands: Output>? = null
private var isActive: Output? = null
private var testType: Output>? = null
/**
* @param value The commands used in the test.
*/
@JvmName("dakhekicgbtyreks")
public suspend fun commands(`value`: Output>) {
this.commands = value
}
@JvmName("oblxeacqynnsmnig")
public suspend fun commands(vararg values: Output) {
this.commands = Output.all(values.asList())
}
/**
* @param values The commands used in the test.
*/
@JvmName("yatgefedrdsnaidk")
public suspend fun commands(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy