cloudflare logo
Cloudflare v5.0.0, Mar 13 23

cloudflare.LoadBalancerPool

Provides a Cloudflare Load Balancer pool resource. This provides a pool of origins that can be used by a Cloudflare Load Balancer.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var example = new Cloudflare.LoadBalancerPool("example", new()
    {
        AccountId = "f037e56e89293a057740de681ac9abbe",
        Description = "example load balancer pool",
        Enabled = false,
        Latitude = 55,
        LoadSheddings = new[]
        {
            new Cloudflare.Inputs.LoadBalancerPoolLoadSheddingArgs
            {
                DefaultPercent = 55,
                DefaultPolicy = "random",
                SessionPercent = 12,
                SessionPolicy = "hash",
            },
        },
        Longitude = -12,
        MinimumOrigins = 1,
        Name = "example-pool",
        NotificationEmail = "someone@example.com",
        OriginSteerings = new[]
        {
            new Cloudflare.Inputs.LoadBalancerPoolOriginSteeringArgs
            {
                Policy = "random",
            },
        },
        Origins = new[]
        {
            new Cloudflare.Inputs.LoadBalancerPoolOriginArgs
            {
                Address = "192.0.2.1",
                Enabled = false,
                Headers = new[]
                {
                    new Cloudflare.Inputs.LoadBalancerPoolOriginHeaderArgs
                    {
                        Header = "Host",
                        Values = new[]
                        {
                            "example-1",
                        },
                    },
                },
                Name = "example-1",
            },
            new Cloudflare.Inputs.LoadBalancerPoolOriginArgs
            {
                Address = "192.0.2.2",
                Headers = new[]
                {
                    new Cloudflare.Inputs.LoadBalancerPoolOriginHeaderArgs
                    {
                        Header = "Host",
                        Values = new[]
                        {
                            "example-2",
                        },
                    },
                },
                Name = "example-2",
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.NewLoadBalancerPool(ctx, "example", &cloudflare.LoadBalancerPoolArgs{
			AccountId:   pulumi.String("f037e56e89293a057740de681ac9abbe"),
			Description: pulumi.String("example load balancer pool"),
			Enabled:     pulumi.Bool(false),
			Latitude:    pulumi.Float64(55),
			LoadSheddings: cloudflare.LoadBalancerPoolLoadSheddingArray{
				&cloudflare.LoadBalancerPoolLoadSheddingArgs{
					DefaultPercent: pulumi.Float64(55),
					DefaultPolicy:  pulumi.String("random"),
					SessionPercent: pulumi.Float64(12),
					SessionPolicy:  pulumi.String("hash"),
				},
			},
			Longitude:         -12,
			MinimumOrigins:    pulumi.Int(1),
			Name:              pulumi.String("example-pool"),
			NotificationEmail: pulumi.String("someone@example.com"),
			OriginSteerings: cloudflare.LoadBalancerPoolOriginSteeringArray{
				&cloudflare.LoadBalancerPoolOriginSteeringArgs{
					Policy: pulumi.String("random"),
				},
			},
			Origins: cloudflare.LoadBalancerPoolOriginArray{
				&cloudflare.LoadBalancerPoolOriginArgs{
					Address: pulumi.String("192.0.2.1"),
					Enabled: pulumi.Bool(false),
					Headers: cloudflare.LoadBalancerPoolOriginHeaderArray{
						&cloudflare.LoadBalancerPoolOriginHeaderArgs{
							Header: pulumi.String("Host"),
							Values: pulumi.StringArray{
								pulumi.String("example-1"),
							},
						},
					},
					Name: pulumi.String("example-1"),
				},
				&cloudflare.LoadBalancerPoolOriginArgs{
					Address: pulumi.String("192.0.2.2"),
					Headers: cloudflare.LoadBalancerPoolOriginHeaderArray{
						&cloudflare.LoadBalancerPoolOriginHeaderArgs{
							Header: pulumi.String("Host"),
							Values: pulumi.StringArray{
								pulumi.String("example-2"),
							},
						},
					},
					Name: pulumi.String("example-2"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_cloudflare as cloudflare

example = cloudflare.LoadBalancerPool("example",
    account_id="f037e56e89293a057740de681ac9abbe",
    description="example load balancer pool",
    enabled=False,
    latitude=55,
    load_sheddings=[cloudflare.LoadBalancerPoolLoadSheddingArgs(
        default_percent=55,
        default_policy="random",
        session_percent=12,
        session_policy="hash",
    )],
    longitude=-12,
    minimum_origins=1,
    name="example-pool",
    notification_email="someone@example.com",
    origin_steerings=[cloudflare.LoadBalancerPoolOriginSteeringArgs(
        policy="random",
    )],
    origins=[
        cloudflare.LoadBalancerPoolOriginArgs(
            address="192.0.2.1",
            enabled=False,
            headers=[cloudflare.LoadBalancerPoolOriginHeaderArgs(
                header="Host",
                values=["example-1"],
            )],
            name="example-1",
        ),
        cloudflare.LoadBalancerPoolOriginArgs(
            address="192.0.2.2",
            headers=[cloudflare.LoadBalancerPoolOriginHeaderArgs(
                header="Host",
                values=["example-2"],
            )],
            name="example-2",
        ),
    ])
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const example = new cloudflare.LoadBalancerPool("example", {
    accountId: "f037e56e89293a057740de681ac9abbe",
    description: "example load balancer pool",
    enabled: false,
    latitude: 55,
    loadSheddings: [{
        defaultPercent: 55,
        defaultPolicy: "random",
        sessionPercent: 12,
        sessionPolicy: "hash",
    }],
    longitude: -12,
    minimumOrigins: 1,
    name: "example-pool",
    notificationEmail: "someone@example.com",
    originSteerings: [{
        policy: "random",
    }],
    origins: [
        {
            address: "192.0.2.1",
            enabled: false,
            headers: [{
                header: "Host",
                values: ["example-1"],
            }],
            name: "example-1",
        },
        {
            address: "192.0.2.2",
            headers: [{
                header: "Host",
                values: ["example-2"],
            }],
            name: "example-2",
        },
    ],
});

Coming soon!

Create LoadBalancerPool Resource

new LoadBalancerPool(name: string, args: LoadBalancerPoolArgs, opts?: CustomResourceOptions);
@overload
def LoadBalancerPool(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_id: Optional[str] = None,
                     check_regions: Optional[Sequence[str]] = None,
                     description: Optional[str] = None,
                     enabled: Optional[bool] = None,
                     latitude: Optional[float] = None,
                     load_sheddings: Optional[Sequence[LoadBalancerPoolLoadSheddingArgs]] = None,
                     longitude: Optional[float] = None,
                     minimum_origins: Optional[int] = None,
                     monitor: Optional[str] = None,
                     name: Optional[str] = None,
                     notification_email: Optional[str] = None,
                     origin_steerings: Optional[Sequence[LoadBalancerPoolOriginSteeringArgs]] = None,
                     origins: Optional[Sequence[LoadBalancerPoolOriginArgs]] = None)
@overload
def LoadBalancerPool(resource_name: str,
                     args: LoadBalancerPoolArgs,
                     opts: Optional[ResourceOptions] = None)
func NewLoadBalancerPool(ctx *Context, name string, args LoadBalancerPoolArgs, opts ...ResourceOption) (*LoadBalancerPool, error)
public LoadBalancerPool(string name, LoadBalancerPoolArgs args, CustomResourceOptions? opts = null)
public LoadBalancerPool(String name, LoadBalancerPoolArgs args)
public LoadBalancerPool(String name, LoadBalancerPoolArgs args, CustomResourceOptions options)
type: cloudflare:LoadBalancerPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args LoadBalancerPoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args LoadBalancerPoolArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args LoadBalancerPoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LoadBalancerPoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args LoadBalancerPoolArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

LoadBalancerPool Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The LoadBalancerPool resource accepts the following input properties:

AccountId string

The account identifier to target for the resource.

Name string

A short name (tag) for the pool.

Origins List<LoadBalancerPoolOriginArgs>

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.

CheckRegions List<string>

A 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.

Description string

Free text description.

Enabled bool

Whether to enable (the default) 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). Defaults to true.

Latitude double

The latitude this pool is physically located at; used for proximity steering.

LoadSheddings List<LoadBalancerPoolLoadSheddingArgs>

Setting for controlling load shedding for this pool.

Longitude double

The longitude this pool is physically located at; used for proximity steering.

MinimumOrigins 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 we will failover to the next available pool. Defaults to 1.

Monitor string

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

NotificationEmail string

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.

OriginSteerings List<LoadBalancerPoolOriginSteeringArgs>

Set an origin steering policy to control origin selection within a pool.

AccountId string

The account identifier to target for the resource.

Name string

A short name (tag) for the pool.

Origins []LoadBalancerPoolOriginArgs

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.

CheckRegions []string

A 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.

Description string

Free text description.

Enabled bool

Whether to enable (the default) 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). Defaults to true.

Latitude float64

The latitude this pool is physically located at; used for proximity steering.

LoadSheddings []LoadBalancerPoolLoadSheddingArgs

Setting for controlling load shedding for this pool.

Longitude float64

The longitude this pool is physically located at; used for proximity steering.

MinimumOrigins 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 we will failover to the next available pool. Defaults to 1.

Monitor string

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

NotificationEmail string

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.

OriginSteerings []LoadBalancerPoolOriginSteeringArgs

Set an origin steering policy to control origin selection within a pool.

accountId String

The account identifier to target for the resource.

name String

A short name (tag) for the pool.

origins List<LoadBalancerPoolOriginArgs>

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.

checkRegions List<String>

A 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.

description String

Free text description.

enabled Boolean

Whether to enable (the default) 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). Defaults to true.

latitude Double

The latitude this pool is physically located at; used for proximity steering.

loadSheddings List<LoadBalancerPoolLoadSheddingArgs>

Setting for controlling load shedding for this pool.

longitude Double

The longitude this pool is physically located at; used for proximity steering.

minimumOrigins Integer

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 we will failover to the next available pool. Defaults to 1.

monitor String

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

notificationEmail String

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.

originSteerings List<LoadBalancerPoolOriginSteeringArgs>

Set an origin steering policy to control origin selection within a pool.

accountId string

The account identifier to target for the resource.

name string

A short name (tag) for the pool.

origins LoadBalancerPoolOriginArgs[]

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.

checkRegions string[]

A 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.

description string

Free text description.

enabled boolean

Whether to enable (the default) 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). Defaults to true.

latitude number

The latitude this pool is physically located at; used for proximity steering.

loadSheddings LoadBalancerPoolLoadSheddingArgs[]

Setting for controlling load shedding for this pool.

longitude number

The longitude this pool is physically located at; used for proximity steering.

minimumOrigins number

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 we will failover to the next available pool. Defaults to 1.

monitor string

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

notificationEmail string

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.

originSteerings LoadBalancerPoolOriginSteeringArgs[]

Set an origin steering policy to control origin selection within a pool.

account_id str

The account identifier to target for the resource.

name str

A short name (tag) for the pool.

origins Sequence[LoadBalancerPoolOriginArgs]

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.

check_regions Sequence[str]

A 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.

description str

Free text description.

enabled bool

Whether to enable (the default) 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). Defaults to true.

latitude float

The latitude this pool is physically located at; used for proximity steering.

load_sheddings Sequence[LoadBalancerPoolLoadSheddingArgs]

Setting for controlling load shedding for this pool.

longitude float

The longitude this pool is physically located at; used for proximity steering.

minimum_origins 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 we will failover to the next available pool. Defaults to 1.

monitor str

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

notification_email str

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.

origin_steerings Sequence[LoadBalancerPoolOriginSteeringArgs]

Set an origin steering policy to control origin selection within a pool.

accountId String

The account identifier to target for the resource.

name String

A short name (tag) for the pool.

origins List<Property Map>

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.

checkRegions List<String>

A 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.

description String

Free text description.

enabled Boolean

Whether to enable (the default) 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). Defaults to true.

latitude Number

The latitude this pool is physically located at; used for proximity steering.

loadSheddings List<Property Map>

Setting for controlling load shedding for this pool.

longitude Number

The longitude this pool is physically located at; used for proximity steering.

minimumOrigins Number

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 we will failover to the next available pool. Defaults to 1.

monitor String

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

notificationEmail String

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.

originSteerings List<Property Map>

Set an origin steering policy to control origin selection within a pool.

Outputs

All input properties are implicitly available as output properties. Additionally, the LoadBalancerPool resource produces the following output properties:

CreatedOn string

The RFC3339 timestamp of when the load balancer was created.

Id string

The provider-assigned unique ID for this managed resource.

ModifiedOn string

The RFC3339 timestamp of when the load balancer was last modified.

CreatedOn string

The RFC3339 timestamp of when the load balancer was created.

Id string

The provider-assigned unique ID for this managed resource.

ModifiedOn string

The RFC3339 timestamp of when the load balancer was last modified.

createdOn String

The RFC3339 timestamp of when the load balancer was created.

id String

The provider-assigned unique ID for this managed resource.

modifiedOn String

The RFC3339 timestamp of when the load balancer was last modified.

createdOn string

The RFC3339 timestamp of when the load balancer was created.

id string

The provider-assigned unique ID for this managed resource.

modifiedOn string

The RFC3339 timestamp of when the load balancer was last modified.

created_on str

The RFC3339 timestamp of when the load balancer was created.

id str

The provider-assigned unique ID for this managed resource.

modified_on str

The RFC3339 timestamp of when the load balancer was last modified.

createdOn String

The RFC3339 timestamp of when the load balancer was created.

id String

The provider-assigned unique ID for this managed resource.

modifiedOn String

The RFC3339 timestamp of when the load balancer was last modified.

Look up Existing LoadBalancerPool Resource

Get an existing LoadBalancerPool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: LoadBalancerPoolState, opts?: CustomResourceOptions): LoadBalancerPool
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        check_regions: Optional[Sequence[str]] = None,
        created_on: Optional[str] = None,
        description: Optional[str] = None,
        enabled: Optional[bool] = None,
        latitude: Optional[float] = None,
        load_sheddings: Optional[Sequence[LoadBalancerPoolLoadSheddingArgs]] = None,
        longitude: Optional[float] = None,
        minimum_origins: Optional[int] = None,
        modified_on: Optional[str] = None,
        monitor: Optional[str] = None,
        name: Optional[str] = None,
        notification_email: Optional[str] = None,
        origin_steerings: Optional[Sequence[LoadBalancerPoolOriginSteeringArgs]] = None,
        origins: Optional[Sequence[LoadBalancerPoolOriginArgs]] = None) -> LoadBalancerPool
func GetLoadBalancerPool(ctx *Context, name string, id IDInput, state *LoadBalancerPoolState, opts ...ResourceOption) (*LoadBalancerPool, error)
public static LoadBalancerPool Get(string name, Input<string> id, LoadBalancerPoolState? state, CustomResourceOptions? opts = null)
public static LoadBalancerPool get(String name, Output<String> id, LoadBalancerPoolState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountId string

The account identifier to target for the resource.

CheckRegions List<string>

A 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.

CreatedOn string

The RFC3339 timestamp of when the load balancer was created.

Description string

Free text description.

Enabled bool

Whether to enable (the default) 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). Defaults to true.

Latitude double

The latitude this pool is physically located at; used for proximity steering.

LoadSheddings List<LoadBalancerPoolLoadSheddingArgs>

Setting for controlling load shedding for this pool.

Longitude double

The longitude this pool is physically located at; used for proximity steering.

MinimumOrigins 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 we will failover to the next available pool. Defaults to 1.

ModifiedOn string

The RFC3339 timestamp of when the load balancer was last modified.

Monitor string

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

Name string

A short name (tag) for the pool.

NotificationEmail string

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.

OriginSteerings List<LoadBalancerPoolOriginSteeringArgs>

Set an origin steering policy to control origin selection within a pool.

Origins List<LoadBalancerPoolOriginArgs>

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.

AccountId string

The account identifier to target for the resource.

CheckRegions []string

A 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.

CreatedOn string

The RFC3339 timestamp of when the load balancer was created.

Description string

Free text description.

Enabled bool

Whether to enable (the default) 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). Defaults to true.

Latitude float64

The latitude this pool is physically located at; used for proximity steering.

LoadSheddings []LoadBalancerPoolLoadSheddingArgs

Setting for controlling load shedding for this pool.

Longitude float64

The longitude this pool is physically located at; used for proximity steering.

MinimumOrigins 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 we will failover to the next available pool. Defaults to 1.

ModifiedOn string

The RFC3339 timestamp of when the load balancer was last modified.

Monitor string

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

Name string

A short name (tag) for the pool.

NotificationEmail string

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.

OriginSteerings []LoadBalancerPoolOriginSteeringArgs

Set an origin steering policy to control origin selection within a pool.

Origins []LoadBalancerPoolOriginArgs

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.

accountId String

The account identifier to target for the resource.

checkRegions List<String>

A 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.

createdOn String

The RFC3339 timestamp of when the load balancer was created.

description String

Free text description.

enabled Boolean

Whether to enable (the default) 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). Defaults to true.

latitude Double

The latitude this pool is physically located at; used for proximity steering.

loadSheddings List<LoadBalancerPoolLoadSheddingArgs>

Setting for controlling load shedding for this pool.

longitude Double

The longitude this pool is physically located at; used for proximity steering.

minimumOrigins Integer

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 we will failover to the next available pool. Defaults to 1.

modifiedOn String

The RFC3339 timestamp of when the load balancer was last modified.

monitor String

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

name String

A short name (tag) for the pool.

notificationEmail String

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.

originSteerings List<LoadBalancerPoolOriginSteeringArgs>

Set an origin steering policy to control origin selection within a pool.

origins List<LoadBalancerPoolOriginArgs>

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.

accountId string

The account identifier to target for the resource.

checkRegions string[]

A 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.

createdOn string

The RFC3339 timestamp of when the load balancer was created.

description string

Free text description.

enabled boolean

Whether to enable (the default) 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). Defaults to true.

latitude number

The latitude this pool is physically located at; used for proximity steering.

loadSheddings LoadBalancerPoolLoadSheddingArgs[]

Setting for controlling load shedding for this pool.

longitude number

The longitude this pool is physically located at; used for proximity steering.

minimumOrigins number

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 we will failover to the next available pool. Defaults to 1.

modifiedOn string

The RFC3339 timestamp of when the load balancer was last modified.

monitor string

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

name string

A short name (tag) for the pool.

notificationEmail string

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.

originSteerings LoadBalancerPoolOriginSteeringArgs[]

Set an origin steering policy to control origin selection within a pool.

origins LoadBalancerPoolOriginArgs[]

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.

account_id str

The account identifier to target for the resource.

check_regions Sequence[str]

A 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.

created_on str

The RFC3339 timestamp of when the load balancer was created.

description str

Free text description.

enabled bool

Whether to enable (the default) 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). Defaults to true.

latitude float

The latitude this pool is physically located at; used for proximity steering.

load_sheddings Sequence[LoadBalancerPoolLoadSheddingArgs]

Setting for controlling load shedding for this pool.

longitude float

The longitude this pool is physically located at; used for proximity steering.

minimum_origins 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 we will failover to the next available pool. Defaults to 1.

modified_on str

The RFC3339 timestamp of when the load balancer was last modified.

monitor str

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

name str

A short name (tag) for the pool.

notification_email str

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.

origin_steerings Sequence[LoadBalancerPoolOriginSteeringArgs]

Set an origin steering policy to control origin selection within a pool.

origins Sequence[LoadBalancerPoolOriginArgs]

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.

accountId String

The account identifier to target for the resource.

checkRegions List<String>

A 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.

createdOn String

The RFC3339 timestamp of when the load balancer was created.

description String

Free text description.

enabled Boolean

Whether to enable (the default) 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). Defaults to true.

latitude Number

The latitude this pool is physically located at; used for proximity steering.

loadSheddings List<Property Map>

Setting for controlling load shedding for this pool.

longitude Number

The longitude this pool is physically located at; used for proximity steering.

minimumOrigins Number

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 we will failover to the next available pool. Defaults to 1.

modifiedOn String

The RFC3339 timestamp of when the load balancer was last modified.

monitor String

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

name String

A short name (tag) for the pool.

notificationEmail String

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.

originSteerings List<Property Map>

Set an origin steering policy to control origin selection within a pool.

origins List<Property Map>

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.

Supporting Types

LoadBalancerPoolLoadShedding

DefaultPercent double

Percent of traffic to shed 0 - 100. Defaults to 0.

DefaultPolicy string

Method of shedding traffic. Available values: ``,hash,random. Defaults to"".

SessionPercent double

Percent of session traffic to shed 0 - 100. Defaults to 0.

SessionPolicy string

Method of shedding traffic. Available values: ``,hash. Defaults to"".

DefaultPercent float64

Percent of traffic to shed 0 - 100. Defaults to 0.

DefaultPolicy string

Method of shedding traffic. Available values: ``,hash,random. Defaults to"".

SessionPercent float64

Percent of session traffic to shed 0 - 100. Defaults to 0.

SessionPolicy string

Method of shedding traffic. Available values: ``,hash. Defaults to"".

defaultPercent Double

Percent of traffic to shed 0 - 100. Defaults to 0.

defaultPolicy String

Method of shedding traffic. Available values: ``,hash,random. Defaults to"".

sessionPercent Double

Percent of session traffic to shed 0 - 100. Defaults to 0.

sessionPolicy String

Method of shedding traffic. Available values: ``,hash. Defaults to"".

defaultPercent number

Percent of traffic to shed 0 - 100. Defaults to 0.

defaultPolicy string

Method of shedding traffic. Available values: ``,hash,random. Defaults to"".

sessionPercent number

Percent of session traffic to shed 0 - 100. Defaults to 0.

sessionPolicy string

Method of shedding traffic. Available values: ``,hash. Defaults to"".

default_percent float

Percent of traffic to shed 0 - 100. Defaults to 0.

default_policy str

Method of shedding traffic. Available values: ``,hash,random. Defaults to"".

session_percent float

Percent of session traffic to shed 0 - 100. Defaults to 0.

session_policy str

Method of shedding traffic. Available values: ``,hash. Defaults to"".

defaultPercent Number

Percent of traffic to shed 0 - 100. Defaults to 0.

defaultPolicy String

Method of shedding traffic. Available values: ``,hash,random. Defaults to"".

sessionPercent Number

Percent of session traffic to shed 0 - 100. Defaults to 0.

sessionPolicy String

Method of shedding traffic. Available values: ``,hash. Defaults to"".

LoadBalancerPoolOrigin

Address string

The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.

Name string

A human-identifiable name for the origin.

Enabled bool

Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to true.

Headers List<LoadBalancerPoolOriginHeader>

HTTP request headers.

Weight double

The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. Defaults to 1.

Address string

The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.

Name string

A human-identifiable name for the origin.

Enabled bool

Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to true.

Headers []LoadBalancerPoolOriginHeader

HTTP request headers.

Weight float64

The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. Defaults to 1.

address String

The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.

name String

A human-identifiable name for the origin.

enabled Boolean

Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to true.

headers List<LoadBalancerPoolOriginHeader>

HTTP request headers.

weight Double

The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. Defaults to 1.

address string

The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.

name string

A human-identifiable name for the origin.

enabled boolean

Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to true.

headers LoadBalancerPoolOriginHeader[]

HTTP request headers.

weight number

The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. Defaults to 1.

address str

The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.

name str

A human-identifiable name for the origin.

enabled bool

Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to true.

headers Sequence[LoadBalancerPoolOriginHeader]

HTTP request headers.

weight float

The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. Defaults to 1.

address String

The IP address (IPv4 or IPv6) of the origin, or the publicly addressable hostname.

name String

A human-identifiable name for the origin.

enabled Boolean

Whether this origin is enabled. Disabled origins will not receive traffic and are excluded from health checks. Defaults to true.

headers List<Property Map>

HTTP request headers.

weight Number

The weight (0.01 - 1.00) of this origin, relative to other origins in the pool. Equal values mean equal weighting. A weight of 0 means traffic will not be sent to this origin, but health is still checked. Defaults to 1.

LoadBalancerPoolOriginHeader

Header string
Values List<string>
Header string
Values []string
header String
values List<String>
header string
values string[]
header str
values Sequence[str]
header String
values List<String>

LoadBalancerPoolOriginSteering

Policy string

Origin steering policy to be used. Available values: ``,hash,random. Defaults torandom.

Policy string

Origin steering policy to be used. Available values: ``,hash,random. Defaults torandom.

policy String

Origin steering policy to be used. Available values: ``,hash,random. Defaults torandom.

policy string

Origin steering policy to be used. Available values: ``,hash,random. Defaults torandom.

policy str

Origin steering policy to be used. Available values: ``,hash,random. Defaults torandom.

policy String

Origin steering policy to be used. Available values: ``,hash,random. Defaults torandom.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes

This Pulumi package is based on the cloudflare Terraform Provider.