
com.pulumi.azure.containerservice.kotlin.inputs.GetGroupPlainArgs.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.containerservice.kotlin.inputs
import com.pulumi.azure.containerservice.inputs.GetGroupPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getGroup.
* @property name The name of this Container Group instance.
* @property resourceGroupName The name of the Resource Group where the Container Group instance exists.
* @property zones A list of Availability Zones in which this Container Group is located.
*/
public data class GetGroupPlainArgs(
public val name: String,
public val resourceGroupName: String,
public val zones: List? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.containerservice.inputs.GetGroupPlainArgs =
com.pulumi.azure.containerservice.inputs.GetGroupPlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.zones(zones?.let({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GetGroupPlainArgs].
*/
@PulumiTagMarker
public class GetGroupPlainArgsBuilder internal constructor() {
private var name: String? = null
private var resourceGroupName: String? = null
private var zones: List? = null
/**
* @param value The name of this Container Group instance.
*/
@JvmName("eckxvyfsnnrjdbno")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The name of the Resource Group where the Container Group instance exists.
*/
@JvmName("ldltxwecsjokbaxh")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value A list of Availability Zones in which this Container Group is located.
*/
@JvmName("poiggvnkheabyfkb")
public suspend fun zones(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.zones = mapped
}
/**
* @param values A list of Availability Zones in which this Container Group is located.
*/
@JvmName("ertbbxnoopdxsjcn")
public suspend fun zones(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> args0 })
this.zones = mapped
}
internal fun build(): GetGroupPlainArgs = GetGroupPlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
zones = zones,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy