Class: Ansible::Ruby::Modules::Proxysql_backend_servers
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Proxysql_backend_servers
- Defined in:
- lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb
Overview
The M(proxysql_backend_servers) module adds or removes mysql hosts using the proxysql admin interface.
Instance Method Summary collapse
-
#comment ⇒ String?
Text field that can be used for any purposed defined by the user.
-
#compression ⇒ Object?
If the value of I(compression) is greater than 0, new connections to that server will use compression.
-
#hostgroup_id ⇒ Integer?
The hostgroup in which this mysqld instance is included.
-
#hostname ⇒ String
The ip address at which the mysqld instance can be contacted.
-
#max_connections ⇒ Object?
The maximum number of connections ProxySQL will open to this backend server.
-
#max_latency_ms ⇒ Object?
Ping time is monitored regularly.
-
#max_replication_lag ⇒ Object?
If greater than 0, ProxySQL will reguarly monitor replication lag.
-
#port ⇒ Integer?
The port at which the mysqld instance can be contacted.
-
#state ⇒ :present, ...
When C(present) - adds the host, when C(absent) - removes the host.
-
#status ⇒ :ONLINE, ...
ONLINE - Backend server is fully operational.
-
#use_ssl ⇒ Object?
If I(use_ssl) is set to C(True), connections to this server will be made using SSL connections.
-
#weight ⇒ Object?
The bigger the weight of a server relative to other weights, the higher the probability of the server being chosen from the hostgroup.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#comment ⇒ String?
46 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 46 attribute :comment |
#compression ⇒ Object?
31 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 31 attribute :compression |
#hostgroup_id ⇒ Integer?
12 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 12 attribute :hostgroup_id |
#hostname ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 16 attribute :hostname |
#max_connections ⇒ Object?
34 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 34 attribute :max_connections |
#max_latency_ms ⇒ Object?
43 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 43 attribute :max_latency_ms |
#max_replication_lag ⇒ Object?
37 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 37 attribute :max_replication_lag |
#port ⇒ Integer?
20 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 20 attribute :port |
#state ⇒ :present, ...
50 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 50 attribute :state |
#status ⇒ :ONLINE, ...
24 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 24 attribute :status |
#use_ssl ⇒ Object?
40 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 40 attribute :use_ssl |
#weight ⇒ Object?
28 |
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_backend_servers.rb', line 28 attribute :weight |