SetLoadBalancerStatus

Last Updated: Aug 24, 2017

Description

Configure the LoadBalancer status.

  • For the Server Load Balancer instance just created, its status is active by default.
  • LoadBalancerStatus is active, indicating to distribute all configurations of Listeners in the Server Load Balancer instance to the system to make it work.
  • LoadBalancerStatus is inactive, indicating to inactive all configurations of Listeners in the Server Load Balancer instance to make it work.

Request parameter

Name Type Required Description
Action String Yes Name of the operating interface, which is specified in the system.

Value:SetLoadBalancerStatus.

RegionId String Yes The ID of the region.
LoadBalancerId String Yes The unique ID of a Server Load Balancer instance.
LoadBalancerStatus String Yes Status of a Server Load Balancer instance

Value:inactive | active.

Return parameter

They are all common return parameters. See Public Parameters for details.

Example

Request example

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

Return example

  • XML format

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