Skip to main content

quota

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

Overview

Namequota
TypeResource
Idcloudflare.zero_trust.quota

Fields

The following fields are returned by SELECT queries:

Get commands quota response

NameDatatypeDescription
quotanumberThe remaining number of commands that can be initiated for an account
quota_usagenumberThe number of commands that have been initiated for an account
reset_timestring (date-time)The time when the quota resets

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idRetrieves 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

SELECT examples

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
;