Class: Ansible::Ruby::Modules::Proxysql_replication_hostgroups

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/database/proxysql/proxysql_replication_hostgroups.rb

Overview

Each row in mysql_replication_hostgroups represent a pair of writer_hostgroup and reader_hostgroup. ProxySQL will monitor the value of read_only for all the servers in specified hostgroups, and based on the value of read_only will assign the server to the writer or reader hostgroups.

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

#commentObject?



20
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_replication_hostgroups.rb', line 20

attribute :comment

#reader_hostgroupInteger



16
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_replication_hostgroups.rb', line 16

attribute :reader_hostgroup

#state:present, ...



23
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_replication_hostgroups.rb', line 23

attribute :state

#writer_hostgroupInteger



12
# File 'lib/ansible/ruby/modules/generated/database/proxysql/proxysql_replication_hostgroups.rb', line 12

attribute :writer_hostgroup