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.
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 |
| Member | Description | |||
|---|---|---|---|---|
| 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) | (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.
| |||
| LoadBalancerName |
The name associated with the LoadBalancer. The name must be unique within the client AWS account.
| |||
| ToString()()()() | (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
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.ElasticLoadBalancing.Model..::..RegisterInstancesWithLoadBalancerRequest