DeleteLoadBalancerListeners
Description
Deletes the listener of the specified port number from the load balancer.
This API cannot be used to set the number of listeners to 0.
Request parameters
Refer to "Common Parameters" for details on standard parameter information used by all actions.
- LoadBalancerName
Name of the load balancer.
- Type: String
- Required: Yes
- LoadBalancerPorts.member.N
Front-end port number of the listener for the load balancer that is to be deleted.
- Type: Integer list
- Required: Yes
Response
The following status code is returned.
- Normal response code
This operation was accepted normally.
- HTTP Status Code: 200
Response Elements
None.
Errors
Refer to "Common Errors" for details on error information common to all operations.
- AccessPointNotFound
The specified load balancer could not be found
- HTTP Status Code: 400
- InvalidConfigurationRequest
Requested configuration change is invalid.
- HTTP Status Code: 409
Examples
Sample Request
The example below delete the listener of port number 22 for the load balancer named MyLB01.
https://loadbalancing.(regionName).cloud.global.fujitsu.com/?LoadBalancerName=MyLB01
&Version=2014-11-01
&Action=DeleteLoadBalancerListeners
&LoadBalancerPorts.member.1=22
Sample response (XML)
<DeleteLoadBalancerListenersResponse xmlns=" http://docs.cloudcommunity.global.fujitsu.com/loadbalancing/api/v1.0">
<DeleteLoadBalancerListenersResult/>
<ResponseMetadata>
<RequestId>f6dd8353-eb6b-6b4fd32e4f05</RequestId>
</ResponseMetadata>
</DeleteLoadBalancerListenersResponse>
Sample response (JSON)
{
"DeleteLoadBalancerListenersResponse": {
"DeleteLoadBalancerListenersResult": {
},
"ResponseMetadata": {
"RequestId": "f6dd8353-eb6b-6b4fd32e4f05"
}
}
}