Class: Ansible::Ruby::Modules::Elb_target
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Elb_target
- 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
-
#deregister_unused ⇒ Object?
The default behaviour for targets that are unused is to leave them registered.
-
#state ⇒ :present, :absent
Register or deregister the target.
-
#target_az ⇒ Object?
An Availability Zone or all.
-
#target_group_arn ⇒ Object?
The Amazon Resource Name (ARN) of the target group.
-
#target_group_name ⇒ String?
The name of the target group.
-
#target_id ⇒ String
The ID of the target.
-
#target_port ⇒ String?
The port on which the target is listening.
-
#target_status ⇒ :initial, ...
Blocks and waits for the target status to equal given value.
-
#target_status_timeout ⇒ Integer?
Maximum time in seconds to wait for target_status change.
Methods inherited from Base
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
#deregister_unused ⇒ Object?
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.
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.
41 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 41 attribute :state |
#target_az ⇒ Object?
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.
15 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 15 attribute :target_az |
#target_group_arn ⇒ Object?
Returns The Amazon Resource Name (ARN) of the target group. Mutually exclusive of I(target_group_name).
18 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 18 attribute :target_group_arn |
#target_group_name ⇒ String?
Returns The name of the target group. Mutually exclusive of I(target_group_arn).
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 21 attribute :target_group_name |
#target_id ⇒ String
Returns The ID of the target.
25 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 25 attribute :target_id |
#target_port ⇒ String?
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.
29 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 29 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).
33 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 33 attribute :target_status |
#target_status_timeout ⇒ Integer?
Returns Maximum time in seconds to wait for target_status change.
37 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_target.rb', line 37 attribute :target_status_timeout |