Beispiel #1
0
        public void ElasticLoadBalancingDisableAvailabilityZonesForLoadBalancer()
        {
            #region elb-disable-availability-zones-for-load-balancer-1

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

            List <string> availabilityZones = response.AvailabilityZones;

            #endregion
        }