Skip to main content

monitors_references

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

Overview

Namemonitors_references
TypeResource
Idcloudflare.load_balancers.monitors_references

Fields

The following fields are returned by SELECT queries:

List Monitor 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_accountselectmonitor_id, account_idGet the list of resources that reference the provided monitor.
list_by_userselectmonitor_idGet the list of resources that reference the provided monitor.

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.
monitor_idstringThe Load Balancer monitor ID.

SELECT examples

Get the list of resources that reference the provided monitor.

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