Load Balancers
Pools
Pools endpoint reference.
List
List configured load balancer pools for an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. |
php
$response = $client->loadBalancers()->pools()->list('ACCOUNT_ID');
Create
Create a new load balancer pool for an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
values | array | Yes | Values to set on the pool, e.g. `name`, `origins`. |
php
$response = $client->loadBalancers()->pools()->create('ACCOUNT_ID', []);
Get
Get a single configured load balancer pool for an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
poolId | string | Yes | Pool Identifier. |
php
$response = $client->loadBalancers()->pools()->get('ACCOUNT_ID', 'POOL_ID');
Update
Update an existing load balancer pool for an account, overwriting the full configuration.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
poolId | string | Yes | Pool Identifier. | |
values | array | Yes | Values to set on the pool, e.g. `name`, `origins`. |
php
$response = $client->loadBalancers()->pools()->update('ACCOUNT_ID', 'POOL_ID', []);
Edit
Apply changes to an existing pool, overwriting only the supplied properties.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
poolId | string | Yes | Pool Identifier. | |
values | array | Yes | Values to patch on the pool. |
php
$response = $client->loadBalancers()->pools()->edit('ACCOUNT_ID', 'POOL_ID', []);
Bulk Edit
Apply changes to a number of existing pools, overwriting the supplied properties. Returns the list of affected pools.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
values | array | Yes | List of pool patches to apply, each identified by `id`. |
php
$response = $client->loadBalancers()->pools()->bulkEdit('ACCOUNT_ID', []);
Delete
Delete a load balancer pool for an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
poolId | string | Yes | Pool Identifier. |
php
$response = $client->loadBalancers()->pools()->delete('ACCOUNT_ID', 'POOL_ID');
Health
Fetch the latest pool health status for a single pool.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
poolId | string | Yes | Pool Identifier. |
php
$response = $client->loadBalancers()->pools()->health('ACCOUNT_ID', 'POOL_ID');
Preview
Preview pool health using the specified monitor and show the effective response.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
poolId | string | Yes | Pool Identifier. | |
values | array | No | [] | The monitor details to run the preview with. |
php
$response = $client->loadBalancers()->pools()->preview('ACCOUNT_ID', 'POOL_ID', []);
References
List the load balancers that reference a given pool.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
poolId | string | Yes | Pool Identifier. |
php
$response = $client->loadBalancers()->pools()->references('ACCOUNT_ID', 'POOL_ID');

