Amazon.ElasticLoadBalancing.AmazonElasticLoadBalancingClient.DetachLoadBalancerFromSubnets C# (CSharp) Метод

DetachLoadBalancerFromSubnets() публичный Метод

Removes the specified subnets from the set of configured subnets for the load balancer.

After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. ///
public DetachLoadBalancerFromSubnets ( DetachLoadBalancerFromSubnetsRequest request ) : DetachLoadBalancerFromSubnetsResponse
request Amazon.ElasticLoadBalancing.Model.DetachLoadBalancerFromSubnetsRequest Container for the necessary parameters to execute the DetachLoadBalancerFromSubnets service method.
Результат Amazon.ElasticLoadBalancing.Model.DetachLoadBalancerFromSubnetsResponse
        public DetachLoadBalancerFromSubnetsResponse DetachLoadBalancerFromSubnets(DetachLoadBalancerFromSubnetsRequest request)
        {
            var marshaller = new DetachLoadBalancerFromSubnetsRequestMarshaller();
            var unmarshaller = DetachLoadBalancerFromSubnetsResponseUnmarshaller.Instance;

            return Invoke<DetachLoadBalancerFromSubnetsRequest,DetachLoadBalancerFromSubnetsResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingClient