Get info about a Linode Object Storage Quota.
| Field | Type | Required | Description |
|---|---|---|---|
api_token |
str |
Required | The Linode account personal access token. It is necessary to run the module. It can be exposed by the environment variable LINODE_API_TOKEN instead. See details in Usage. |
- name: Get info about an Object Storage quota
linode.cloud.object_storage_quota_info:
quota_id: obj-buckets-us-sea-1.linodeobjects.com| Field | Type | Required | Description |
|---|---|---|---|
quota_id |
str |
Required | The Quota ID of the Object Storage Quota to resolve. |
-
object_storage_quota- The returned Object Storage Quota.- Sample Response:
{ "description": "Maximum number of buckets this customer is allowed to have on this endpoint", "endpoint_type": "E1", "quota_id": "obj-buckets-us-sea-1.linodeobjects.com", "quota_limit": 1000, "quota_name": "Number of Buckets", "resource_metric": "bucket", "s3_endpoint": "us-sea-1.linodeobjects.com" } - See the Linode API response documentation for a list of returned fields
- Sample Response:
-
quota_usage- The returned Quota Usage.- Sample Response:
{ "quota_limit": 1000, "usage": 0 } - See the Linode API response documentation for a list of returned fields
- Sample Response: