tencentcloud-sdk-nodejs 4.0.507 → 4.0.509

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +359 -0
  2. package/SERVICE_CHANGELOG.md +390 -201
  3. package/package.json +1 -1
  4. package/products.md +15 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/anicloud/index.ts +5 -0
  7. package/src/services/anicloud/v20220923/anicloud_client.ts +69 -0
  8. package/src/services/anicloud/v20220923/anicloud_models.ts +278 -0
  9. package/src/services/anicloud/v20220923/index.ts +6 -0
  10. package/src/services/cam/v20190116/cam_models.ts +9 -3
  11. package/src/services/cdn/v20180606/cdn_models.ts +1 -1
  12. package/src/services/cfg/v20210820/cfg_models.ts +1 -1
  13. package/src/services/cynosdb/v20190107/cynosdb_client.ts +2 -1
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +55 -25
  15. package/src/services/dts/v20211206/dts_client.ts +1 -0
  16. package/src/services/dts/v20211206/dts_models.ts +92 -18
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +14 -0
  18. package/src/services/gs/v20191118/gs_models.ts +9 -2
  19. package/src/services/index.ts +1 -0
  20. package/src/services/lighthouse/v20200324/lighthouse_models.ts +20 -7
  21. package/src/services/ocr/v20181119/ocr_models.ts +5 -0
  22. package/src/services/rum/v20210622/rum_client.ts +36 -0
  23. package/src/services/rum/v20210622/rum_models.ts +120 -0
  24. package/src/services/tcb/v20180608/tcb_client.ts +3 -1
  25. package/src/services/tcb/v20180608/tcb_models.ts +53 -7
  26. package/src/services/teo/v20220901/teo_client.ts +2 -1
  27. package/src/services/teo/v20220901/teo_models.ts +40 -10
  28. package/src/services/vod/v20180717/vod_client.ts +2 -1
  29. package/src/services/vod/v20180717/vod_models.ts +117 -5
  30. package/tencentcloud/common/sdk_version.d.ts +1 -1
  31. package/tencentcloud/common/sdk_version.js +1 -1
  32. package/tencentcloud/services/anicloud/index.d.ts +6 -0
  33. package/tencentcloud/services/anicloud/index.js +7 -0
  34. package/tencentcloud/services/anicloud/v20220923/anicloud_client.d.ts +22 -0
  35. package/tencentcloud/services/anicloud/v20220923/anicloud_client.js +49 -0
  36. package/tencentcloud/services/anicloud/v20220923/anicloud_models.d.ts +223 -0
  37. package/tencentcloud/services/anicloud/v20220923/anicloud_models.js +18 -0
  38. package/tencentcloud/services/anicloud/v20220923/index.d.ts +6 -0
  39. package/tencentcloud/services/anicloud/v20220923/index.js +9 -0
  40. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +8 -3
  41. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
  42. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +1 -1
  43. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
  44. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +47 -22
  45. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +77 -16
  46. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -0
  47. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +8 -2
  48. package/tencentcloud/services/index.d.ts +1 -0
  49. package/tencentcloud/services/index.js +2 -0
  50. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +18 -7
  51. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
  52. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +13 -1
  53. package/tencentcloud/services/rum/v20210622/rum_client.js +18 -0
  54. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +102 -0
  55. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
  56. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +46 -7
  57. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -1
  58. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +34 -8
  59. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +0 -1
  60. package/tencentcloud/services/vod/v20180717/vod_client.js +0 -1
  61. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +99 -2
  62. package/test/anicloud.v20220923.test.js +51 -0
  63. package/test/rum.v20210622.test.js +30 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.507",
3
+ "version": "4.0.509",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -8,6 +8,7 @@
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-11-14 06:09:18 |
9
9
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-04-15 06:01:25 |
10
10
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2022-11-16 06:07:01 |
11
+ | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2022-12-21 18:48:21 |
11
12
  | antiddos | [T-Sec-DDoS防护(Anti-DDoS)](https://cloud.tencent.com/document/product/1021) | 2022-12-20 11:47:08 |
12
13
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
13
14
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
@@ -32,19 +33,19 @@
32
33
  | bri | [业务风险情报](https://cloud.tencent.com/document/product/1064) | 2021-01-07 08:02:40 |
33
34
  | bsca | [二进制软件成分分析](https://cloud.tencent.com/document/product/1483) | 2022-09-29 06:12:03 |
34
35
  | btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2022-04-04 06:10:17 |
35
- | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-12-21 01:18:15 |
36
+ | cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2022-12-23 01:11:34 |
36
37
  | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-12-15 01:11:14 |
37
38
  | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2022-11-18 06:12:01 |
38
39
  | casb | [云访问安全代理](https://cloud.tencent.com/document/product/1303) | 2022-10-31 06:12:52 |
39
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-12-12 01:11:14 |
40
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-12-15 01:11:34 |
41
42
  | ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-12-16 01:10:35 |
42
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-12-21 01:20:25 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-12-22 01:20:37 |
43
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-12-15 01:12:58 |
44
- | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2022-12-14 01:13:32 |
45
+ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2022-12-22 01:22:01 |
45
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2022-10-31 06:15:53 |
46
47
  | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2022-12-20 14:06:27 |
47
- | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-09-26 06:16:02 |
48
+ | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-12-23 01:15:40 |
48
49
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-12-19 01:23:20 |
49
50
  | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-12-16 01:12:46 |
50
51
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-07-04 06:04:36 |
@@ -66,7 +67,7 @@
66
67
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-12-19 01:29:05 |
67
68
  | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-12-13 10:22:29 |
68
69
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
69
- | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-12-15 01:20:30 |
70
+ | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2022-12-23 01:24:17 |
70
71
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2022-11-04 06:19:07 |
71
72
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
72
73
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2022-07-29 06:07:15 |
@@ -80,7 +81,7 @@
80
81
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2022-04-04 06:38:48 |
81
82
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2022-10-31 06:27:09 |
82
83
  | dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
83
- | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-13 10:27:45 |
84
+ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-12-23 01:28:44 |
84
85
  | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-08-23 06:27:55 |
85
86
  | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2022-04-04 06:39:27 |
86
87
  | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-04-08 06:06:57 |
@@ -90,7 +91,7 @@
90
91
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-12-13 10:29:37 |
91
92
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-12-12 01:25:49 |
92
93
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2022-12-14 01:27:17 |
93
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-19 01:39:01 |
94
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-12-22 01:39:07 |
94
95
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
95
96
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-12-07 06:39:49 |
96
97
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
@@ -98,7 +99,7 @@
98
99
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-11-23 06:29:46 |
99
100
  | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-12-16 01:25:37 |
100
101
  | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
101
- | gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2022-11-18 06:29:55 |
102
+ | gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2022-12-21 15:17:42 |
102
103
  | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 |
103
104
  | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 |
104
105
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2022-04-04 06:45:58 |
@@ -119,7 +120,7 @@
119
120
  | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2022-10-28 11:32:11 |
120
121
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-12-13 10:37:12 |
121
122
  | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2022-12-13 10:37:33 |
122
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-12-21 01:48:07 |
123
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-12-23 01:40:27 |
123
124
  | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2022-12-15 01:33:41 |
124
125
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
125
126
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
@@ -139,7 +140,7 @@
139
140
  | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-12-15 10:27:58 |
140
141
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
141
142
  | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-11-24 06:45:29 |
142
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-12-12 01:39:40 |
143
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-12-22 01:53:11 |
143
144
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2022-12-07 06:54:25 |
144
145
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-11-17 06:38:25 |
145
146
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
@@ -151,7 +152,7 @@
151
152
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2022-07-27 21:10:02 |
152
153
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2022-04-04 07:04:04 |
153
154
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
154
- | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-12-09 01:53:36 |
155
+ | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-12-23 01:49:31 |
155
156
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-12-16 01:37:15 |
156
157
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-12-16 01:37:37 |
157
158
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-11-23 06:47:21 |
@@ -174,7 +175,7 @@
174
175
  | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 |
175
176
  | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2022-04-04 07:09:07 |
176
177
  | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2022-08-23 06:49:36 |
177
- | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-12-05 07:19:35 |
178
+ | tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-12-23 01:54:25 |
178
179
  | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2022-08-23 06:50:39 |
179
180
  | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 |
180
181
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
@@ -186,7 +187,7 @@
186
187
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2022-11-25 07:03:54 |
187
188
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2022-12-06 07:10:10 |
188
189
  | tem | [弹性微服务 TEM](https://cloud.tencent.com/document/product/1371) | 2022-12-15 01:49:45 |
189
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-20 01:58:08 |
190
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-12-23 02:00:21 |
190
191
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-12-21 02:09:45 |
191
192
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
192
193
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2022-10-31 06:55:14 |
@@ -210,7 +211,7 @@
210
211
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2022-04-04 07:22:44 |
211
212
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2022-11-16 06:46:30 |
212
213
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2022-04-04 07:22:54 |
213
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-12-21 02:16:04 |
214
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-12-22 02:14:59 |
214
215
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-12-16 18:54:14 |
215
216
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-12-21 02:20:11 |
216
217
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-10-12 07:10:28 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.507"
1
+ export const sdkVersion = "4.0.509"
@@ -0,0 +1,5 @@
1
+ import { v20220923 } from "./v20220923"
2
+
3
+ export const anicloud = {
4
+ v20220923: v20220923,
5
+ }
@@ -0,0 +1,69 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
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
+ import { AbstractClient } from "../../../common/abstract_client"
19
+ import { ClientConfig } from "../../../common/interface"
20
+ import {
21
+ CheckAppidExistRequest,
22
+ QueryResourceInfoResponse,
23
+ CheckAppidExistResponse,
24
+ GoodsDetail,
25
+ QueryResourceInfoRequest,
26
+ QueryResourceResponse,
27
+ QueryResourceRequest,
28
+ Resource,
29
+ } from "./anicloud_models"
30
+
31
+ /**
32
+ * anicloud client
33
+ * @class
34
+ */
35
+ export class Client extends AbstractClient {
36
+ constructor(clientConfig: ClientConfig) {
37
+ super("anicloud.tencentcloudapi.com", "2022-09-23", clientConfig)
38
+ }
39
+
40
+ /**
41
+ * 查看appid是否存在
42
+ */
43
+ async CheckAppidExist(
44
+ req: CheckAppidExistRequest,
45
+ cb?: (error: string, rep: CheckAppidExistResponse) => void
46
+ ): Promise<CheckAppidExistResponse> {
47
+ return this.request("CheckAppidExist", req, cb)
48
+ }
49
+
50
+ /**
51
+ * 查询购买资源
52
+ */
53
+ async QueryResource(
54
+ req: QueryResourceRequest,
55
+ cb?: (error: string, rep: QueryResourceResponse) => void
56
+ ): Promise<QueryResourceResponse> {
57
+ return this.request("QueryResource", req, cb)
58
+ }
59
+
60
+ /**
61
+ * 查询资源信息
62
+ */
63
+ async QueryResourceInfo(
64
+ req: QueryResourceInfoRequest,
65
+ cb?: (error: string, rep: QueryResourceInfoResponse) => void
66
+ ): Promise<QueryResourceInfoResponse> {
67
+ return this.request("QueryResourceInfo", req, cb)
68
+ }
69
+ }
@@ -0,0 +1,278 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+
18
+ /**
19
+ * CheckAppidExist请求参数结构体
20
+ */
21
+ export interface CheckAppidExistRequest {
22
+ /**
23
+ * 业务的appid
24
+ */
25
+ SDKAppid: string
26
+
27
+ /**
28
+ * sub product code
29
+ */
30
+ Type: string
31
+ }
32
+
33
+ /**
34
+ * QueryResourceInfo返回参数结构体
35
+ */
36
+ export interface QueryResourceInfoResponse {
37
+ /**
38
+ * 资源信息
39
+ 注意:此字段可能返回 null,表示取不到有效值。
40
+ */
41
+ Resource: Resource
42
+
43
+ /**
44
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
45
+ */
46
+ RequestId?: string
47
+ }
48
+
49
+ /**
50
+ * CheckAppidExist返回参数结构体
51
+ */
52
+ export interface CheckAppidExistResponse {
53
+ /**
54
+ * appid是否存在
55
+ */
56
+ Exist: boolean
57
+
58
+ /**
59
+ * 请求是否成功
60
+ */
61
+ HasError: boolean
62
+
63
+ /**
64
+ * 出错消息
65
+ */
66
+ Msg: string
67
+
68
+ /**
69
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
70
+ */
71
+ RequestId?: string
72
+ }
73
+
74
+ /**
75
+ * 购买详情
76
+ */
77
+ export interface GoodsDetail {
78
+ /**
79
+ * 按照四层接入的产品需要传入产品标签,例如:p_cvm
80
+ 注意:此字段可能返回 null,表示取不到有效值。
81
+ */
82
+ ProductCode: string
83
+
84
+ /**
85
+ * 四层定义的子产品标签,例如:sp_cvm_s1
86
+ 注意:此字段可能返回 null,表示取不到有效值。
87
+ */
88
+ SubProductCode: string
89
+
90
+ /**
91
+ * 资源类型
92
+ 注意:此字段可能返回 null,表示取不到有效值。
93
+ */
94
+ Type: Array<string>
95
+
96
+ /**
97
+ * 资源数量
98
+ 注意:此字段可能返回 null,表示取不到有效值。
99
+ */
100
+ GoodsNum: number
101
+ }
102
+
103
+ /**
104
+ * QueryResourceInfo请求参数结构体
105
+ */
106
+ export interface QueryResourceInfoRequest {
107
+ /**
108
+ * 资源id
109
+ */
110
+ InstanceId: string
111
+ }
112
+
113
+ /**
114
+ * QueryResource返回参数结构体
115
+ */
116
+ export interface QueryResourceResponse {
117
+ /**
118
+ * 资源信息列表
119
+ 注意:此字段可能返回 null,表示取不到有效值。
120
+ */
121
+ Resources: Array<Resource>
122
+
123
+ /**
124
+ * 总量
125
+ 注意:此字段可能返回 null,表示取不到有效值。
126
+ */
127
+ Total: number
128
+
129
+ /**
130
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
131
+ */
132
+ RequestId?: string
133
+ }
134
+
135
+ /**
136
+ * QueryResource请求参数结构体
137
+ */
138
+ export interface QueryResourceRequest {
139
+ /**
140
+ * 0: sdk 1:material
141
+ */
142
+ Type: number
143
+
144
+ /**
145
+ * 分页起始页
146
+ */
147
+ PageNumber: number
148
+
149
+ /**
150
+ * 分页大小
151
+ */
152
+ PageSize: number
153
+ }
154
+
155
+ /**
156
+ * 资源信息
157
+ */
158
+ export interface Resource {
159
+ /**
160
+ * 资源拥有者
161
+ 注意:此字段可能返回 null,表示取不到有效值。
162
+ */
163
+ UIN: string
164
+
165
+ /**
166
+ * 云平台应用ID,一般来说与uin存在一一对应的关系
167
+ 注意:此字段可能返回 null,表示取不到有效值。
168
+ */
169
+ AppId: number
170
+
171
+ /**
172
+ * 资源id,会展示到通知内容
173
+ 注意:此字段可能返回 null,表示取不到有效值。
174
+ */
175
+ ResourceId: string
176
+
177
+ /**
178
+ * 区域ID
179
+ 注意:此字段可能返回 null,表示取不到有效值。
180
+ */
181
+ ZoneId: number
182
+
183
+ /**
184
+ * 资源状态,1正常,2隔离,3销毁(如果资源已经删除或销毁,不需要返回),4冻结/封禁
185
+ 注意:此字段可能返回 null,表示取不到有效值。
186
+ */
187
+ Status: number
188
+
189
+ /**
190
+ * 资源隔离时间,未隔离传"0000-00-00 00:00:00",资源由隔离变回正常传"0000-00-00 00:00:00"
191
+ 注意:此字段可能返回 null,表示取不到有效值。
192
+ */
193
+ IsolatedTimestamp: string
194
+
195
+ /**
196
+ * 资源创建时间,用于更新新购订单的资源开始时间,按时长退费时的资源结束时间取自订单的资源结束时间,
197
+ 注意:此字段可能返回 null,表示取不到有效值。
198
+ */
199
+ CreateTime: string
200
+
201
+ /**
202
+ * 0后付费 1预付费 2预留实例
203
+ 注意:此字段可能返回 null,表示取不到有效值。
204
+ */
205
+ PayMode: number
206
+
207
+ /**
208
+ * 资源名称,账单中资源别名,生命周期通知中的资源名称,不返回则通知中展示为空
209
+ 注意:此字段可能返回 null,表示取不到有效值。
210
+ */
211
+ Alias: string
212
+
213
+ /**
214
+ * 购买详情
215
+ 注意:此字段可能返回 null,表示取不到有效值。
216
+ */
217
+ GoodsDetail: GoodsDetail
218
+
219
+ /**
220
+ * 预付费必填 ,自动续费标记,0表示默认状态(用户未设置,即初始状态即手动续费,用户开通了预付费不停服特权也会进行自动续费), 1表示自动续费,2表示明确不自动续费(用户设置),若业务无续费概念或无需自动续费,需要设置为0
221
+ 注意:此字段可能返回 null,表示取不到有效值。
222
+ */
223
+ RenewFlag: number
224
+
225
+ /**
226
+ * (仅预付费)资源到期时间,无到期概念传"0000-00-00 00:00:00"
227
+ 注意:此字段可能返回 null,表示取不到有效值。
228
+ */
229
+ ExpireTime: string
230
+
231
+ /**
232
+ * 地域ID
233
+ 注意:此字段可能返回 null,表示取不到有效值。
234
+ */
235
+ Region: number
236
+
237
+ /**
238
+ * sdk appid
239
+ 注意:此字段可能返回 null,表示取不到有效值。
240
+ */
241
+ SdkAppId: string
242
+
243
+ /**
244
+ * app名称
245
+ 注意:此字段可能返回 null,表示取不到有效值。
246
+ */
247
+ AppName: string
248
+
249
+ /**
250
+ * app的package名称
251
+ 注意:此字段可能返回 null,表示取不到有效值。
252
+ */
253
+ PackageName: string
254
+
255
+ /**
256
+ * 资源链接
257
+ 注意:此字段可能返回 null,表示取不到有效值。
258
+ */
259
+ URL: string
260
+
261
+ /**
262
+ * app的entry
263
+ 注意:此字段可能返回 null,表示取不到有效值。
264
+ */
265
+ Entry: string
266
+
267
+ /**
268
+ * 0:sdk 1:素材
269
+ 注意:此字段可能返回 null,表示取不到有效值。
270
+ */
271
+ InstType: number
272
+
273
+ /**
274
+ * license的秘钥
275
+ 注意:此字段可能返回 null,表示取不到有效值。
276
+ */
277
+ Key: string
278
+ }
@@ -0,0 +1,6 @@
1
+ import * as Models from "./anicloud_models"
2
+ import { Client } from "./anicloud_client"
3
+ export const v20220923 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -1331,6 +1331,12 @@ export interface SecretIdLastUsed {
1331
1331
  注意:此字段可能返回 null,表示取不到有效值。
1332
1332
  */
1333
1333
  LastUsedDate: string
1334
+
1335
+ /**
1336
+ * 最后密钥访问日期
1337
+ 注意:此字段可能返回 null,表示取不到有效值。
1338
+ */
1339
+ LastSecretUsedDate: number
1334
1340
  }
1335
1341
 
1336
1342
  /**
@@ -3832,17 +3838,17 @@ export interface DescribeSafeAuthFlagCollResponse {
3832
3838
  /**
3833
3839
  * 登录保护设置
3834
3840
  */
3835
- LoginFlag?: LoginActionFlag
3841
+ LoginFlag: LoginActionFlag
3836
3842
 
3837
3843
  /**
3838
3844
  * 敏感操作保护设置
3839
3845
  */
3840
- ActionFlag?: LoginActionFlag
3846
+ ActionFlag: LoginActionFlag
3841
3847
 
3842
3848
  /**
3843
3849
  * 异地登录保护设置
3844
3850
  */
3845
- OffsiteFlag?: OffsiteFlag
3851
+ OffsiteFlag: OffsiteFlag
3846
3852
 
3847
3853
  /**
3848
3854
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2258,7 +2258,7 @@ export interface QueryStringKey {
2258
2258
  Reorder?: string
2259
2259
 
2260
2260
  /**
2261
- * includeAll | excludeAll | includeCustom | excludeAll 使用/排除部分url参数
2261
+ * includeAll | excludeAll | includeCustom | excludeCustom 使用/排除部分url参数
2262
2262
  注意:此字段可能返回 null,表示取不到有效值。
2263
2263
  */
2264
2264
  Action?: string
@@ -179,7 +179,7 @@ export interface TaskMonitor {
179
179
  }
180
180
 
181
181
  /**
182
- * 从经验模版创建演练时需要配置的任务参数
182
+ * 从经验模板创建演练时需要配置的任务参数
183
183
  */
184
184
  export interface TaskConfig {
185
185
  /**
@@ -29,6 +29,7 @@ import {
29
29
  DescribeRollbackTimeRangeResponse,
30
30
  ModifyBackupNameResponse,
31
31
  ModifyClusterStorageRequest,
32
+ RollBackClusterRequest,
32
33
  DescribeAuditLogFilesResponse,
33
34
  SwitchClusterZoneResponse,
34
35
  AssociateSecurityGroupsRequest,
@@ -76,7 +77,7 @@ import {
76
77
  ExportInstanceSlowQueriesResponse,
77
78
  SwitchClusterZoneRequest,
78
79
  DescribeDBSecurityGroupsRequest,
79
- RollBackClusterRequest,
80
+ InstanceInitInfo,
80
81
  UpgradeInstanceRequest,
81
82
  RollbackTable,
82
83
  DescribeClusterDetailRequest,
@@ -257,6 +257,46 @@ export interface ModifyClusterStorageRequest {
257
257
  DealMode?: number
258
258
  }
259
259
 
260
+ /**
261
+ * RollBackCluster请求参数结构体
262
+ */
263
+ export interface RollBackClusterRequest {
264
+ /**
265
+ * 集群ID
266
+ */
267
+ ClusterId: string
268
+
269
+ /**
270
+ * 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档
271
+ */
272
+ RollbackStrategy: string
273
+
274
+ /**
275
+ * 回档ID
276
+ */
277
+ RollbackId: number
278
+
279
+ /**
280
+ * 期望回档时间
281
+ */
282
+ ExpectTime?: string
283
+
284
+ /**
285
+ * 期望阈值(已废弃)
286
+ */
287
+ ExpectTimeThresh?: number
288
+
289
+ /**
290
+ * 回档数据库列表
291
+ */
292
+ RollbackDatabases?: Array<RollbackDatabase>
293
+
294
+ /**
295
+ * 回档数据库表列表
296
+ */
297
+ RollbackTables?: Array<RollbackTable>
298
+ }
299
+
260
300
  /**
261
301
  * DescribeAuditLogFiles返回参数结构体
262
302
  */
@@ -1330,43 +1370,28 @@ export interface DescribeDBSecurityGroupsRequest {
1330
1370
  }
1331
1371
 
1332
1372
  /**
1333
- * RollBackCluster请求参数结构体
1373
+ * 实例初始化配置信息
1334
1374
  */
1335
- export interface RollBackClusterRequest {
1336
- /**
1337
- * 集群ID
1338
- */
1339
- ClusterId: string
1340
-
1375
+ export interface InstanceInitInfo {
1341
1376
  /**
1342
- * 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档
1377
+ * 实例cpu
1343
1378
  */
1344
- RollbackStrategy: string
1345
-
1346
- /**
1347
- * 回档ID
1348
- */
1349
- RollbackId: number
1379
+ Cpu: number
1350
1380
 
1351
1381
  /**
1352
- * 期望回档时间
1382
+ * 实例内存
1353
1383
  */
1354
- ExpectTime?: string
1384
+ Memory: number
1355
1385
 
1356
1386
  /**
1357
- * 期望阈值(已废弃)
1387
+ * 实例类型 rw/ro
1358
1388
  */
1359
- ExpectTimeThresh?: number
1360
-
1361
- /**
1362
- * 回档数据库列表
1363
- */
1364
- RollbackDatabases?: Array<RollbackDatabase>
1389
+ InstanceType: string
1365
1390
 
1366
1391
  /**
1367
- * 回档数据库表列表
1392
+ * 实例个数,范围[1,15]
1368
1393
  */
1369
- RollbackTables?: Array<RollbackTable>
1394
+ InstanceCount: number
1370
1395
  }
1371
1396
 
1372
1397
  /**
@@ -2331,6 +2356,11 @@ cpu最大值,可选范围参考DescribeServerlessInstanceSpecs接口返回
2331
2356
  * 多可用区地址
2332
2357
  */
2333
2358
  SlaveZone?: string
2359
+
2360
+ /**
2361
+ * 实例初始化配置信息,主要用于购买集群时选不同规格实例
2362
+ */
2363
+ InstanceInitInfos?: Array<InstanceInitInfo>
2334
2364
  }
2335
2365
 
2336
2366
  /**