Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.SetSubnets C# (CSharp) Method

SetSubnets() public method

Enables the Availability Zone for the specified subnets for the specified load balancer. The specified subnets replace the previously enabled subnets.
/// The requested configuration is not valid. /// /// The specified subnet is out of available addresses. /// /// The specified load balancer does not exist. /// /// The specified subnet does not exist. ///
public SetSubnets ( SetSubnetsRequest request ) : SetSubnetsResponse
request Amazon.ElasticLoadBalancingV2.Model.SetSubnetsRequest Container for the necessary parameters to execute the SetSubnets service method.
return Amazon.ElasticLoadBalancingV2.Model.SetSubnetsResponse
        public SetSubnetsResponse SetSubnets(SetSubnetsRequest request)
        {
            var marshaller = new SetSubnetsRequestMarshaller();
            var unmarshaller = SetSubnetsResponseUnmarshaller.Instance;

            return Invoke<SetSubnetsRequest,SetSubnetsResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingV2Client