List and filter on Managed Database engine types.
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 available Managed Database engine types
linode.cloud.database_engine_list: {}
- name: Resolve all Database engine types
linode.cloud.database_engine_list:
filters:
- name: engine
values: mysql
Field | Type | Required | Description |
---|---|---|---|
order |
str |
Optional | The order to list database engine types in. (Choices: desc , asc ; Default: asc ) |
order_by |
str |
Optional | The attribute to order database engine types by. |
filters (sub-options) |
list |
Optional | A list of filters to apply to the resulting database engine types. |
count |
int |
Optional | The number of results 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 attributes can be found here: https://techdocs.akamai.com/linode-api/reference/get-databases-engines |
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. |
-
engines
- The returned database engine types.- Sample Response:
[ { "engine": "mysql", "id": "mysql/8.0.30", "version": "8.0.30" } ]
- See the Linode API response documentation for a list of returned fields
- Sample Response: