quota_usage
Creates, updates, deletes, gets or lists a quota_usage resource.
Overview
| Name | quota_usage |
| Type | Resource |
| Id | linode.object_storage.quota_usage |
Fields
The following fields are returned by SELECT queries:
- get
Usage data for the specified objQuotaId.
| Name | Datatype | Description |
|---|---|---|
quota_limit | integer | The availability limit for a specific Object Storage resource (objQuotaId) for a single endpoint. |
usage | integer | The quantity of the Object Storage resource currently in use on an endpoint. Displayed as null if no resources are in use. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | objQuotaId | Returns usage data for a specific objQuotaId. This includes the maximum number of objQuotaId resources you can have for a single endpoint and the current usage for that resource.Learn more... Learn more... |
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 |
|---|---|---|
objQuotaId | string | The unique string that identifies the specific Object Storage-related quota to look up. This follows the pattern, obj-<quota_type>-<s3_endpoint>, for example, obj-buckets-eu-central-1.linodeobjects.com. |
SELECT examples
- get
Returns usage data for a specific objQuotaId. This includes the maximum number of objQuotaId resources you can have for a single endpoint and the current usage for that resource.
Learn more...
Learn more...
SELECT
quota_limit,
usage
FROM linode.object_storage.quota_usage
WHERE objQuotaId = '{{ objQuotaId }}' -- required
;