Class: Ansible::Ruby::Modules::A10_server_axapi3

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

Overview

Manage SLB (Server Load Balancer) server objects on A10 Networks devices via aXAPIv3.

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

#operation:create, ...

Returns Create, Update or Remove SLB server. For create and update operation, we use the IP address and server name specified in the POST message. For delete operation, we use the server name in the request URI.

Returns:

  • (:create, :update, :remove, nil)

    Create, Update or Remove SLB server. For create and update operation, we use the IP address and server name specified in the POST message. For delete operation, we use the server name in the request URI.



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

attribute :operation

#server_ipString

Returns The SLB (Server Load Balancer) server IPv4 address.

Returns:

  • (String)

    The SLB (Server Load Balancer) server IPv4 address.



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

attribute :server_ip

#server_nameObject

Returns The SLB (Server Load Balancer) server name.

Returns:

  • (Object)

    The SLB (Server Load Balancer) server name.



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

attribute :server_name

#server_portsArray<Hash>, ...

Returns A list of ports to create for the server. Each list item should be a dictionary which specifies the C(port:) and C(protocol:).

Returns:

  • (Array<Hash>, Hash, nil)

    A list of ports to create for the server. Each list item should be a dictionary which specifies the C(port:) and C(protocol:).



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

attribute :server_ports

#server_status:enable, ...

Returns The SLB (Server Load Balancer) virtual server status.

Returns:

  • (:enable, :disable, nil)

    The SLB (Server Load Balancer) virtual server status.



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

attribute :server_status

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



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

attribute :validate_certs