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:
lb-xxx
CLB instance).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. |
zone | No | String | Availability zone in which the CLB instance is cloned. It is the same as that specified in purchase parameters. |
Parameter | Type | Description |
---|---|---|
cloneLBId | String | ID of new CLB instances from the clone. |
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"
}
本页内容是否解决了您的问题?