Class: Ansible::Ruby::Modules::Haproxy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Haproxy
- Defined in:
- lib/ansible/ruby/modules/generated/extras/network/haproxy.rb
Instance Method Summary collapse
-
#backend ⇒ String?
Name of the HAProxy backend pool.
-
#host ⇒ String
Name of the backend host to change.
-
#shutdown_sessions ⇒ Boolean?
When disabling a server, immediately terminate all the sessions attached to the specified server.
-
#socket ⇒ String?
Path to the HAProxy socket file.
-
#state ⇒ :enabled, :disabled
Desired state of the provided backend host.
-
#wait ⇒ Boolean?
Wait until the server reports a status of ‘UP’ when ‘state=enabled`, or status of ’MAINT’ when ‘state=disabled`.
-
#wait_interval ⇒ Integer?
Number of seconds to wait between retries.
-
#wait_retries ⇒ Integer?
Number of times to check for status after changing the state.
-
#weight ⇒ String?
The value passed in argument.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#backend ⇒ String?
10 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 10 attribute :backend |
#host ⇒ String
14 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 14 attribute :host |
#shutdown_sessions ⇒ Boolean?
18 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 18 attribute :shutdown_sessions |
#socket ⇒ String?
22 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 22 attribute :socket |
#state ⇒ :enabled, :disabled
26 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 26 attribute :state |
#wait ⇒ Boolean?
30 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 30 attribute :wait |
#wait_interval ⇒ Integer?
34 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 34 attribute :wait_interval |
#wait_retries ⇒ Integer?
38 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 38 attribute :wait_retries |
#weight ⇒ String?
42 |
# File 'lib/ansible/ruby/modules/generated/extras/network/haproxy.rb', line 42 attribute :weight |