Class: Ansible::Ruby::Modules::Cs_vmsnapshot

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

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

#accountObject?

Returns Account the VM snapshot is related to.

Returns:

  • (Object, nil)

    Account the VM snapshot is related to.



39
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 39

attribute :account

#descriptionObject?

Returns Description of the snapshot.

Returns:

  • (Object, nil)

    Description of the snapshot.



19
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 19

attribute :description

#domainObject?

Returns Domain the VM snapshot is related to.

Returns:

  • (Object, nil)

    Domain the VM snapshot is related to.



36
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 36

attribute :domain

#nameString

Returns Unique Name of the snapshot. In CloudStack terms display name.

Returns:

  • (String)

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

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    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

#projectObject?

Returns Name of the project the VM is assigned to.

Returns:

  • (Object, nil)

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

Returns Snapshot memory if set to true.

Returns:

  • (Boolean, nil)

    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.

Returns:

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

    State of the snapshot.



32
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 32

attribute :state

#vmString

Returns Name of the virtual machine.

Returns:

  • (String)

    Name of the virtual machine.



15
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_vmsnapshot.rb', line 15

attribute :vm

#zoneObject?

Returns Name of the zone in which the VM is in. If not set, default zone is used.

Returns:

  • (Object, nil)

    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