All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.cloudflare.kotlin.outputs.GetLoadBalancerPoolsPool.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property checkRegions List of regions (specified by region code) from which to run health checks. Empty means every Cloudflare data center (the default), but requires an Enterprise plan. Region codes can be found [here](https://support.cloudflare.com/hc/en-us/articles/115000540888-Load-Balancing-Geographic-Regions).
 * @property createdOn The RFC3339 timestamp of when the load balancer was created.
 * @property description Brief description of the Load Balancer Pool intention.
 * @property enabled Whether this pool is enabled. Disabled pools will not receive traffic and are excluded from health checks.
 * @property id ID for this load balancer pool.
 * @property latitude Latitude this pool is physically located at; used for proximity steering.
 * @property loadSheddings Setting for controlling load shedding for this pool.
 * @property longitude Longitude this pool is physically located at; used for proximity steering.
 * @property minimumOrigins Minimum number of origins that must be healthy for this pool to serve traffic.
 * @property modifiedOn The RFC3339 timestamp of when the load balancer was last modified.
 * @property monitor ID of the Monitor to use for health checking origins within this pool.
 * @property name Short name (tag) for the pool.
 * @property notificationEmail Email address to send health status notifications to. Multiple emails are set as a comma delimited list.
 * @property origins The list of origins within this pool.
 */
public data class GetLoadBalancerPoolsPool(
    public val checkRegions: List,
    public val createdOn: String,
    public val description: String,
    public val enabled: Boolean,
    public val id: String,
    public val latitude: Double,
    public val loadSheddings: List,
    public val longitude: Double,
    public val minimumOrigins: Int,
    public val modifiedOn: String,
    public val monitor: String,
    public val name: String,
    public val notificationEmail: String,
    public val origins: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetLoadBalancerPoolsPool): GetLoadBalancerPoolsPool = GetLoadBalancerPoolsPool(
            checkRegions = javaType.checkRegions().map({ args0 -> args0 }),
            createdOn = javaType.createdOn(),
            description = javaType.description(),
            enabled = javaType.enabled(),
            id = javaType.id(),
            latitude = javaType.latitude(),
            loadSheddings = javaType.loadSheddings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.GetLoadBalancerPoolsPoolLoadShedding.Companion.toKotlin(args0)
                })
            }),
            longitude = javaType.longitude(),
            minimumOrigins = javaType.minimumOrigins(),
            modifiedOn = javaType.modifiedOn(),
            monitor = javaType.monitor(),
            name = javaType.name(),
            notificationEmail = javaType.notificationEmail(),
            origins = javaType.origins().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.GetLoadBalancerPoolsPoolOrigin.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy