Class: Ansible::Ruby::Modules::Ovirt_snapshot

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionString?

Returns Description of the snapshot.

Returns:

  • (String, nil)

    Description of the snapshot.



24
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb', line 24

attribute :description

#snapshot_idString?

Returns ID of the snapshot to manage.

Returns:

  • (String, nil)

    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.

Returns:

  • (:restore, :present, :absent, nil)

    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_memorySymbol?

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.

Returns:

  • (Symbol, nil)

    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_nameString

Returns Name of the Virtual Machine to manage.

Returns:

  • (String)

    Name of the Virtual Machine to manage.



16
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_snapshot.rb', line 16

attribute :vm_name