Load Balancer Pool Args
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
port: 0
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>'
Constructors
Properties
A list of regions from which to run health checks. Null means every Cloudflare data center.
A human-readable description of the pool.
Configures load shedding policies and percentages for the pool.
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.
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.
Filter pool and origin health notifications by resource type or health status. Use null to reset.
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.
Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity.