
com.pulumi.azure.containerservice.kotlin.outputs.KubernetesClusterApiServerAccessProfile.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.containerservice.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 KubernetesClusterApiServerAccessProfile(
public val authorizedIpRanges: List? = null,
public val subnetId: String? = null,
public val vnetIntegrationEnabled: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.KubernetesClusterApiServerAccessProfile): KubernetesClusterApiServerAccessProfile = KubernetesClusterApiServerAccessProfile(
authorizedIpRanges = javaType.authorizedIpRanges().map({ args0 -> args0 }),
subnetId = javaType.subnetId().map({ args0 -> args0 }).orElse(null),
vnetIntegrationEnabled = javaType.vnetIntegrationEnabled().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy