Class: Ansible::Ruby::Modules::Rhevm

Inherits:
Base show all
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

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

#boot_orderString?

Returns This option uses complex arguments and is a list of items that specify the bootorder.

Returns:

  • (String, nil)

    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_driveString?

Returns The CD you wish to have mounted on the VM when I(state = ‘CD’).

Returns:

  • (String, nil)

    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

#clusterString?

Returns The rhev/ovirt cluster in which you want you VM to start.

Returns:

  • (String, nil)

    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_shareString?

Returns This parameter is used to configure the cpu share.

Returns:

  • (String, nil)

    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

#datacenterString?

Returns The rhev/ovirt datacenter in which you want you VM to start.

Returns:

  • (String, nil)

    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_protBoolean?

Returns This option sets the delete protection checkbox.

Returns:

  • (Boolean, nil)

    This option sets the delete protection checkbox.



92
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 92

attribute :del_prot

#disksArray<Hash>, ...

Returns This option uses complex arguments and is a list of disks with the options name, size and domain.

Returns:

  • (Array<Hash>, Hash, nil)

    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

#ifacesArray<Hash>, ...

Returns This option uses complex arguments and is a list of interfaces with the options name and vlan.

Returns:

  • (Array<Hash>, Hash, nil)

    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

#imageString?

Returns The template to use for the VM.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#mempolString?

Returns The minimum amount of memory you wish to reserve for this system.

Returns:

  • (String, nil)

    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

#nameString?

Returns The name of the VM.

Returns:

  • (String, nil)

    The name of the VM.



29
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 29

attribute :name

#osverString?

Returns The operationsystem option in RHEV/oVirt.

Returns:

  • (String, nil)

    The operationsystem option in RHEV/oVirt.



68
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 68

attribute :osver

#portString?

Returns The port on which the API is reacheable.

Returns:

  • (String, nil)

    The port on which the API is reacheable.



21
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 21

attribute :port

#serverString?

Returns The name/ip of your RHEV-m/oVirt instance.

Returns:

  • (String, nil)

    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.

Returns:

  • (:ping, :present, :absent, :up, :down, :restarted, :cd, :info, nil)

    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

#timeoutObject?

Returns The timeout you wish to define for power actions.,When I(state = ‘up’),When I(state = ‘down’),When I(state = ‘restarted’).

Returns:

  • (Object, nil)

    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.

Returns:

  • (:server, :desktop, :host, nil)

    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

#userString?

Returns The user to authenticate with.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    To make your VM High Available.



76
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 76

attribute :vm_ha

#vmcpuString?

Returns The number of CPUs you want in your VM.

Returns:

  • (String, nil)

    The number of CPUs you want in your VM.



56
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 56

attribute :vmcpu

#vmhostObject?

Returns The host you wish your VM to run on.

Returns:

  • (Object, nil)

    The host you wish your VM to run on.



53
# File 'lib/ansible/ruby/modules/generated/cloud/misc/rhevm.rb', line 53

attribute :vmhost

#vmmemString?

Returns The amount of memory you want your VM to use (in GB).

Returns:

  • (String, nil)

    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