Class: Ansible::Ruby::Modules::Elb_classic_lb

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

Overview

Returns information about the load balancer. Will be marked changed when called only if state is changed.

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

#access_logsHash?

Returns An associative array of access logs configuration settings (see example).

Returns:

  • (Hash, nil)

    An associative array of access logs configuration settings (see example)



56
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 56

attribute :access_logs

#connection_draining_timeoutInteger?

Returns Wait a specified timeout allowing connections to drain before terminating an instance.

Returns:

  • (Integer, nil)

    Wait a specified timeout allowing connections to drain before terminating an instance



76
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 76

attribute :connection_draining_timeout

#cross_az_load_balancing:yes, ...

Returns Distribute load across all configured Availability Zones.

Returns:

  • (:yes, :no, nil)

    Distribute load across all configured Availability Zones



84
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 84

attribute :cross_az_load_balancing

#health_checkHash?

Returns An associative array of health check configuration settings (see example).

Returns:

  • (Hash, nil)

    An associative array of health check configuration settings (see example)



52
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 52

attribute :health_check

#idle_timeoutInteger?

Returns ELB connections from clients and to servers are timed out after this amount of time.

Returns:

  • (Integer, nil)

    ELB connections from clients and to servers are timed out after this amount of time



80
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 80

attribute :idle_timeout

#instance_idsArray<String>, ...

Returns List of instance ids to attach to this ELB.

Returns:

  • (Array<String>, String, nil)

    List of instance ids to attach to this ELB



29
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 29

attribute :instance_ids

#listenersArray<Hash>, ...

Returns List of ports/protocols for this ELB to listen on (see example).

Returns:

  • (Array<Hash>, Hash, nil)

    List of ports/protocols for this ELB to listen on (see example)



21
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 21

attribute :listeners

#nameString

Returns The name of the ELB.

Returns:

  • (String)

    The name of the ELB



17
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 17

attribute :name

#purge_instance_ids:yes, ...

Returns Purge existing instance ids on ELB that are not found in instance_ids.

Returns:

  • (:yes, :no, nil)

    Purge existing instance ids on ELB that are not found in instance_ids



33
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 33

attribute :purge_instance_ids

#purge_listeners:yes, ...

Returns Purge existing listeners on ELB that are not found in listeners.

Returns:

  • (:yes, :no, nil)

    Purge existing listeners on ELB that are not found in listeners



25
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 25

attribute :purge_listeners

#purge_subnets:yes, ...

Returns Purge existing subnet on ELB that are not found in subnets.

Returns:

  • (:yes, :no, nil)

    Purge existing subnet on ELB that are not found in subnets



64
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 64

attribute :purge_subnets

#purge_zones:yes, ...

Returns Purge existing availability zones on ELB that are not found in zones.

Returns:

  • (:yes, :no, nil)

    Purge existing availability zones on ELB that are not found in zones



41
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 41

attribute :purge_zones

#scheme:internal, ...

Returns The scheme to use when creating the ELB. For a private VPC-visible ELB use ‘internal’. If you choose to update your scheme with a different value the ELB will be destroyed and recreated. To update scheme you must use the option wait.

Returns:

  • (:internal, :"internet-facing", nil)

    The scheme to use when creating the ELB. For a private VPC-visible ELB use ‘internal’. If you choose to update your scheme with a different value the ELB will be destroyed and recreated. To update scheme you must use the option wait.



68
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 68

attribute :scheme

#security_group_idsArray<String>, ...

Returns A list of security groups to apply to the elb.

Returns:

  • (Array<String>, String, nil)

    A list of security groups to apply to the elb



45
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 45

attribute :security_group_ids

#security_group_namesObject?

Returns A list of security group names to apply to the elb.

Returns:

  • (Object, nil)

    A list of security group names to apply to the elb



49
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 49

attribute :security_group_names

#state:present, :absent

Returns Create or destroy the ELB.

Returns:

  • (:present, :absent)

    Create or destroy the ELB



13
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 13

attribute :state

#stickinessHash?

Returns An associative array of stickiness policy settings. Policy will be applied to all listeners ( see example ).

Returns:

  • (Hash, nil)

    An associative array of stickiness policy settings. Policy will be applied to all listeners ( see example )



88
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 88

attribute :stickiness

#subnetsArray<String>, ...

Returns A list of VPC subnets to use when creating ELB. Zones should be empty if using this.

Returns:

  • (Array<String>, String, nil)

    A list of VPC subnets to use when creating ELB. Zones should be empty if using this.



60
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 60

attribute :subnets

#tagsHash?

Returns An associative array of tags. To delete all tags, supply an empty dict.

Returns:

  • (Hash, nil)

    An associative array of tags. To delete all tags, supply an empty dict.



100
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 100

attribute :tags

#validate_certs:yes, ...

Returns When set to C(no), SSL certificates will not be validated for boto versions >= 2.6.0.

Returns:

  • (:yes, :no, nil)

    When set to C(no), SSL certificates will not be validated for boto versions >= 2.6.0.



72
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 72

attribute :validate_certs

#wait:yes, ...

Returns When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.

Returns:

  • (:yes, :no, nil)

    When specified, Ansible will check the status of the load balancer to ensure it has been successfully removed from AWS.



92
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 92

attribute :wait

#wait_timeoutInteger?

Returns Used in conjunction with wait. Number of seconds to wait for the elb to be terminated. A maximum of 600 seconds (10 minutes) is allowed.

Returns:

  • (Integer, nil)

    Used in conjunction with wait. Number of seconds to wait for the elb to be terminated. A maximum of 600 seconds (10 minutes) is allowed.



96
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 96

attribute :wait_timeout

#zonesArray<String>, ...

Returns List of availability zones to enable on this ELB.

Returns:

  • (Array<String>, String, nil)

    List of availability zones to enable on this ELB



37
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_classic_lb.rb', line 37

attribute :zones