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

Postgres Clusters (v2)

This is a simple module that supports listing existing Postgres Clusters using the DBaaS PostgreSQL v2 API. The region is selected through the I(location) option; set I(api_url) (e.g. C(https://postgresql.de-fra.ionos.com)) to override it directly.

Example Syntax


name: List Postgres Clusters
ionoscloudsdk.ionoscloud.postgres_cluster_v2_info:
  location: ''
register: postgres_clusters_response

For more examples please check out the tests here.

Available parameters:

Name
Required
Description

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?