Domain name for API request: csip.intl.tencentcloudapi.com.
Modify the auto-scaling configuration (multi-module and expandable; only the CWP module is available in the current period).
Auto-scaling is an external user-oriented concept equivalent to automatic purchase (auto_repurchase) at the underlying layer: when an account has new assets, the desired authorization is automatically purchased.
Supplemental description:
A maximum of 20 requests can be initiated per second for this API.
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: ModifyPayConfig. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| HostConfig | No | HostAutoScaleConfig | Auto-scaling configuration for the CWP module Supplemental description: if not passed, host configuration will not be modified. At least this module is required for the current period. Named module fields like ContainerConfig / AIAgentConfig can be added for subsequent scalability. |
| 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. |
Billing configuration pop-up window enables host auto-scaling and choose flagship edition
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyPayConfig
<Common request parameters>
{
"HostConfig": {
"Switch": "ON",
"ProtectType": "ULTIMATE"
}
}
{
"Response": {
"RequestId": "5cd96106-1d72-466c-9bcf-9876543210ab"
}
}
Billing configuration pop-up window disables host auto-scaling
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyPayConfig
<Common request parameters>
{
"HostConfig": {
"Switch": "OFF"
}
}
{
"Response": {
"RequestId": "d479fbf3-9840-4dd3-c5f9-9f5395ba4c52"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback