tencentcloud-sdk-nodejs 4.0.737 → 4.0.739
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +502 -0
- package/SERVICE_CHANGELOG.md +791 -191
- package/package.json +1 -1
- package/products.md +28 -29
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +12 -8
- package/src/services/cdb/v20170320/cdb_models.ts +5 -1
- package/src/services/cloudstudio/index.ts +0 -2
- package/src/services/cvm/v20170312/cvm_client.ts +6 -6
- package/src/services/cvm/v20170312/cvm_models.ts +23 -23
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +6 -6
- package/src/services/dsgc/v20190723/dsgc_models.ts +38 -38
- package/src/services/ess/v20201111/ess_models.ts +8 -7
- package/src/services/essbasic/v20210526/essbasic_models.ts +7 -7
- package/src/services/hai/v20230812/hai_models.ts +4 -4
- package/src/services/index.ts +0 -1
- package/src/services/ocr/v20181119/ocr_client.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +68 -10
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +539 -291
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +4781 -3669
- package/src/services/ssl/v20191205/ssl_client.ts +1 -1
- package/src/services/tbaas/v20180416/tbaas_client.ts +154 -105
- package/src/services/tbaas/v20180416/tbaas_models.ts +429 -173
- package/src/services/tcss/v20201101/tcss_client.ts +2 -1
- package/src/services/tcss/v20201101/tcss_models.ts +235 -83
- package/src/services/tdmq/v20200217/tdmq_models.ts +4 -4
- package/src/services/tke/v20180525/tke_client.ts +38 -1
- package/src/services/tke/v20180525/tke_models.ts +201 -10
- package/src/services/trocket/v20230308/trocket_client.ts +141 -115
- package/src/services/trocket/v20230308/trocket_models.ts +149 -8
- package/src/services/tse/v20201207/tse_models.ts +41 -31
- package/src/services/vrs/v20200824/vrs_models.ts +4 -0
- package/src/services/waf/v20180125/waf_client.ts +1 -1
- package/src/services/waf/v20180125/waf_models.ts +103 -29
- package/src/services/wedata/v20210820/wedata_client.ts +128 -42
- package/src/services/wedata/v20210820/wedata_models.ts +12159 -10128
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +12 -8
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -1
- package/tencentcloud/services/cloudstudio/index.d.ts +0 -4
- package/tencentcloud/services/cloudstudio/index.js +0 -2
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +6 -6
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -6
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +23 -23
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +6 -6
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +38 -38
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +8 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +7 -7
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +4 -4
- package/tencentcloud/services/index.d.ts +0 -1
- package/tencentcloud/services/index.js +0 -2
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +67 -10
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +97 -17
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +144 -24
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +4674 -3610
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +1 -1
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.d.ts +51 -35
- package/tencentcloud/services/tbaas/v20180416/tbaas_client.js +75 -51
- package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +412 -165
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +234 -83
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +4 -4
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +194 -10
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +55 -47
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +78 -66
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +143 -8
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +41 -31
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +103 -29
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +28 -8
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +40 -10
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +11677 -9682
- package/test/sqlserver.v20180328.test.js +216 -16
- package/test/tbaas.v20180416.test.js +74 -34
- package/test/tke.v20180525.test.js +30 -0
- package/test/trocket.v20230308.test.js +58 -38
- package/test/wedata.v20210820.test.js +56 -6
- package/src/services/casb/index.ts +0 -5
- package/src/services/casb/v20200507/casb_client.ts +0 -51
- package/src/services/casb/v20200507/casb_models.ts +0 -70
- package/src/services/casb/v20200507/index.ts +0 -6
- package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +0 -312
- package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +0 -1335
- package/src/services/cloudstudio/v20210524/index.ts +0 -6
- package/tencentcloud/services/casb/index.d.ts +0 -6
- package/tencentcloud/services/casb/index.js +0 -7
- package/tencentcloud/services/casb/v20200507/casb_client.d.ts +0 -21
- package/tencentcloud/services/casb/v20200507/casb_client.js +0 -44
- package/tencentcloud/services/casb/v20200507/casb_models.d.ts +0 -51
- package/tencentcloud/services/casb/v20200507/casb_models.js +0 -18
- package/tencentcloud/services/casb/v20200507/index.d.ts +0 -6
- package/tencentcloud/services/casb/v20200507/index.js +0 -9
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +0 -99
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +0 -164
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +0 -1259
- package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.js +0 -18
- package/tencentcloud/services/cloudstudio/v20210524/index.d.ts +0 -6
- package/tencentcloud/services/cloudstudio/v20210524/index.js +0 -9
- package/test/casb.v20200507.test.js +0 -31
- package/test/cloudstudio.v20210524.test.js +0 -241
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
-
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CopyCryptoColumnPolicyRequest, CopyCryptoColumnPolicyResponse } from "./casb_models";
|
|
4
|
-
/**
|
|
5
|
-
* casb client
|
|
6
|
-
* @class
|
|
7
|
-
*/
|
|
8
|
-
export declare class Client extends AbstractClient {
|
|
9
|
-
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 同region下 根据用户输入的CasbId,MetaDataId 复制策略到DstCasbId,MetaDataId中。
|
|
12
|
-
场景1:
|
|
13
|
-
相同CasbId,不同MetadataId 下策略复制
|
|
14
|
-
场景2:
|
|
15
|
-
不同Casbid,不同MetaDataId 下策略复制
|
|
16
|
-
场景3:
|
|
17
|
-
相同CasbId,相同MetaDataId 且 DatabaseName不同 策略复制
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
CopyCryptoColumnPolicy(req: CopyCryptoColumnPolicyRequest, cb?: (error: string, rep: CopyCryptoColumnPolicyResponse) => void): Promise<CopyCryptoColumnPolicyResponse>;
|
|
21
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Client = void 0;
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
-
*
|
|
8
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
-
* you may not use this file except in compliance with the License.
|
|
10
|
-
* You may obtain a copy of the License at
|
|
11
|
-
*
|
|
12
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
-
*
|
|
14
|
-
* Unless required by applicable law or agreed to in writing,
|
|
15
|
-
* software distributed under the License is distributed on an
|
|
16
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
-
* KIND, either express or implied. See the License for the
|
|
18
|
-
* specific language governing permissions and limitations
|
|
19
|
-
* under the License.
|
|
20
|
-
*/
|
|
21
|
-
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
-
/**
|
|
23
|
-
* casb client
|
|
24
|
-
* @class
|
|
25
|
-
*/
|
|
26
|
-
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
-
constructor(clientConfig) {
|
|
28
|
-
super("casb.tencentcloudapi.com", "2020-05-07", clientConfig);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* 同region下 根据用户输入的CasbId,MetaDataId 复制策略到DstCasbId,MetaDataId中。
|
|
32
|
-
场景1:
|
|
33
|
-
相同CasbId,不同MetadataId 下策略复制
|
|
34
|
-
场景2:
|
|
35
|
-
不同Casbid,不同MetaDataId 下策略复制
|
|
36
|
-
场景3:
|
|
37
|
-
相同CasbId,相同MetaDataId 且 DatabaseName不同 策略复制
|
|
38
|
-
|
|
39
|
-
*/
|
|
40
|
-
async CopyCryptoColumnPolicy(req, cb) {
|
|
41
|
-
return this.request("CopyCryptoColumnPolicy", req, cb);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
exports.Client = Client;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CopyCryptoColumnPolicy请求参数结构体
|
|
3
|
-
*/
|
|
4
|
-
export interface CopyCryptoColumnPolicyRequest {
|
|
5
|
-
/**
|
|
6
|
-
* 实例Id
|
|
7
|
-
*/
|
|
8
|
-
CasbId: string;
|
|
9
|
-
/**
|
|
10
|
-
* 元数据id
|
|
11
|
-
*/
|
|
12
|
-
MetaDataId: string;
|
|
13
|
-
/**
|
|
14
|
-
* 目标实例Id 如果和实例Id相同则为同CasbId下的策略复制
|
|
15
|
-
*/
|
|
16
|
-
DstCasbId: string;
|
|
17
|
-
/**
|
|
18
|
-
* 目标实例Id 如果和[元数据id]相同则为同元数据下的策略复制
|
|
19
|
-
*/
|
|
20
|
-
DstMetaDataId: string;
|
|
21
|
-
/**
|
|
22
|
-
* 筛选来源数据库的表
|
|
23
|
-
*/
|
|
24
|
-
SrcTableFilter?: Array<CryptoCopyColumnPolicyTableFilter>;
|
|
25
|
-
/**
|
|
26
|
-
* 复制同元数据下的策略,需要填写目标数据库名
|
|
27
|
-
*/
|
|
28
|
-
DstDatabaseName?: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* 策略迁移表信息筛选
|
|
32
|
-
*/
|
|
33
|
-
export interface CryptoCopyColumnPolicyTableFilter {
|
|
34
|
-
/**
|
|
35
|
-
* 数据库名称
|
|
36
|
-
*/
|
|
37
|
-
DatabaseName: string;
|
|
38
|
-
/**
|
|
39
|
-
* 表名称
|
|
40
|
-
*/
|
|
41
|
-
TableNameSet?: Array<string>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* CopyCryptoColumnPolicy返回参数结构体
|
|
45
|
-
*/
|
|
46
|
-
export interface CopyCryptoColumnPolicyResponse {
|
|
47
|
-
/**
|
|
48
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
49
|
-
*/
|
|
50
|
-
RequestId?: string;
|
|
51
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.v20200507 = void 0;
|
|
4
|
-
const Models = require("./casb_models");
|
|
5
|
-
const casb_client_1 = require("./casb_client");
|
|
6
|
-
exports.v20200507 = {
|
|
7
|
-
Client: casb_client_1.Client,
|
|
8
|
-
Models: Models
|
|
9
|
-
};
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
-
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RecoverWorkspaceResponse, DescribeWorkspaceIsReadyRequest, DescribeWorkspaceStatusRequest, CreateCustomizeTemplatesRequest, RecoverWorkspaceRequest, DescribeCustomizeTemplatesByIdRequest, CreateWorkspaceByVersionControlRequest, ModifyCustomizeTemplateVersionControlRequest, CreateCustomizeTemplatesResponse, RunWorkspaceRequest, DescribeWorkspaceStatusResponse, CreateWorkspaceByAgentRequest, DeleteCustomizeTemplatesByIdRequest, StopWorkspaceRequest, DescribeWorkspaceEnvListResponse, DescribeWorkspaceStatusListResponse, ModifyCustomizeTemplatesFullByIdRequest, ModifyCustomizeTemplateVersionControlResponse, DescribeWorkspaceEnvListRequest, ModifyWorkspaceAttributesResponse, DescribeCustomizeTemplatesPresetsRequest, StopWorkspaceResponse, DescribeWorkspaceNameExistRequest, DescribeWorkspaceStatusListRequest, RemoveWorkspaceRequest, DescribeCustomizeTemplatesRequest, RunWorkspaceResponse, DescribeCustomizeTemplatesByIdResponse, DescribeWorkspaceNameExistResponse, CreateWorkspaceByTemplateResponse, CreateWorkspaceByAgentResponse, RemoveWorkspaceResponse, CreateWorkspaceTemporaryTokenRequest, ModifyCustomizeTemplatesFullByIdResponse, DescribeCustomizeTemplatesResponse, CreateWorkspaceByVersionControlResponse, ModifyCustomizeTemplatesPartByIdRequest, DescribeWorkspaceIsReadyResponse, DeleteCustomizeTemplatesByIdResponse, CreateWorkspaceTemporaryTokenResponse, DescribeCustomizeTemplatesPresetsResponse, CreateWorkspaceByTemplateRequest, ModifyCustomizeTemplatesPartByIdResponse, ModifyWorkspaceAttributesRequest } from "./cloudstudio_models";
|
|
4
|
-
/**
|
|
5
|
-
* cloudstudio client
|
|
6
|
-
* @class
|
|
7
|
-
*/
|
|
8
|
-
export declare class Client extends AbstractClient {
|
|
9
|
-
constructor(clientConfig: ClientConfig);
|
|
10
|
-
/**
|
|
11
|
-
* 获取特定模板信息
|
|
12
|
-
*/
|
|
13
|
-
DescribeCustomizeTemplatesById(req: DescribeCustomizeTemplatesByIdRequest, cb?: (error: string, rep: DescribeCustomizeTemplatesByIdResponse) => void): Promise<DescribeCustomizeTemplatesByIdResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* 为工作空间创建临时访问凭证,重复调用会创建新的 Token,旧的 Token 将会自动失效
|
|
16
|
-
*/
|
|
17
|
-
CreateWorkspaceTemporaryToken(req: CreateWorkspaceTemporaryTokenRequest, cb?: (error: string, rep: CreateWorkspaceTemporaryTokenResponse) => void): Promise<CreateWorkspaceTemporaryTokenResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* 全量修改自定义模板,忽略空
|
|
20
|
-
*/
|
|
21
|
-
ModifyCustomizeTemplatesPartById(req: ModifyCustomizeTemplatesPartByIdRequest, cb?: (error: string, rep: ModifyCustomizeTemplatesPartByIdResponse) => void): Promise<ModifyCustomizeTemplatesPartByIdResponse>;
|
|
22
|
-
/**
|
|
23
|
-
* 获取工作空间是否已经启动就绪
|
|
24
|
-
*/
|
|
25
|
-
DescribeWorkspaceIsReady(req: DescribeWorkspaceIsReadyRequest, cb?: (error: string, rep: DescribeWorkspaceIsReadyResponse) => void): Promise<DescribeWorkspaceIsReadyResponse>;
|
|
26
|
-
/**
|
|
27
|
-
* 运行空间
|
|
28
|
-
*/
|
|
29
|
-
RunWorkspace(req: RunWorkspaceRequest, cb?: (error: string, rep: RunWorkspaceResponse) => void): Promise<RunWorkspaceResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* 获取所有模板列表
|
|
32
|
-
*/
|
|
33
|
-
DescribeCustomizeTemplates(req: DescribeCustomizeTemplatesRequest, cb?: (error: string, rep: DescribeCustomizeTemplatesResponse) => void): Promise<DescribeCustomizeTemplatesResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* 恢复工作空间
|
|
36
|
-
|
|
37
|
-
*/
|
|
38
|
-
RecoverWorkspace(req: RecoverWorkspaceRequest, cb?: (error: string, rep: RecoverWorkspaceResponse) => void): Promise<RecoverWorkspaceResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* 根据模板创建工作空间
|
|
41
|
-
*/
|
|
42
|
-
CreateWorkspaceByVersionControl(req: CreateWorkspaceByVersionControlRequest, cb?: (error: string, rep: CreateWorkspaceByVersionControlResponse) => void): Promise<CreateWorkspaceByVersionControlResponse>;
|
|
43
|
-
/**
|
|
44
|
-
* 修改模板默认代码仓库
|
|
45
|
-
*/
|
|
46
|
-
ModifyCustomizeTemplateVersionControl(req: ModifyCustomizeTemplateVersionControlRequest, cb?: (error: string, rep: ModifyCustomizeTemplateVersionControlResponse) => void): Promise<ModifyCustomizeTemplateVersionControlResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* 云服务器方式创建工作空间
|
|
49
|
-
*/
|
|
50
|
-
CreateWorkspaceByAgent(req: CreateWorkspaceByAgentRequest, cb?: (error: string, rep: CreateWorkspaceByAgentResponse) => void): Promise<CreateWorkspaceByAgentResponse>;
|
|
51
|
-
/**
|
|
52
|
-
* 删除工作空间
|
|
53
|
-
*/
|
|
54
|
-
RemoveWorkspace(req: RemoveWorkspaceRequest, cb?: (error: string, rep: RemoveWorkspaceResponse) => void): Promise<RemoveWorkspaceResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* 环境列表接口返回信息
|
|
57
|
-
*/
|
|
58
|
-
DescribeWorkspaceEnvList(req: DescribeWorkspaceEnvListRequest, cb?: (error: string, rep: DescribeWorkspaceEnvListResponse) => void): Promise<DescribeWorkspaceEnvListResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* 删除自定义模板
|
|
61
|
-
*/
|
|
62
|
-
DeleteCustomizeTemplatesById(req: DeleteCustomizeTemplatesByIdRequest, cb?: (error: string, rep: DeleteCustomizeTemplatesByIdResponse) => void): Promise<DeleteCustomizeTemplatesByIdResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* 停止运行空间
|
|
65
|
-
*/
|
|
66
|
-
StopWorkspace(req: StopWorkspaceRequest, cb?: (error: string, rep: StopWorkspaceResponse) => void): Promise<StopWorkspaceResponse>;
|
|
67
|
-
/**
|
|
68
|
-
* 获取工作空间元信息
|
|
69
|
-
*/
|
|
70
|
-
DescribeWorkspaceStatus(req: DescribeWorkspaceStatusRequest, cb?: (error: string, rep: DescribeWorkspaceStatusResponse) => void): Promise<DescribeWorkspaceStatusResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* 获取创建模板的预置参数
|
|
73
|
-
*/
|
|
74
|
-
DescribeCustomizeTemplatesPresets(req: DescribeCustomizeTemplatesPresetsRequest, cb?: (error: string, rep: DescribeCustomizeTemplatesPresetsResponse) => void): Promise<DescribeCustomizeTemplatesPresetsResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* 添加自定义模板
|
|
77
|
-
*/
|
|
78
|
-
CreateCustomizeTemplates(req: CreateCustomizeTemplatesRequest, cb?: (error: string, rep: CreateCustomizeTemplatesResponse) => void): Promise<CreateCustomizeTemplatesResponse>;
|
|
79
|
-
/**
|
|
80
|
-
* 全量修改自定义模板,不忽略空
|
|
81
|
-
*/
|
|
82
|
-
ModifyCustomizeTemplatesFullById(req: ModifyCustomizeTemplatesFullByIdRequest, cb?: (error: string, rep: ModifyCustomizeTemplatesFullByIdResponse) => void): Promise<ModifyCustomizeTemplatesFullByIdResponse>;
|
|
83
|
-
/**
|
|
84
|
-
* 快速开始, 基于模板创建工作空间
|
|
85
|
-
*/
|
|
86
|
-
CreateWorkspaceByTemplate(req: CreateWorkspaceByTemplateRequest, cb?: (error: string, rep: CreateWorkspaceByTemplateResponse) => void): Promise<CreateWorkspaceByTemplateResponse>;
|
|
87
|
-
/**
|
|
88
|
-
* 获取用户工作空间列表
|
|
89
|
-
*/
|
|
90
|
-
DescribeWorkspaceStatusList(req: DescribeWorkspaceStatusListRequest, cb?: (error: string, rep: DescribeWorkspaceStatusListResponse) => void): Promise<DescribeWorkspaceStatusListResponse>;
|
|
91
|
-
/**
|
|
92
|
-
* 检查工作空间是否存在
|
|
93
|
-
*/
|
|
94
|
-
DescribeWorkspaceNameExist(req: DescribeWorkspaceNameExistRequest, cb?: (error: string, rep: DescribeWorkspaceNameExistResponse) => void): Promise<DescribeWorkspaceNameExistResponse>;
|
|
95
|
-
/**
|
|
96
|
-
* 修改工作空间的名称和描述
|
|
97
|
-
*/
|
|
98
|
-
ModifyWorkspaceAttributes(req: ModifyWorkspaceAttributesRequest, cb?: (error: string, rep: ModifyWorkspaceAttributesResponse) => void): Promise<ModifyWorkspaceAttributesResponse>;
|
|
99
|
-
}
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Client = void 0;
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
7
|
-
*
|
|
8
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
-
* you may not use this file except in compliance with the License.
|
|
10
|
-
* You may obtain a copy of the License at
|
|
11
|
-
*
|
|
12
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
-
*
|
|
14
|
-
* Unless required by applicable law or agreed to in writing,
|
|
15
|
-
* software distributed under the License is distributed on an
|
|
16
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
17
|
-
* KIND, either express or implied. See the License for the
|
|
18
|
-
* specific language governing permissions and limitations
|
|
19
|
-
* under the License.
|
|
20
|
-
*/
|
|
21
|
-
const abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
-
/**
|
|
23
|
-
* cloudstudio client
|
|
24
|
-
* @class
|
|
25
|
-
*/
|
|
26
|
-
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
-
constructor(clientConfig) {
|
|
28
|
-
super("cloudstudio.tencentcloudapi.com", "2021-05-24", clientConfig);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* 获取特定模板信息
|
|
32
|
-
*/
|
|
33
|
-
async DescribeCustomizeTemplatesById(req, cb) {
|
|
34
|
-
return this.request("DescribeCustomizeTemplatesById", req, cb);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 为工作空间创建临时访问凭证,重复调用会创建新的 Token,旧的 Token 将会自动失效
|
|
38
|
-
*/
|
|
39
|
-
async CreateWorkspaceTemporaryToken(req, cb) {
|
|
40
|
-
return this.request("CreateWorkspaceTemporaryToken", req, cb);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* 全量修改自定义模板,忽略空
|
|
44
|
-
*/
|
|
45
|
-
async ModifyCustomizeTemplatesPartById(req, cb) {
|
|
46
|
-
return this.request("ModifyCustomizeTemplatesPartById", req, cb);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* 获取工作空间是否已经启动就绪
|
|
50
|
-
*/
|
|
51
|
-
async DescribeWorkspaceIsReady(req, cb) {
|
|
52
|
-
return this.request("DescribeWorkspaceIsReady", req, cb);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* 运行空间
|
|
56
|
-
*/
|
|
57
|
-
async RunWorkspace(req, cb) {
|
|
58
|
-
return this.request("RunWorkspace", req, cb);
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* 获取所有模板列表
|
|
62
|
-
*/
|
|
63
|
-
async DescribeCustomizeTemplates(req, cb) {
|
|
64
|
-
return this.request("DescribeCustomizeTemplates", req, cb);
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* 恢复工作空间
|
|
68
|
-
|
|
69
|
-
*/
|
|
70
|
-
async RecoverWorkspace(req, cb) {
|
|
71
|
-
return this.request("RecoverWorkspace", req, cb);
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* 根据模板创建工作空间
|
|
75
|
-
*/
|
|
76
|
-
async CreateWorkspaceByVersionControl(req, cb) {
|
|
77
|
-
return this.request("CreateWorkspaceByVersionControl", req, cb);
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* 修改模板默认代码仓库
|
|
81
|
-
*/
|
|
82
|
-
async ModifyCustomizeTemplateVersionControl(req, cb) {
|
|
83
|
-
return this.request("ModifyCustomizeTemplateVersionControl", req, cb);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* 云服务器方式创建工作空间
|
|
87
|
-
*/
|
|
88
|
-
async CreateWorkspaceByAgent(req, cb) {
|
|
89
|
-
return this.request("CreateWorkspaceByAgent", req, cb);
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* 删除工作空间
|
|
93
|
-
*/
|
|
94
|
-
async RemoveWorkspace(req, cb) {
|
|
95
|
-
return this.request("RemoveWorkspace", req, cb);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* 环境列表接口返回信息
|
|
99
|
-
*/
|
|
100
|
-
async DescribeWorkspaceEnvList(req, cb) {
|
|
101
|
-
return this.request("DescribeWorkspaceEnvList", req, cb);
|
|
102
|
-
}
|
|
103
|
-
/**
|
|
104
|
-
* 删除自定义模板
|
|
105
|
-
*/
|
|
106
|
-
async DeleteCustomizeTemplatesById(req, cb) {
|
|
107
|
-
return this.request("DeleteCustomizeTemplatesById", req, cb);
|
|
108
|
-
}
|
|
109
|
-
/**
|
|
110
|
-
* 停止运行空间
|
|
111
|
-
*/
|
|
112
|
-
async StopWorkspace(req, cb) {
|
|
113
|
-
return this.request("StopWorkspace", req, cb);
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* 获取工作空间元信息
|
|
117
|
-
*/
|
|
118
|
-
async DescribeWorkspaceStatus(req, cb) {
|
|
119
|
-
return this.request("DescribeWorkspaceStatus", req, cb);
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* 获取创建模板的预置参数
|
|
123
|
-
*/
|
|
124
|
-
async DescribeCustomizeTemplatesPresets(req, cb) {
|
|
125
|
-
return this.request("DescribeCustomizeTemplatesPresets", req, cb);
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* 添加自定义模板
|
|
129
|
-
*/
|
|
130
|
-
async CreateCustomizeTemplates(req, cb) {
|
|
131
|
-
return this.request("CreateCustomizeTemplates", req, cb);
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* 全量修改自定义模板,不忽略空
|
|
135
|
-
*/
|
|
136
|
-
async ModifyCustomizeTemplatesFullById(req, cb) {
|
|
137
|
-
return this.request("ModifyCustomizeTemplatesFullById", req, cb);
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* 快速开始, 基于模板创建工作空间
|
|
141
|
-
*/
|
|
142
|
-
async CreateWorkspaceByTemplate(req, cb) {
|
|
143
|
-
return this.request("CreateWorkspaceByTemplate", req, cb);
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* 获取用户工作空间列表
|
|
147
|
-
*/
|
|
148
|
-
async DescribeWorkspaceStatusList(req, cb) {
|
|
149
|
-
return this.request("DescribeWorkspaceStatusList", req, cb);
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* 检查工作空间是否存在
|
|
153
|
-
*/
|
|
154
|
-
async DescribeWorkspaceNameExist(req, cb) {
|
|
155
|
-
return this.request("DescribeWorkspaceNameExist", req, cb);
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* 修改工作空间的名称和描述
|
|
159
|
-
*/
|
|
160
|
-
async ModifyWorkspaceAttributes(req, cb) {
|
|
161
|
-
return this.request("ModifyWorkspaceAttributes", req, cb);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
exports.Client = Client;
|