Exemplo n.º 1
0
        public void ElasticLoadBalancingEnableAvailabilityZonesForLoadBalancer()
        {
            #region elb-enable-availability-zones-for-load-balancer-1

            var client   = new AmazonElasticLoadBalancingClient();
            var response = client.EnableAvailabilityZonesForLoadBalancer(new EnableAvailabilityZonesForLoadBalancerRequest
            {
                AvailabilityZones = new List <string> {
                    "us-west-2b"
                },
                LoadBalancerName = "my-load-balancer"
            });

            List <string> availabilityZones = response.AvailabilityZones;

            #endregion
        }