List and filter on LKE Versions.
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 Kubernetes versions available for deployment to a Kubernetes cluster
linode.cloud.lke_version_list: {}
Field | Type | Required | Description |
---|---|---|---|
order |
str |
Optional | The order to list LKE Versions in. (Choices: desc , asc ; Default: asc ) |
order_by |
str |
Optional | The attribute to order LKE Versions by. |
filters (sub-options) |
list |
Optional | A list of filters to apply to the resulting LKE Versions. |
count |
int |
Optional | The number of LKE Versions 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. |
-
lke_versions
- The returned LKE Versions.- Sample Response:
[ { "id": "1.25" } ]
- See the Linode API response documentation for a list of returned fields
- Sample Response: