Class: Ansible::Ruby::Modules::Rax_cbs
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_cbs
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb
Overview
Manipulate Rackspace Cloud Block Storage Volumes
Instance Method Summary collapse
-
#description ⇒ Object?
Description to give the volume being created.
-
#image ⇒ Object?
Image to use for bootable volumes.
-
#meta ⇒ Object?
A hash of metadata to associate with the volume.
-
#name ⇒ String
Name to give the volume being created.
-
#size ⇒ Integer
Size of the volume to create in Gigabytes.
-
#snapshot_id ⇒ Object?
The id of the snapshot to create the volume from.
-
#state ⇒ :present, :absent
Indicate desired state of the resource.
-
#volume_type ⇒ :SATA, :SSD
Type of the volume being created.
-
#wait ⇒ :yes, ...
Wait for the volume to be in state ‘available’ before returning.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
Methods inherited from Base
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
#description ⇒ Object?
Returns Description to give the volume being created.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 12 attribute :description |
#image ⇒ Object?
Returns image to use for bootable volumes. Can be an C(id), C(human_id) or C(name). This option requires C(pyrax>=1.9.3).
15 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 15 attribute :image |
#meta ⇒ Object?
Returns A hash of metadata to associate with the volume.
18 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 18 attribute :meta |
#name ⇒ String
Returns Name to give the volume being created.
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 21 attribute :name |
#size ⇒ Integer
Returns Size of the volume to create in Gigabytes.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 25 attribute :size |
#snapshot_id ⇒ Object?
Returns The id of the snapshot to create the volume from.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 29 attribute :snapshot_id |
#state ⇒ :present, :absent
Returns Indicate desired state of the resource.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 32 attribute :state |
#volume_type ⇒ :SATA, :SSD
Returns Type of the volume being created.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 36 attribute :volume_type |
#wait ⇒ :yes, ...
Returns wait for the volume to be in state ‘available’ before returning.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 40 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_cbs.rb', line 44 attribute :wait_timeout |