Class: Ansible::Ruby::Modules::Clc_loadbalancer

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

Overview

An Ansible module to Create, Delete shared loadbalancers in CenturyLink Cloud.

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

#aliasObject

Returns The alias of your CLC Account.

Returns:

  • (Object)

    The alias of your CLC Account



19
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 19

attribute :alias

#descriptionObject?

Returns A description for the loadbalancer.

Returns:

  • (Object, nil)

    A description for the loadbalancer



16
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 16

attribute :description

#locationObject

Returns The location of the datacenter where the load balancer resides in.

Returns:

  • (Object)

    The location of the datacenter where the load balancer resides in



23
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 23

attribute :location

#method:leastConnection, ...

Returns -The balancing method for the load balancer pool.

Returns:

  • (:leastConnection, :roundRobin, nil)

    -The balancing method for the load balancer pool



27
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 27

attribute :method

#nameString

Returns The name of the loadbalancer.

Returns:

  • (String)

    The name of the loadbalancer



12
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 12

attribute :name

#nodesObject?

Returns A list of nodes that needs to be added to the load balancer pool.

Returns:

  • (Object, nil)

    A list of nodes that needs to be added to the load balancer pool



39
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 39

attribute :nodes

#persistence:standard, ...

Returns The persistence method for the load balancer.

Returns:

  • (:standard, :sticky, nil)

    The persistence method for the load balancer



31
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 31

attribute :persistence

#port80, ...

Returns Port to configure on the public-facing side of the load balancer pool.

Returns:

  • (80, 443, nil)

    Port to configure on the public-facing side of the load balancer pool



35
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 35

attribute :port

#state:present, ...

Returns Whether to create or delete the load balancer pool.

Returns:

  • (:present, :absent, :port_absent, :nodes_present, :nodes_absent, nil)

    Whether to create or delete the load balancer pool



46
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 46

attribute :state

#status:enabled, ...

Returns The status of the loadbalancer.

Returns:

  • (:enabled, :disabled, nil)

    The status of the loadbalancer



42
# File 'lib/ansible/ruby/modules/generated/cloud/centurylink/clc_loadbalancer.rb', line 42

attribute :status