Skip to main content

network_path

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

Overview

Namenetwork_path
TypeResource
Idcloudflare.zero_trust.network_path

Fields

The following fields are returned by SELECT queries:

DEX traceroute test result network path response

NameDatatypeDescription
deviceNamestringname of the device associated with this network path response
hopsarrayan array of the hops taken by the device to reach the end destination
resultIdstringAPI Resource UUID tag. (example: f174e90a-fafe-4643-bbbc-4a0ed4fc8415)
testIdstringAPI Resource UUID tag. (example: f174e90a-fafe-4643-bbbc-4a0ed4fc8415)
testNamestringname of the tracroute test

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_id, test_result_idGet a breakdown of hops and performance metrics for a specific traceroute test run

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.
test_result_idstringunique identifier for a specific traceroute test

SELECT examples

Get a breakdown of hops and performance metrics for a specific traceroute test run

SELECT
deviceName,
hops,
resultId,
testId,
testName
FROM cloudflare.zero_trust.network_path
WHERE account_id = '{{ account_id }}' -- required
AND test_result_id = '{{ test_result_id }}' -- required
;