Class: Ansible::Ruby::Modules::Ovirt_host_pm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ovirt_host_pm
- 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
-
#address ⇒ String?
Address of the power management interface.
-
#encrypt_options ⇒ Object?
If I(true) options will be encrypted when send to agent.
-
#name ⇒ String
Name of the host to manage.
-
#options ⇒ Hash?
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).
-
#order ⇒ Object?
Integer value specifying, by default it’s added at the end.
-
#password ⇒ String?
Password of the user specified in C(username) parameter.
-
#port ⇒ Integer?
Power management interface port.
-
#state ⇒ :present, ...
Should the host be present/absent.
-
#type ⇒ String?
Type of the power management.
-
#username ⇒ String?
Username to be used to connect to power management interface.
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
#address ⇒ String?
Returns Address of the power management interface.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 20 attribute :address |
#encrypt_options ⇒ Object?
Returns 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 |
#name ⇒ String
Returns Name of the host to manage.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 12 attribute :name |
#options ⇒ Hash?
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).
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 40 attribute :options |
#order ⇒ Object?
Returns 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 |
#password ⇒ String?
Returns 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 |
#port ⇒ Integer?
Returns 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.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 16 attribute :state |
#type ⇒ String?
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.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_pm.rb', line 32 attribute :type |
#username ⇒ String?
Returns 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 |