Container for the parameters to the RegisterInstancesWithLoadBalancer operation.

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.

NOTE: In order for this call to be successful, the client must have created the LoadBalancer. The client 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.

Namespace: Amazon.ElasticLoadBalancing.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class RegisterInstancesWithLoadBalancerRequest : AmazonWebServiceRequest
Public Class RegisterInstancesWithLoadBalancerRequest _
	Inherits AmazonWebServiceRequest
public ref class RegisterInstancesWithLoadBalancerRequest : public AmazonWebServiceRequest

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
RegisterInstancesWithLoadBalancerRequest()()()()
Default constructor for a new RegisterInstancesWithLoadBalancerRequest object. Callers should use the properties or fluent setter (With...) methods to initialize this object after creating it.
RegisterInstancesWithLoadBalancerRequest(String, List<(Of <<'(Instance>)>>))
Constructs a new RegisterInstancesWithLoadBalancerRequest object. Callers should use the properties or fluent setter (With...) methods to initialize any additional object members.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Instances
A list of instance IDs that should be registered with the LoadBalancer.
Note:
When the instance is stopped and then restarted, the IP addresses associated with your instance changes. Elastic Load Balancing cannot recognize the new IP address, which prevents it from routing traffic to your instances. We recommend that you de-register your Amazon EC2 instances from your load balancer after you stop your instance, and then register the load balancer with your instance after you've restarted. To de-register your instances from load balancer, use DeregisterInstancesFromLoadBalancer action.
LoadBalancerName
The name associated with the LoadBalancer. The name must be unique within the client AWS account.
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WithInstances(array<Instance>[]()[][])
Adds elements to the Instances collection
WithInstances(IEnumerable<(Of <<'(Instance>)>>))
Adds elements to the Instances collection
WithLoadBalancerName(String)
Sets the LoadBalancerName property

Inheritance Hierarchy

System..::..Object
  Amazon.Runtime..::..AmazonWebServiceRequest
    Amazon.ElasticLoadBalancing.Model..::..RegisterInstancesWithLoadBalancerRequest

See Also