Class: Ansible::Ruby::Modules::Cs_vmsnapshot
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_vmsnapshot
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb
Overview
Create, remove and revert VM from snapshots.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the VM snapshot is related to.
-
#description ⇒ Object?
Description of the snapshot.
-
#domain ⇒ Object?
Domain the VM snapshot is related to.
-
#name ⇒ String
Unique Name of the snapshot.
-
#poll_async ⇒ Boolean?
Poll async jobs until job has finished.
-
#project ⇒ Object?
Name of the project the VM is assigned to.
-
#snapshot_memory ⇒ Boolean?
Snapshot memory if set to true.
-
#state ⇒ :present, ...
State of the snapshot.
-
#vm ⇒ String
Name of the virtual machine.
-
#zone ⇒ Object?
Name of the zone in which the VM is in.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#account ⇒ Object?
Returns Account the VM snapshot is related to.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 39 attribute :account |
#description ⇒ Object?
Returns Description of the snapshot.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 19 attribute :description |
#domain ⇒ Object?
Returns Domain the VM snapshot is related to.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 36 attribute :domain |
#name ⇒ String
Returns Unique Name of the snapshot. In CloudStack terms display name.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 11 attribute :name |
#poll_async ⇒ Boolean?
Returns Poll async jobs until job has finished.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 42 attribute :poll_async |
#project ⇒ Object?
Returns Name of the project the VM is assigned to.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 29 attribute :project |
#snapshot_memory ⇒ Boolean?
Returns Snapshot memory if set to true.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 22 attribute :snapshot_memory |
#state ⇒ :present, ...
Returns State of the snapshot.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 32 attribute :state |
#vm ⇒ String
Returns Name of the virtual machine.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 15 attribute :vm |
#zone ⇒ Object?
Returns Name of the zone in which the VM is in. If not set, default zone is used.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 26 attribute :zone |