Skip to main content

cfd_tunnel_connectors

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

Overview

Namecfd_tunnel_connectors
TypeResource
Idcloudflare.zero_trust.cfd_tunnel_connectors

Fields

The following fields are returned by SELECT queries:

Get Cloudflare Tunnel connector response

NameDatatypeDescription
idstring (uuid)UUID of the Cloudflare Tunnel connection. (example: 1bedc50d-42b3-473c-b108-ff3d10c0d925)
archstringThe cloudflared OS architecture used to establish this connection. (example: linux_amd64)
config_versionintegerThe version of the remote tunnel configuration. Used internally to sync cloudflared with the Zero Trust dashboard.
connsarrayThe Cloudflare Tunnel connections between your origin and Cloudflare's edge.
featuresarrayFeatures enabled for the Cloudflare Tunnel.
run_atstring (date-time)Timestamp of when the tunnel connection was started. (example: 2009-11-10T23:00:00Z)
versionstringThe cloudflared version used to establish this connection. (example: 2022.7.1)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccount_id, tunnel_id, connector_idFetches connector and connection details for a Cloudflare Tunnel.

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.
connector_idstring (uuid)
tunnel_idstringThe Cloudflare Tunnel ID.

SELECT examples

Fetches connector and connection details for a Cloudflare Tunnel.

SELECT
id,
arch,
config_version,
conns,
features,
run_at,
version
FROM cloudflare.zero_trust.cfd_tunnel_connectors
WHERE account_id = '{{ account_id }}' -- required
AND tunnel_id = '{{ tunnel_id }}' -- required
AND connector_id = '{{ connector_id }}' -- required
;