Domain name for API request: ga2.intl.tencentcloudapi.com.
Modify a global acceleration instance
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: ModifyGlobalAccelerator. |
| Version | Yes | String | Common Params. The value used for this API: 2025-01-15. |
| Region | No | String | Common Params. This parameter is not required. |
| GlobalAcceleratorId | Yes | String | Global acceleration instance ID. |
| Name | No | String | Name. Parameter format: starting with a letter or Chinese characters, 2–128 characters in length, supporting letters, digits, Chinese characters, . - _ |
| Description | No | String | Description. Parameter format: should not exceed 100 characters. |
| CrossBorderType | No | String | Cross-border type. Enumeration values:
|
| CrossBorderPromiseFlag | No | Boolean | Indicates whether to complete the cross-border service commitment. When CrossBorderType is passed in, this field must be set to true, indicating the cross-border commitment is completed. |
| Parameter Name | Type | Description |
|---|---|---|
| TaskId | String | Asynchronous task ID. |
| 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. |
POST / HTTP/1.1
Host: ga2.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyGlobalAccelerator
<Common request parameters>
{
"GlobalAcceleratorId": "ga-agq60v0o",
"Name": "modify",
"Description": "modify"
}
{
"Response": {
"RequestId": "5c3584f7-e7d4-447f-9087-1768365513f8",
"TaskId": "49ca6da7-321b-40a6-ad2a-28f5e5c4081f"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InvalidParameter.InputMustExistOne | The in-progress request must have one of the %(value)s input parameters. |
| UnsupportedOperation.AlreadyEnableCrossBorder | Cross-border is enabled. Repeated operation is not supported. |
| UnsupportedOperation.CrossBorderPromiseNotSigned | The cross-border commitment letter is not signed. The current operation is not supported. |
| UnsupportedOperation.EnableCrossBorder | Cross-border type settings are not supported for the current user. |
| UnsupportedOperation.InstanceStateNotAllowedOperate | Current instance status does not allow this operation. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan