com.pulumi.cloudflare.kotlin.outputs.LoadBalancerCountryPool.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 country A country code which can be determined with the Load Balancing Regions API described [here](https://developers.cloudflare.com/load-balancing/reference/region-mapping-api/). Multiple entries should not be specified with the same country.
* @property poolIds A list of pool IDs in failover priority to use in the given country.
*/
public data class LoadBalancerCountryPool(
public val country: String,
public val poolIds: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.LoadBalancerCountryPool): LoadBalancerCountryPool = LoadBalancerCountryPool(
country = javaType.country(),
poolIds = javaType.poolIds().map({ args0 -> args0 }),
)
}
}