cfd_tunnel_connectors
Creates, updates, deletes, gets or lists a cfd_tunnel_connectors resource.
Overview
| Name | cfd_tunnel_connectors |
| Type | Resource |
| Id | cloudflare.zero_trust.cfd_tunnel_connectors |
Fields
The following fields are returned by SELECT queries:
- get
Get Cloudflare Tunnel connector response
| Name | Datatype | Description |
|---|---|---|
id | string (uuid) | UUID of the Cloudflare Tunnel connection. (example: 1bedc50d-42b3-473c-b108-ff3d10c0d925) |
arch | string | The cloudflared OS architecture used to establish this connection. (example: linux_amd64) |
config_version | integer | The version of the remote tunnel configuration. Used internally to sync cloudflared with the Zero Trust dashboard. |
conns | array | The Cloudflare Tunnel connections between your origin and Cloudflare's edge. |
features | array | Features enabled for the Cloudflare Tunnel. |
run_at | string (date-time) | Timestamp of when the tunnel connection was started. (example: 2009-11-10T23:00:00Z) |
version | string | The cloudflared version used to establish this connection. (example: 2022.7.1) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | account_id, tunnel_id, connector_id | Fetches 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
connector_id | string (uuid) | |
tunnel_id | string | The Cloudflare Tunnel ID. |
SELECT examples
- get
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
;