Skip to main content

pools_references

Creates, updates, deletes, gets or lists a pools_references resource.

Overview

Namepools_references
TypeResource
Idcloudflare.load_balancers.pools_references

Fields

The following fields are returned by SELECT queries:

List Pool References response.

NameDatatypeDescription
resource_idstring
resource_namestring
reference_typestring (*, referral, referrer)
resource_typestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_accountselectpool_id, account_idGet the list of resources that reference the provided pool.
list_by_userselectpool_idGet the list of resources that reference the provided pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
pool_idstringThe Load Balancer pool ID.

SELECT examples

Get the list of resources that reference the provided pool.

SELECT
resource_id,
resource_name,
reference_type,
resource_type
FROM cloudflare.load_balancers.pools_references
WHERE pool_id = '{{ pool_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;