tencent cloud

All product documents
APIs
CloneLB
Last updated: 2024-12-19 18:06:47
CloneLB
Last updated: 2024-12-19 18:06:47

API Description

This API is used to clone all configurations of a CLB instance, including its attribute, security group, listener and real server bound. Domain name for API calls: lb.api.qcloud.com
Note:
If there are many CLB configurations, the API tends to time out. Please wait patiently.
The API does not support concurrent calls.
Currently, a classic CLB instance cannot be cloned.
All the cloned CLB instances are pay-as-you-go. The cloned ones will be automatically deleted once the clone fails.
All the cloned CLB instances are named after “cloneFrom-lb-xxx” (a clone from the lb-xxx CLB instance).

Request Parameters

The list below contains only the API request parameters. Common parameters should be added when you call the API. For more information, see Common Request Parameters. The Action field for this API is CloneLB.
Parameter
Required
Type
Description
loadBalancerId
Yes
String
CLB instance ID.
cloneType
Yes
String
Clone type.
all: both the listener and the RS binding relationship will be cloned.
onlyListener: only the listener will be cloned, but the RS binding relationship will not.
zone
No
String
Availability zone in which the CLB instance is cloned. It is the same as that specified in purchase parameters.

Response Parameters

Parameter
Type
Description
cloneLBId
String
ID of new CLB instances from the clone.

Example

Request
https://lb.api.qcloud.com/v2/index.php?Action=CloneLB
&<Common request parameters>
&loadBalancerId=lb-xxx
&cloneType=all
Response
{
"code": 0,
"message": "",
"codeDesc": "Success",
"cloneLBId": "lb-sss"
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon