Class: Ansible::Ruby::Modules::Imgadm

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb

Overview

Manage SmartOS virtual machine images through imgadm(1M)

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#forceSymbol?

Returns Force a given operation (where supported by imgadm(1M)).

Returns:

  • (Symbol, nil)

    Force a given operation (where supported by imgadm(1M)).



12
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 12

attribute :force

#poolString?

Returns zpool to import to or delete images from.

Returns:

  • (String, nil)

    zpool to import to or delete images from.



16
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 16

attribute :pool

#sourceString?

Returns URI for the image source.

Returns:

  • (String, nil)

    URI for the image source.



20
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 20

attribute :source

#state:present, ...

Returns State the object operated on should be in. C(imported) is an alias for for C(present) and C(deleted) for C(absent). When set to C(vacuumed) and C(uuid) to C(*), it will remove all unused images.

Returns:

  • (:present, :absent, :deleted, :imported, :updated, :vacuumed)

    State the object operated on should be in. C(imported) is an alias for for C(present) and C(deleted) for C(absent). When set to C(vacuumed) and C(uuid) to C(*), it will remove all unused images.



24
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 24

attribute :state

#type:imgapi, ...

Returns Type for image sources.

Returns:

  • (:imgapi, :docker, :dsapi, nil)

    Type for image sources.



28
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 28

attribute :type

#uuidString?

Returns Image UUID. Can either be a full UUID or C(*) for all images.

Returns:

  • (String, nil)

    Image UUID. Can either be a full UUID or C(*) for all images.



32
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 32

attribute :uuid