Container for the parameters to the DeregisterInstancesFromLoadBalancer operation.
Deregisters instances from the load balancer. Once the instance is deregistered, it will stop receiving traffic from the load balancer.
In order to successfully call this API, the same account credentials as those used to create the load balancer must be provided.
For more information, see De-register and Register Amazon EC2 Instances in the Elastic Load Balancing Developer Guide .
You can use DescribeLoadBalancers to verify if the instance is deregistered from the load balancer.

C# |
public class DeregisterInstancesFromLoadBalancerRequest : AmazonWebServiceRequest

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | DeregisterInstancesFromLoadBalancerRequest()()()() |
Default constructor for a new DeregisterInstancesFromLoadBalancerRequest object. Callers should use the
properties or fluent setter (With...) methods to initialize this object after creating it.
|
![]() | DeregisterInstancesFromLoadBalancerRequest(String, List<(Of <<'(Instance>)>>)) |
Constructs a new DeregisterInstancesFromLoadBalancerRequest 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 EC2 instance IDs consisting of all instances to be deregistered.
|
![]() | LoadBalancerName |
The name associated with the load balancer.
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithInstances(array<Instance>[]()[][]) | Obsolete.
Adds elements to the Instances collection
|
![]() | WithInstances(IEnumerable<(Of <<'(Instance>)>>)) | Obsolete.
Adds elements to the Instances collection
|
![]() | WithLoadBalancerName(String) | Obsolete.
Sets the LoadBalancerName property
|

Object | ||
![]() | AmazonWebServiceRequest | |
![]() | DeregisterInstancesFromLoadBalancerRequest |