For the complete documentation index, see llms.txt. This page is also available as Markdown.

Postgres Cluster Backups (v2)

This is a simple module that supports listing existing Postgres Cluster backups using the DBaaS PostgreSQL v2 API. There is no per-cluster backups endpoint, so when I(postgres_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 Postgres Cluster Backups (all)
ionoscloudsdk.ionoscloud.postgres_backup_v2_info:
  location: ''
register: postgres_backup_response

For more examples please check out the tests here.

Available parameters:

Name
Required
Description

postgres_cluster str

False

The ID or name of an existing Postgres 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?