Class: Ansible::Ruby::Modules::Ovirt_host_pm

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

Overview

Module to manage power management of hosts in oVirt/RHV.

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

#addressString?

Returns Address of the power management interface.

Returns:

  • (String, nil)

    Address of the power management interface.



20
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 20

attribute :address

#encrypt_optionsObject?

Returns If I(true) options will be encrypted when send to agent.

Returns:

  • (Object, nil)

    If I(true) options will be encrypted when send to agent.



44
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 44

attribute :encrypt_options

#nameString

Returns Name of the host to manage.

Returns:

  • (String)

    Name of the host to manage.



12
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 12

attribute :name

#optionsHash?

Returns Dictionary of additional fence agent options (including Power Management slot).,Additional information about options can be found at U(github.com/ClusterLabs/fence-agents/blob/master/doc/FenceAgentAPI.md).

Returns:



40
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 40

attribute :options

#orderObject?

Returns Integer value specifying, by default it’s added at the end.

Returns:

  • (Object, nil)

    Integer value specifying, by default it’s added at the end.



47
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 47

attribute :order

#passwordString?

Returns Password of the user specified in C(username) parameter.

Returns:

  • (String, nil)

    Password of the user specified in C(username) parameter.



28
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 28

attribute :password

#portInteger?

Returns Power management interface port.

Returns:

  • (Integer, nil)

    Power management interface port.



36
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 36

attribute :port

#state:present, ...

Returns Should the host be present/absent.

Returns:

  • (:present, :absent, nil)

    Should the host be present/absent.



16
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 16

attribute :state

#typeString?

Returns Type of the power management. oVirt/RHV predefined values are I(drac5), I(ipmilan), I(rsa), I(bladecenter), I(alom), I(apc), I(apc_snmp), I(eps), I(wti), I(rsb), I(cisco_ucs), I(drac7), I(hpblade), I(ilo), I(ilo2), I(ilo3), I(ilo4), I(ilo_ssh), but user can have defined custom type.

Returns:

  • (String, nil)

    Type of the power management. oVirt/RHV predefined values are I(drac5), I(ipmilan), I(rsa), I(bladecenter), I(alom), I(apc), I(apc_snmp), I(eps), I(wti), I(rsb), I(cisco_ucs), I(drac7), I(hpblade), I(ilo), I(ilo2), I(ilo3), I(ilo4), I(ilo_ssh), but user can have defined custom type.



32
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 32

attribute :type

#usernameString?

Returns Username to be used to connect to power management interface.

Returns:

  • (String, nil)

    Username to be used to connect to power management interface.



24
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 24

attribute :username