com.pulumi.kubernetes.discovery.v1.kotlin.outputs.EndpointHintsPatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.discovery.v1.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
* EndpointHints provides hints describing how an endpoint should be consumed.
* @property forZones forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.
*/
public data class EndpointHintsPatch(
public val forZones: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.discovery.v1.outputs.EndpointHintsPatch): EndpointHintsPatch = EndpointHintsPatch(
forZones = javaType.forZones().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.discovery.v1.kotlin.outputs.ForZonePatch.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy