Last updated: 2021-07-09 19:08:20

1. API Description

Domain name for API request:

This API (CreateProxyGroup) is used to create a connection group.

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 parameter. The value used for this API: CreateProxyGroup.
Version Yes String Common parameter. The value used for this API: 2018-05-29.
Region No String Common parameter. This parameter is not required for this API.
ProjectId Yes Integer Project ID of connection group
GroupName Yes String Alias of connection group
RealServerRegion Yes String Origin server region; Reference API: DescribeDestRegions; It returnes the RegionId of the parameter RegionDetail.
TagSet.N No Array of TagPair Tag list
AccessRegionSet.N No Array of AccessConfiguration List of acceleration regions, including their names, bandwidth, and concurrence configuration.
IPAddressVersion No String IP version. Valid values: IPv4 (default), IPv6.

3. Output Parameters

Parameter Name Type Description
GroupId String Connection Group ID
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Creating a connection group

Input Example
&<Common request parameters>

Output Example

  "Response": {
    "RequestId": "19a021f8-dff3-4890-8e7a-ed5054e22e49",
    "GroupId": "lg-negxun2x"

5. Developer Resources


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 Operation failed.
FailedOperation.LimitNumofProxiesInGroup The number of connections in the connection group exceeded the limit.
InternalError Internal error.
InvalidParameter Incorrect parameter.
InvalidParameterValue Incorrect parameter value.
InvalidParameterValue.InvalidTags The tag is not found or you have no access permission to it.
MissingParameter Missing parameter.
ResourceNotFound The resource does not exist.
ResourceUnavailable The resource is unavailable.
UnauthorizedOperation Unauthorized operation.
UnknownParameter Unknown parameter.