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

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

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.

/// The specified load balancer does not exist. /// /// The requested configuration change is not valid. /// /// The specified VPC has no associated Internet gateway. /// /// One or more of the specified subnets do not exist. ///
public AttachLoadBalancerToSubnets ( AttachLoadBalancerToSubnetsRequest request ) : AttachLoadBalancerToSubnetsResponse
request Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsRequest Container for the necessary parameters to execute the AttachLoadBalancerToSubnets service method.
Результат Amazon.ElasticLoadBalancing.Model.AttachLoadBalancerToSubnetsResponse
        public AttachLoadBalancerToSubnetsResponse AttachLoadBalancerToSubnets(AttachLoadBalancerToSubnetsRequest request)
        {
            var marshaller = new AttachLoadBalancerToSubnetsRequestMarshaller();
            var unmarshaller = AttachLoadBalancerToSubnetsResponseUnmarshaller.Instance;

            return Invoke<AttachLoadBalancerToSubnetsRequest,AttachLoadBalancerToSubnetsResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingClient