com.pulumi.azure.containerservice.kotlin.inputs.KubernetesClusterApiServerAccessProfileArgs.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.KubernetesClusterApiServerAccessProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property authorizedIpRanges Set of authorized IP ranges to allow access to API server, e.g. ["198.51.100.0/24"].
* @property subnetId The ID of the Subnet where the API server endpoint is delegated to.
* @property vnetIntegrationEnabled Should API Server VNet Integration be enabled? For more details please visit [Use API Server VNet Integration](https://learn.microsoft.com/en-us/azure/aks/api-server-vnet-integration).
* > **Note:** This requires that the Preview Feature `Microsoft.ContainerService/EnableAPIServerVnetIntegrationPreview` is enabled and the Resource Provider is re-registered, see [the documentation](https://learn.microsoft.com/en-us/azure/aks/api-server-vnet-integration#register-the-enableapiservervnetintegrationpreview-preview-feature) for more information.
*/
public data class KubernetesClusterApiServerAccessProfileArgs(
public val authorizedIpRanges: Output>? = null,
public val subnetId: Output? = null,
public val vnetIntegrationEnabled: Output? = null,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.containerservice.inputs.KubernetesClusterApiServerAccessProfileArgs =
com.pulumi.azure.containerservice.inputs.KubernetesClusterApiServerAccessProfileArgs.builder()
.authorizedIpRanges(authorizedIpRanges?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetId(subnetId?.applyValue({ args0 -> args0 }))
.vnetIntegrationEnabled(vnetIntegrationEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [KubernetesClusterApiServerAccessProfileArgs].
*/
@PulumiTagMarker
public class KubernetesClusterApiServerAccessProfileArgsBuilder internal constructor() {
private var authorizedIpRanges: Output>? = null
private var subnetId: Output? = null
private var vnetIntegrationEnabled: Output? = null
/**
* @param value Set of authorized IP ranges to allow access to API server, e.g. ["198.51.100.0/24"].
*/
@JvmName("faftcnnpailmsufj")
public suspend fun authorizedIpRanges(`value`: Output>) {
this.authorizedIpRanges = value
}
@JvmName("ehgnbjgkuitdqalg")
public suspend fun authorizedIpRanges(vararg values: Output) {
this.authorizedIpRanges = Output.all(values.asList())
}
/**
* @param values Set of authorized IP ranges to allow access to API server, e.g. ["198.51.100.0/24"].
*/
@JvmName("mlhrcnuksygdkyng")
public suspend fun authorizedIpRanges(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy