com.pulumi.cloudflare.kotlin.outputs.LoadBalancerRegionPool.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property poolIds A list of pool IDs in failover priority to use in the given region.
* @property region A region code which must be in the list defined [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/#list-of-load-balancer-regions). Multiple entries should not be specified with the same region.
*/
public data class LoadBalancerRegionPool(
public val poolIds: List,
public val region: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.LoadBalancerRegionPool): LoadBalancerRegionPool = LoadBalancerRegionPool(
poolIds = javaType.poolIds().map({ args0 -> args0 }),
region = javaType.region(),
)
}
}