---
title: Update Pool
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Load Balancers](https://developers.cloudflare.com/api/go/resources/load_balancers)

[Pools](https://developers.cloudflare.com/api/go/resources/load_balancers/subresources/pools)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Update Pool

client.LoadBalancers.Pools.Update(ctx, poolID, params) (\*[Pool](<https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)>), error)

PUT/accounts/{account\_id}/load\_balancers/pools/{pool\_id}

Modify a configured pool.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`Load Balancing: Monitors and Pools Write`

##### ParametersExpand Collapse

poolID string

[Link to this property](<#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20pool_id%20%3E%20(schema)>)

<details>

<summary>

params PoolUpdateParams

</summary>

AccountID param.Field\[string]

Path param: Identifier.

maxLength32

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

Name param.Field\[string]

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20name">Link to this property</a>

<details>

<summary>

Origins param.Field\[\[]<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)">Origin</a>]

Body param: 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.

</summary>

Address stringOptional

The IP address (IPv4 or IPv6) of the origin, or its publicly addressable hostname. Hostnames entered here should resolve directly to the origin, and not be a hostname proxied by Cloudflare. To set an internal/reserved address, virtual\_network\_id must also be set.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

DisabledAt TimeOptional

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

formatdate-time

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20disabled_at">Link to this property</a>

Enabled boolOptional

Whether to enable (the default) this origin within the pool. Disabled origins will not receive traffic and are excluded from health checks. The origin will only be disabled for the current pool.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

FlattenCNAME boolOptional

Whether to flatten CNAME records for this origin, resolving them to A/AAAA records before returning to the client. When true (the default), the director resolves CNAME addresses to their underlying A/AAAA records. When false, the origin address is returned as a raw CNAME record without resolution. This setting mirrors the DNS API record flatten\_cname setting.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20flatten_cname">Link to this property</a>

<details>

<summary>

Header <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20header%20%3E%20(schema)">Header</a>Optional

The request header is used to pass additional information with an HTTP request. Currently supported header is ‘Host’.

</summary>

Host \[]<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20host%20%3E%20(schema)">Host</a>Optional

The ‘Host’ header allows to override the hostname set in the HTTP request. Current support is 1 ‘Host’ header override per origin.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20header%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20header%20%3E%20(schema)%20%3E%20(property)%20Host">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20header">Link to this property</a>

Name stringOptional

A human-identifiable name for the origin.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

Port int64Optional

The port for upstream connections. A value of 0 means the default port for the protocol will be used.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20port">Link to this property</a>

VirtualNetworkID stringOptional

The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20virtual_network_id">Link to this property</a>

Weight float64Optional

The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool.

- <code>origin_steering.policy="least_outstanding_requests"</code>: Use weight to scale the origin’s outstanding requests.
- <code>origin_steering.policy="least_connections"</code>: Use weight to scale the origin’s open connections.

maximum1

minimum0

multipleOf0.01

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20origins">Link to this property</a>

<details>

<summary>

CheckRegions param.Field\[\[]<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a>]Optional

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

</summary>

const CheckRegionWnam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "WNAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const CheckRegionEnam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "ENAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const CheckRegionWeu <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "WEU"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

const CheckRegionEeu <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "EEU"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

const CheckRegionNsam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "NSAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

const CheckRegionSsam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SSAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

const CheckRegionOc <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "OC"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

const CheckRegionMe <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "ME"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

const CheckRegionNaf <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "NAF"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

const CheckRegionSaf <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SAF"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

const CheckRegionSas <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SAS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

const CheckRegionSeas <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SEAS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

const CheckRegionNeas <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "NEAS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

const CheckRegionChina <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "CHINA"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

const CheckRegionAllRegions <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "ALL\_REGIONS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20check_regions">Link to this property</a>

Description param.Field\[string]Optional

Body param: A human-readable description of the pool.

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20description">Link to this property</a>

Enabled param.Field\[bool]Optional

Body param: 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).

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20enabled">Link to this property</a>

<details>

<summary>

HealthSources param.Field\[\[]PoolUpdateParamsHealthSource]Optional

Body param: A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array \[“regional”, “global”]; any other combination is rejected. Null (the default) behaves like \[“local”, “global”]. \[“regional”, “global”] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check\_regions.

</summary>

const PoolUpdateParamsHealthSourceLocal PoolUpdateParamsHealthSource = "local"

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20health_sources%20%3E%20(schema)%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

const PoolUpdateParamsHealthSourceRegional PoolUpdateParamsHealthSource = "regional"

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20health_sources%20%3E%20(schema)%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

const PoolUpdateParamsHealthSourceGlobal PoolUpdateParamsHealthSource = "global"

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20health_sources%20%3E%20(schema)%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20health_sources">Link to this property</a>

Latitude param.Field\[float64]Optional

Body param: 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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20latitude">Link to this property</a>

LoadShedding param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)">LoadShedding</a>]Optional

Body param: Configures load shedding policies and percentages for the pool.

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20load_shedding">Link to this property</a>

Longitude param.Field\[float64]Optional

Body param: 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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20longitude">Link to this property</a>

MinimumOrigins param.Field\[int64]Optional

Body param: 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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20minimum_origins">Link to this property</a>

Monitor param.Field\[string]Optional

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20monitor">Link to this property</a>

MonitorGroup param.Field\[string]Optional

Body param: The ID of the Monitor Group to use for checking the health of origins within this pool.

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20monitor_group">Link to this property</a>

NotificationEmail param.Field\[string]Optional

Body param: This field is now deprecated. It has been moved to Cloudflare’s Centralized Notification service <a href="https://developers.cloudflare.com/fundamentals/notifications/">https://developers.cloudflare.com/fundamentals/notifications/</a>. 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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20notification_email">Link to this property</a>

NotificationFilter param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)">NotificationFilter</a>]Optional

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20notification_filter">Link to this property</a>

OriginSteering param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20origin_steering%20%3E%20(schema)">OriginSteering</a>]Optional

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20origin_steering">Link to this property</a>

</details>

[Link to this property](<#(resource)%20load_balancers.pools%20%3E%20(method)%20update%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type Pool struct{…}

</summary>

ID stringOptional

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

CheckRegions \[]<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a>Optional

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

</summary>

One of the following:

const CheckRegionWnam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "WNAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const CheckRegionEnam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "ENAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const CheckRegionWeu <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "WEU"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

const CheckRegionEeu <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "EEU"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

const CheckRegionNsam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "NSAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

const CheckRegionSsam <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SSAM"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

const CheckRegionOc <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "OC"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

const CheckRegionMe <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "ME"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

const CheckRegionNaf <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "NAF"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

const CheckRegionSaf <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SAF"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

const CheckRegionSas <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SAS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

const CheckRegionSeas <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "SEAS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

const CheckRegionNeas <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "NEAS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

const CheckRegionChina <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "CHINA"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

const CheckRegionAllRegions <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)">CheckRegion</a> = "ALL\_REGIONS"

<a href="#(resource)%20load_balancers%20%3E%20(model)%20check_region%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20check_regions">Link to this property</a>

CreatedOn stringOptional

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

Description stringOptional

A human-readable description of the pool.

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

DisabledAt TimeOptional

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

formatdate-time

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20disabled_at">Link to this property</a>

Enabled boolOptional

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

HealthSources \[]PoolHealthSourceOptional

A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array \[“regional”, “global”]; any other combination is rejected. Null (the default) behaves like \[“local”, “global”]. \[“regional”, “global”] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check\_regions.

</summary>

One of the following:

const PoolHealthSourceLocal PoolHealthSource = "local"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20health_sources%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

const PoolHealthSourceRegional PoolHealthSource = "regional"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20health_sources%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

const PoolHealthSourceGlobal PoolHealthSource = "global"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20health_sources%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20health_sources">Link to this property</a>

Latitude float64Optional

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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20latitude">Link to this property</a>

<details>

<summary>

LoadShedding <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)">LoadShedding</a>Optional

Configures load shedding policies and percentages for the pool.

</summary>

DefaultPercent float64Optional

The percent of traffic to shed from the pool, according to the default policy. Applies to new sessions and traffic without session affinity.

maximum100

minimum0

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20load_shedding%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)%20%3E%20(property)%20default_percent">Link to this property</a>

<details>

<summary>

DefaultPolicy LoadSheddingDefaultPolicyOptional

The default policy to use when load shedding. A random policy randomly sheds a given percent of requests. A hash policy computes a hash over the CF-Connecting-IP address and sheds all requests originating from a percent of IPs.

</summary>

One of the following:

const LoadSheddingDefaultPolicyRandom LoadSheddingDefaultPolicy = "random"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20load_shedding%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)%20%3E%20(property)%20default_policy%20%3E%20(member)%200">Link to this property</a>

const LoadSheddingDefaultPolicyHash LoadSheddingDefaultPolicy = "hash"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20load_shedding%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)%20%3E%20(property)%20default_policy%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20load_shedding%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)%20%3E%20(property)%20default_policy">Link to this property</a>

SessionPercent float64Optional

The percent of existing sessions to shed from the pool, according to the session policy.

maximum100

minimum0

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20load_shedding%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)%20%3E%20(property)%20session_percent">Link to this property</a>

SessionPolicy LoadSheddingSessionPolicyOptional

Only the hash policy is supported for existing sessions (to avoid exponential decay).

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20load_shedding%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20load_shedding%20%3E%20(schema)%20%3E%20(property)%20session_policy">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20load_shedding">Link to this property</a>

Longitude float64Optional

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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20longitude">Link to this property</a>

MinimumOrigins int64Optional

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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20minimum_origins">Link to this property</a>

ModifiedOn stringOptional

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20modified_on">Link to this property</a>

Monitor stringOptional

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20monitor">Link to this property</a>

MonitorGroup stringOptional

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20monitor_group">Link to this property</a>

Name stringOptional

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

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

Networks \[]stringOptional

List of networks where Load Balancer or Pool is enabled.

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20networks">Link to this property</a>

NotificationEmail stringOptional

This field is now deprecated. It has been moved to Cloudflare’s Centralized Notification service <a href="https://developers.cloudflare.com/fundamentals/notifications/">https://developers.cloudflare.com/fundamentals/notifications/</a>. 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.

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20notification_email">Link to this property</a>

<details>

<summary>

NotificationFilter <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)">NotificationFilter</a>Optional

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

</summary>

<details>

<summary>

Origin <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20filter_options%20%3E%20(schema)">FilterOptions</a>Optional

Filter options for a particular resource type (pool or origin). Use null to reset.

</summary>

Disable boolOptional

If set true, disable notifications for this type of resource (pool or origin).

<a href="#(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)%20%3E%20(property)%20origin%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20filter_options%20%3E%20(schema)%20%3E%20(property)%20disable">Link to this property</a>

Healthy boolOptional

If present, send notifications only for this health status (e.g. false for only DOWN events). Use null to reset (all events).

<a href="#(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)%20%3E%20(property)%20origin%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20filter_options%20%3E%20(schema)%20%3E%20(property)%20healthy">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20notification_filter%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)%20%3E%20(property)%20origin">Link to this property</a>

<details>

<summary>

Pool <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20filter_options%20%3E%20(schema)">FilterOptions</a>Optional

Filter options for a particular resource type (pool or origin). Use null to reset.

</summary>

Disable boolOptional

If set true, disable notifications for this type of resource (pool or origin).

<a href="#(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)%20%3E%20(property)%20pool%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20filter_options%20%3E%20(schema)%20%3E%20(property)%20disable">Link to this property</a>

Healthy boolOptional

If present, send notifications only for this health status (e.g. false for only DOWN events). Use null to reset (all events).

<a href="#(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)%20%3E%20(property)%20pool%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20filter_options%20%3E%20(schema)%20%3E%20(property)%20healthy">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20notification_filter%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20notification_filter%20%3E%20(schema)%20%3E%20(property)%20pool">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20notification_filter">Link to this property</a>

<details>

<summary>

OriginSteering <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20origin_steering%20%3E%20(schema)">OriginSteering</a>Optional

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

</summary>

<details>

<summary>

Policy OriginSteeringPolicyOptional

The type of origin steering policy to use.

- <code>"random"</code>: Select an origin randomly.
- <code>"hash"</code>: Select an origin by computing a hash over the CF-Connecting-IP address.
- <code>"least_outstanding_requests"</code>: Select an origin by taking into consideration origin weights, as well as each origin’s number of outstanding requests. Origins with more pending requests are weighted proportionately less relative to others.
- <code>"least_connections"</code>: Select an origin by taking into consideration origin weights, as well as each origin’s number of open connections. Origins with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.

</summary>

One of the following:

const OriginSteeringPolicyRandom OriginSteeringPolicy = "random"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20origin_steering%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20origin_steering%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(member)%200">Link to this property</a>

const OriginSteeringPolicyHash OriginSteeringPolicy = "hash"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20origin_steering%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20origin_steering%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(member)%201">Link to this property</a>

const OriginSteeringPolicyLeastOutstandingRequests OriginSteeringPolicy = "least\_outstanding\_requests"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20origin_steering%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20origin_steering%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(member)%202">Link to this property</a>

const OriginSteeringPolicyLeastConnections OriginSteeringPolicy = "least\_connections"

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20origin_steering%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20origin_steering%20%3E%20(schema)%20%3E%20(property)%20policy%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20origin_steering%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20origin_steering%20%3E%20(schema)%20%3E%20(property)%20policy">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20origin_steering">Link to this property</a>

<details>

<summary>

Origins \[]<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)">Origin</a>Optional

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.

</summary>

Address stringOptional

The IP address (IPv4 or IPv6) of the origin, or its publicly addressable hostname. Hostnames entered here should resolve directly to the origin, and not be a hostname proxied by Cloudflare. To set an internal/reserved address, virtual\_network\_id must also be set.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20address">Link to this property</a>

DisabledAt TimeOptional

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

formatdate-time

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20disabled_at">Link to this property</a>

Enabled boolOptional

Whether to enable (the default) this origin within the pool. Disabled origins will not receive traffic and are excluded from health checks. The origin will only be disabled for the current pool.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

FlattenCNAME boolOptional

Whether to flatten CNAME records for this origin, resolving them to A/AAAA records before returning to the client. When true (the default), the director resolves CNAME addresses to their underlying A/AAAA records. When false, the origin address is returned as a raw CNAME record without resolution. This setting mirrors the DNS API record flatten\_cname setting.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20flatten_cname">Link to this property</a>

<details>

<summary>

Header <a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20header%20%3E%20(schema)">Header</a>Optional

The request header is used to pass additional information with an HTTP request. Currently supported header is ‘Host’.

</summary>

Host \[]<a href="https://developers.cloudflare.com/api/go/resources/load_balancers#(resource)%20load_balancers%20%3E%20(model)%20host%20%3E%20(schema)">Host</a>Optional

The ‘Host’ header allows to override the hostname set in the HTTP request. Current support is 1 ‘Host’ header override per origin.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20header%20%2B%20(resource)%20load_balancers%20%3E%20(model)%20header%20%3E%20(schema)%20%3E%20(property)%20Host">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20header">Link to this property</a>

Name stringOptional

A human-identifiable name for the origin.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

Port int64Optional

The port for upstream connections. A value of 0 means the default port for the protocol will be used.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20port">Link to this property</a>

VirtualNetworkID stringOptional

The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20virtual_network_id">Link to this property</a>

Weight float64Optional

The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool.

- <code>origin_steering.policy="least_outstanding_requests"</code>: Use weight to scale the origin’s outstanding requests.
- <code>origin_steering.policy="least_connections"</code>: Use weight to scale the origin’s open connections.

maximum1

minimum0

multipleOf0.01

<a href="#(resource)%20load_balancers%20%3E%20(model)%20origin%20%3E%20(schema)%20%3E%20(property)%20weight">Link to this property</a>

</details>

<a href="#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)%20%3E%20(property)%20origins">Link to this property</a>

</details>

[Link to this property](<#(resource)%20load_balancers.pools%20%3E%20(model)%20pool%20%3E%20(schema)>)

### Update Pool

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/load_balancers"
  "github.com/cloudflare/cloudflare-go/option"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  pool, err := client.LoadBalancers.Pools.Update(
    context.TODO(),
    "17b5962d775c646f3f9725cbc7a53df4",
    load_balancers.PoolUpdateParams{
      AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
      Name: cloudflare.F("primary-dc-1"),
      Origins: cloudflare.F([]load_balancers.OriginParam{load_balancers.OriginParam{

      }}),
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", pool.ID)
}
```

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "id": "17b5962d775c646f3f9725cbc7a53df4",
    "check_regions": [
      "WEU",
      "ENAM"
    ],
    "created_on": "2014-01-01T05:20:00.12345Z",
    "description": "Primary data center - Provider XYZ",
    "disabled_at": "2019-12-27T18:11:19.117Z",
    "enabled": false,
    "health_sources": [
      "regional",
      "global"
    ],
    "latitude": 0,
    "load_shedding": {
      "default_percent": 0,
      "default_policy": "random",
      "session_percent": 0,
      "session_policy": "hash"
    },
    "longitude": 0,
    "minimum_origins": 0,
    "modified_on": "2014-01-01T05:20:00.12345Z",
    "monitor": "monitor",
    "monitor_group": "monitor_group",
    "name": "primary-dc-1",
    "networks": [
      "string"
    ],
    "notification_email": "someone@example.com,sometwo@example.com",
    "notification_filter": {
      "origin": {
        "disable": true,
        "healthy": true
      },
      "pool": {
        "disable": true,
        "healthy": false
      }
    },
    "origin_steering": {
      "policy": "random"
    },
    "origins": [
      {
        "address": "0.0.0.0",
        "disabled_at": "2019-12-27T18:11:19.117Z",
        "enabled": true,
        "flatten_cname": true,
        "header": {
          "Host": [
            "example.com"
          ]
        },
        "name": "app-server-1",
        "port": 0,
        "virtual_network_id": "a5624d4e-044a-4ff0-b3e1-e2465353d4b4",
        "weight": 0.6
      }
    ]
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "result": {
    "id": "17b5962d775c646f3f9725cbc7a53df4",
    "check_regions": [
      "WEU",
      "ENAM"
    ],
    "created_on": "2014-01-01T05:20:00.12345Z",
    "description": "Primary data center - Provider XYZ",
    "disabled_at": "2019-12-27T18:11:19.117Z",
    "enabled": false,
    "health_sources": [
      "regional",
      "global"
    ],
    "latitude": 0,
    "load_shedding": {
      "default_percent": 0,
      "default_policy": "random",
      "session_percent": 0,
      "session_policy": "hash"
    },
    "longitude": 0,
    "minimum_origins": 0,
    "modified_on": "2014-01-01T05:20:00.12345Z",
    "monitor": "monitor",
    "monitor_group": "monitor_group",
    "name": "primary-dc-1",
    "networks": [
      "string"
    ],
    "notification_email": "someone@example.com,sometwo@example.com",
    "notification_filter": {
      "origin": {
        "disable": true,
        "healthy": true
      },
      "pool": {
        "disable": true,
        "healthy": false
      }
    },
    "origin_steering": {
      "policy": "random"
    },
    "origins": [
      {
        "address": "0.0.0.0",
        "disabled_at": "2019-12-27T18:11:19.117Z",
        "enabled": true,
        "flatten_cname": true,
        "header": {
          "Host": [
            "example.com"
          ]
        },
        "name": "app-server-1",
        "port": 0,
        "virtual_network_id": "a5624d4e-044a-4ff0-b3e1-e2465353d4b4",
        "weight": 0.6
      }
    ]
  },
  "success": true
}
```