Class | AWS::ELB::Base |
In: |
lib/AWS/ELB.rb
lib/AWS/ELB/load_balancers.rb |
Parent: | AWS::Base |
Raises the appropriate error if the specified Net::HTTPResponse object contains an Amazon EC2 error; returns false otherwise.
This API enables you to define an application healthcheck for the instances.
Note: Completion of this API does not guarantee that operation has completed. Rather, it means that the request has been registered and the changes will happen shortly.
@option options [String] :load_balancer_name The name of the load balancer. @option options [Hash] :health_check A Hash with the key values provided as String or FixNum values (:timeout, :interval, :unhealthy_threshold, :healthy_threshold)
This API creates a new LoadBalancer. Once the call has completed successfully, a new LoadBalancer will be created, but it will not be usable until at least one instance has been registered. When the LoadBalancer creation is completed, you can check whether it is usable by using the DescribeInstanceHealth API. The LoadBalancer is usable as soon as any registered instance is InService.
@option options [String] :load_balancer_name (nil) the name of the load balancer @option options [Array] :availability_zones (nil) @option options [Array] :listeners (nil) An Array of Hashes (:protocol, :load_balancer_port, :instance_port) @option options [Array] :availability_zones (nil) An Array of Strings
This API deletes the specified LoadBalancer. On deletion, all of the configured properties of the LoadBalancer will be deleted. If you attempt to recreate the LoadBalancer, you need to reconfigure all the settings. The DNS name associated with a deleted LoadBalancer is no longer be usable. Once deleted, the name and associated DNS record of the LoadBalancer no longer exist and traffic sent to any of its IP addresses will no longer be delivered to your instances. You will not get the same DNS name even if you create a new LoadBalancer with same LoadBalancerName.
@option options [String] :load_balancer_name the name of the load balancer
This API deregisters instances from the LoadBalancer. Trying to deregister an instance that is not registered with the LoadBalancer does nothing.
In order to successfully call this API, you must provide the same account credentials as those that were used to create the LoadBalancer.
Once the instance is deregistered, it will stop receiving traffic from the LoadBalancer.
@option options [Array<String>] :instances An Array of instance names to remove from the load balancer. @option options [String] :load_balancer_name The name of the load balancer.
This API returns the current state of the instances of the specified LoadBalancer. If no instances are specified, the state of all the instances for the LoadBalancer is returned.
You must have been the one who created in the LoadBalancer. In other words, in order to successfully call this API, you must provide the same account credentials as those that were used to create the LoadBalancer.
@option options [Array<String>] :instances List of instances IDs whose state is being queried. @option options [String] :load_balancer_name The name of the load balancer
This API returns detailed configuration information for the specified LoadBalancers, or if no LoadBalancers are specified, then the API returns configuration information for all LoadBalancers created by the caller. For more information, please see LoadBalancer.
You must have created the specified input LoadBalancers in order to retrieve this information. In other words, in order to successfully call this API, you must provide the same account credentials as those that were used to create the LoadBalancer.
@option options [Array<String>] :load_balancer_names ([]) An Array of names of load balancers to describe.
This API removes the specified EC2 Availability Zones from the set of configured Availability Zones for the LoadBalancer. Once an Availability Zone is removed, all the instances registered with the LoadBalancer that are in the removed Availability Zone go into the OutOfService state. Upon Availability Zone removal, the LoadBalancer attempts to equally balance the traffic among its remaining usable Availability Zones. Trying to remove an Availability Zone that was not associated with the LoadBalancer does nothing.
There must be at least one Availability Zone registered with a LoadBalancer at all times. You cannot remove all the Availability Zones from a LoadBalancer.
In order for this call to be successful, you must have created the LoadBalancer. In other words, in order to successfully call this API, you must provide the same account credentials as those that were used to create the LoadBalancer.
@option options [Array<String>] :availability_zones List of Availability Zones to be removed from the LoadBalancer. @option options [String] :load_balancer_name The name of the load balancer
This API is used to add one or more EC2 Availability Zones to the LoadBalancer.
@option options [Array<String>] :availability_zones List of Availability Zones to be added to the LoadBalancer. @option options [String] :load_balancer_name The name of the load balancer
This API adds new instances to the LoadBalancer.
Once the instance is registered, it starts receiving traffic and requests from the LoadBalancer. Any instance that is not in any of the Availability Zones registered for the LoadBalancer will be moved to the OutOfService state. It will move to the InService state when the Availability Zone is added to the LoadBalancer.
You must have been the one who created the LoadBalancer. In other words, in order to successfully call this API, you must provide the same account credentials as those that were used to create the LoadBalancer.
NOTE: Completion of this API does not guarantee that operation has completed. Rather, it means that the request has been registered and the changes will happen shortly.
@option options [Array<String>] :instances An Array of instance names to add to the load balancer. @option options [String] :load_balancer_name The name of the load balancer.