Modifies the name of a Classic Load Balancer (CLB) instance.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SetLoadBalancerName

The operation that you want to perform.

Set the value to SetLoadBalancerName.

LoadBalancerId String Yes lb-bp1b6c719dfa08e******

The ID of the CLB instance.

LoadBalancerName String Yes abc1

The new name of the CLB instance.

The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-).

RegionId String Yes cn-hangzhou

The ID of the region where the CLB instance is deployed.

You can call the DescribeRegions operation to query the most recent region list.

Response parameters

Parameter Type Example Description
RequestId String CEF72CEB-54B6-4AE8-B225-F876FF7BA984

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"

Error codes

For a list of error codes, visit the API Error Center.