Class: Ansible::Ruby::Modules::Rax_cbs_attachments
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rax_cbs_attachments
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb
Instance Method Summary collapse
-
#device ⇒ Object
The device path to attach the volume to, e.g.
-
#server ⇒ Object
Name or id of the server to attach/detach.
-
#state ⇒ :present, :absent
Indicate desired state of the resource.
-
#volume ⇒ Object
Name or id of the volume to attach/detach.
-
#wait ⇒ :yes, ...
Wait for the volume to be in ‘in-use’/‘available’ state 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_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#device ⇒ Object
Returns The device path to attach the volume to, e.g. /dev/xvde.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb', line 10 attribute :device |
#server ⇒ Object
Returns Name or id of the server to attach/detach.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb', line 18 attribute :server |
#state ⇒ :present, :absent
Returns Indicate desired state of the resource.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb', line 22 attribute :state |
#volume ⇒ Object
Returns Name or id of the volume to attach/detach.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb', line 14 attribute :volume |
#wait ⇒ :yes, ...
Returns wait for the volume to be in ‘in-use’/‘available’ state before returning.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb', line 26 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/rackspace/rax_cbs_attachments.rb', line 30 attribute :wait_timeout |