tencent cloud

APIs

ModifyLoadBalancerAttributes

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-09-28 15:09:24

1. API Description

Domain name for API request: alb.intl.tencentcloudapi.com.

The ModifyLoadBalancerAttributes API is an async API. It returns a request ID, but the application CLB instance attribute has not been modified yet. The modifying task is still in progress in the system backend. You can call DescribeLoadBalancerDetail to query the modification status of the application CLB instance attribute.
-When the application CLB instance attribute is in the Configuring status, it means the application CLB instance attribute is being modified.

  • When the application CLB instance attribute is in the Active status, it means the application CLB instance attribute was modified successfully.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: ModifyLoadBalancerAttributes.
Version Yes String Common Params. The value used for this API: 2025-10-30.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
LoadBalancerId Yes String CLB instance ID. The format is alb- followed by 8 alphanumeric characters.
ClientToken No String Client Token, used to ensure request idempotency.

Generate a parameter value from your client to underwrite the uniqueness of the value for different requests. ClientToken supports only ASCII characters.

> If not specified, the system automatically uses the RequestId of the API request as the ClientToken ID. The RequestId of each API request may not be the same.
DeletionProtection No DeletionProtectionConfig Deletion protection configuration
DryRun No Boolean Whether to only precheck this request. Parameter Value:

- true: Send a check request without modifying the properties of the application CLB instance. Check items include whether required parameters are filled in, request format, and service limits. If the check fails, return the corresponding error. If the check passes, return the error code DryRunOperation.

- false (default value): Send a normal request, return HTTP_2xx status code after check, and directly perform the operation.
LoadBalancerName No String Application CLB instance name. It contains 1-80 characters, including Chinese characters, letters, digits, dashes (-), forward slashes (/), half-width periods (.), and underscores (_).

3. Output Parameters

Parameter Name Type Description
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Modifying the Instance Name

Input Example

POST / HTTP/1.1
Host: alb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyLoadBalancerAttributes
<Common request parameters>

{
    "LoadBalancerId": "alb-f8q2xk9m",
    "LoadBalancerName": "test-name"
}

Output Example

{
    "Response": {
        "RequestId": "ed530899-814d-4b1f-90f6-832a89458728"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

There is no error code related to the API business logic. For other error codes, please see Common Error Codes.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック