tencent cloud

CreateGlobalAccelerator

下载
聚焦模式
字号
最后更新时间: 2026-09-14 10:35:55

1. API Description

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

This API is used to create a global acceleration instance.

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: CreateGlobalAccelerator.
Version Yes String Common Params. The value used for this API: 2025-01-15.
Region No String Common Params. This parameter is not required.
Name Yes String

Name.

Parameter format: starting with a letter or Chinese characters, 2–128 characters in length, supporting letters, digits, Chinese characters, . - _

InstanceChargeType No String

Billing mode. PREPAID: prepaid mode, i.e., Monthly Subscription. POSTPAID: postpaid, i.e., pay-as-you-go. Default: POSTPAID. Currently, only pay-as-you-go is supported.

Description No String

Description.

Parameter format: should not exceed 100 characters.

CrossBorderType No String

Cross-border type; HighQuality: dedicated BGP-IP cross-border; Unicom: China Unicom Direct Connect cross-border.

CrossBorderPromiseFlag No Boolean

This Flag represents signing the cross-border service commitment. When using cross-border service, this field is required. True: represents signed.

Tags.N No Array of Tag

Tag information.

3. Output Parameters

Parameter Name Type Description
TaskId String

Task ID.

GlobalAcceleratorId String

Global acceleration instance 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.

4. Example

Example1 Creating a Global Acceleration Instance

Input Example

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

{
    "Name": "garendu-test-05",
    "InstanceChargeType": "POSTPAID",
    "Description": "garendu-test-05"
}

Output Example

{
    "Response": {
        "GlobalAcceleratorId": "ga-fkp17vr8",
        "RequestId": "02eb3789-7d73-4b09-94de-c2750cfa1b63",
        "TaskId": "dfcfbd3b-fe76-434b-8ce3-d6c11a5d4226"
    }
}

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

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.CreateGlobalAcceleratorFailed Failed to create a global acceleration instance. Retry your request. If the problem persists, contact Tencent Cloud customer service.
InvalidParameterValue Parameter value error.
InvalidParameterValue.InstanceName Instance name must start with an uppercase/lowercase character or Chinese character, and support digits, periods, hyphens, and underscores.
InvalidParameterValue.TooLong Parameter value %(value)s length cannot be greater than %(max_size)s.
MissingParameter Parameters are missing.
UnsupportedOperation.AccountFrozen Account frozen. The current operation is not supported.
UnsupportedOperation.BillingFailed Sorry, your operation cannot be completed temporarily. Please retry later or contact customer service.
UnsupportedOperation.CrossBorderPromiseNotSigned The cross-border commitment letter is not signed. The current operation is not supported.
UnsupportedOperation.CurrentAccountNotAllowed The current account does not support this operation.
UnsupportedOperation.EnableCrossBorder Cross-border type settings are not supported for the current user.
UnsupportedOperation.InsufficientFunds The account balance is insufficient.
UnsupportedOperation.UnableCrossBorder Currently, cross-border acceleration regions or terminal node groups cannot be created for global acceleration instances.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈