edit-icon download-icon

StartLoadBalancerListener

Last Updated: Mar 06, 2018

Description

Start a listener. Note the following when calling the API:

  • The API can be called only when the instance status is stopped.

  • If the SLB instance status that the listener to start belongs to is locked, the API cannot be called.

Request parameter

Name Type Required Description
Action String Yes

The action to perform. Valid value:

StartLoadBalancerListener

RegionId String Yes The ID of the region where the SLB instance is located.
LoadBalancerId String Yes The ID of the SLB instance.
ListenerPort Integer Yes

The front-end port of the listener that is used to receive incoming traffic and distribute the traffic to the backend servers.

Valid value: [1, 65535]

Response parameter

Name Type Description
RequestId String The ID of the request.

Example

Request example

  1. https://slb.aliyuncs.com/?Action= StartLoadBalancerListener
  2. &LoadBalancerId=139a00604ad-cn-east-hangzhou-01
  3. &ListenerPort=80
  4. &<CommonParameters>

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. {
    2. "RequestId":" CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
    3. }
Thank you! We've received your feedback.