network_path
Creates, updates, deletes, gets or lists a network_path resource.
Overview
| Name | network_path |
| Type | Resource |
| Id | cloudflare.zero_trust.network_path |
Fields
The following fields are returned by SELECT queries:
- list
DEX traceroute test result network path response
| Name | Datatype | Description |
|---|---|---|
deviceName | string | name of the device associated with this network path response |
hops | array | an array of the hops taken by the device to reach the end destination |
resultId | string | API Resource UUID tag. (example: f174e90a-fafe-4643-bbbc-4a0ed4fc8415) |
testId | string | API Resource UUID tag. (example: f174e90a-fafe-4643-bbbc-4a0ed4fc8415) |
testName | string | name of the tracroute test |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id, test_result_id | Get 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
test_result_id | string | unique identifier for a specific traceroute test |
SELECT examples
- list
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
;