Class: Ansible::Ruby::Modules::Ovirt_snapshot
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_snapshot
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshots.rb
Overview
Module to manage Virtual Machine Snapshots in oVirt/RHV
Instance Method Summary collapse
-
#description ⇒ String?
Description of the snapshot.
-
#snapshot_id ⇒ String?
ID of the snapshot to manage.
-
#state ⇒ :restore, ...
Should the Virtual Machine snapshot be restore/present/absent.
-
#use_memory ⇒ Symbol?
If I(true) and C(state) is I(present) save memory of the Virtual Machine if it’s running.,If I(true) and C(state) is I(restore) restore memory of the Virtual Machine.,Note that Virtual Machine will be paused while saving the memory.
-
#vm_name ⇒ String
Name of the Virtual Machine to manage.
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
#description ⇒ String?
Returns Description of the snapshot.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb', line 24 attribute :description |
#snapshot_id ⇒ String?
Returns ID of the snapshot to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb', line 12 attribute :snapshot_id |
#state ⇒ :restore, ...
Returns Should the Virtual Machine snapshot be restore/present/absent.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb', line 20 attribute :state |
#use_memory ⇒ Symbol?
Returns If I(true) and C(state) is I(present) save memory of the Virtual Machine if it’s running.,If I(true) and C(state) is I(restore) restore memory of the Virtual Machine.,Note that Virtual Machine will be paused while saving the memory.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb', line 28 attribute :use_memory |
#vm_name ⇒ String
Returns Name of the Virtual Machine to manage.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb', line 16 attribute :vm_name |