tencent cloud

APIs

DeployConfigGroupVersion

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-11-25 16:57:40

1. API Description

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

In version management mode, this API is used for version release. You can release a version to the testing environment or production environment by EnvId. The version management feature is in beta test and currently only available to the allowlist.

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: DeployConfigGroupVersion.
Version Yes String Common Params. The value used for this API: 2022-09-01.
Region No String Common Params. This parameter is not required.
ZoneId Yes String Zone ID.
EnvId Yes String Environment ID. Please enter the environment ID to which the version needs to be released.
ConfigGroupVersionInfos.N Yes Array of ConfigGroupVersionInfo Version information to release. You can update versions of multiple different configuration groups at the same time. Each configuration group supports updating only one version at a time.
Description Yes String Change description. Used to describe the content and reason for this change. Supports up to 100 characters.

3. Output Parameters

Parameter Name Type Description
RecordId String Release record 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 Create Version Deployment Task

Release the version with version ID ver-2ogs1as803hm under site ID zone-32qwgrnvbisw to the environment with environment ID env-28jw51ksm9bw.

Input Example

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

{
    "ZoneId": "zone-32qwgrnvbisw",
    "EnvId": "env-28jw51ksm9bw",
    "ConfigGroupVersionInfos": [
        {
            "VersionId": "ver-2ogs1as803hm"
        }
    ],
    "Description": "Add IPv6 and AccelerationMainland configuration"
}

Output Example

{
    "Response": {
        "RequestId": "5e0a2b4e-df6d-4d2a-as19-1706cbf8a902",
        "RecordId": "dr-2nvadq3sa41u"
    }
}

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.ConfigConditionSyntaxError Syntax error in the Condition expression in the configuration file.
FailedOperation.ConfigConditionUnknownTarget Unrecognized Condition match type.
FailedOperation.ConfigConditionValueEmptyError The Condition expression value in the configuration file cannot be empty.
FailedOperation.ConfigFieldTypeError The config file contains a field with a type mismatch.
FailedOperation.ConfigFormatError Syntax error in the configuration file.
FailedOperation.ConfigMalformedContent Configuration file content format error. Unable to resolve.
FailedOperation.ConfigParamValidateErrors Configuration file parameter validation error.
FailedOperation.ConfigUnknownField Unrecognized field in the configuration file: spelling error or the level where the field is located is incorrect.
FailedOperation.ConfigUnsupportedFormatVersion Configuration file version not supported currently.
InvalidParameter.ZoneNotFound The site does not exist.
OperationDenied.ConfigLocked The configuration has been locked. Unlock it and retry.
OperationDenied.DomainStatusUnstable A domain name on the site is not in a steady state. Steady states include "online" and "offline".
OperationDenied.EnvNotReady Site environment not ready.
OperationDenied.NotInVersionControlWhiteList The user is not in the allowlist for version management.
OperationDenied.VersionControlLocked Version management mode is applied. Operation not allowed.
OperationDenied.WorkModeNotInVersionControl The site working mode is NOT_IN version management mode.
ResourceNotFound The resource does not exist.
ResourceNotFound.VersionNotFound The configuration group version does not exist. Check and retry.

ヘルプとサポート

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

フィードバック