AWS SDK for .NET Documentation
DetachLoadBalancerFromSubnetsRequest Class
AmazonAmazon.ElasticLoadBalancing.ModelDetachLoadBalancerFromSubnetsRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the DetachLoadBalancerFromSubnets operation.

Removes subnets from the set of configured subnets in the Amazon Virtual Private Cloud (Amazon VPC) for the load balancer.

After a subnet is removed all of the EC2 instances registered with the load balancer that are in the removed subnet will go into the OutOfService state. When a subnet is removed, the load balancer will balance the traffic among the remaining routable subnets for the load balancer.

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



IconMemberDescription
DetachLoadBalancerFromSubnetsRequest()()()()
Initializes a new instance of the DetachLoadBalancerFromSubnetsRequest class

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.)
LoadBalancerName
The name associated with the load balancer to be detached.

Subnets
A list of subnet IDs to remove from the set of configured subnets for the load balancer.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithLoadBalancerName(String) Obsolete.
Sets the LoadBalancerName property

WithSubnets(array<String>[]()[][]) Obsolete.
Adds elements to the Subnets collection

WithSubnets(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the Subnets collection

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 DetachLoadBalancerFromSubnetsRequest
See Also

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