Class: Ansible::Ruby::Modules::A10_server

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

Overview

Manage slb server 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_server.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_server.rb', line 19

attribute :password

#server_ipString?

Returns slb server IP address.

Returns:

  • (String, nil)

    slb server IP address



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

attribute :server_ip

#server_nameObject

Returns slb server name.

Returns:

  • (Object)

    slb server name



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

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:), but can also optionally specify the C(status:). See the examples below for details. This parameter is required when C(state) is C(present).

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:), but can also optionally specify the C(status:). See the examples below for details. This parameter is required when C(state) is C(present).



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

attribute :server_ports

#server_status:enabled, ...

Returns slb virtual server status.

Returns:

  • (:enabled, :disabled, nil)

    slb virtual server status



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

attribute :server_status

#state:present, ...

Returns create, update or remove slb server.

Returns:

  • (:present, :absent, nil)

    create, update or remove slb server



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

attribute :state

#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_server.rb', line 15

attribute :username