Class: Ansible::Ruby::Modules::Elb_network_lb
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Elb_network_lb
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb
Overview
Manage an AWS Network Elastic Load Balancer. See U(aws.amazon.com/blogs/aws/new-network-load-balancer-effortless-scaling-to-millions-of-requests-per-second/) for details.
Instance Method Summary collapse
-
#cross_zone_load_balancing ⇒ Symbol?
Indicates whether cross-zone load balancing is enabled.
-
#deletion_protection ⇒ Symbol?
Indicates whether deletion protection for the ELB is enabled.
-
#listeners ⇒ Array<Hash>, ...
A list of dicts containing listeners to attach to the ELB.
-
#name ⇒ String
The name of the load balancer.
-
#purge_listeners ⇒ Boolean?
If yes, existing listeners will be purged from the ELB to match exactly what is defined by I(listeners) parameter.
-
#purge_tags ⇒ Boolean?
If yes, existing tags will be purged from the resource to match exactly what is defined by I(tags) parameter.
-
#scheme ⇒ :"internet-facing", ...
Internet-facing or internal load balancer.
-
#state ⇒ :present, :absent
Create or destroy the load balancer.
-
#subnet_mappings ⇒ Array<Hash>, ...
A list of dicts containing the IDs of the subnets to attach to the load balancer.
-
#subnets ⇒ Array<String>, ...
A list of the IDs of the subnets to attach to the load balancer.
-
#tags ⇒ Object?
A dictionary of one or more tags to assign to the load balancer.
-
#wait ⇒ Symbol?
Whether or not to wait for the network load balancer to reach the desired state.
-
#wait_timeout ⇒ Object?
The duration in seconds to wait, used in conjunction with I(wait).
Methods inherited from Base
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
#cross_zone_load_balancing ⇒ Symbol?
Returns Indicates whether cross-zone load balancing is enabled.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 12 attribute :cross_zone_load_balancing |
#deletion_protection ⇒ Symbol?
Returns Indicates whether deletion protection for the ELB is enabled.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 16 attribute :deletion_protection |
#listeners ⇒ Array<Hash>, ...
Returns A list of dicts containing listeners to attach to the ELB. See examples for detail of the dict required. Note that listener keys are CamelCased.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 20 attribute :listeners |
#name ⇒ String
Returns The name of the load balancer. This name must be unique within your AWS account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 24 attribute :name |
#purge_listeners ⇒ Boolean?
Returns If yes, existing listeners will be purged from the ELB to match exactly what is defined by I(listeners) parameter. If the I(listeners) parameter is not set then listeners will not be modified.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 28 attribute :purge_listeners |
#purge_tags ⇒ Boolean?
Returns If yes, existing tags will be purged from the resource to match exactly what is defined by I(tags) parameter. If the I(tags) parameter is not set then tags will not be modified.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 32 attribute :purge_tags |
#scheme ⇒ :"internet-facing", ...
Returns Internet-facing or internal load balancer. An ELB scheme can not be modified after creation.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 44 attribute :scheme |
#state ⇒ :present, :absent
Returns Create or destroy the load balancer.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 48 attribute :state |
#subnet_mappings ⇒ Array<Hash>, ...
Returns A list of dicts containing the IDs of the subnets to attach to the load balancer. You can also specify the allocation ID of an Elastic IP to attach to the load balancer. You can specify one Elastic IP address per subnet. This parameter is mutually exclusive with I(subnets).
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 36 attribute :subnet_mappings |
#subnets ⇒ Array<String>, ...
Returns A list of the IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones. Required if state=present. This parameter is mutually exclusive with I(subnet_mappings).
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 40 attribute :subnets |
#tags ⇒ Object?
Returns A dictionary of one or more tags to assign to the load balancer.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 52 attribute :tags |
#wait ⇒ Symbol?
Returns Whether or not to wait for the network load balancer to reach the desired state.
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 55 attribute :wait |
#wait_timeout ⇒ Object?
Returns The duration in seconds to wait, used in conjunction with I(wait).
59 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/elb_network_lb.rb', line 59 attribute :wait_timeout |