Skip to main content

quota_usage

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

Overview

Namequota_usage
TypeResource
Idlinode.object_storage.quota_usage

Fields

The following fields are returned by SELECT queries:

Usage data for the specified objQuotaId.

NameDatatypeDescription
quota_limitintegerThe availability limit for a specific Object Storage resource (objQuotaId) for a single endpoint.
usageintegerThe 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:

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

NameDatatypeDescription
objQuotaIdstringThe 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

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
;