Image
image
This is a simple module that supports updating or removing Images. This module has a dependency on ionoscloud >= 6.0.2
Example Syntax
Returned object
For more examples please check out the tests here.
state: absent
Available parameters for state absent:
image_id str
True
The ID of the image.
name str
False
The resource 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.
wait bool
False
Wait for the resource to be created before returning. Default: True Options: [True, False]
wait_timeout int
False
How long before wait gives up, in seconds. Default: 600
state str
False
Indicate desired state of the resource. Default: present Options: ['absent', 'update']
state: update
Available parameters for state update:
image_id str
True
The ID of the image.
name str
False
The resource name.
description str
False
Human-readable description.
cpu_hot_plug bool
False
Hot-plug capable CPU (no reboot required).
cpu_hot_unplug bool
False
Hot-unplug capable CPU (no reboot required).
ram_hot_plug bool
False
Hot-plug capable RAM (no reboot required).
ram_hot_unplug bool
False
Hot-unplug capable RAM (no reboot required).
nic_hot_plug bool
False
Hot-plug capable NIC (no reboot required).
nic_hot_unplug bool
False
Hot-unplug capable NIC (no reboot required).
disc_scsi_hot_plug bool
False
Hot-plug capable SCSI drive (no reboot required).
disc_scsi_hot_unplug bool
False
Hot-unplug capable SCSI drive (no reboot required). Not supported with Windows VMs.
disc_virtio_hot_plug bool
False
Hot-plug capable Virt-IO drive (no reboot required).
disc_virtio_hot_unplug bool
False
Hot-unplug capable Virt-IO drive (no reboot required). Not supported with Windows VMs.
licence_type str
True
The OS type of this image.
cloud_init str
False
Cloud init compatibility.
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.
wait bool
False
Wait for the resource to be created before returning. Default: True Options: [True, False]
wait_timeout int
False
How long before wait gives up, in seconds. Default: 600
state str
False
Indicate desired state of the resource. Default: present Options: ['absent', 'update']
Last updated