MariaDB Cluster Backups (v2)
This is a simple module that supports listing existing MariaDB Cluster backups using the DBaaS MariaDB v2 API. There is no per-cluster backups endpoint, so when I(mariadb_cluster) is provided the account-wide backup list is filtered by cluster id server-side via the API's filter parameter.
Example Syntax
name: List MariaDB Cluster Backups (all)
ionoscloudsdk.ionoscloud.mariadb_backup_v2_info:
location: 'de/fra'
register: mariadb_backup_response
For more examples please check out the tests here.
Available parameters:
mariadb_cluster str
False
The ID or name of an existing MariaDB Cluster. If set, only backups belonging to this cluster are returned.
location str
False
The location (region) whose regional endpoint will be queried. Possible options are: "de/fra", "de/txl", "es/vit", "fr/par", "gb/lhr", "gb/bhx", "us/ewr", "us/las", "us/mci". If not set, the endpoint will be the one corresponding to "de/txl". The api_url, if set, overrides this.
filters dict
False
Filter that can be used to list only objects which have a certain set of properties. Filters should be a dict with a key containing keys and value pair in the following format: 'properties.name': 'server_name'
api_url str
False
The Ionos API base URL.
certificate_fingerprint str
False
The Ionos API certificate fingerprint.
username str
False
The Ionos username. Overrides the IONOS_USERNAME environment variable.
password str
False
The Ionos password. Overrides the IONOS_PASSWORD environment variable.
token str
False
The Ionos token. Overrides the IONOS_TOKEN environment variable.
Last updated
Was this helpful?