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

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

Overview

Manage SLB (Server Load Balancing) service-group objects on A10 Networks devices via aXAPIv2.

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

#partitionString?

Returns set active-partition.

Returns:

  • (String, nil)

    set active-partition



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

attribute :partition

#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.



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

attribute :servers

#service_groupString

Returns The SLB (Server Load Balancing) service-group name.

Returns:

  • (String)

    The SLB (Server Load Balancing) service-group name



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

attribute :service_group

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

Returns The SLB service-group load balancing method, such as round-robin or weighted-rr.

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)

    The SLB service-group load balancing method, such as round-robin or weighted-rr.



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

attribute :service_group_method

#service_group_protocol:tcp, ...

Returns The SLB service-group protocol of TCP or UDP.

Returns:

  • (:tcp, :udp, nil)

    The SLB service-group protocol of TCP or UDP.



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

attribute :service_group_protocol

#state:present, ...

Returns If the specified service group should exists.

Returns:

  • (:present, :absent, nil)

    If the specified service group should exists.



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

attribute :state

#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.



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

attribute :validate_certs