Parameter |
Choices/Defaults |
Comments |
account
|
|
Account the VM snapshot is related to.
|
api_http_method
|
|
HTTP method used to query the API endpoint.
If not given, the CLOUDSTACK_METHOD env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
Fallback value is get if not specified.
|
api_key
|
|
API key of the CloudStack API.
If not given, the CLOUDSTACK_KEY env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
|
api_region
|
Default:
"cloudstack"
|
Name of the ini section in the cloustack.ini file.
If not given, the CLOUDSTACK_REGION env variable is considered.
|
api_secret
|
|
Secret key of the CloudStack API.
If not set, the CLOUDSTACK_SECRET env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
|
api_timeout
|
|
HTTP timeout in seconds.
If not given, the CLOUDSTACK_TIMEOUT env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
Fallback value is 10 seconds if not specified.
|
api_url
|
|
URL of the CloudStack API e.g. https://cloud.example.com/client/api.
If not given, the CLOUDSTACK_ENDPOINT env variable is considered.
As the last option, the value is taken from the ini config file, also see the notes.
|
description
|
|
Description of the snapshot.
|
domain
|
|
Domain the VM snapshot is related to.
|
name
required |
|
Unique Name of the snapshot. In CloudStack terms display name.
aliases: display_name
|
poll_async
|
Default:
"yes"
|
Poll async jobs until job has finished.
|
project
|
|
Name of the project the VM is assigned to.
|
snapshot_memory
|
Default:
"no"
|
Snapshot memory if set to true.
|
state
|
Choices:
present ←
- absent
- revert
|
State of the snapshot.
|
tags
(added in 2.4) |
|
List of tags. Tags are a list of dictionaries having keys key and value .
To delete all tags, set a empty list e.g. tags: [] .
aliases: tag
|
vm
required |
|
Name of the virtual machine.
|
zone
|
|
Name of the zone in which the VM is in. If not set, default zone is used.
|