Remove load balancer service
Description
Remove an entire load balancer service, including all virtual IP addresses, from and application delivery controller based load balancer. The ‘’name’’ property the and ‘’name’’ property within the ‘‘vip’’ property of the service parameter must be provided. Changes are reflected immediately in the application delivery controller.
Parameters
Required Headers
Optional Headers
Return Values
Error Handling
- Throw the exception “The vip name must be specified for this service in order to remove it from the load balancer.” is the ‘’name’’ property within the ‘‘vip’’ property in the service parameter is not populated.
- Throw the exception “‘’name’’” if the API is unable to locate the virtual IP address with the name specified in the ‘’name’’ property within the ‘‘vip’’ property in the service parameter.
- Throw the exception “‘’name’’” if the API is unable to locate the load balancer service with the name specified in the ‘’name’’ property in the service parameter.
Associated Methods
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Network_LoadBalancer_Service]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Application_Delivery_Controller/{SoftLayer_Network_Application_Delivery_ControllerID}/deleteLiveLoadBalancerService'