Class: Ansible::Ruby::Modules::A10_service_group

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb

Overview

Manage slb service-group objects on A10 Networks devices via aXAPI

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#hostString

Returns hostname or ip of your A10 Networks device.

Returns:

  • (String)

    hostname or ip of your A10 Networks device



11
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 11

attribute :host

#passwordString

Returns admin password of your A10 Networks device.

Returns:

  • (String)

    admin password of your A10 Networks device



19
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 19

attribute :password

#serversArray<Hash>, ...

Returns A list of servers to add to the service group. Each list item should be a dictionary which specifies the C(server:) and C(port:), but can also optionally specify the C(status:). See the examples below for details.

Returns:

  • (Array<Hash>, Hash, nil)

    A list of servers to add to the service group. Each list item should be a dictionary which specifies the C(server:) and C(port:), but can also optionally specify the C(status:). See the examples below for details.



35
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 35

attribute :servers

#service_groupString

Returns slb service-group name.

Returns:

  • (String)

    slb service-group name



23
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 23

attribute :service_group

#service_group_method:"round-robin", ...

Returns slb service-group loadbalancing method.

Returns:

  • (:"round-robin", :"weighted-rr", :"least-connection", :"weighted-least-connection", :"service-least-connection", :"service-weighted-least-connection", :"fastest-response", :"least-request", :"round-robin-strict", :"src-ip-only-hash", :"src-ip-hash", nil)

    slb service-group loadbalancing method



31
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 31

attribute :service_group_method

#service_group_protocol:tcp, ...

Returns slb service-group protocol.

Returns:

  • (:tcp, :udp, nil)

    slb service-group protocol



27
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 27

attribute :service_group_protocol

#usernameString

Returns admin account of your A10 Networks device.

Returns:

  • (String)

    admin account of your A10 Networks device



15
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 15

attribute :username

#validate_certs:yes, ...

Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled devices using self-signed certificates.

Returns:

  • (:yes, :no, nil)

    If C(no), SSL certificates will not be validated. This should only be used on personally controlled devices using self-signed certificates.



43
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 43

attribute :validate_certs

#write_config:yes, ...

Returns If C(yes), any changes will cause a write of the running configuration to non-volatile memory. This will save I(all) configuration changes, including those that may have been made manually or through other modules, so care should be taken when specifying C(yes).

Returns:

  • (:yes, :no, nil)

    If C(yes), any changes will cause a write of the running configuration to non-volatile memory. This will save I(all) configuration changes, including those that may have been made manually or through other modules, so care should be taken when specifying C(yes).



39
# File 'lib/ansible/ruby/modules/generated/extras/network/a10/a10_service_group.rb', line 39

attribute :write_config