Skip to main content

quotas

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

Overview

Namequotas
TypeResource
Idlinode.object_storage.quotas

Fields

The following fields are returned by SELECT queries:

A single Object Storage-related quota for your account.

NameDatatypeDescription
quota_idstringIdentifies the Object Storage-related quota. Formatted as obj-<quota_type>-<s3_endpoint>, where <quota_type> is the resource_metric in use: buckets, objects or bytes. (example: obj-buckets-eu-central-1.linodeobjects.com)
quota_namestringFilterable The name of the Object Storage-related quota. This is how the quota displays in Akamai Cloud Manager. This can be Number of Buckets, Number of Objects, or Total Capacity. (Number of Objects, Number of Buckets, Total Capacity) (example: Number of Buckets)
descriptionstringA description for the Object Storage-related quota. (example: Current number of buckets per account, per endpoint)
endpoint_typestringThe type of s3_endpoint. See Endpoint types for more information. (E0, E1, E2, E3) (example: E1)
quota_limitintegerThe maximum quantity of the resource_metric allowed by the quota.
resource_metricstringThe specific Object Storage-based resource for the quota. A quota maximum may apply as follows: - The Object Storage bucket quota for a single s3_endpoint - The object quota for a single s3_endpoint - The byte count quota for content in a single s3_endpoint (bucket, object, byte) (example: bucket)
s3_endpointstringFilterable The URL for the s3 endpoint where the quota applies. Every s3_endpoint exists in a specific Akamai Cloud Computing data center (region). Run the List Object Storage endpoints operation to see more specifics on this s3_endpoint. (example: us-sea-9.linodeobjects.com)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectobjQuotaIdReturns information about a specific Object Storage-related quota on your account. The operation includes any quota overrides in the response.

Learn more...

Learn more...
listselectReturns the active Object Storage-related quotas applied to your account. For example, you may have a quota maximum for the number of buckets you can have on a single endpoint. The operation includes any quota overrides in the response.

> 📘
>
> You can't combine parameters when filtering with this operation. Only a single filterable parameter can be used.

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 information about a specific Object Storage-related quota on your account. The operation includes any quota overrides in the response.

Learn more...

Learn more...

SELECT
quota_id,
quota_name,
description,
endpoint_type,
quota_limit,
resource_metric,
s3_endpoint
FROM linode.object_storage.quotas
WHERE objQuotaId = '{{ objQuotaId }}' -- required
;