Class: Ansible::Ruby::Modules::Elb_target

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

Overview

Used to register or deregister a target in a target group

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

#deregister_unusedSymbol?

Returns The default behaviour for targets that are unused is to leave them registered. If instead you would like to remove them set I(deregister_unused) to yes.

Returns:

  • (Symbol, nil)

    The default behaviour for targets that are unused is to leave them registered. If instead you would like to remove them set I(deregister_unused) to yes.



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 12

attribute :deregister_unused

#state:present, :absent

Returns Register or deregister the target.

Returns:

  • (:present, :absent)

    Register or deregister the target.



42
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 42

attribute :state

#target_azObject?

Returns An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer. This parameter is not supported if the target type of the target group is instance.

Returns:

  • (Object, nil)

    An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer. This parameter is not supported if the target type of the target group is instance.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 16

attribute :target_az

#target_group_arnObject?

Returns The Amazon Resource Name (ARN) of the target group. Mutually exclusive of I(target_group_name).

Returns:

  • (Object, nil)

    The Amazon Resource Name (ARN) of the target group. Mutually exclusive of I(target_group_name).



19
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 19

attribute :target_group_arn

#target_group_nameString?

Returns The name of the target group. Mutually exclusive of I(target_group_arn).

Returns:

  • (String, nil)

    The name of the target group. Mutually exclusive of I(target_group_arn).



22
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 22

attribute :target_group_name

#target_idString

Returns The ID of the target.

Returns:

  • (String)

    The ID of the target.



26
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 26

attribute :target_id

#target_portString?

Returns The port on which the target is listening. You can specify a port override. If a target is already registered, you can register it again using a different port.

Returns:

  • (String, nil)

    The port on which the target is listening. You can specify a port override. If a target is already registered, you can register it again using a different port.



30
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 30

attribute :target_port

#target_status:initial, ...

Returns Blocks and waits for the target status to equal given value. For more detail on target status see U(docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html#target-health-states).

Returns:



34
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 34

attribute :target_status

#target_status_timeoutInteger?

Returns Maximum time in seconds to wait for target_status change.

Returns:

  • (Integer, nil)

    Maximum time in seconds to wait for target_status change



38
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 38

attribute :target_status_timeout