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/core/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.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 11 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).
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 14 attribute :image |
#meta ⇒ Object?
Returns A hash of metadata to associate with the volume.
17 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 17 attribute :meta |
#name ⇒ String
Returns Name to give the volume being created.
20 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 20 attribute :name |
#size ⇒ Integer
Returns Size of the volume to create in Gigabytes.
24 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 24 attribute :size |
#snapshot_id ⇒ Object?
Returns The id of the snapshot to create the volume from.
28 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 28 attribute :snapshot_id |
#state ⇒ :present, :absent
Returns Indicate desired state of the resource.
31 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 31 attribute :state |
#volume_type ⇒ :SATA, :SSD
Returns Type of the volume being created.
35 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 35 attribute :volume_type |
#wait ⇒ :yes, ...
Returns wait for the volume to be in state ‘available’ before returning.
39 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 39 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
43 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs.rb', line 43 attribute :wait_timeout |