
com.pulumi.azure.containerservice.kotlin.inputs.GetKubernetesServiceVersionsPlainArgs.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.GetKubernetesServiceVersionsPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getKubernetesServiceVersions.
* @property includePreview Should Preview versions of Kubernetes in AKS be included? Defaults to `true`
* @property location Specifies the location in which to query for versions.
* @property versionPrefix A prefix filter for the versions of Kubernetes which should be returned; for example `1.` will return `1.9` to `1.14`, whereas `1.12` will return `1.12.2`.
*/
public data class GetKubernetesServiceVersionsPlainArgs(
public val includePreview: Boolean? = null,
public val location: String,
public val versionPrefix: String? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.containerservice.inputs.GetKubernetesServiceVersionsPlainArgs =
com.pulumi.azure.containerservice.inputs.GetKubernetesServiceVersionsPlainArgs.builder()
.includePreview(includePreview?.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.versionPrefix(versionPrefix?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetKubernetesServiceVersionsPlainArgs].
*/
@PulumiTagMarker
public class GetKubernetesServiceVersionsPlainArgsBuilder internal constructor() {
private var includePreview: Boolean? = null
private var location: String? = null
private var versionPrefix: String? = null
/**
* @param value Should Preview versions of Kubernetes in AKS be included? Defaults to `true`
*/
@JvmName("afjcltcntqsdjosx")
public suspend fun includePreview(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.includePreview = mapped
}
/**
* @param value Specifies the location in which to query for versions.
*/
@JvmName("kaxydviulybkcmri")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value A prefix filter for the versions of Kubernetes which should be returned; for example `1.` will return `1.9` to `1.14`, whereas `1.12` will return `1.12.2`.
*/
@JvmName("dehxfaslwqbbxlfl")
public suspend fun versionPrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.versionPrefix = mapped
}
internal fun build(): GetKubernetesServiceVersionsPlainArgs =
GetKubernetesServiceVersionsPlainArgs(
includePreview = includePreview,
location = location ?: throw PulumiNullFieldException("location"),
versionPrefix = versionPrefix,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy