Class: Ansible::Ruby::Modules::Ovirt_template
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_template
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_templates.rb
Overview
Module to manage virtual machine templates in oVirt/RHV.
Instance Method Summary collapse
-
#allow_partial_import ⇒ Symbol?
Boolean indication whether to allow partial registration of a template when C(state) is registered.
-
#clone_permissions ⇒ Symbol?
If I(True) then the permissions of the VM (only the direct ones, not the inherited ones) will be copied to the created template.,This parameter is used only when C(state) I(present).
-
#cluster ⇒ String?
Name of the cluster, where template should be created/imported.
-
#cluster_mappings ⇒ Array<Hash>, ...
Mapper which maps cluster name between Template’s OVF and the destination cluster this Template should be registered to, relevant when C(state) is registered.
-
#cpu_profile ⇒ String?
CPU profile to be set to template.
-
#description ⇒ String?
Description of the template.
-
#domain_mappings ⇒ Array<Hash>, ...
Mapper which maps aaa domain name between Template’s OVF and the destination aaa domain this Template should be registered to, relevant when C(state) is registered.
-
#exclusive ⇒ Symbol?
When C(state) is I(exported) this parameter indicates if the existing templates with the same name should be overwritten.
-
#export_domain ⇒ Object?
When C(state) is I(exported) or I(imported) this parameter specifies the name of the export storage domain.
-
#id ⇒ String?
ID of the template to be registered.
-
#image_disk ⇒ String?
When C(state) is I(imported) and C(image_provider) is used this parameter specifies the name of disk to be imported as template.
-
#image_provider ⇒ String?
When C(state) is I(imported) this parameter specifies the name of the image provider to be used.
-
#io_threads ⇒ Object?
Number of IO threads used by virtual machine.
-
#memory ⇒ Object?
Amount of memory of the template.
-
#memory_guaranteed ⇒ Object?
Amount of minimal guaranteed memory of the template.
-
#memory_max ⇒ Object?
Upper bound of template memory up to which memory hot-plug can be performed.
-
#name ⇒ String?
Name of the template to manage.
-
#operating_system ⇒ Object?
Operating system of the template.,Default value is set by oVirt/RHV engine.,Possible values are: debian_7, freebsd, freebsdx64, other, other_linux, other_linux_ppc64, other_ppc64, rhel_3, rhel_4, rhel_4x64, rhel_5, rhel_5x64, rhel_6, rhel_6x64, rhel_6_ppc64, rhel_7x64, rhel_7_ppc64, sles_11, sles_11_ppc64, ubuntu_12_04, ubuntu_12_10, ubuntu_13_04, ubuntu_13_10, ubuntu_14_04, ubuntu_14_04_ppc64, windows_10, windows_10x64, windows_2003, windows_2003x64, windows_2008, windows_2008x64, windows_2008r2x64, windows_2008R2x64, windows_2012x64, windows_2012R2x64, windows_7, windows_7x64, windows_8, windows_8x64, windows_xp.
-
#role_mappings ⇒ Array<Hash>, ...
Mapper which maps role name between Template’s OVF and the destination role this Template should be registered to, relevant when C(state) is registered.
-
#seal ⇒ Symbol?
‘Sealing’ is an operation that erases all machine-specific configurations from a filesystem: This includes SSH keys, UDEV rules, MAC addresses, system ID, hostname, etc.
-
#state ⇒ :present, ...
Should the template be present/absent/exported/imported/registered.
-
#storage_domain ⇒ String?
When C(state) is I(imported) this parameter specifies the name of the destination data storage domain.
-
#template_image_disk_name ⇒ String?
When C(state) is I(imported) and C(image_provider) is used this parameter specifies the new name for imported disk, if omitted then I(image_disk) name is used by default.
-
#vm ⇒ String?
Name of the VM, which will be used to create template.
-
#vnic_profile_mappings ⇒ Array<Hash>, ...
Mapper which maps an external virtual NIC profile to one that exists in the engine when C(state) is registered.
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
#allow_partial_import ⇒ Symbol?
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 40 attribute :allow_partial_import |
#clone_permissions ⇒ Symbol?
86 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 86 attribute :clone_permissions |
#cluster ⇒ String?
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 36 attribute :cluster |
#cluster_mappings ⇒ Array<Hash>, ...
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 48 attribute :cluster_mappings |
#cpu_profile ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 32 attribute :cpu_profile |
#description ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 28 attribute :description |
#domain_mappings ⇒ Array<Hash>, ...
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 56 attribute :domain_mappings |
#exclusive ⇒ Symbol?
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 60 attribute :exclusive |
#export_domain ⇒ Object?
64 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 64 attribute :export_domain |
#id ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 16 attribute :id |
#image_disk ⇒ String?
71 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 71 attribute :image_disk |
#image_provider ⇒ String?
67 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 67 attribute :image_provider |
#io_threads ⇒ Object?
75 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 75 attribute :io_threads |
#memory ⇒ Object?
97 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 97 attribute :memory |
#memory_guaranteed ⇒ Object?
100 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 100 attribute :memory_guaranteed |
#memory_max ⇒ Object?
103 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 103 attribute :memory_max |
#name ⇒ String?
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 12 attribute :name |
#operating_system ⇒ Object?
94 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 94 attribute :operating_system |
#role_mappings ⇒ Array<Hash>, ...
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 52 attribute :role_mappings |
#seal ⇒ Symbol?
90 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 90 attribute :seal |
#state ⇒ :present, ...
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 20 attribute :state |
#storage_domain ⇒ String?
82 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 82 attribute :storage_domain |
#template_image_disk_name ⇒ String?
78 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 78 attribute :template_image_disk_name |
#vm ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 24 attribute :vm |
#vnic_profile_mappings ⇒ Array<Hash>, ...
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_template.rb', line 44 attribute :vnic_profile_mappings |