List and filter on Images.
- name: List all of the images for the current Linode Account
linode.cloud.image_list: {}
- name: List the latest 5 images for the current Linode Account
linode.cloud.image_list:
count: 5
order_by: created
order: desc
- name: Resolve all Alpine Linux images
linode.cloud.image_list:
filters:
- name: vendor
values: Alpine
Field |
Type |
Required |
Description |
order |
str |
Optional |
The order to list Images in. (Choices: desc , asc ; Default: asc ) |
order_by |
str |
Optional |
The attribute to order Images by. |
filters (sub-options) |
list |
Optional |
A list of filters to apply to the resulting Images. |
count |
int |
Optional |
The number of Images 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. |