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

In-Memory DB Cluster Snapshots (v2)

This is a simple module that supports listing existing In-Memory DB Cluster snapshots using the DBaaS In-Memory DB v2 API. There is no per-cluster snapshots endpoint, so when I(inmemorydb_cluster) is provided the account-wide snapshot list is filtered by cluster id server-side via the API's filter parameter.

Example Syntax


name: List In-Memory DB Snapshots (all)
ionoscloudsdk.ionoscloud.inmemorydb_snapshot_v2_info:
  location: 'de/fra'
register: inmemorydb_snapshot_response

For more examples please check out the tests here.

Available parameters:

Name
Required
Description

inmemorydb_cluster str

False

The ID or name of an existing In-Memory DB Cluster. If set, only snapshots 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/fra". 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?