Class: Ansible::Ruby::Modules::One_image
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::One_image
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb
Overview
Manages OpenNebula images
Instance Method Summary collapse
-
#api_password ⇒ Object?
Password of the user to login into OpenNebula RPC server.
-
#api_url ⇒ Object?
URL of the OpenNebula RPC server.,It is recommended to use HTTPS so that the username/password are not,transferred over the network unencrypted.,If not set then the value of the C(ONE_URL) environment variable is used.
-
#api_username ⇒ Object?
Name of the user to login into the OpenNebula RPC server.
-
#enabled ⇒ Symbol?
Whether the image should be enabled or disabled.
-
#id ⇒ Integer, ...
A C(id) of the image you would like to manage.
-
#name ⇒ String?
A C(name) of the image you would like to manage.
-
#new_name ⇒ String?
A name that will be assigned to the existing or new image.,In the case of cloning, by default C(new_name) will take the name of the origin image with the prefix ‘Copy of’.
-
#state ⇒ :present, ...
C(present) - state that is used to manage the image,C(absent) - delete the image,C(cloned) - clone the image,C(renamed) - rename the image to the C(new_name).
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_password ⇒ Object?
18 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 18 attribute :api_password |
#api_url ⇒ Object?
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 12 attribute :api_url |
#api_username ⇒ Object?
15 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 15 attribute :api_username |
#enabled ⇒ Symbol?
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 33 attribute :enabled |
#id ⇒ Integer, ...
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 21 attribute :id |
#name ⇒ String?
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 25 attribute :name |
#new_name ⇒ String?
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 37 attribute :new_name |
#state ⇒ :present, ...
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/opennebula/one_image.rb', line 29 attribute :state |