quotas
Creates, updates, deletes, gets or lists a quotas resource.
Overview
| Name | quotas |
| Type | Resource |
| Id | linode.object_storage.quotas |
Fields
The following fields are returned by SELECT queries:
- get
- list
A single Object Storage-related quota for your account.
| Name | Datatype | Description |
|---|---|---|
quota_id | string | Identifies 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_name | string | Filterable 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) |
description | string | A description for the Object Storage-related quota. (example: Current number of buckets per account, per endpoint) |
endpoint_type | string | The type of s3_endpoint. See Endpoint types for more information. (E0, E1, E2, E3) (example: E1) |
quota_limit | integer | The maximum quantity of the resource_metric allowed by the quota. |
resource_metric | string | The 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_endpoint | string | Filterable 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) |
A paginated list of Object Storage-related quotas applied to your account.
| Name | Datatype | Description |
|---|---|---|
quota_id | string | Identifies 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_name | string | Filterable 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) |
description | string | A description for the Object Storage-related quota. (example: Current number of buckets per account, per endpoint) |
endpoint_type | string | The type of s3_endpoint. See Endpoint types for more information. (E0, E1, E2, E3) (example: E1) |
quota_limit | integer | The maximum quantity of the resource_metric allowed by the quota. |
resource_metric | string | The 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_endpoint | string | Filterable 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | objQuotaId | 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... | |
list | select | Returns 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.
| 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
- list
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
;
Returns 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...
SELECT
quota_id,
quota_name,
description,
endpoint_type,
quota_limit,
resource_metric,
s3_endpoint
FROM linode.object_storage.quotas
;