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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/openstack/os_image.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #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



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

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



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

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



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

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.



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

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



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

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



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

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



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

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



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

attribute :name

#ownerObject?

Returns The owner of the image.

Returns:

  • (Object, nil)

    The owner of the image



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

attribute :owner

#propertiesObject?

Returns Additional properties to be associated with this image.

Returns:

  • (Object, nil)

    Additional properties to be associated with this image



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

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



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

attribute :ramdisk

#state:present, ...

Returns Should the resource be present or absent.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



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

attribute :state