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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/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, #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



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

attribute :alias

#descriptionObject?

Returns A description for the loadbalancer.

Returns:

  • (Object, nil)

    A description for the loadbalancer



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

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



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

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



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

attribute :method

#nameString

Returns The name of the loadbalancer.

Returns:

  • (String)

    The name of the loadbalancer



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

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



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

attribute :nodes

#persistence:standard, ...

Returns The persistence method for the load balancer.

Returns:

  • (:standard, :sticky, nil)

    The persistence method for the load balancer



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

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



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

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



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

attribute :state

#status:enabled, ...

Returns The status of the loadbalancer.

Returns:

  • (:enabled, :disabled, nil)

    The status of the loadbalancer



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

attribute :status