NOTE: This module has been deprecated because it relies on deprecated API endpoints. Going forward, region
will be the preferred way to designate where Object Storage resources should be created.
List and filter on Object Storage Clusters.
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: List all of the object storage clusters for the current Linode Account
linode.cloud.object_cluster_list: {}
- name: Resolve all object storage clusters for the current Linode Account
linode.cloud.object_cluster_list:
filters:
- name: region
values: us-east
Field | Type | Required | Description |
---|---|---|---|
order |
str |
Optional | The order to list Object Storage Clusters in. (Choices: desc , asc ; Default: asc ) |
order_by |
str |
Optional | The attribute to order Object Storage Clusters by. |
filters (sub-options) |
list |
Optional | A list of filters to apply to the resulting Object Storage Clusters. |
count |
int |
Optional | The number of Object Storage Clusters to return. If undefined, all results will be returned. |
Field | Type | Required | Description |
---|---|---|---|
name |
str |
Required | The name of the field to filter on. Valid filterable fields can be found here. |
values |
list |
Required | A list of values to allow for this field. Fields will pass this filter if at least one of these values matches. |
-
clusters
- The returned Object Storage Clusters.- Sample Response:
[ { "domain": "us-east-1.linodeobjects.com", "id": "us-east-1", "region": "us-east", "static_site_domain": "website-us-east-1.linodeobjects.com", "status": "available" } ]
- See the Linode API response documentation for a list of returned fields
- Sample Response: