quota
Creates, updates, deletes, gets or lists a quota resource.
Overview
| Name | quota |
| Type | Resource |
| Id | cloudflare.zero_trust.quota |
Fields
The following fields are returned by SELECT queries:
- list
Get commands quota response
| Name | Datatype | Description |
|---|---|---|
quota | number | The remaining number of commands that can be initiated for an account |
quota_usage | number | The number of commands that have been initiated for an account |
reset_time | string (date-time) | The time when the quota resets |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Retrieves the current quota usage and limits for device commands within a specific account, including the time when the quota will reset |
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. |
SELECT examples
- list
Retrieves the current quota usage and limits for device commands within a specific account, including the time when the quota will reset
SELECT
quota,
quota_usage,
reset_time
FROM cloudflare.zero_trust.quota
WHERE account_id = '{{ account_id }}' -- required
;