Class: Ansible::Ruby::Modules::Cs_volume
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_volume
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb
Instance Method Summary collapse
-
#account ⇒ Object?
Account the volume is related to.
-
#custom_id ⇒ Object?
Custom id to the resource.,Allowed to Root Admins only.
-
#disk_offering ⇒ String?
Name of the disk offering to be used.,Required one of C(disk_offering), C(snapshot) if volume is not already C(state=present).
-
#display_volume ⇒ Boolean?
Whether to display the volume to the end user or not.,Allowed to Root Admins only.
-
#domain ⇒ Object?
Name of the domain the volume to be deployed in.
-
#force ⇒ Boolean?
Force removal of volume even it is attached to a VM.,Considered on C(state=absnet) only.
-
#max_iops ⇒ Object?
Max iops.
-
#min_iops ⇒ Object?
Min iops.
-
#name ⇒ String
Name of the volume.,C(name) can only contain ASCII letters.
-
#poll_async ⇒ Boolean?
Poll async jobs until job has finished.
-
#project ⇒ String?
Name of the project the volume to be deployed in.
-
#shrink_ok ⇒ Boolean?
Whether to allow to shrink the volume.
-
#size ⇒ Integer?
Size of disk in GB.
-
#snapshot ⇒ Object?
The snapshot name for the disk volume.,Required one of C(disk_offering), C(snapshot) if volume is not already C(state=present).
-
#state ⇒ :present, ...
State of the volume.
-
#vm ⇒ String?
Name of the virtual machine to attach the volume to.
-
#zone ⇒ String?
Name of the zone in which the volume should be deployed.,If not set, default zone is used.
Methods inherited from Base
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
#account ⇒ Object?
Returns Account the volume is related to.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb', line 14 attribute :account |
#custom_id ⇒ Object?
Returns 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_offering ⇒ String?
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).
20 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb', line 20 attribute :disk_offering |
#display_volume ⇒ Boolean?
Returns 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 |
#domain ⇒ Object?
Returns 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 |
#force ⇒ Boolean?
Returns 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_iops ⇒ Object?
Returns Max iops.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb', line 31 attribute :max_iops |
#min_iops ⇒ Object?
Returns Min iops.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb', line 34 attribute :min_iops |
#name ⇒ String
Returns 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_async ⇒ Boolean?
Returns 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 |
#project ⇒ String?
Returns 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_ok ⇒ Boolean?
Returns 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 |
#size ⇒ Integer?
Returns Size of disk in GB.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb', line 41 attribute :size |
#snapshot ⇒ Object?
Returns 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.
64 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_volume.rb', line 64 attribute :state |
#vm ⇒ String?
Returns 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 |
#zone ⇒ String?
Returns 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 |