Class: Ansible::Ruby::Modules::Cs_volume

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb

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, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#accountObject?

Returns Account the volume is related to.

Returns:

  • (Object, nil)

    Account the volume is related to.



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

attribute :account

#custom_idObject?

Returns Custom id to the resource.,Allowed to Root Admins only.

Returns:

  • (Object, nil)

    Custom id to the resource.,Allowed to Root Admins only.



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

attribute :custom_id

#disk_offeringString?

Returns Name of the disk offering to be used.,Required one of C(disk_offering), C(snapshot) if volume is not already C(state=present).

Returns:

  • (String, nil)

    Name of the disk offering to be used.,Required one of C(disk_offering), C(snapshot) if volume is not already C(state=present).



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

attribute :disk_offering

#display_volumeBoolean?

Returns Whether to display the volume to the end user or not.,Allowed to Root Admins only.

Returns:

  • (Boolean, nil)

    Whether to display the volume to the end user or not.,Allowed to Root Admins only.



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

attribute :display_volume

#domainObject?

Returns Name of the domain the volume to be deployed in.

Returns:

  • (Object, nil)

    Name of the domain the volume to be deployed in.



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

attribute :domain

#forceBoolean?

Returns Force removal of volume even it is attached to a VM.,Considered on C(state=absnet) only.

Returns:

  • (Boolean, nil)

    Force removal of volume even it is attached to a VM.,Considered on C(state=absnet) only.



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

attribute :force

#max_iopsObject?

Returns Max iops.

Returns:

  • (Object, nil)

    Max iops



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

attribute :max_iops

#min_iopsObject?

Returns Min iops.

Returns:

  • (Object, nil)

    Min iops



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

attribute :min_iops

#nameString

Returns Name of the volume.,C(name) can only contain ASCII letters.

Returns:

  • (String)

    Name of the volume.,C(name) can only contain ASCII letters.



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

attribute :name

#poll_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



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

attribute :poll_async

#projectString?

Returns Name of the project the volume to be deployed in.

Returns:

  • (String, nil)

    Name of the project the volume to be deployed in.



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

attribute :project

#shrink_okBoolean?

Returns Whether to allow to shrink the volume.

Returns:

  • (Boolean, nil)

    Whether to allow to shrink the volume.



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

attribute :shrink_ok

#sizeInteger?

Returns Size of disk in GB.

Returns:

  • (Integer, nil)

    Size of disk in GB



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

attribute :size

#snapshotObject?

Returns The snapshot name for the disk volume.,Required one of C(disk_offering), C(snapshot) if volume is not already C(state=present).

Returns:

  • (Object, nil)

    The snapshot name for the disk volume.,Required one of C(disk_offering), C(snapshot) if volume is not already C(state=present).



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

attribute :snapshot

#state:present, ...

Returns State of the volume.

Returns:

  • (:present, :absent, :attached, :detached, nil)

    State of the volume.



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

attribute :state

#vmString?

Returns Name of the virtual machine to attach the volume to.

Returns:

  • (String, nil)

    Name of the virtual machine to attach the volume to.



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

attribute :vm

#zoneString?

Returns Name of the zone in which the volume should be deployed.,If not set, default zone is used.

Returns:

  • (String, nil)

    Name of the zone in which the volume should be deployed.,If not set, default zone is used.



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

attribute :zone