Class: Ansible::Ruby::Modules::Rhevm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Rhevm
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb
Overview
This module only supports oVirt/RHEV version 3. A newer module M(ovirt_vms) supports oVirt/RHV version 4. Allows you to create/remove/update or powermanage virtual machines on a RHEV/oVirt platform.
Instance Method Summary collapse
-
#boot_order ⇒ String?
This option uses complex arguments and is a list of items that specify the bootorder.
-
#cd_drive ⇒ String?
The CD you wish to have mounted on the VM when I(state = ‘CD’).
-
#cluster ⇒ String?
The rhev/ovirt cluster in which you want you VM to start.
-
#cpu_share ⇒ String?
This parameter is used to configure the cpu share.
-
#datacenter ⇒ String?
The rhev/ovirt datacenter in which you want you VM to start.
-
#del_prot ⇒ Boolean?
This option sets the delete protection checkbox.
-
#disks ⇒ Array<Hash>, ...
This option uses complex arguments and is a list of disks with the options name, size and domain.
-
#ifaces ⇒ Array<Hash>, ...
This option uses complex arguments and is a list of interfaces with the options name and vlan.
-
#image ⇒ String?
The template to use for the VM.
-
#insecure_api ⇒ :yes, ...
A boolean switch to make a secure or insecure connection to the server.
-
#mempol ⇒ String?
The minimum amount of memory you wish to reserve for this system.
-
#name ⇒ String?
The name of the VM.
-
#osver ⇒ String?
The operationsystem option in RHEV/oVirt.
-
#port ⇒ String?
The port on which the API is reacheable.
-
#server ⇒ String?
The name/ip of your RHEV-m/oVirt instance.
-
#state ⇒ :ping, ...
This serves to create/remove/update or powermanage your VM.
-
#timeout ⇒ Object?
The timeout you wish to define for power actions.,When I(state = ‘up’),When I(state = ‘down’),When I(state = ‘restarted’).
-
#type ⇒ :server, ...
To define if the VM is a server or desktop.
-
#user ⇒ String?
The user to authenticate with.
-
#vm_ha ⇒ :yes, ...
To make your VM High Available.
-
#vmcpu ⇒ String?
The number of CPUs you want in your VM.
-
#vmhost ⇒ Object?
The host you wish your VM to run on.
-
#vmmem ⇒ String?
The amount of memory you want your VM to use (in GB).
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
#boot_order ⇒ String?
Returns This option uses complex arguments and is a list of items that specify the bootorder.
88 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 88 attribute :boot_order |
#cd_drive ⇒ String?
Returns The CD you wish to have mounted on the VM when I(state = ‘CD’).
96 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 96 attribute :cd_drive |
#cluster ⇒ String?
Returns The rhev/ovirt cluster in which you want you VM to start.
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 33 attribute :cluster |
#cpu_share ⇒ String?
Returns This parameter is used to configure the cpu share.
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 60 attribute :cpu_share |
#datacenter ⇒ String?
Returns The rhev/ovirt datacenter in which you want you VM to start.
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 37 attribute :datacenter |
#del_prot ⇒ Boolean?
Returns This option sets the delete protection checkbox.
92 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 92 attribute :del_prot |
#disks ⇒ Array<Hash>, ...
Returns This option uses complex arguments and is a list of disks with the options name, size and domain.
80 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 80 attribute :disks |
#ifaces ⇒ Array<Hash>, ...
Returns This option uses complex arguments and is a list of interfaces with the options name and vlan.
84 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 84 attribute :ifaces |
#image ⇒ String?
Returns The template to use for the VM.
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 45 attribute :image |
#insecure_api ⇒ :yes, ...
Returns A boolean switch to make a secure or insecure connection to the server.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 25 attribute :insecure_api |
#mempol ⇒ String?
Returns The minimum amount of memory you wish to reserve for this system.
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 72 attribute :mempol |
#name ⇒ String?
Returns The name of the VM.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 29 attribute :name |
#osver ⇒ String?
Returns The operationsystem option in RHEV/oVirt.
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 68 attribute :osver |
#port ⇒ String?
Returns The port on which the API is reacheable.
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 21 attribute :port |
#server ⇒ String?
Returns The name/ip of your RHEV-m/oVirt instance.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 17 attribute :server |
#state ⇒ :ping, ...
Returns This serves to create/remove/update or powermanage your VM.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 41 attribute :state |
#timeout ⇒ Object?
Returns The timeout you wish to define for power actions.,When I(state = ‘up’),When I(state = ‘down’),When I(state = ‘restarted’).
100 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 100 attribute :timeout |
#type ⇒ :server, ...
Returns To define if the VM is a server or desktop.
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 49 attribute :type |
#user ⇒ String?
Returns The user to authenticate with.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 13 attribute :user |
#vm_ha ⇒ :yes, ...
Returns To make your VM High Available.
76 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 76 attribute :vm_ha |
#vmcpu ⇒ String?
Returns The number of CPUs you want in your VM.
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 56 attribute :vmcpu |
#vmhost ⇒ Object?
Returns The host you wish your VM to run on.
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 53 attribute :vmhost |
#vmmem ⇒ String?
Returns The amount of memory you want your VM to use (in GB).
64 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 64 attribute :vmmem |