Class: Ansible::Ruby::Modules::Os_server_volume
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_server_volume
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_server_volume.rb
Overview
Attach or Detach volumes from OpenStack VM’s
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#device ⇒ Object?
Device you want to attach.
-
#server ⇒ Object
Name or ID of server you want to attach a volume to.
-
#state ⇒ :present, ...
Should the resource be present or absent.
-
#volume ⇒ Object
Name or id of volume you want to attach to a server.
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
#availability_zone ⇒ Object?
Returns Ignored. Present for backwards compatibility.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_volume.rb', line 27 attribute :availability_zone |
#device ⇒ Object?
Returns Device you want to attach. Defaults to auto finding a device name.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_volume.rb', line 24 attribute :device |
#server ⇒ Object
Returns Name or ID of server you want to attach a volume to.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_volume.rb', line 16 attribute :server |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_volume.rb', line 12 attribute :state |
#volume ⇒ Object
Returns Name or id of volume you want to attach to a server.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_volume.rb', line 20 attribute :volume |