asn
Creates, updates, deletes, gets or lists an asn resource.
Overview
| Name | asn |
| Type | Resource |
| Id | cloudflare.intel.asn |
Fields
The following fields are returned by SELECT queries:
- get
Get ASN Overview response.
| Name | Datatype | Description |
|---|---|---|
errors | array | |
messages | array | |
result | integer | |
success | boolean | Whether the API call was successful. (true) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | asn, account_id | Gets an overview of the Autonomous System Number (ASN) and a list of subnets for it. |
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. |
asn | integer |
SELECT examples
- get
Gets an overview of the Autonomous System Number (ASN) and a list of subnets for it.
SELECT
errors,
messages,
result,
success
FROM cloudflare.intel.asn
WHERE asn = '{{ asn }}' -- required
AND account_id = '{{ account_id }}' -- required
;