edit-icon download-icon

StopLoadBalancerListener

Last Updated: Nov 07, 2017

Description

Stop the specified Listener.

  • After the interface is successfully called, the Listener will change to the stopping status.
  • The interface can only be called when the Listener is in the running status.
  • When the status of the LoadBalancer to which the Listener belongs is “locked”, it will fail to call the interface.
  • See state transition diagram of the Server Load Balancer Listener for the state transition diagram of Listener.

Request parameter

Name Type Required Description
Action String Yes Name of the operating interface, which is specified in the system. Value: StopLoadBalancerListener.
RegionId String Yes The ID of the region.
LoadBalancerId String Yes The unique ID of a Server Load Balancer instance.
ListenerPort Integer Yes Port used by the Server Load Balancer instance frontend. Value: 1-65535.

Return parameter

They are all common return parameters. For more information, see Public Parameters.

Example

Request example

  1. https://slb.aliyuncs.com/
  2. &Action=StopLoadBalancerListener
  3. &LoadBalancerId=139a00604ad-cn-east-hangzhou-01
  4. &ListenerPort=80
  5. &<common request parameter>

Return example

  • XML format
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <SetLoadBanancerListenerStatusResponse>
    3. <RequestId>CEF72CEB-54B6-4AE8-B225-F876FF7BA984</RequestId>
    4. </SetLoadBanancerListenerStatusResponse>
  • JSON format
    1. {"RequestId":" CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
    2. }
Thank you! We've received your feedback.