pcaps_download
Creates, updates, deletes, gets or lists a pcaps_download resource.
Overview
| Name | pcaps_download |
| Type | Resource |
| Id | cloudflare.magic_transit.pcaps_download |
Fields
The following fields are returned by SELECT queries:
- download
Download Simple PCAP response.
| Name | Datatype | Description |
|---|---|---|
contents | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
download | select | pcap_id, account_id | Download PCAP information into a file. Response is a binary PCAP file. |
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. |
pcap_id | string |
SELECT examples
- download
Download PCAP information into a file. Response is a binary PCAP file.
SELECT
contents
FROM cloudflare.magic_transit.pcaps_download
WHERE pcap_id = '{{ pcap_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;