AWS SDK for .NET Documentation
DeregisterInstancesFromLoadBalancerRequest Class
AmazonAmazon.ElasticLoadBalancing.ModelDeregisterInstancesFromLoadBalancerRequest Did this page help you?   Yes   No    Tell us about it...
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.

Declaration Syntax
C#
public class DeregisterInstancesFromLoadBalancerRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
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 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

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DeregisterInstancesFromLoadBalancerRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)