Class: Ansible::Ruby::Modules::Imgadm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Imgadm
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb
Overview
Manage SmartOS virtual machine images through imgadm(1M)
Instance Method Summary collapse
-
#force ⇒ Symbol?
Force a given operation (where supported by imgadm(1M)).
-
#pool ⇒ String?
Zpool to import to or delete images from.
-
#source ⇒ String?
URI for the image source.
-
#state ⇒ :present, ...
State the object operated on should be in.
-
#type ⇒ :imgapi, ...
Type for image sources.
-
#uuid ⇒ String?
Image UUID.
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
#force ⇒ Symbol?
Returns Force a given operation (where supported by imgadm(1M)).
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 12 attribute :force |
#pool ⇒ String?
Returns zpool to import to or delete images from.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 16 attribute :pool |
#source ⇒ String?
Returns 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.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 24 attribute :state |
#type ⇒ :imgapi, ...
Returns Type for image sources.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/smartos/imgadm.rb', line 28 attribute :type |
#uuid ⇒ String?
Returns 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 |