Class: Ansible::Ruby::Modules::Os_pool

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb

Overview

Add or Remove a pool from the OpenStack load-balancer service.

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

#availability_zoneObject?

Returns Ignored. Present for backwards compatibility.

Returns:

  • (Object, nil)

    Ignored. Present for backwards compatibility



43
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 43

attribute :availability_zone

#lb_algorithm:LEAST_CONNECTIONS, ...

Returns The load balancing algorithm for the pool.

Returns:

  • (:LEAST_CONNECTIONS, :ROUND_ROBIN, :SOURCE_IP, nil)

    The load balancing algorithm for the pool.



31
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 31

attribute :lb_algorithm

#listenerObject?

Returns The name or id of the listener that this pool belongs to. Either loadbalancer or listener must be specified for pool creation.

Returns:

  • (Object, nil)

    The name or id of the listener that this pool belongs to. Either loadbalancer or listener must be specified for pool creation.



24
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 24

attribute :listener

#loadbalancerString?

Returns The name or id of the load balancer that this pool belongs to. Either loadbalancer or listener must be specified for pool creation.

Returns:

  • (String, nil)

    The name or id of the load balancer that this pool belongs to. Either loadbalancer or listener must be specified for pool creation.



20
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 20

attribute :loadbalancer

#nameString

Returns Name that has to be given to the pool.

Returns:

  • (String)

    Name that has to be given to the pool



12
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 12

attribute :name

#protocol:HTTP, ...

Returns The protocol for the pool.

Returns:

  • (:HTTP, :HTTPS, :PROXY, :TCP, :UDP, nil)

    The protocol for the pool.



27
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 27

attribute :protocol

#state:present, ...

Returns Should the resource be present or absent.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



16
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 16

attribute :state

#timeoutInteger?

Returns The amount of time the module should wait for the pool to get into ACTIVE state.

Returns:

  • (Integer, nil)

    The amount of time the module should wait for the pool to get into ACTIVE state.



39
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 39

attribute :timeout

#wait:yes, ...

Returns If the module should wait for the pool to be ACTIVE.

Returns:

  • (:yes, :no, nil)

    If the module should wait for the pool to be ACTIVE.



35
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_pool.rb', line 35

attribute :wait