Class: Ansible::Ruby::Modules::Os_image
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_image
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb
Overview
Add or Remove images from the OpenStack Image Repository
Instance Method Summary collapse
-
#container_format ⇒ String?
The format of the container.
-
#disk_format ⇒ String?
The format of the disk that is getting uploaded.
-
#filename ⇒ String?
The path to the file which has to be uploaded.
-
#is_public ⇒ String?
Whether the image can be accessed publicly.
-
#kernel ⇒ String?
The name of an existing kernel image that will be associated with this image.
-
#min_disk ⇒ Object?
The minimum disk space (in GB) required to boot this image.
-
#min_ram ⇒ Object?
The minimum ram (in MB) required to boot this image.
-
#name ⇒ String
Name that has to be given to the image.
-
#owner ⇒ Object?
The owner of the image.
-
#properties ⇒ Object?
Additional properties to be associated with this image.
-
#ramdisk ⇒ String?
The name of an existing ramdisk image that will be associated with this image.
-
#state ⇒ :present, ...
Should the resource be present or absent.
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
#container_format ⇒ String?
Returns The format of the container.
19 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 19 attribute :container_format |
#disk_format ⇒ String?
Returns The format of the disk that is getting uploaded.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 15 attribute :disk_format |
#filename ⇒ String?
Returns The path to the file which has to be uploaded.
36 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 36 attribute :filename |
#is_public ⇒ String?
Returns Whether the image can be accessed publicly. Note that publicizing an image requires admin role by default.
32 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 32 attribute :is_public |
#kernel ⇒ String?
Returns The name of an existing kernel image that will be associated with this image.
44 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 44 attribute :kernel |
#min_disk ⇒ Object?
Returns The minimum disk space (in GB) required to boot this image.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 26 attribute :min_disk |
#min_ram ⇒ Object?
Returns The minimum ram (in MB) required to boot this image.
29 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 29 attribute :min_ram |
#name ⇒ String
Returns Name that has to be given to the image.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 11 attribute :name |
#owner ⇒ Object?
Returns The owner of the image.
23 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 23 attribute :owner |
#properties ⇒ Object?
Returns Additional properties to be associated with this image.
48 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 48 attribute :properties |
#ramdisk ⇒ String?
Returns The name of an existing ramdisk image that will be associated with this image.
40 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 40 attribute :ramdisk |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
51 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 51 attribute :state |