Modifies the name of an SLB instance.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes SetLoadBalancerName

The name of this action.

Value: SetLoadBalancerName

LoadBalancerId String Yes lb-bp1b6c719dfa08exfuca5

The ID of the SLB instance.

LoadBalancerName String Yes abc1

The name of the SLB instance.

The name must be 2 to 128 characters in length and can contain letters, numbers, Chinese characters, underscores (_), periods (.), and hyphens (-). It must start with a letter or a Chinese character.

RegionId String Yes cn-hangzhou-d

The ID of the region to which the SLB instance belongs.

To query the region ID, refer tothe list of regions and zones or call DescribeRegions.

Response parameters

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

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=SetLoadBalancerName

Response examples

XML format


JSON format


Error codes

See common error codes.