LoadBalancerPool

class LoadBalancerPool : KotlinCustomResource

Example Usage

resources:
exampleLoadBalancerPool:
type: cloudflare:LoadBalancerPool
name: example_load_balancer_pool
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
name: primary-dc-1
origins:
- address: 0.0.0.0
enabled: true
header:
host:
- example.com
name: app-server-1
virtual_network_id: a5624d4e-044a-4ff0-b3e1-e2465353d4b4
weight: 0.6
description: Primary data center - Provider XYZ
enabled: false
latitude: 0
loadShedding:
default_percent: 0
default_policy: random
session_percent: 0
session_policy: hash
longitude: 0
minimumOrigins: 0
monitor: monitor
notificationEmail: someone@example.com,sometwo@example.com
notificationFilter:
origin:
disable: true
healthy: true
pool:
disable: true
healthy: false
originSteering:
policy: random

Import

$ pulumi import cloudflare:index/loadBalancerPool:LoadBalancerPool example '<account_id>/<pool_id>'

Properties

Link copied to clipboard
val accountId: Output<String>

Identifier

Link copied to clipboard
val checkRegions: Output<List<String>>?

A list of regions from which to run health checks. Null means every Cloudflare data center.

Link copied to clipboard
val createdOn: Output<String>
Link copied to clipboard
val description: Output<String>?

A human-readable description of the pool.

Link copied to clipboard
val disabledAt: Output<String>

This field shows up only if the pool is disabled. This field is set with the time the pool was disabled at.

Link copied to clipboard
val enabled: Output<Boolean>

Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val latitude: Output<Double>?

The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.

Link copied to clipboard

Configures load shedding policies and percentages for the pool.

Link copied to clipboard
val longitude: Output<Double>?

The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.

Link copied to clipboard
val minimumOrigins: Output<Int>

The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.

Link copied to clipboard
val modifiedOn: Output<String>
Link copied to clipboard
val monitor: Output<String>?

The ID of the Monitor to use for checking the health of origins within this pool.

Link copied to clipboard
val name: Output<String>

A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.

Link copied to clipboard
val networks: Output<List<String>>

List of networks where Load Balancer or Pool is enabled.

Link copied to clipboard

This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.

Link copied to clipboard

Filter pool and origin health notifications by resource type or health status. Use null to reset.

Link copied to clipboard

The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy.

Link copied to clipboard

Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>