Snapshots
This is a simple module that supports listing Snapshots.
Example Syntax
name: List Snapshots
ionoscloudsdk.ionoscloud.snapshot_info: null
register: snapshot_list_response
Returned object
{
"changed": false,
"snapshots": [
{
"href": "https://api.ionos.com/cloudapi/v6/snapshots/1f18a6ff-6365-4704-88d8-75cd9387aab7",
"id": "1f18a6ff-6365-4704-88d8-75cd9387aab7",
"metadata": {
"created_by": "<USER_EMAIL>",
"created_by_user_id": "<USER_ID>",
"created_date": "2023-08-03T11:49:41+00:00",
"etag": "6d66d25257bbcc92d4f4980309d7a073",
"last_modified_by": "<USER_EMAIL>",
"last_modified_by_user_id": "<USER_ID>",
"last_modified_date": "2023-08-03T11:49:41+00:00",
"state": "AVAILABLE"
},
"properties": {
"cpu_hot_plug": true,
"cpu_hot_unplug": false,
"description": "Ansible test snapshot",
"disc_scsi_hot_plug": false,
"disc_scsi_hot_unplug": false,
"disc_virtio_hot_plug": true,
"disc_virtio_hot_unplug": true,
"licence_type": "UNKNOWN",
"location": "gb/lhr",
"name": "AnsibleAutoTestCompute",
"nic_hot_plug": true,
"nic_hot_unplug": true,
"ram_hot_plug": true,
"ram_hot_unplug": false,
"sec_auth_protection": false,
"size": 10.0
},
"type": "snapshot"
}
],
"failed": false
}
For more examples please check out the tests here.
Available parameters:
Last updated