tencentcloud-sdk-nodejs 4.1.188 → 4.1.190
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/es/common/sdk_version.js +1 -1
- package/es/services/bma/index.js +2 -2
- package/es/services/cetcd/index.js +4 -0
- package/es/services/cetcd/v20220325/cetcd_client.js +66 -0
- package/es/services/cetcd/v20220325/cetcd_models.js +1 -0
- package/es/services/cetcd/v20220325/index.js +6 -0
- package/es/services/chdfs/index.js +2 -2
- package/es/services/cls/v20201016/cls_client.js +19 -4
- package/es/services/cwp/v20180228/cwp_client.js +15 -0
- package/es/services/dbbrain/index.js +2 -2
- package/es/services/dbbrain/v20210527/dbbrain_client.js +165 -162
- package/es/services/es/index.js +2 -2
- package/es/services/essbasic/index.js +2 -2
- package/es/services/facefusion/index.js +2 -2
- package/es/services/index.js +1 -0
- package/es/services/iotvideo/index.js +2 -2
- package/es/services/mna/v20210119/mna_client.js +17 -2
- package/es/services/ocr/v20181119/ocr_client.js +0 -3
- package/es/services/rce/index.js +2 -2
- package/es/services/sms/index.js +2 -2
- package/es/services/tcb/v20180608/tcb_client.js +93 -222
- package/es/services/thpc/index.js +2 -2
- package/es/services/tke/index.js +2 -2
- package/es/services/tse/v20201207/tse_client.js +18 -6
- package/es/services/tsw/index.js +2 -2
- package/es/services/vm/index.js +2 -2
- package/es/services/vod/index.js +2 -2
- package/es/services/vpc/v20170312/vpc_client.js +3 -0
- package/es/services/wedata/index.js +2 -2
- package/es/services/yunsou/index.js +2 -2
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apm/v20210622/apm_models.d.ts +260 -140
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +21 -14
- package/tencentcloud/services/bma/index.d.ts +4 -4
- package/tencentcloud/services/bma/index.js +2 -2
- package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +29 -32
- package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_client.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +46 -38
- package/tencentcloud/services/cetcd/index.d.ts +6 -0
- package/tencentcloud/services/cetcd/index.js +7 -0
- package/tencentcloud/services/cetcd/v20220325/cetcd_client.d.ts +90 -0
- package/tencentcloud/services/cetcd/v20220325/cetcd_client.js +151 -0
- package/tencentcloud/services/cetcd/v20220325/cetcd_models.d.ts +967 -0
- package/tencentcloud/services/cetcd/v20220325/cetcd_models.js +18 -0
- package/tencentcloud/services/cetcd/v20220325/index.d.ts +6 -0
- package/tencentcloud/services/cetcd/v20220325/index.js +10 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +18 -18
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +16 -0
- package/tencentcloud/services/chdfs/index.d.ts +4 -4
- package/tencentcloud/services/chdfs/index.js +2 -2
- package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +3 -3
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +247 -231
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +45 -45
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +26 -6
- package/tencentcloud/services/cls/v20201016/cls_client.js +36 -6
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +362 -132
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +22 -37
- package/tencentcloud/services/ctem/v20231128/ctem_models.d.ts +26 -5
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +21 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +30 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +446 -86
- package/tencentcloud/services/dbbrain/index.d.ts +4 -4
- package/tencentcloud/services/dbbrain/index.js +2 -2
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +170 -166
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +254 -248
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +110 -51
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +64 -66
- package/tencentcloud/services/es/index.d.ts +4 -4
- package/tencentcloud/services/es/index.js +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +43 -4
- package/tencentcloud/services/essbasic/index.d.ts +4 -4
- package/tencentcloud/services/essbasic/index.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +38 -66
- package/tencentcloud/services/facefusion/index.d.ts +4 -4
- package/tencentcloud/services/facefusion/index.js +2 -2
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +5 -5
- package/tencentcloud/services/iai/v20180301/iai_client.d.ts +2 -2
- package/tencentcloud/services/iai/v20180301/iai_client.js +2 -2
- package/tencentcloud/services/iai/v20200303/iai_client.d.ts +2 -2
- package/tencentcloud/services/iai/v20200303/iai_client.js +2 -2
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +14 -10
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +6 -4
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +48 -0
- package/tencentcloud/services/iotvideo/index.d.ts +4 -4
- package/tencentcloud/services/iotvideo/index.js +2 -2
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +31 -42
- package/tencentcloud/services/live/v20180801/live_client.d.ts +2 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +46 -16
- package/tencentcloud/services/mna/v20210119/mna_client.d.ts +23 -3
- package/tencentcloud/services/mna/v20210119/mna_client.js +33 -3
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +159 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +31 -44
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +4 -10
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -11
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +133 -239
- package/tencentcloud/services/omics/v20221128/omics_models.d.ts +10 -11
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +73 -146
- package/tencentcloud/services/rce/index.d.ts +4 -4
- package/tencentcloud/services/rce/index.js +2 -2
- package/tencentcloud/services/sms/index.d.ts +4 -4
- package/tencentcloud/services/sms/index.js +2 -2
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +11 -92
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +31 -44
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +139 -300
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +188 -435
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1422 -5362
- package/tencentcloud/services/tdai/v20250717/tdai_models.d.ts +15 -7
- package/tencentcloud/services/thpc/index.d.ts +4 -4
- package/tencentcloud/services/thpc/index.js +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +14 -2
- package/tencentcloud/services/tke/index.d.ts +4 -4
- package/tencentcloud/services/tke/index.js +2 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -2
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +12 -2
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +10 -32
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -1
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
- package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +801 -283
- package/tencentcloud/services/tsw/index.d.ts +4 -4
- package/tencentcloud/services/tsw/index.js +2 -2
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +3 -3
- package/tencentcloud/services/vm/index.d.ts +4 -4
- package/tencentcloud/services/vm/index.js +2 -2
- package/tencentcloud/services/vod/index.d.ts +4 -4
- package/tencentcloud/services/vod/index.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +423 -336
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +5 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +6 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +145 -77
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
- package/tencentcloud/services/wav/v20210129/wav_client.d.ts +3 -1
- package/tencentcloud/services/wav/v20210129/wav_client.js +3 -1
- package/tencentcloud/services/wedata/index.d.ts +4 -4
- package/tencentcloud/services/wedata/index.js +2 -2
- package/tencentcloud/services/wedata/v20250806/wedata_models.d.ts +1 -0
- package/tencentcloud/services/yunsou/index.d.ts +4 -4
- package/tencentcloud/services/yunsou/index.js +2 -2
|
@@ -28,145 +28,11 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("tcb.tencentcloudapi.com", "2018-06-08", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
2 没有免费包,有付费包,付费返回复用SmsFreeQuota结构,其中只有 TodayUsedQuota 字段有效
|
|
34
|
-
3 都没有返回为空数组
|
|
31
|
+
* 查询开通Mysql结果,`Response.Data.Status = "notexist"` 表示未开通,如果未开通,可以调用 [CreateMySQL](https://cloud.tencent.com/document/api/876/128186) 来开通
|
|
32
|
+
`Response.Data. Status = "success"` 表示开通成功,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106)
|
|
35
33
|
*/
|
|
36
|
-
async
|
|
37
|
-
return this.request("
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* 修改云开发网关API
|
|
41
|
-
*/
|
|
42
|
-
async ModifyCloudBaseGWAPI(req, cb) {
|
|
43
|
-
return this.request("ModifyCloudBaseGWAPI", req, cb);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* 开通后付费资源
|
|
47
|
-
*/
|
|
48
|
-
async CreatePostpayPackage(req, cb) {
|
|
49
|
-
return this.request("CreatePostpayPackage", req, cb);
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* 获取新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
|
|
53
|
-
*/
|
|
54
|
-
async DescribeBaasPackageList(req, cb) {
|
|
55
|
-
return this.request("DescribeBaasPackageList", req, cb);
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* 云项目部署列表
|
|
59
|
-
*/
|
|
60
|
-
async DescribeCloudBaseProjectVersionList(req, cb) {
|
|
61
|
-
return this.request("DescribeCloudBaseProjectVersionList", req, cb);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* 获取云开发项目列表
|
|
65
|
-
*/
|
|
66
|
-
async DescribeCloudBaseProjectLatestVersionList(req, cb) {
|
|
67
|
-
return this.request("DescribeCloudBaseProjectLatestVersionList", req, cb);
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* 删除tcb用户
|
|
71
|
-
*/
|
|
72
|
-
async DeleteUsers(req, cb) {
|
|
73
|
-
return this.request("DeleteUsers", req, cb);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* 创建云应用服务
|
|
77
|
-
*/
|
|
78
|
-
async EstablishCloudBaseRunServer(req, cb) {
|
|
79
|
-
return this.request("EstablishCloudBaseRunServer", req, cb);
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* 创建云开发项目
|
|
83
|
-
*/
|
|
84
|
-
async CreateAndDeployCloudBaseProject(req, cb) {
|
|
85
|
-
return this.request("CreateAndDeployCloudBaseProject", req, cb);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* 检查是否开通Tcb服务
|
|
89
|
-
*/
|
|
90
|
-
async CheckTcbService(req, cb) {
|
|
91
|
-
return this.request("CheckTcbService", req, cb);
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* 创建或修改安全网关路由
|
|
95
|
-
*/
|
|
96
|
-
async EstablishWxGatewayRoute(req, cb) {
|
|
97
|
-
return this.request("EstablishWxGatewayRoute", req, cb);
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* 查询用户活动信息
|
|
101
|
-
*/
|
|
102
|
-
async DescribeUserActivityInfo(req, cb) {
|
|
103
|
-
return this.request("DescribeUserActivityInfo", req, cb);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* 删除云项目
|
|
107
|
-
*/
|
|
108
|
-
async DeleteCloudBaseProjectLatestVersion(req, cb) {
|
|
109
|
-
return this.request("DeleteCloudBaseProjectLatestVersion", req, cb);
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* 获取网关服务
|
|
113
|
-
*/
|
|
114
|
-
async DescribeCloudBaseGWService(req, cb) {
|
|
115
|
-
return this.request("DescribeCloudBaseGWService", req, cb);
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* 批量冻结
|
|
119
|
-
*/
|
|
120
|
-
async FreezeCloudBaseRunServers(req, cb) {
|
|
121
|
-
return this.request("FreezeCloudBaseRunServers", req, cb);
|
|
122
|
-
}
|
|
123
|
-
/**
|
|
124
|
-
* 获取云托管代码上传url
|
|
125
|
-
*/
|
|
126
|
-
async DescribeCloudBaseBuildService(req, cb) {
|
|
127
|
-
return this.request("DescribeCloudBaseBuildService", req, cb);
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* 创建云开发网关API
|
|
131
|
-
*/
|
|
132
|
-
async CreateCloudBaseGWAPI(req, cb) {
|
|
133
|
-
return this.request("CreateCloudBaseGWAPI", req, cb);
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* 创建tcb用户
|
|
137
|
-
*/
|
|
138
|
-
async CreateUser(req, cb) {
|
|
139
|
-
return this.request("CreateUser", req, cb);
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* 创建静态托管资源,包括COS和CDN,异步任务创建,查看创建结果需要根据DescribeStaticStore接口来查看
|
|
143
|
-
*/
|
|
144
|
-
async CreateStaticStore(req, cb) {
|
|
145
|
-
return this.request("CreateStaticStore", req, cb);
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* 修改登录配置
|
|
149
|
-
*/
|
|
150
|
-
async EditAuthConfig(req, cb) {
|
|
151
|
-
return this.request("EditAuthConfig", req, cb);
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* 本接口(ListTables)用于查询所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等
|
|
155
|
-
*/
|
|
156
|
-
async DescribeTables(req, cb) {
|
|
157
|
-
return this.request("DescribeTables", req, cb);
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* 查询环境1分钱抵扣信息
|
|
161
|
-
*/
|
|
162
|
-
async DescribeSpecialCostItems(req, cb) {
|
|
163
|
-
return this.request("DescribeSpecialCostItems", req, cb);
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* 删除网关某版本
|
|
167
|
-
*/
|
|
168
|
-
async DeleteGatewayVersion(req, cb) {
|
|
169
|
-
return this.request("DeleteGatewayVersion", req, cb);
|
|
34
|
+
async DescribeCreateMySQLResult(req, cb) {
|
|
35
|
+
return this.request("DescribeCreateMySQLResult", req, cb);
|
|
170
36
|
}
|
|
171
37
|
/**
|
|
172
38
|
* 修改日志主题
|
|
@@ -181,17 +47,31 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
181
47
|
return this.request("DescribeUserList", req, cb);
|
|
182
48
|
}
|
|
183
49
|
/**
|
|
184
|
-
*
|
|
50
|
+
* 创建托管域名
|
|
185
51
|
*/
|
|
186
|
-
async
|
|
187
|
-
return this.request("
|
|
52
|
+
async CreateHostingDomain(req, cb) {
|
|
53
|
+
return this.request("CreateHostingDomain", req, cb);
|
|
188
54
|
}
|
|
189
55
|
/**
|
|
190
56
|
* 开通Mysql
|
|
57
|
+
|
|
58
|
+
开通后,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询开通结果
|
|
191
59
|
*/
|
|
192
60
|
async CreateMySQL(req, cb) {
|
|
193
61
|
return this.request("CreateMySQL", req, cb);
|
|
194
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* 本接口(CreateTable)用于创建表,支持创建capped类型集合,暂时不支持分片表
|
|
65
|
+
*/
|
|
66
|
+
async CreateTable(req, cb) {
|
|
67
|
+
return this.request("CreateTable", req, cb);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* 修改云开发网关API
|
|
71
|
+
*/
|
|
72
|
+
async ModifyCloudBaseGWAPI(req, cb) {
|
|
73
|
+
return this.request("ModifyCloudBaseGWAPI", req, cb);
|
|
74
|
+
}
|
|
195
75
|
/**
|
|
196
76
|
* 本接口用于购买云开发环境。
|
|
197
77
|
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
@@ -203,10 +83,22 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
203
83
|
return this.request("CreateEnv", req, cb);
|
|
204
84
|
}
|
|
205
85
|
/**
|
|
206
|
-
*
|
|
86
|
+
* 修改数据库权限
|
|
207
87
|
*/
|
|
208
|
-
async
|
|
209
|
-
return this.request("
|
|
88
|
+
async ModifyDatabaseACL(req, cb) {
|
|
89
|
+
return this.request("ModifyDatabaseACL", req, cb);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* 本接口用于执行数据库命令
|
|
93
|
+
*/
|
|
94
|
+
async RunCommands(req, cb) {
|
|
95
|
+
return this.request("RunCommands", req, cb);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* 获取网关API列表
|
|
99
|
+
*/
|
|
100
|
+
async DescribeCloudBaseGWAPI(req, cb) {
|
|
101
|
+
return this.request("DescribeCloudBaseGWAPI", req, cb);
|
|
210
102
|
}
|
|
211
103
|
/**
|
|
212
104
|
* 增加安全域名。
|
|
@@ -220,10 +112,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
220
112
|
return this.request("CreateAuthDomain", req, cb);
|
|
221
113
|
}
|
|
222
114
|
/**
|
|
223
|
-
*
|
|
115
|
+
* 本接口用于获取当前环境的安全域名列表。
|
|
116
|
+
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
117
|
+
可以通过接口 [CreateAuthDomain](https://cloud.tencent.com/document/product/876/42764) 增加安全域名。
|
|
224
118
|
*/
|
|
225
|
-
async
|
|
226
|
-
return this.request("
|
|
119
|
+
async DescribeAuthDomains(req, cb) {
|
|
120
|
+
return this.request("DescribeAuthDomains", req, cb);
|
|
227
121
|
}
|
|
228
122
|
/**
|
|
229
123
|
* 绑定云开发自定义域名,用于云接入和静态托管
|
|
@@ -232,205 +126,163 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
232
126
|
return this.request("BindCloudBaseAccessDomain", req, cb);
|
|
233
127
|
}
|
|
234
128
|
/**
|
|
235
|
-
*
|
|
236
|
-
|
|
237
|
-
async DescribeCloudBaseRunResource(req, cb) {
|
|
238
|
-
return this.request("DescribeCloudBaseRunResource", req, cb);
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* 查看安全网关路由
|
|
242
|
-
*/
|
|
243
|
-
async DescribeWxGatewayRoutes(req, cb) {
|
|
244
|
-
return this.request("DescribeWxGatewayRoutes", req, cb);
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* 获取环境下单地域
|
|
248
|
-
*/
|
|
249
|
-
async DescribeEnvDealRegion(req, cb) {
|
|
250
|
-
return this.request("DescribeEnvDealRegion", req, cb);
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* 查询网关监控数据
|
|
254
|
-
*/
|
|
255
|
-
async DescribeGatewayCurveData(req, cb) {
|
|
256
|
-
return this.request("DescribeGatewayCurveData", req, cb);
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* 描述扩展上传文件信息
|
|
260
|
-
*/
|
|
261
|
-
async DescribeExtensionUploadInfo(req, cb) {
|
|
262
|
-
return this.request("DescribeExtensionUploadInfo", req, cb);
|
|
263
|
-
}
|
|
264
|
-
/**
|
|
265
|
-
* 本接口(ListTables)用于查询所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等
|
|
266
|
-
*/
|
|
267
|
-
async ListTables(req, cb) {
|
|
268
|
-
return this.request("ListTables", req, cb);
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* 查询数据库安全规则。
|
|
272
|
-
安全规则,用于控制C端用户的访问权限。详见 [安全规则介绍](https://cloud.tencent.com/document/product/876/123478) 。
|
|
273
|
-
*/
|
|
274
|
-
async DescribeSafeRule(req, cb) {
|
|
275
|
-
return this.request("DescribeSafeRule", req, cb);
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* 查询Mysql任务状态
|
|
279
|
-
*/
|
|
280
|
-
async DescribeMySQLTaskStatus(req, cb) {
|
|
281
|
-
return this.request("DescribeMySQLTaskStatus", req, cb);
|
|
282
|
-
}
|
|
283
|
-
/**
|
|
284
|
-
* 删除服务版本
|
|
129
|
+
* 设置数据库安全规则。
|
|
130
|
+
安全规则,用于控制C端用户的访问权限。详见 [安全规则介绍 ](https://cloud.tencent.com/document/product/876/123478)。
|
|
285
131
|
*/
|
|
286
|
-
async
|
|
287
|
-
return this.request("
|
|
132
|
+
async ModifySafeRule(req, cb) {
|
|
133
|
+
return this.request("ModifySafeRule", req, cb);
|
|
288
134
|
}
|
|
289
135
|
/**
|
|
290
|
-
*
|
|
136
|
+
* 删除合法域名。
|
|
137
|
+
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
138
|
+
可以通过接口 [DescribeAuthDomains](https://cloud.tencent.com/document/product/876/42151) 获取当前已绑定生效的安全域名。
|
|
139
|
+
|
|
140
|
+
注意⚠️
|
|
141
|
+
安全域名被删除之后,可能会引起跨域问题,请谨慎操作。
|
|
291
142
|
*/
|
|
292
|
-
async
|
|
293
|
-
return this.request("
|
|
143
|
+
async DeleteAuthDomain(req, cb) {
|
|
144
|
+
return this.request("DeleteAuthDomain", req, cb);
|
|
294
145
|
}
|
|
295
146
|
/**
|
|
296
|
-
*
|
|
147
|
+
* 查询Mysql集群信息
|
|
148
|
+
|
|
149
|
+
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有已开通的才能查到集群信息
|
|
297
150
|
*/
|
|
298
|
-
async
|
|
299
|
-
return this.request("
|
|
151
|
+
async DescribeMySQLClusterDetail(req, cb) {
|
|
152
|
+
return this.request("DescribeMySQLClusterDetail", req, cb);
|
|
300
153
|
}
|
|
301
154
|
/**
|
|
302
|
-
*
|
|
155
|
+
* 获取新套餐列表,含详情,如果传了PackageId,则只获取指定套餐详情
|
|
303
156
|
*/
|
|
304
|
-
async
|
|
305
|
-
return this.request("
|
|
157
|
+
async DescribeBaasPackageList(req, cb) {
|
|
158
|
+
return this.request("DescribeBaasPackageList", req, cb);
|
|
306
159
|
}
|
|
307
160
|
/**
|
|
308
|
-
*
|
|
161
|
+
* 本接口用于云开发环境套餐续费。
|
|
162
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
163
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
309
164
|
*/
|
|
310
|
-
async
|
|
311
|
-
return this.request("
|
|
165
|
+
async RenewEnv(req, cb) {
|
|
166
|
+
return this.request("RenewEnv", req, cb);
|
|
312
167
|
}
|
|
313
168
|
/**
|
|
314
|
-
*
|
|
315
|
-
1. 购买云开发环境
|
|
316
|
-
2. 续费云开发环境
|
|
317
|
-
3. 变更云开发环境套餐
|
|
318
|
-
4. 购买云开发资源包
|
|
319
|
-
5. 购买云开发大促包
|
|
320
|
-
|
|
321
|
-
该接口支持下单并支付(CreateAndPay=true时),此时会自动在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
322
|
-
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
169
|
+
* 查询静态托管域名任务状态
|
|
323
170
|
*/
|
|
324
|
-
async
|
|
325
|
-
return this.request("
|
|
171
|
+
async DescribeHostingDomainTask(req, cb) {
|
|
172
|
+
return this.request("DescribeHostingDomainTask", req, cb);
|
|
326
173
|
}
|
|
327
174
|
/**
|
|
328
|
-
*
|
|
175
|
+
* 针对已隔离的免费环境,可以通过本接口将其恢复访问。
|
|
329
176
|
*/
|
|
330
|
-
async
|
|
331
|
-
return this.request("
|
|
177
|
+
async ReinstateEnv(req, cb) {
|
|
178
|
+
return this.request("ReinstateEnv", req, cb);
|
|
332
179
|
}
|
|
333
180
|
/**
|
|
334
|
-
*
|
|
181
|
+
* 获取数据库权限
|
|
335
182
|
*/
|
|
336
|
-
async
|
|
337
|
-
return this.request("
|
|
183
|
+
async DescribeDatabaseACL(req, cb) {
|
|
184
|
+
return this.request("DescribeDatabaseACL", req, cb);
|
|
338
185
|
}
|
|
339
186
|
/**
|
|
340
|
-
*
|
|
187
|
+
* 删除tcb用户
|
|
341
188
|
*/
|
|
342
|
-
async
|
|
343
|
-
return this.request("
|
|
189
|
+
async DeleteUsers(req, cb) {
|
|
190
|
+
return this.request("DeleteUsers", req, cb);
|
|
344
191
|
}
|
|
345
192
|
/**
|
|
346
|
-
*
|
|
193
|
+
* 查看当前环境下静态托管资源信息,根据返回结果判断静态资源的状态
|
|
347
194
|
*/
|
|
348
|
-
async
|
|
349
|
-
return this.request("
|
|
195
|
+
async DescribeStaticStore(req, cb) {
|
|
196
|
+
return this.request("DescribeStaticStore", req, cb);
|
|
350
197
|
}
|
|
351
198
|
/**
|
|
352
|
-
*
|
|
199
|
+
* 查询表的相关信息,包括索引等信息
|
|
353
200
|
*/
|
|
354
|
-
async
|
|
355
|
-
return this.request("
|
|
201
|
+
async DescribeTable(req, cb) {
|
|
202
|
+
return this.request("DescribeTable", req, cb);
|
|
356
203
|
}
|
|
357
204
|
/**
|
|
358
|
-
*
|
|
205
|
+
* 本接口(UpdateTable)用于修改表信息,当前可以支持创建和删除索引
|
|
359
206
|
*/
|
|
360
|
-
async
|
|
361
|
-
return this.request("
|
|
207
|
+
async UpdateTable(req, cb) {
|
|
208
|
+
return this.request("UpdateTable", req, cb);
|
|
362
209
|
}
|
|
363
210
|
/**
|
|
364
|
-
*
|
|
211
|
+
* 删除网关API
|
|
365
212
|
*/
|
|
366
|
-
async
|
|
367
|
-
return this.request("
|
|
213
|
+
async DeleteCloudBaseGWAPI(req, cb) {
|
|
214
|
+
return this.request("DeleteCloudBaseGWAPI", req, cb);
|
|
368
215
|
}
|
|
369
216
|
/**
|
|
370
|
-
*
|
|
217
|
+
* 检查是否开通Tcb服务
|
|
371
218
|
*/
|
|
372
|
-
async
|
|
373
|
-
return this.request("
|
|
219
|
+
async CheckTcbService(req, cb) {
|
|
220
|
+
return this.request("CheckTcbService", req, cb);
|
|
374
221
|
}
|
|
375
222
|
/**
|
|
376
|
-
*
|
|
223
|
+
* 本接口(ListTables)用于查询所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等
|
|
377
224
|
*/
|
|
378
|
-
async
|
|
379
|
-
return this.request("
|
|
225
|
+
async ListTables(req, cb) {
|
|
226
|
+
return this.request("ListTables", req, cb);
|
|
380
227
|
}
|
|
381
228
|
/**
|
|
382
|
-
*
|
|
229
|
+
* 查询数据库安全规则。
|
|
230
|
+
安全规则,用于控制C端用户的访问权限。详见 [安全规则介绍](https://cloud.tencent.com/document/product/876/123478) 。
|
|
383
231
|
*/
|
|
384
|
-
async
|
|
385
|
-
return this.request("
|
|
232
|
+
async DescribeSafeRule(req, cb) {
|
|
233
|
+
return this.request("DescribeSafeRule", req, cb);
|
|
386
234
|
}
|
|
387
235
|
/**
|
|
388
|
-
*
|
|
236
|
+
* 本接口用于变更云开发环境套餐。
|
|
237
|
+
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
238
|
+
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
389
239
|
*/
|
|
390
|
-
async
|
|
391
|
-
return this.request("
|
|
240
|
+
async ModifyEnvPlan(req, cb) {
|
|
241
|
+
return this.request("ModifyEnvPlan", req, cb);
|
|
392
242
|
}
|
|
393
243
|
/**
|
|
394
|
-
*
|
|
244
|
+
* 查询Mysql任务状态
|
|
395
245
|
*/
|
|
396
|
-
async
|
|
397
|
-
return this.request("
|
|
246
|
+
async DescribeMySQLTaskStatus(req, cb) {
|
|
247
|
+
return this.request("DescribeMySQLTaskStatus", req, cb);
|
|
398
248
|
}
|
|
399
249
|
/**
|
|
400
|
-
*
|
|
250
|
+
* 搜索用户调用日志
|
|
401
251
|
*/
|
|
402
|
-
async
|
|
403
|
-
return this.request("
|
|
252
|
+
async SearchClsLog(req, cb) {
|
|
253
|
+
return this.request("SearchClsLog", req, cb);
|
|
404
254
|
}
|
|
405
255
|
/**
|
|
406
|
-
*
|
|
256
|
+
* 查询指定指标的配额使用量
|
|
407
257
|
*/
|
|
408
|
-
async
|
|
409
|
-
return this.request("
|
|
258
|
+
async DescribeQuotaData(req, cb) {
|
|
259
|
+
return this.request("DescribeQuotaData", req, cb);
|
|
410
260
|
}
|
|
411
261
|
/**
|
|
412
|
-
*
|
|
262
|
+
* 修改登录配置
|
|
413
263
|
*/
|
|
414
|
-
async
|
|
415
|
-
return this.request("
|
|
264
|
+
async EditAuthConfig(req, cb) {
|
|
265
|
+
return this.request("EditAuthConfig", req, cb);
|
|
416
266
|
}
|
|
417
267
|
/**
|
|
418
|
-
*
|
|
268
|
+
* 修改tcb用户
|
|
419
269
|
*/
|
|
420
|
-
async
|
|
421
|
-
return this.request("
|
|
270
|
+
async ModifyUser(req, cb) {
|
|
271
|
+
return this.request("ModifyUser", req, cb);
|
|
422
272
|
}
|
|
423
273
|
/**
|
|
424
|
-
*
|
|
274
|
+
* 更新环境信息
|
|
425
275
|
*/
|
|
426
|
-
async
|
|
427
|
-
return this.request("
|
|
276
|
+
async ModifyEnv(req, cb) {
|
|
277
|
+
return this.request("ModifyEnv", req, cb);
|
|
428
278
|
}
|
|
429
279
|
/**
|
|
430
|
-
*
|
|
280
|
+
* 执行SQL语句
|
|
281
|
+
|
|
282
|
+
调用该接口前需要先查询Mysql是否开通,可通过 [DescribeCreateMySQLResult ](https://cloud.tencent.com/document/api/876/128185) 查询,只有开通成功才能操作
|
|
431
283
|
*/
|
|
432
|
-
async
|
|
433
|
-
return this.request("
|
|
284
|
+
async RunSql(req, cb) {
|
|
285
|
+
return this.request("RunSql", req, cb);
|
|
434
286
|
}
|
|
435
287
|
/**
|
|
436
288
|
* 本接口(DeleteTable)用于删除表,删除表后表中数据将会被删除且无法恢复,请谨慎操作
|
|
@@ -454,206 +306,107 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
454
306
|
return this.request("DestroyEnv", req, cb);
|
|
455
307
|
}
|
|
456
308
|
/**
|
|
457
|
-
*
|
|
458
|
-
*/
|
|
459
|
-
async DestroyMySQL(req, cb) {
|
|
460
|
-
return this.request("DestroyMySQL", req, cb);
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* 查询环境计费周期。
|
|
464
|
-
云开发环境的资源点都是按月结算的,每个月都有一定的抵扣额度。
|
|
465
|
-
|
|
466
|
-
例如:
|
|
467
|
-
某个环境在 2026-01-05 购买了3个月个人版(到期时间: 2026-04-05),则他可以在以下3个周期内,分别享有40000资源点的额度:
|
|
468
|
-
1. 2026-01-05 ~ 2026-02-05 23:59:59
|
|
469
|
-
2. 2026-02-06 ~ 2026-03-05 23:59:59
|
|
470
|
-
3. 2026-03-06 ~ 2026-04-05 23:59:59
|
|
471
|
-
|
|
472
|
-
本接口,用于获取环境当前属于哪个计费周期内。
|
|
473
|
-
*/
|
|
474
|
-
async DescribeEnvAccountCircle(req, cb) {
|
|
475
|
-
return this.request("DescribeEnvAccountCircle", req, cb);
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* 查询后付费资源免费量
|
|
479
|
-
*/
|
|
480
|
-
async DescribePostpayFreeQuotas(req, cb) {
|
|
481
|
-
return this.request("DescribePostpayFreeQuotas", req, cb);
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* 查询开通Mysql结果,Mysql开通成功后,可通过接口设置数据库账号相关功能包括但不限于【创建账号、删除账号、查询可授权权限列表、查询账号已有权限、修改主机、修改配置、修改账号库表权限】、集群操作相关【查询集群参数、修改集群参数】,连接设置相关【关闭外网、开通外网、查询集群信息】,备份回档相关【创建手动回档、删除手动回档、修改自动备份配置信息、查询备份文件列表、集群回档、查询任务列表、获取table列表、获取集群数据库列表、查询备份下载地址】,相关功能接口文档:[TDSQL-C MySQL API文档](https://cloud.tencent.com/document/product/1003/48106)
|
|
485
|
-
*/
|
|
486
|
-
async DescribeCreateMySQLResult(req, cb) {
|
|
487
|
-
return this.request("DescribeCreateMySQLResult", req, cb);
|
|
488
|
-
}
|
|
489
|
-
/**
|
|
490
|
-
* 查询网关版本信息
|
|
491
|
-
暂不鉴权
|
|
492
|
-
*/
|
|
493
|
-
async DescribeGatewayVersions(req, cb) {
|
|
494
|
-
return this.request("DescribeGatewayVersions", req, cb);
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* 本接口(CreateTable)用于创建表,支持创建capped类型集合,暂时不支持分片表
|
|
498
|
-
*/
|
|
499
|
-
async CreateTable(req, cb) {
|
|
500
|
-
return this.request("CreateTable", req, cb);
|
|
501
|
-
}
|
|
502
|
-
/**
|
|
503
|
-
* 查询服务版本的详情
|
|
504
|
-
*/
|
|
505
|
-
async DescribeCbrServerVersion(req, cb) {
|
|
506
|
-
return this.request("DescribeCbrServerVersion", req, cb);
|
|
507
|
-
}
|
|
508
|
-
/**
|
|
509
|
-
* 获取网关API列表
|
|
510
|
-
*/
|
|
511
|
-
async DescribeCloudBaseGWAPI(req, cb) {
|
|
512
|
-
return this.request("DescribeCloudBaseGWAPI", req, cb);
|
|
513
|
-
}
|
|
514
|
-
/**
|
|
515
|
-
* 查询环境后付费计费详情
|
|
516
|
-
*/
|
|
517
|
-
async DescribeEnvPostpaidDeduct(req, cb) {
|
|
518
|
-
return this.request("DescribeEnvPostpaidDeduct", req, cb);
|
|
519
|
-
}
|
|
520
|
-
/**
|
|
521
|
-
* 获取下载文件信息
|
|
522
|
-
*/
|
|
523
|
-
async DescribeDownloadFile(req, cb) {
|
|
524
|
-
return this.request("DescribeDownloadFile", req, cb);
|
|
525
|
-
}
|
|
526
|
-
/**
|
|
527
|
-
* 本接口用于获取当前环境的安全域名列表。
|
|
528
|
-
云开发会校验网页应用请求的来源域名,您需要将来源域名加入到WEB安全域名列表中。
|
|
529
|
-
可以通过接口 [CreateAuthDomain](https://cloud.tencent.com/document/product/876/42764) 增加安全域名。
|
|
309
|
+
* 获取网关服务
|
|
530
310
|
*/
|
|
531
|
-
async
|
|
532
|
-
return this.request("
|
|
311
|
+
async DescribeCloudBaseGWService(req, cb) {
|
|
312
|
+
return this.request("DescribeCloudBaseGWService", req, cb);
|
|
533
313
|
}
|
|
534
314
|
/**
|
|
535
|
-
*
|
|
315
|
+
* 获取云托管代码上传url
|
|
536
316
|
*/
|
|
537
|
-
async
|
|
538
|
-
return this.request("
|
|
317
|
+
async DescribeCloudBaseBuildService(req, cb) {
|
|
318
|
+
return this.request("DescribeCloudBaseBuildService", req, cb);
|
|
539
319
|
}
|
|
540
320
|
/**
|
|
541
|
-
*
|
|
321
|
+
* 获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
|
|
542
322
|
*/
|
|
543
|
-
async
|
|
544
|
-
return this.request("
|
|
323
|
+
async DescribeEnvs(req, cb) {
|
|
324
|
+
return this.request("DescribeEnvs", req, cb);
|
|
545
325
|
}
|
|
546
326
|
/**
|
|
547
|
-
*
|
|
327
|
+
* 销毁Mysql
|
|
328
|
+
|
|
329
|
+
销毁后可以通过 [DescribeMySQLTaskStatus](https://cloud.tencent.com/document/api/876/128183) 接口查询销毁结果,如果 `Response.Data. Status = FAILED ` 表示销毁失败,可以重新调用销毁接口重试
|
|
548
330
|
*/
|
|
549
|
-
async
|
|
550
|
-
return this.request("
|
|
331
|
+
async DestroyMySQL(req, cb) {
|
|
332
|
+
return this.request("DestroyMySQL", req, cb);
|
|
551
333
|
}
|
|
552
334
|
/**
|
|
553
|
-
*
|
|
554
|
-
|
|
335
|
+
* 创建云开发产品计费订单,用于以下几种场景:
|
|
336
|
+
1. 购买云开发环境
|
|
337
|
+
2. 续费云开发环境
|
|
338
|
+
3. 变更云开发环境套餐
|
|
339
|
+
4. 购买云开发资源包
|
|
340
|
+
5. 购买云开发大促包
|
|
341
|
+
|
|
342
|
+
该接口支持下单并支付(CreateAndPay=true时),此时会自动在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
555
343
|
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
556
344
|
*/
|
|
557
|
-
async
|
|
558
|
-
return this.request("
|
|
559
|
-
}
|
|
560
|
-
/**
|
|
561
|
-
* 针对已隔离的免费环境,可以通过本接口将其恢复访问。
|
|
562
|
-
*/
|
|
563
|
-
async ReinstateEnv(req, cb) {
|
|
564
|
-
return this.request("ReinstateEnv", req, cb);
|
|
565
|
-
}
|
|
566
|
-
/**
|
|
567
|
-
* 获取数据库权限
|
|
568
|
-
*/
|
|
569
|
-
async DescribeDatabaseACL(req, cb) {
|
|
570
|
-
return this.request("DescribeDatabaseACL", req, cb);
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* 修改容器内的版本流量配置
|
|
574
|
-
*/
|
|
575
|
-
async ModifyCloudBaseRunServerFlowConf(req, cb) {
|
|
576
|
-
return this.request("ModifyCloudBaseRunServerFlowConf", req, cb);
|
|
577
|
-
}
|
|
578
|
-
/**
|
|
579
|
-
* 查看当前环境下静态托管资源信息,根据返回结果判断静态资源的状态
|
|
580
|
-
*/
|
|
581
|
-
async DescribeStaticStore(req, cb) {
|
|
582
|
-
return this.request("DescribeStaticStore", req, cb);
|
|
583
|
-
}
|
|
584
|
-
/**
|
|
585
|
-
* 本接口(UpdateTable)用于修改表信息,当前可以支持创建和删除索引
|
|
586
|
-
*/
|
|
587
|
-
async UpdateTable(req, cb) {
|
|
588
|
-
return this.request("UpdateTable", req, cb);
|
|
589
|
-
}
|
|
590
|
-
/**
|
|
591
|
-
* 删除网关API
|
|
592
|
-
*/
|
|
593
|
-
async DeleteCloudBaseGWAPI(req, cb) {
|
|
594
|
-
return this.request("DeleteCloudBaseGWAPI", req, cb);
|
|
595
|
-
}
|
|
596
|
-
/**
|
|
597
|
-
* 根据用户传入的指标, 拉取一段时间内的监控数据。
|
|
598
|
-
*/
|
|
599
|
-
async DescribeGraphData(req, cb) {
|
|
600
|
-
return this.request("DescribeGraphData", req, cb);
|
|
345
|
+
async CreateBillDeal(req, cb) {
|
|
346
|
+
return this.request("CreateBillDeal", req, cb);
|
|
601
347
|
}
|
|
602
348
|
/**
|
|
603
|
-
*
|
|
604
|
-
该接口会自动下单并支付,会在腾讯云账户中扣除余额(余额不足会下单失败)。
|
|
605
|
-
该接口支持自动扣除代金券(AutoVoucher=true时),符合条件的代金券会被自动扣除。
|
|
349
|
+
* 销毁静态托管资源,该接口创建异步销毁任务,资源最终状态可从DestroyStaticStore接口查看
|
|
606
350
|
*/
|
|
607
|
-
async
|
|
608
|
-
return this.request("
|
|
351
|
+
async DestroyStaticStore(req, cb) {
|
|
352
|
+
return this.request("DestroyStaticStore", req, cb);
|
|
609
353
|
}
|
|
610
354
|
/**
|
|
611
|
-
*
|
|
355
|
+
* 创建云开发网关API
|
|
612
356
|
*/
|
|
613
|
-
async
|
|
614
|
-
return this.request("
|
|
357
|
+
async CreateCloudBaseGWAPI(req, cb) {
|
|
358
|
+
return this.request("CreateCloudBaseGWAPI", req, cb);
|
|
615
359
|
}
|
|
616
360
|
/**
|
|
617
|
-
*
|
|
361
|
+
* 绑定自定义域名
|
|
618
362
|
*/
|
|
619
|
-
async
|
|
620
|
-
return this.request("
|
|
363
|
+
async BindCloudBaseGWDomain(req, cb) {
|
|
364
|
+
return this.request("BindCloudBaseGWDomain", req, cb);
|
|
621
365
|
}
|
|
622
366
|
/**
|
|
623
|
-
*
|
|
367
|
+
* 创建tcb用户
|
|
624
368
|
*/
|
|
625
|
-
async
|
|
626
|
-
return this.request("
|
|
369
|
+
async CreateUser(req, cb) {
|
|
370
|
+
return this.request("CreateUser", req, cb);
|
|
627
371
|
}
|
|
628
372
|
/**
|
|
629
|
-
*
|
|
373
|
+
* 创建静态托管资源,包括COS和CDN,异步任务创建,查看创建结果需要根据DescribeStaticStore接口来查看
|
|
630
374
|
*/
|
|
631
|
-
async
|
|
632
|
-
return this.request("
|
|
375
|
+
async CreateStaticStore(req, cb) {
|
|
376
|
+
return this.request("CreateStaticStore", req, cb);
|
|
633
377
|
}
|
|
634
378
|
/**
|
|
635
|
-
*
|
|
379
|
+
* 查询环境个数上限
|
|
636
380
|
*/
|
|
637
|
-
async
|
|
638
|
-
return this.request("
|
|
381
|
+
async DescribeEnvLimit(req, cb) {
|
|
382
|
+
return this.request("DescribeEnvLimit", req, cb);
|
|
639
383
|
}
|
|
640
384
|
/**
|
|
641
|
-
*
|
|
385
|
+
* 删除网关域名
|
|
642
386
|
*/
|
|
643
|
-
async
|
|
644
|
-
return this.request("
|
|
387
|
+
async DeleteCloudBaseGWDomain(req, cb) {
|
|
388
|
+
return this.request("DeleteCloudBaseGWDomain", req, cb);
|
|
645
389
|
}
|
|
646
390
|
/**
|
|
647
|
-
*
|
|
391
|
+
* 查询环境计费周期。
|
|
392
|
+
云开发环境的资源点都是按月结算的,每个月都有一定的抵扣额度。
|
|
393
|
+
|
|
394
|
+
例如:
|
|
395
|
+
某个环境在 2026-01-05 购买了3个月个人版(到期时间: 2026-04-05),则他可以在以下3个周期内,分别享有40000资源点的额度:
|
|
396
|
+
1. 2026-01-05 ~ 2026-02-05 23:59:59
|
|
397
|
+
2. 2026-02-06 ~ 2026-03-05 23:59:59
|
|
398
|
+
3. 2026-03-06 ~ 2026-04-05 23:59:59
|
|
399
|
+
|
|
400
|
+
本接口,用于获取环境当前属于哪个计费周期内。
|
|
648
401
|
*/
|
|
649
|
-
async
|
|
650
|
-
return this.request("
|
|
402
|
+
async DescribeEnvAccountCircle(req, cb) {
|
|
403
|
+
return this.request("DescribeEnvAccountCircle", req, cb);
|
|
651
404
|
}
|
|
652
405
|
/**
|
|
653
|
-
*
|
|
406
|
+
* 本接口(ListTables)用于查询所有表信息,包括表名、表中数据条数、表中数据量、索引个数及索引的大小等
|
|
654
407
|
*/
|
|
655
|
-
async
|
|
656
|
-
return this.request("
|
|
408
|
+
async DescribeTables(req, cb) {
|
|
409
|
+
return this.request("DescribeTables", req, cb);
|
|
657
410
|
}
|
|
658
411
|
}
|
|
659
412
|
exports.Client = Client;
|