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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #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.



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

attribute :account

#descriptionObject?

Returns Description of the snapshot.

Returns:

  • (Object, nil)

    Description of the snapshot.



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

attribute :description

#domainObject?

Returns Domain the VM snapshot is related to.

Returns:

  • (Object, nil)

    Domain the VM snapshot is related to.



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

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.



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

attribute :name

#poll_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



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

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.



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

attribute :project

#snapshot_memoryBoolean?

Returns Snapshot memory if set to true.

Returns:

  • (Boolean, nil)

    Snapshot memory if set to true.



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

attribute :snapshot_memory

#state:present, ...

Returns State of the snapshot.

Returns:

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

    State of the snapshot.



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

attribute :state

#tagsObject?

Returns List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,To delete all tags, set a empty list e.g. C(tags: []).

Returns:

  • (Object, nil)

    List of tags. Tags are a list of dictionaries having keys C(key) and C(value).,To delete all tags, set a empty list e.g. C(tags: []).



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

attribute :tags

#vmString

Returns Name of the virtual machine.

Returns:

  • (String)

    Name of the virtual machine.



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

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.



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

attribute :zone