tencent cloud

文档反馈

最后更新时间: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"
    }
    
    联系我们

    联系我们,为您的业务提供专属服务。

    技术支持

    如果你想寻求进一步的帮助,通过工单与我们进行联络。我们提供7x24的工单服务。

    7x24 电话支持