Class: Ansible::Ruby::Modules::Rax_clb_nodes

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

Overview

Adds, modifies and removes nodes from a Rackspace Cloud Load Balancer

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

#addressString?

Returns IP address or domain name of the node.

Returns:

  • (String, nil)

    IP address or domain name of the node



12
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 12

attribute :address

#condition:enabled, ...

Returns Condition for the node, which determines its role within the load balancer.

Returns:

  • (:enabled, :disabled, :draining, nil)

    Condition for the node, which determines its role within the load balancer



16
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 16

attribute :condition

#load_balancer_idInteger

Returns Load balancer id.

Returns:

  • (Integer)

    Load balancer id



20
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 20

attribute :load_balancer_id

#node_idInteger?

Returns Node id.

Returns:

  • (Integer, nil)

    Node id



24
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 24

attribute :node_id

#portInteger?

Returns Port number of the load balanced service on the node.

Returns:

  • (Integer, nil)

    Port number of the load balanced service on the node



28
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 28

attribute :port

#state:present, ...

Returns Indicate desired state of the node.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the node



32
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 32

attribute :state

#type:primary, ...

Returns Type of node.

Returns:

  • (:primary, :secondary, nil)

    Type of node



36
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 36

attribute :type

#wait:yes, ...

Returns Wait for the load balancer to become active before returning.

Returns:

  • (:yes, :no, nil)

    Wait for the load balancer to become active before returning



40
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 40

attribute :wait

#wait_timeoutInteger?

Returns How long to wait before giving up and returning an error.

Returns:

  • (Integer, nil)

    How long to wait before giving up and returning an error



44
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 44

attribute :wait_timeout

#weightObject?

Returns Weight of node.

Returns:

  • (Object, nil)

    Weight of node



48
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_clb_nodes.rb', line 48

attribute :weight