Class: Ansible::Ruby::Modules::Os_image

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_formatString?

Returns The format of the container.

Returns:

  • (String, nil)

    The format of the container



19
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 19

attribute :container_format

#disk_formatString?

Returns The format of the disk that is getting uploaded.

Returns:

  • (String, nil)

    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

#filenameString?

Returns The path to the file which has to be uploaded.

Returns:

  • (String, nil)

    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_publicString?

Returns Whether the image can be accessed publicly. Note that publicizing an image requires admin role by default.

Returns:

  • (String, nil)

    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

#kernelString?

Returns The name of an existing kernel image that will be associated with this image.

Returns:

  • (String, nil)

    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_diskObject?

Returns The minimum disk space (in GB) required to boot this image.

Returns:

  • (Object, nil)

    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_ramObject?

Returns The minimum ram (in MB) required to boot this image.

Returns:

  • (Object, nil)

    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

#nameString

Returns Name that has to be given to the image.

Returns:

  • (String)

    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

#ownerObject?

Returns The owner of the image.

Returns:

  • (Object, nil)

    The owner of the image



23
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 23

attribute :owner

#propertiesObject?

Returns Additional properties to be associated with this image.

Returns:

  • (Object, nil)

    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

#ramdiskString?

Returns The name of an existing ramdisk image that will be associated with this image.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



51
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb', line 51

attribute :state